Searched refs:sc (Results 1 - 25 of 3503) sorted by relevance

1234567891011>>

/src/sys/arch/next68k/dev/
H A Dmb8795var.h78 #define MB_READ_REG(sc, reg) \
79 (*(sc)->sc_glue->gl_read_reg)((sc), (reg))
80 #define MB_WRITE_REG(sc, reg, val) \
81 (*(sc)->sc_glue->gl_write_reg)((sc), (reg), (val))
86 #define MBDMA_RESET(sc) (*(sc)->sc_glue->gl_dma_reset)((sc))
87 #define MBDMA_SETUP(sc, add
[all...]
/src/sys/arch/arm/xscale/
H A Dpxa2x0_ohci.c42 ohci_softc_t sc; member in struct:pxaohci_softc
53 #define HREAD4(sc,r) bus_space_read_4((sc)->sc.iot, (sc)->sc.ioh, (r))
54 #define HWRITE4(sc,r,v) bus_space_write_4((sc)->sc.iot, (sc)
71 struct pxaohci_softc *sc = device_private(self); local in function:pxaohci_attach
147 struct pxaohci_softc *sc = device_private(self); local in function:pxaohci_detach
241 pxaohci_enable(struct pxaohci_softc * sc) argument
273 pxaohci_disable(struct pxaohci_softc * sc) argument
[all...]
H A Di80312.c95 i80312_attach(struct i80312_softc *sc) argument
103 i80312_softc = sc;
109 if (bus_space_subregion(sc->sc_st, sc->sc_sh, I80312_PPB_BASE,
110 I80312_PPB_SIZE, &sc->sc_ppb_sh))
112 device_xname(sc->sc_dev));
114 if (bus_space_subregion(sc->sc_st, sc->sc_sh, I80312_ATU_BASE,
115 I80312_ATU_SIZE, &sc->sc_atu_sh))
117 device_xname(sc
346 i80312_pci_dma_init(struct i80312_softc * sc) argument
384 i80312_local_dma_init(struct i80312_softc * sc) argument
[all...]
H A Di80312_gpio.c61 struct i80312_softc *sc = i80312_softc; local in function:i80312_gpio_set_direction
63 sc->sc_gpio_dir = (sc->sc_gpio_dir & ~which) | val;
64 bus_space_write_1(sc->sc_st, sc->sc_intc_sh, I80312_INTC_GOE,
65 ~sc->sc_gpio_dir);
76 struct i80312_softc *sc = i80312_softc; local in function:i80312_gpio_set_val
78 sc->sc_gpio_val = (sc->sc_gpio_val & ~which) | val;
79 bus_space_write_1(sc
91 struct i80312_softc *sc = i80312_softc; local in function:i80312_gpio_get_val
[all...]
H A Di80321_gpio.c58 struct i80321_softc *sc = i80321_softc; local in function:i80321_gpio_set_direction
60 sc->sc_gpio_dir = (sc->sc_gpio_dir & ~which) | val;
61 bus_space_write_1(sc->sc_st, sc->sc_sh, ICU_GPOE, ~sc->sc_gpio_dir);
72 struct i80321_softc *sc = i80321_softc; local in function:i80321_gpio_set_val
74 sc->sc_gpio_val = (sc->sc_gpio_val & ~which) | val;
75 bus_space_write_1(sc
86 struct i80321_softc *sc = i80321_softc; local in function:i80321_gpio_get_val
[all...]
/src/sys/dev/ic/
H A Drs5c313.c48 #define rtc_begin(sc) ((*sc->sc_ops->rs5c313_op_begin)(sc))
49 #define rtc_ce(sc, onoff) ((*sc->sc_ops->rs5c313_op_ce)(sc, onoff))
50 #define rtc_clk(sc, onoff) ((*sc->sc_ops->rs5c313_op_clk)(sc, onoff))
51 #define rtc_dir(sc, outpu
61 rs5c313_attach(struct rs5c313_softc * sc) argument
101 rs5c313_init(struct rs5c313_softc * sc) argument
146 struct rs5c313_softc *sc = device_private(todr->todr_dev); local in function:rs5c313_todr_gettime_ymdhms
206 struct rs5c313_softc *sc = device_private(todr->todr_dev); local in function:rs5c313_todr_settime_ymdhms
261 rs5c313_read_reg(struct rs5c313_softc * sc,int addr) argument
303 rs5c313_write_reg(struct rs5c313_softc * sc,int addr,int data) argument
[all...]
H A Di82586.c214 * (through `sc->scb') as an offset against the shared-memory bus handle.
231 i82586_attach(struct ie_softc *sc, const char *name, uint8_t *etheraddr, argument
235 struct ifnet *ifp = &sc->sc_ethercom.ec_if;
237 strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ);
238 ifp->if_softc = sc;
248 sc->sc_ethercom.ec_ifmedia = &sc->sc_media;
249 ifmedia_init(&sc->sc_media, 0, i82586_mediachange, i82586_mediastatus);
252 ifmedia_add(&sc->sc_media, media[i], 0, NULL);
253 ifmedia_set(&sc
281 struct ie_softc *sc = ifp->if_softc; local in function:i82586_watchdog
290 i82586_cmd_wait(struct ie_softc * sc) argument
325 i82586_start_cmd(struct ie_softc * sc,int cmd,int iecmdbuf,int mask,int async) argument
384 ie_ack(struct ie_softc * sc,u_int mask) argument
400 i82586_count_errors(struct ie_softc * sc) argument
418 i82586_rx_errors(struct ie_softc * sc,int fn,int status) argument
432 struct ie_softc *sc = v; local in function:i82586_intr
507 i82586_rint(struct ie_softc * sc,int scbstatus) argument
660 i82586_tint(struct ie_softc * sc,int scbstatus) argument
739 i82586_get_rbd_list(struct ie_softc * sc,uint16_t * start,uint16_t * end,int * pktlen) argument
783 i82586_release_rbd_list(struct ie_softc * sc,uint16_t start,uint16_t end) argument
818 i82586_drop_frames(struct ie_softc * sc) argument
839 i82586_chk_rx_ring(struct ie_softc * sc) argument
884 ieget(struct ie_softc * sc,int head,int totlen) argument
1001 ie_readframe(struct ie_softc * sc,int num) argument
1047 iexmit(struct ie_softc * sc) argument
1125 struct ie_softc *sc = ifp->if_softc; local in function:i82586_start
1201 i82586_proberam(struct ie_softc * sc) argument
1234 i82586_reset(struct ie_softc * sc,int hard) argument
1272 setup_simple_command(struct ie_softc * sc,int cmd,int cmdbuf) argument
1287 ie_run_tdr(struct ie_softc * sc,int cmd) argument
1334 i82586_setup_bufs(struct ie_softc * sc) argument
1487 ie_cfg_setup(struct ie_softc * sc,int cmd,int promiscuous,int manchester) argument
1527 ie_ia_setup(struct ie_softc * sc,int cmdbuf) argument
1561 ie_mc_setup(struct ie_softc * sc,int cmdbuf) argument
1608 struct ie_softc *sc = ifp->if_softc; local in function:i82586_init
1664 i82586_start_transceiver(struct ie_softc * sc) argument
1703 struct ie_softc *sc = ifp->if_softc; local in function:i82586_stop
1713 struct ie_softc *sc = ifp->if_softc; local in function:i82586_ioctl
1740 ie_mc_reset(struct ie_softc * sc) argument
1802 struct ie_softc *sc = ifp->if_softc; local in function:i82586_mediachange
1815 struct ie_softc *sc = ifp->if_softc; local in function:i82586_mediastatus
1823 print_rbd(struct ie_softc * sc,int n) argument
[all...]
H A Dlsi64854var.h65 #define L64854_GCSR(sc) \
66 (bus_space_read_4((sc)->sc_bustag, (sc)->sc_regs, L64854_REG_CSR))
68 #define L64854_SCSR(sc, csr) \
69 bus_space_write_4((sc)->sc_bustag, (sc)->sc_regs, L64854_REG_CSR, csr)
75 #define DMA_RESET(sc) (((sc)->reset)(sc))
76 #define DMA_INTR(sc) (((s
[all...]
H A Di82596.c101 * int (*sc_iee_cmd)(struct iee_softc *sc, uint32_t cmd);
102 * int (*sc_iee_reset)(struct iee_softc *sc);
110 * this may have caused by calling (sc->sc_iee_cmd)(sc, IEE_SCB_ACK);
117 * sc->sc_type has to be set to I82596_UNKNOWN or I82596_DX or I82596_CA.
122 * IEE_NEED_SWAP in sc->sc_flags has to be cleared on little endian hardware
142 * IEE_REV_A flag must be set in sc->sc_flags if the IEE_SYSBUS_BE feature
145 * sc->sc_cl_align must be set to 1 or to the cache line size. When set to
146 * 1 no special alignment of DMA descriptors is done. If sc->sc_cl_align != 1
148 * of sc
194 struct iee_softc *sc = intarg; local in function:iee_intr
467 iee_cb_setup(struct iee_softc * sc,uint32_t cmd) argument
566 iee_attach(struct iee_softc * sc,uint8_t * eth_addr,int * media,int nmedia,int defmedia) argument
694 iee_detach(struct iee_softc * sc,int flags) argument
714 struct iee_softc *sc = ifp->if_softc; local in function:iee_mediachange
725 struct iee_softc *sc = ifp->if_softc; local in function:iee_mediastatus
736 struct iee_softc *sc = ifp->if_softc; local in function:iee_start
834 struct iee_softc *sc = ifp->if_softc; local in function:iee_ioctl
867 struct iee_softc *sc = ifp->if_softc; local in function:iee_init
1020 struct iee_softc *sc = ifp->if_softc; local in function:iee_stop
1052 struct iee_softc *sc = ifp->if_softc; local in function:iee_watchdog
[all...]
H A Drng200.c44 #define READ4(sc, r) \
45 bus_space_read_4((sc)->sc_bst, (sc)->sc_bsh, (r))
47 #define WRITE4(sc, r, v) \
48 bus_space_write_4((sc)->sc_bst, (sc)->sc_bsh, (r), (v))
51 rng200_reset(struct rng200_softc *sc) argument
56 ctl = READ4(sc, RNG200_CONTROL);
58 WRITE4(sc, RNG200_CONTROL, ctl);
61 WRITE4(sc, RNG200_STATU
78 struct rng200_softc * const sc = priv; local in function:rng200_get
103 rng200_attach(struct rng200_softc * sc) argument
112 rng200_detach(struct rng200_softc * sc) argument
[all...]
/src/sys/arch/arm/ixp12x0/
H A Dixp12x0.c46 ixp12x0_attach(struct ixp12x0_softc *sc) argument
51 ixp12x0_softc = sc;
55 sc->sc_iot = &ixp12x0_bs_tag;
60 if (bus_space_map(sc->sc_iot, IXP12X0_PCI_HWBASE, IXP12X0_PCI_SIZE,
61 0, &sc->sc_pci_ioh))
62 panic("%s: unable to map PCI registers", device_xname(sc->sc_dev));
63 if (bus_space_map(sc->sc_iot, IXP12X0_PCI_TYPE0_HWBASE,
64 IXP12X0_PCI_TYPE0_SIZE, 0, &sc->sc_conf0_ioh))
66 device_xname(sc->sc_dev));
67 if (bus_space_map(sc
[all...]
/src/sys/arch/shark/shark/
H A Dscr.c172 #define INVALID_STATE_CMD(sc,state,cmd) invalidStateCmd(sc,state,cmd,__LINE__);
176 //#define INVALID_STATE_CMD(sc,state,cmd) panic("scr: invalid state/cmd, sc = %X, state = %X, cmd = %X, line = %d",sc,state,cmd,__LINE__);
177 #define INVALID_STATE_CMD(sc,state,cmd) sc->bigTrouble = true;
393 #define CLK_COUNT_START (((372 * TIMER_FREQ) / sc->cardFreq) /5)
394 #define CLK_COUNT_DATA (((372 * TIMER_FREQ) / sc->cardFreq) )
427 #define T_t2 ((300 * TIMER_FREQ) / sc
759 struct scr_softc *sc = device_private(self); local in function:scrattach
811 initStates(struct scr_softc * sc) argument
861 struct scr_softc *sc; local in function:scropen
1025 struct scr_softc* sc = device_lookup_private(&scr_cd, SCRUNIT(dev)); local in function:scrioctl
1415 masterSM(struct scr_softc * sc,int cmd) argument
1631 t0SendSM(struct scr_softc * sc,int cmd) argument
1927 t0RecvSM(struct scr_softc * sc,int cmd) argument
2231 coldResetSM(struct scr_softc * sc,int cmd) argument
2333 ATRSM(struct scr_softc * sc,int cmd) argument
2762 t0RecvByteSM(struct scr_softc * sc,int cmd) argument
3085 t0SendByteSM(struct scr_softc * sc,int cmd) argument
3339 cardOff(struct scr_softc * sc) argument
3441 scrClkStart(struct scr_softc * sc,int countPerTick) argument
3595 struct scr_softc * sc; local in function:hatClkIrq
3704 scrTimeout(void (* ftn)(struct scr_softc *,int),struct scr_softc * sc,int arg,int count) argument
3793 scrUntimeout(void (* ftn)(struct scr_softc *,int),struct scr_softc * sc,int arg) argument
3871 invalidStateCmd(struct scr_softc * sc,int state,int cmd,int line) argument
[all...]
/src/sys/arch/arm/broadcom/
H A Dbcm2835_bsc.c92 bsciic_attach(struct bsciic_softc *sc) argument
94 mutex_init(&sc->sc_intr_lock, MUTEX_DEFAULT, IPL_VM);
95 cv_init(&sc->sc_intr_wait, device_xname(sc->sc_dev));
98 bus_space_write_4(sc->sc_iot, sc->sc_ioh, BSC_C, BSC_C_CLEAR_CLEAR);
99 bus_space_write_4(sc->sc_iot, sc->sc_ioh, BSC_S, BSC_S_CLKT |
101 bus_space_write_4(sc->sc_iot, sc
111 struct bsciic_softc * const sc = v; local in function:bsciic_acquire_bus
127 struct bsciic_softc * const sc = v; local in function:bsciic_release_bus
133 bsciic_exec_lock(struct bsciic_softc * const sc) argument
141 bsciic_exec_unlock(struct bsciic_softc * const sc) argument
149 bsciic_txfill(struct bsciic_softc * const sc) argument
163 bsciic_rxdrain(struct bsciic_softc * const sc) argument
177 bsciic_next_state(struct bsciic_softc * const sc) argument
220 bsciic_signal(struct bsciic_softc * const sc) argument
228 bsciic_phase_done(struct bsciic_softc * const sc) argument
235 bsciic_abort(struct bsciic_softc * const sc) argument
244 struct bsciic_softc * const sc = v; local in function:bsciic_intr
307 bsciic_wait(struct bsciic_softc * const sc,const uint32_t events) argument
335 bsciic_start(struct bsciic_softc * const sc) argument
356 bsciic_exec_func_idle(struct bsciic_softc * const sc) argument
366 bsciic_exec_func_send_addr(struct bsciic_softc * const sc) argument
373 bsciic_exec_func_send_cmd(struct bsciic_softc * const sc) argument
389 bsciic_exec_func_send_data(struct bsciic_softc * const sc) argument
409 bsciic_exec_func_recv_data(struct bsciic_softc * const sc) argument
422 bsciic_exec_func_done(struct bsciic_softc * const sc) argument
431 bsciic_exec_func_error(struct bsciic_softc * const sc) argument
444 struct bsciic_softc * const sc = v; local in function:bsciic_exec
[all...]
/src/sys/arch/atari/dev/
H A Dite.c84 #define SUBR_INIT(sc) (sc)->grf->g_iteinit(sc)
85 #define SUBR_DEINIT(sc) (sc)->grf->g_itedeinit(sc)
86 #define SUBR_PUTC(sc,c,dy,dx,m) (sc)->grf->g_iteputc(sc,c,dy,dx,m)
87 #define SUBR_CURSOR(sc,fl
205 struct ite_softc *sc; local in function:iteattach
290 struct ite_softc *sc; local in function:itecninit
304 ite_cnfinish(struct ite_softc * sc) argument
329 struct ite_softc *sc; local in function:itecnputc
357 struct ite_softc *sc; local in function:iteinit
384 struct ite_softc *sc; local in function:iteopen
509 struct ite_softc *sc; local in function:iteioctl
630 struct ite_softc *sc; local in function:ite_on
653 struct ite_softc *sc; local in function:ite_off
670 struct ite_softc *sc; local in function:ite_switch
700 struct ite_softc *sc; local in function:ite_reinit
717 ite_reset(struct ite_softc * sc) argument
1083 alignment_display(struct ite_softc * sc) argument
1095 snap_cury(struct ite_softc * sc) argument
1107 ite_dnchar(struct ite_softc * sc,int n) argument
1123 ite_inchar(struct ite_softc * sc,int n) argument
1139 ite_clrtoeol(struct ite_softc * sc) argument
1151 ite_clrtobol(struct ite_softc * sc) argument
1161 ite_clrline(struct ite_softc * sc) argument
1173 ite_clrtoeos(struct ite_softc * sc) argument
1186 ite_clrtobos(struct ite_softc * sc) argument
1198 ite_clrscreen(struct ite_softc * sc) argument
1209 ite_dnline(struct ite_softc * sc,int n) argument
1231 ite_inline(struct ite_softc * sc,int n) argument
1253 ite_lf(struct ite_softc * sc) argument
1275 ite_crlf(struct ite_softc * sc) argument
1283 ite_cr(struct ite_softc * sc) argument
1293 ite_rlf(struct ite_softc * sc) argument
1318 ite_argnum(struct ite_softc * sc) argument
1335 ite_zargnum(struct ite_softc * sc) argument
1354 struct ite_softc *sc; local in function:ite_putstr
1372 iteputchar(register int c,struct ite_softc * sc) argument
2321 iteprecheckwrap(struct ite_softc * sc) argument
2337 itecheckwrap(struct ite_softc * sc) argument
[all...]
/src/sys/arch/mips/cavium/dev/
H A Docteon_asx.c43 struct octasx_softc *sc; local in function:octasx_init
46 sc = kmem_zalloc(sizeof(*sc), KM_SLEEP);
47 if (sc == NULL)
50 sc->sc_port = aa->aa_port;
51 sc->sc_regt = aa->aa_regt;
53 status = bus_space_map(sc->sc_regt, ASX0_BASE, ASX0_SIZE, 0,
54 &sc->sc_regh);
58 *rsc = sc;
61 #define _ASX_RD8(sc, of
70 octasx_enable(struct octasx_softc * sc,int enable) argument
79 octasx_enable_tx(struct octasx_softc * sc,int enable) argument
93 octasx_enable_rx(struct octasx_softc * sc,int enable) argument
107 octasx_clk_set(struct octasx_softc * sc,int tx_setting,int rx_setting) argument
[all...]
/src/sys/arch/arm/samsung/
H A Dexynos_wdt.c78 exynos_wdt_wdog_read(struct exynos_wdt_softc *sc, bus_size_t o) argument
80 return bus_space_read_4(sc->sc_bst, sc->sc_wdog_bsh, o);
84 exynos_wdt_wdog_write(struct exynos_wdt_softc *sc, bus_size_t o, uint32_t v) argument
86 bus_space_write_4(sc->sc_bst, sc->sc_wdog_bsh, o, v);
106 struct exynos_wdt_softc * const sc = smw->smw_cookie; local in function:exynos_wdt_tickle
111 exynos_wdt_wdog_write(sc, EXYNOS_WDT_WTCNT, sc->sc_wdog_wtdat);
112 aprint_debug_dev(sc
119 struct exynos_wdt_softc * const sc = smw->smw_cookie; local in function:exynos_wdt_setmode
182 struct exynos_wdt_softc * const sc = device_private(self); local in function:exynos_wdt_attach
[all...]
/src/sys/arch/evbarm/iq80310/
H A Di80312_mainbus.c96 struct i80312_softc *sc = device_private(self); local in function:i80312_mainbus_attach
101 sc->sc_dev = self;
109 i80312_bs_init(&i80312_bs_tag, sc);
110 sc->sc_st = &i80312_bs_tag;
111 sc->sc_sh = IQ80310_80312_VBASE;
117 if (bus_space_subregion(sc->sc_st, sc->sc_sh, I80312_MEM_BASE,
118 I80312_MEM_SIZE, &sc->sc_mem_sh))
125 sc->sc_piow_vaddr = IQ80310_PIOW_VBASE;
126 sc
[all...]
/src/sys/dev/pci/
H A Duhci_pci.c61 uhci_softc_t sc; member in struct:uhci_pci_softc
90 struct uhci_pci_softc *sc = device_private(self); local in function:uhci_pci_attach
100 sc->sc.sc_dev = self;
101 sc->sc.sc_bus.ub_hcpriv = sc;
107 &sc->sc.iot, &sc
198 struct uhci_pci_softc *sc = device_private(self); local in function:uhci_pci_detach
235 struct uhci_pci_softc *sc = device_private(dv); local in function:uhci_pci_resume
[all...]
/src/sys/arch/arm/ep93xx/
H A Depled.c63 struct epled_softc *sc = device_private(self); local in function:epled_attach
66 sc->sc_port = ga->ga_port;
67 sc->sc_green = ga->ga_bit1;
68 sc->sc_red = ga->ga_bit2;
69 sc->sc_gpio = (struct epgpio_softc *)parent;
73 the_epled_sc = sc;
79 epgpio_out(sc->sc_gpio, sc->sc_port, sc->sc_green);
80 epgpio_out(sc
86 struct epled_softc *sc = the_epled_sc; local in function:epled_red_on
101 struct epled_softc *sc = the_epled_sc; local in function:epled_red_off
116 struct epled_softc *sc = the_epled_sc; local in function:epled_green_on
131 struct epled_softc *sc = the_epled_sc; local in function:epled_green_off
[all...]
/src/sys/arch/arm/nvidia/
H A Dtegra_sdhc.c60 struct sdhc_softc sc; member in struct:tegra_sdhc_softc
98 struct tegra_sdhc_softc * const sc = device_private(self); local in function:tegra_sdhc_attach
114 sc->sc.sc_dev = self;
115 sc->sc.sc_dmat = faa->faa_dmat;
119 &sc->sc.sc_dmat, BUS_DMA_WAITOK);
126 sc->sc
254 struct tegra_sdhc_softc *sc = device_private(ssc->sc_dev); local in function:tegra_sdhc_card_detect
264 struct tegra_sdhc_softc *sc = device_private(ssc->sc_dev); local in function:tegra_sdhc_write_protect
274 struct tegra_sdhc_softc *sc = device_private(ssc->sc_dev); local in function:tegra_sdhc_signal_voltage
[all...]
/src/sys/arch/hpcarm/dev/
H A Dwzero3_kbd.c61 #define CSR_READ1(r) bus_space_read_1(sc->sc_iot, sc->sc_ioh, (r))
62 #define CSR_WRITE1(r,v) bus_space_write_1(sc->sc_iot, sc->sc_ioh, (r), (v))
63 #define CSR_READ2(r) bus_space_read_2(sc->sc_iot, sc->sc_ioh, (r))
64 #define CSR_WRITE2(r,v) bus_space_write_2(sc->sc_iot, sc->sc_ioh, (r), (v))
65 #define CSR_READ4(r) bus_space_read_4(sc->sc_iot, sc
262 struct wzero3kbd_softc *sc = device_private(self); local in function:wzero3kbd_attach
450 struct wzero3kbd_softc *sc = (struct wzero3kbd_softc *)arg; local in function:wzero3kbd_intr
493 struct wzero3kbd_softc *sc = (struct wzero3kbd_softc *)arg; local in function:wzero3kbd_intr2
519 struct wzero3kbd_softc *sc = (struct wzero3kbd_softc *)arg; local in function:wzero3kbd_tick
529 struct wzero3kbd_softc *sc = (struct wzero3kbd_softc *)arg; local in function:wzero3kbd_power_intr
628 struct wzero3kbd_softc *sc = (struct wzero3kbd_softc *)arg; local in function:wzero3kbd_reset_intr
640 struct wzero3kbd_softc *sc = (struct wzero3kbd_softc *)arg; local in function:wzero3kbd_input_establish
652 struct wzero3kbd_softc *sc = (struct wzero3kbd_softc *)arg; local in function:wzero3kbd_sysmon_reset_event
670 struct wzero3kbd_softc *sc = (struct wzero3kbd_softc *)arg; local in function:wzero3kbd_poll1
[all...]
/src/sys/dev/hil/
H A Dhil.c95 static int send_device_cmd(struct hil_softc *sc, u_int device, u_int cmd);
102 #define hil_process_pending(sc) wakeup(&(sc)->sc_pending)
105 hilwait(struct hil_softc *sc) argument
111 if ((bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_STAT) &
120 hildatawait(struct hil_softc *sc) argument
126 if ((bus_space_read_1(sc->sc_bst, sc->sc_bsh, HILP_STAT) &
139 hil_attach(struct hil_softc *sc, in argument
195 struct hil_softc *sc = device_private(self); local in function:hil_attach_deferred
273 struct hil_softc *sc = v; local in function:hil_intr
300 hil_process_int(struct hil_softc * sc,uint8_t stat,uint8_t c) argument
367 hil_process_poll(struct hil_softc * sc,uint8_t stat,uint8_t c) argument
444 struct hil_softc *sc = arg; local in function:hil_thread
486 hilconfig(struct hil_softc * sc,u_int knowndevs) argument
581 hilempty(struct hil_softc * sc) argument
644 send_hil_cmd(struct hil_softc * sc,u_int cmd,uint8_t * data,u_int dlen,uint8_t * rdata) argument
697 send_device_cmd(struct hil_softc * sc,u_int device,u_int cmd) argument
758 struct hil_softc *sc = device_private(device_parent(hdsc->sc_dev)); local in function:send_hildev_cmd
781 polloff(struct hil_softc * sc) argument
823 pollon(struct hil_softc * sc) argument
853 hil_set_poll(struct hil_softc * sc,int on) argument
866 struct hil_softc *sc = device_private(device_parent(hdsc->sc_dev)); local in function:hil_poll_data
[all...]
/src/sys/arch/hpcmips/vr/
H A Dvr4181aiu.c120 vr4181aiu_init_inbuf(struct vr4181aiu_softc *sc) argument
133 sc->sc_inbuf_raw = (u_int16_t *) inbufbase;
135 sc->sc_inbuf1 = (u_int16_t *) ((((u_int32_t) sc->sc_inbuf_raw)
138 sc->sc_inbuf2 = sc->sc_inbuf1 + INBUFLEN;
142 vr4181aiu_disable(struct vr4181aiu_softc *sc) argument
145 bus_space_write_2(sc->sc_iot, sc->sc_dcu2_ioh,
147 bus_space_write_2(sc
174 struct vr4181aiu_softc *sc = device_private(self); local in function:vr4181aiu_attach
244 struct vr4181aiu_softc *sc; local in function:vr4181aiuopen
320 struct vr4181aiu_softc *sc; local in function:vr4181aiuread
377 struct vr4181aiu_softc *sc = arg; local in function:vr4181aiu_intr
[all...]
/src/sys/arch/evbarm/hdl_g/
H A Di80321_mainbus.c78 struct i80321_softc *sc = device_private(self); local in function:hdlg_mainbus_attach
84 sc->sc_dev = self;
91 i80321_bs_init(&i80321_bs_tag, sc);
92 sc->sc_st = &i80321_bs_tag;
93 sc->sc_sh = HDLG_80321_VBASE;
99 if (bus_space_subregion(sc->sc_st, sc->sc_sh, VERDE_MCU_BASE,
100 VERDE_MCU_SIZE, &sc->sc_mcu_sh))
102 device_xname(sc->sc_dev));
104 if (bus_space_subregion(sc
[all...]
/src/sys/arch/sun3/dev/
H A Ddmavar.h53 #define DMA_GCSR(sc) \
54 bus_space_read_4((sc)->sc_bst, (sc)->sc_bsh, DMA_REG_CSR)
55 #define DMA_SCSR(sc, csr) \
56 bus_space_write_4((sc)->sc_bst, (sc)->sc_bsh, DMA_REG_CSR, (csr))
62 #define DMA_RESET(sc) (((sc)->reset)(sc))
63 #define DMA_INTR(sc) (((s
[all...]

Completed in 24 milliseconds

1234567891011>>