/netbsd-src/sys/arch/evbmips/loongson/dev/ |
H A D | stvii.c | 97 uint8_t sc_control; member 170 sc->sc_control = reg; in stvii_attach() 260 if (sc->sc_control & STC_CHARGE_ENABLE) in stvii_worker() 302 nctrl = sc->sc_control & ~(STC_TRICKLE | STC_CHARGE_ENABLE); in stvii_worker() 317 if (nctrl != sc->sc_control) { in stvii_worker() 318 sc->sc_control = nctrl; in stvii_worker() 319 stvii_writereg(sc, ST7_CONTROL, sc->sc_control); in stvii_worker() 396 edata->value_cur = sc->sc_control & STC_CHARGE_ENABLE; in stvii_refresh()
|
/netbsd-src/sys/arch/mips/alchemy/dev/ |
H A D | if_aumac.c | 152 uint32_t sc_control; /* MAC_CONTROL contents */ member 793 sc->sc_control |= CONTROL_DO | CONTROL_TE | CONTROL_RE; in aumac_init() 795 sc->sc_control |= CONTROL_EM; in aumac_init() 899 sc->sc_control &= ~(CONTROL_PM | CONTROL_PR); in aumac_set_filter() 903 sc->sc_control & ~CONTROL_RE); in aumac_set_filter() 906 sc->sc_control |= CONTROL_PR; in aumac_set_filter() 917 sc->sc_control |= CONTROL_HP; in aumac_set_filter() 964 sc->sc_control); in aumac_set_filter() 968 sc->sc_control |= CONTROL_PM; in aumac_set_filter() 970 sc->sc_control); in aumac_set_filter() [all …]
|
/netbsd-src/sys/dev/ic/ |
H A D | ahavar.h | 77 struct aha_control *sc_control; /* control structures */ member 79 #define wmbx (&sc->sc_control->ac_mbx) 108 (((u_long)(c)) - ((u_long)&sc->sc_control->ac_ccbs[0])))
|
H A D | adw.c | 110 sizeof(struct adw_control), (void **) & sc->sc_control, in adw_alloc_controls() 128 sc->sc_control, sizeof(struct adw_control), NULL, in adw_alloc_controls() 148 sc->sc_control->carriers = malloc(sizeof(ADW_CARRIER) * ADW_MAX_CARRIER, in adw_alloc_carriers() 150 if(!sc->sc_control->carriers) { in adw_alloc_carriers() 165 (void **)&sc->sc_control->carriers, in adw_alloc_carriers() 184 sc->sc_control->carriers, sizeof(ADW_CARRIER) * ADW_MAX_CARRIER, in adw_alloc_carriers() 419 memset(sc->sc_control, 0, sizeof(struct adw_control)); in adw_attach() 424 ncontrols = adw_create_ccbs(sc, sc->sc_control->ccbs, ADW_MAX_CCB); in adw_attach()
|
H A D | lpt.c | 215 sc->sc_control = control; in lptopen() 302 u_char control = sc->sc_control; in lptpushbytes() 410 u_char control = sc->sc_control; in lptintr()
|
H A D | adv.h | 81 (((u_long)(c)) - ((u_long)&sc->sc_control->ccbs[0])))
|
H A D | adv.c | 114 (void **) & sc->sc_control, in adv_alloc_control_data() 131 sc->sc_control, sizeof(struct adv_control), NULL, in adv_alloc_control_data() 155 bus_dmamem_unmap(sc->sc_dmat, (void *) sc->sc_control, in adv_free_control_data() 475 i = adv_create_ccbs(sc, sc->sc_control->ccbs, ADV_MAX_CCB); in adv_attach()
|
H A D | adw.h | 99 (((u_long)(c)) - ((u_long)&sc->sc_control->ccbs[0])))
|
H A D | lptvar.h | 81 u_char sc_control; member
|
H A D | adwmcode.h | 86 (((u_int8_t *)(sc)->sc_control->carriers) + \
|
H A D | aha.c | 952 sizeof(struct aha_control), (void **)&sc->sc_control, in aha_init() 971 sc->sc_control, sizeof(struct aha_control), NULL, in aha_init() 981 i = aha_create_ccbs(sc, sc->sc_control->ac_ccbs, initial_ccbs); in aha_init()
|
H A D | adwlib.h | 832 struct adw_control *sc_control; /* control structures */ member
|
H A D | advlib.h | 841 struct adv_control *sc_control; /* control structures */ member
|
H A D | adwlib.c | 840 sc->sc_control->carriers);
|
/netbsd-src/sys/arch/sgimips/hpc/ |
H A D | sqvar.h | 125 struct sq_control* sc_control; member 126 #define sc_rxdesc sc_control->rx_desc 127 #define sc_txdesc sc_control->tx_desc
|
H A D | if_sq.c | 210 sizeof(struct sq_control), (void **)&sc->sc_control, in sq_attach() 225 sc->sc_control, sizeof(struct sq_control), NULL, in sq_attach() 232 memset(sc->sc_control, 0, sizeof(struct sq_control)); in sq_attach() 359 (void *)sc->sc_control, sizeof(struct sq_control)); in sq_attach()
|
/netbsd-src/sys/arch/i386/pnpbios/ |
H A D | pnpbios.c | 95 int sc_control; member 300 sc->sc_control = *(uint8_t *)(p + 0x06); in pnpbios_attach() 309 codepbase, datapbase, pnpbios_entry, sc->sc_control, in pnpbios_attach() 315 evtype = (sc->sc_control & PNP_IC_CONTORL_EVENT_MASK); in pnpbios_attach() 1403 if ((sc->sc_control & PNP_IC_CONTORL_EVENT_MASK) in pnpbios_event_thread()
|
/netbsd-src/sys/dev/usb/ |
H A D | ohcivar.h | 133 uint32_t sc_control; /* Preserved during suspend/standby */ 135 uint32_t sc_control; /* Preserved during suspend/standby */ global() member
|
H A D | ohci.c | 1089 sc->sc_control = sc->sc_intre = 0; in ohci_allocx() 1190 if (sc->sc_control) in ohci_suspend() 1191 ctl = sc->sc_control; in ohci_suspend() 1200 sc->sc_control = sc->sc_intre = 0; 1212 if (sc->sc_control == 0) { in ohci_dumpregs() 1217 sc->sc_control = ctl; in ohci_dumpregs()
|
/netbsd-src/sys/arch/acorn32/podulebus/ |
H A D | if_ie.c | 130 int sc_control; member 215 WriteByte ( sc->sc_control + (IE_CONTROL<<2), IE_CONT_ATTN ); in ieattn() 225 WriteByte ( sc->sc_control + (IE_PAGE<<2), IE_COFF2PAGE(off) ); in setpage() 332 sc->sc_control = sc->sc_podule->fast_base; in ieattach()
|