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

1234567891011>>

/freebsd-10.0-release/sys/dev/altera/jtag_uart/
H A Daltera_jtag_uart_tty.c83 aju_data_read(struct altera_jtag_uart_softc *sc) argument
86 return (le32toh(bus_read_4(sc->ajus_mem_res,
91 aju_data_write(struct altera_jtag_uart_softc *sc, uint32_t v) argument
94 bus_write_4(sc->ajus_mem_res, ALTERA_JTAG_UART_DATA_OFF, htole32(v));
98 aju_control_read(struct altera_jtag_uart_softc *sc) argument
101 return (le32toh(bus_read_4(sc->ajus_mem_res,
106 aju_control_write(struct altera_jtag_uart_softc *sc, uint32_t v) argument
109 bus_write_4(sc->ajus_mem_res, ALTERA_JTAG_UART_CONTROL_OFF,
117 aju_writable(struct altera_jtag_uart_softc *sc) argument
120 return ((aju_control_read(sc)
125 aju_readable(struct altera_jtag_uart_softc *sc) argument
143 aju_read(struct altera_jtag_uart_softc *sc) argument
157 aju_intr_readable_enable(struct altera_jtag_uart_softc *sc) argument
169 aju_intr_writable_enable(struct altera_jtag_uart_softc *sc) argument
181 aju_intr_writable_disable(struct altera_jtag_uart_softc *sc) argument
193 aju_intr_disable(struct altera_jtag_uart_softc *sc) argument
210 aju_handle_input(struct altera_jtag_uart_softc *sc, struct tty *tp) argument
241 aju_handle_output(struct altera_jtag_uart_softc *sc, struct tty *tp) argument
288 struct altera_jtag_uart_softc *sc = tty_softc(tp); local
300 struct altera_jtag_uart_softc *sc = arg; local
331 struct altera_jtag_uart_softc *sc = arg; local
362 struct altera_jtag_uart_softc *sc = arg; local
378 altera_jtag_uart_attach(struct altera_jtag_uart_softc *sc) argument
452 altera_jtag_uart_detach(struct altera_jtag_uart_softc *sc) argument
[all...]
/freebsd-10.0-release/sys/arm/xscale/i80321/
H A Di80321.c83 i80321_attach(struct i80321_softc *sc) argument
86 i80321_softc = sc;
94 bus_space_write_4(sc->sc_st, sc->sc_atu_sh, ATU_IALR0,
95 (0xffffffff - (sc->sc_iwin[0].iwin_size - 1)) & 0xffffffc0);
96 bus_space_write_4(sc->sc_st, sc->sc_atu_sh, ATU_IATVR0,
97 sc->sc_iwin[0].iwin_xlate);
98 if (sc->sc_is_host) {
99 bus_space_write_4(sc
[all...]
/freebsd-10.0-release/sys/dev/terasic/de4led/
H A Dterasic_de4led.h47 #define TERASIC_DE4LED_LOCK(sc) mtx_lock(&(sc)->tdl_lock)
48 #define TERASIC_DE4LED_LOCK_ASSERT(sc) mtx_assert(&(sc)->tdl_lock, MA_OWNED)
49 #define TERASIC_DE4LED_LOCK_DESTROY(sc) mtx_destroy(&(sc)->tdl_lock)
50 #define TERASIC_DE4LED_LOCK_INIT(sc) mtx_init(&(sc)->tdl_lock, \
52 #define TERASIC_DE4LED_UNLOCK(sc) mtx_unlock(&(sc)
[all...]
/freebsd-10.0-release/sys/dev/cmx/
H A Dcmx.c153 struct cmx_softc *sc = device_get_softc(dev); local
154 sc->dev = dev;
155 sc->timeout = CCID_DRIVER_MINIMUM_TIMEOUT;
169 struct cmx_softc *sc = device_get_softc(dev); local
174 sc->ioport = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
175 &sc->ioport_rid, RF_ACTIVE);
176 if (!sc->ioport) {
180 sc->bst = rman_get_bustag(sc->ioport);
181 sc
211 struct cmx_softc *sc = device_get_softc(dev); local
244 struct cmx_softc *sc = device_get_softc(dev); local
268 struct cmx_softc *sc = device_get_softc(dev); local
304 cmx_wait_BSR(struct cmx_softc *sc, uint8_t flags, int test) argument
340 cmx_sync_write_SCR(struct cmx_softc *sc, uint8_t val) argument
395 struct cmx_softc *sc = xsc; local
419 struct cmx_softc *sc = cdev->si_drv1; local
443 struct cmx_softc *sc = cdev->si_drv1; local
480 struct cmx_softc *sc = cdev->si_drv1; local
581 struct cmx_softc *sc = cdev->si_drv1; local
646 struct cmx_softc *sc = cdev->si_drv1; local
689 struct cmx_softc *sc = (struct cmx_softc *)arg; local
[all...]
/freebsd-10.0-release/sys/dev/altera/sdcard/
H A Daltera_sdcard.c78 altera_sdcard_attach(struct altera_sdcard_softc *sc) argument
81 ALTERA_SDCARD_LOCK_INIT(sc);
82 ALTERA_SDCARD_CONDVAR_INIT(sc);
83 sc->as_disk = NULL;
84 bioq_init(&sc->as_bioq);
85 sc->as_currentbio = NULL;
86 sc->as_state = ALTERA_SDCARD_STATE_NOCARD;
87 sc->as_taskqueue = taskqueue_create("altera_sdcardc taskq", M_WAITOK,
88 taskqueue_thread_enqueue, &sc->as_taskqueue);
89 taskqueue_start_threads(&sc
103 altera_sdcard_detach(struct altera_sdcard_softc *sc) argument
153 altera_sdcard_nextio(struct altera_sdcard_softc *sc) argument
169 altera_sdcard_task_nocard(struct altera_sdcard_softc *sc) argument
211 altera_sdcard_task_badcard(struct altera_sdcard_softc *sc) argument
233 altera_sdcard_task_idle(struct altera_sdcard_softc *sc) argument
256 altera_sdcard_task_io(struct altera_sdcard_softc *sc) argument
317 altera_sdcard_task_rechedule(struct altera_sdcard_softc *sc) argument
358 struct altera_sdcard_softc *sc; local
399 altera_sdcard_start(struct altera_sdcard_softc *sc) argument
[all...]
/freebsd-10.0-release/sys/dev/ath/
H A Dif_ath_btcoex.h34 extern int ath_btcoex_attach(struct ath_softc *sc);
35 extern int ath_btcoex_detach(struct ath_softc *sc);
36 extern int ath_btcoex_ioctl(struct ath_softc *sc, struct ath_diag *ad);
37 extern int ath_btcoex_enable(struct ath_softc *sc,
H A Dif_ath_rx_edma.h34 extern void ath_recv_setup_edma(struct ath_softc *sc);
H A Dif_ath_spectral.h34 extern int ath_spectral_attach(struct ath_softc *sc);
35 extern int ath_spectral_detach(struct ath_softc *sc);
36 extern int ath_ioctl_spectral(struct ath_softc *sc, struct ath_diag *ad);
37 extern int ath_spectral_enable(struct ath_softc *sc,
H A Dif_ath_tx_edma.h34 extern void ath_xmit_setup_edma(struct ath_softc *sc);
H A Dif_ath_led.h34 extern void ath_led_event(struct ath_softc *sc, int rix);
35 extern void ath_led_config(struct ath_softc *sc);
H A Dif_ath_sysctl.h36 extern void ath_sysctl_stats_attach(struct ath_softc *sc);
37 extern void ath_sysctl_hal_attach(struct ath_softc *sc);
/freebsd-10.0-release/sys/dev/etherswitch/arswitch/
H A Darswitch_8216.h31 extern void ar8216_attach(struct arswitch_softc *sc);
H A Darswitch_8226.h31 extern void ar8226_attach(struct arswitch_softc *sc);
H A Darswitch_8316.h31 extern void ar8316_attach(struct arswitch_softc *sc);
/freebsd-10.0-release/sys/dev/oce/
H A Doce_hw.c44 static int oce_POST(POCE_SOFTC sc);
48 * @param sc software handle to the device
51 oce_POST(POCE_SOFTC sc) argument
57 post_status.dw0 = OCE_READ_CSR_MPU(sc, csr, MPU_EP_SEMAPHORE(sc));
62 OCE_WRITE_CSR_MPU(sc, csr, MPU_EP_SEMAPHORE(sc), post_status.dw0);
72 post_status.dw0 = OCE_READ_CSR_MPU(sc, csr, MPU_EP_SEMAPHORE(sc));
74 device_printf(sc
92 oce_hw_init(POCE_SOFTC sc) argument
155 oce_hw_pci_free(POCE_SOFTC sc) argument
203 oce_get_pci_capabilities(POCE_SOFTC sc) argument
247 oce_hw_pci_alloc(POCE_SOFTC sc) argument
342 oce_hw_shutdown(POCE_SOFTC sc) argument
376 oce_create_nw_interface(POCE_SOFTC sc) argument
438 oce_delete_nw_interface(POCE_SOFTC sc) argument
453 oce_pci_soft_reset(POCE_SOFTC sc) argument
473 oce_hw_start(POCE_SOFTC sc) argument
519 oce_hw_intr_enable(POCE_SOFTC sc) argument
535 oce_hw_intr_disable(POCE_SOFTC sc) argument
551 oce_hw_update_multicast(POCE_SOFTC sc) argument
[all...]
/freebsd-10.0-release/sys/powerpc/powermac/
H A Dcuda.c74 static void cuda_send_inbound(struct cuda_softc *sc);
75 static void cuda_send_outbound(struct cuda_softc *sc);
117 static uint8_t cuda_read_reg(struct cuda_softc *sc, u_int offset);
118 static void cuda_write_reg(struct cuda_softc *sc, u_int offset, uint8_t value);
143 struct cuda_softc *sc; local
149 sc = device_get_softc(dev);
150 sc->sc_dev = dev;
152 sc->sc_memrid = 0;
153 sc->sc_memr = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
154 &sc
257 struct cuda_softc *sc; local
270 cuda_read_reg(struct cuda_softc *sc, u_int offset) argument
275 cuda_write_reg(struct cuda_softc *sc, u_int offset, uint8_t value) argument
280 cuda_idle(struct cuda_softc *sc) argument
290 cuda_tip(struct cuda_softc *sc) argument
300 cuda_clear_tip(struct cuda_softc *sc) argument
310 cuda_in(struct cuda_softc *sc) argument
320 cuda_out(struct cuda_softc *sc) argument
330 cuda_toggle_ack(struct cuda_softc *sc) argument
340 cuda_ack_off(struct cuda_softc *sc) argument
350 cuda_intr_state(struct cuda_softc *sc) argument
358 struct cuda_softc *sc = cookie; local
400 cuda_send_outbound(struct cuda_softc *sc) argument
433 cuda_send_inbound(struct cuda_softc *sc) argument
501 struct cuda_softc *sc = device_get_softc(dev); local
515 struct cuda_softc *sc; local
706 struct cuda_softc *sc = device_get_softc(dev); local
723 struct cuda_softc *sc = device_get_softc(dev); local
745 struct cuda_softc *sc = xsc; local
761 struct cuda_softc *sc = device_get_softc(dev); local
780 struct cuda_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-10.0-release/sys/dev/vx/
H A Dif_vxvar.h60 #define CSR_WRITE_4(sc, reg, val) \
61 bus_space_write_4(sc->vx_bst, sc->vx_bsh, reg, val)
62 #define CSR_WRITE_2(sc, reg, val) \
63 bus_space_write_2(sc->vx_bst, sc->vx_bsh, reg, val)
64 #define CSR_WRITE_1(sc, reg, val) \
65 bus_space_write_1(sc->vx_bst, sc->vx_bsh, reg, val)
67 #define CSR_READ_4(sc, re
[all...]
/freebsd-10.0-release/sys/sparc64/sbus/
H A Dlsi64854var.h67 #define L64854_GCSR(sc) bus_read_4((sc)->sc_res, L64854_REG_CSR)
68 #define L64854_SCSR(sc, csr) bus_write_4((sc)->sc_res, L64854_REG_CSR, csr)
73 #define DMA_RESET(sc) (((sc)->reset)(sc))
74 #define DMA_INTR(sc) (((sc)->intr)(sc))
[all...]
/freebsd-10.0-release/sys/dev/hatm/
H A Dif_hatm.c199 hatm_alloc_dmamem(struct hatm_softc *sc, const char *what, struct dmamem *mem) argument
215 error = bus_dma_tag_create(sc->parent_tag, mem->align, 0,
221 if_printf(sc->ifp, "DMA tag create (%s)\n", what);
227 if_printf(sc->ifp, "DMA mem alloc (%s): %d\n",
237 if_printf(sc->ifp, "DMA map load (%s): %d\n",
245 DBG(sc, DMA, ("%s S/A/V/P 0x%x 0x%x %p 0x%lx", what, mem->size,
269 hatm_destroy_rmaps(struct hatm_softc *sc) argument
273 DBG(sc, ATTACH, ("destroying rmaps and lbuf pointers..."));
274 if (sc->rmaps != NULL) {
275 for (b = 0; b < sc
284 hatm_init_rmaps(struct hatm_softc *sc) argument
307 hatm_destroy_smbufs(struct hatm_softc *sc) argument
337 hatm_init_smbufs(struct hatm_softc *sc) argument
348 hatm_destroy_tpds(struct hatm_softc *sc) argument
368 hatm_init_tpds(struct hatm_softc *sc) argument
416 hatm_stop_tpds(struct hatm_softc *sc) argument
443 hatm_destroy(struct hatm_softc *sc) argument
509 hatm_reset(struct hatm_softc *sc) argument
533 hatm_init_bus_width(struct hatm_softc *sc) argument
562 hatm_init_endianess(struct hatm_softc *sc) argument
595 hatm_read_prom_byte(struct hatm_softc *sc, u_int addr) argument
653 hatm_init_read_eeprom(struct hatm_softc *sc) argument
731 hatm_clear_irq(struct hatm_softc *sc, u_int group) argument
743 hatm_init_irq(struct hatm_softc *sc, struct heirq *q, u_int group) argument
774 hatm_init_cm(struct hatm_softc *sc) argument
823 hatm_init_rx_buffer_pool(struct hatm_softc *sc, u_int num, u_int start, u_int numbuffs ) argument
877 hatm_init_tx_buffer_pool(struct hatm_softc *sc, u_int start, u_int numbuffs ) argument
930 hatm_init_imed_queues(struct hatm_softc *sc) argument
951 hatm_init_cs_block(struct hatm_softc *sc) argument
1018 hatm_init_cs_block_cm(struct hatm_softc *sc) argument
1117 hatm_clear_rpool(struct hatm_softc *sc, u_int group, u_int large) argument
1129 hatm_init_rpool(struct hatm_softc *sc, struct herbp *q, u_int group, u_int large) argument
1157 hatm_clear_rbrq(struct hatm_softc *sc, u_int group) argument
1169 hatm_init_rbrq(struct hatm_softc *sc, struct herbrq *rq, u_int group) argument
1195 hatm_clear_tbrq(struct hatm_softc *sc, u_int group) argument
1207 hatm_init_tbrq(struct hatm_softc *sc, struct hetbrq *tq, u_int group) argument
1229 hatm_init_tpdrq(struct hatm_softc *sc) argument
1250 struct hatm_softc *sc = p; local
1268 struct hatm_softc *sc = arg1; local
1305 kenv_getuint(struct hatm_softc *sc, const char *var, u_int *ptr, u_int def, int rw) argument
1340 hatm_configure(struct hatm_softc *sc) argument
1423 struct hatm_softc *sc = arg1; local
1449 struct hatm_softc *sc = arg1; local
1475 struct hatm_softc *sc = arg1; local
1500 struct hatm_softc *sc = arg1; local
1526 struct hatm_softc *sc = arg1; local
1552 struct hatm_softc *sc = arg1; local
1582 struct hatm_softc *sc = ifatm->ifp->if_softc; local
1603 struct hatm_softc *sc = ifatm->ifp->if_softc; local
1627 struct hatm_softc *sc = device_get_softc(dev); local
1651 struct hatm_softc *sc; local
1966 hatm_initialize(struct hatm_softc *sc) argument
2261 hatm_stop(struct hatm_softc *sc) argument
[all...]
/freebsd-10.0-release/sys/dev/ie/
H A Dif_ie.c251 ee16_shutdown(struct ie_softc *sc) argument
254 ee16_reset_586(sc);
255 outb(PORT(sc) + IEE16_ECTRL, IEE16_RESET_ASIC);
256 outb(PORT(sc) + IEE16_ECTRL, 0);
265 struct ie_softc * sc; local
270 sc = device_get_softc(dev);
271 ifp = sc->ifp = if_alloc(IFT_ETHER);
273 device_printf(sc->dev, "can not if_alloc()\n");
277 sc->dev = dev;
278 mtx_init(&sc
339 ie_ack(struct ie_softc *sc, u_int mask) argument
352 struct ie_softc *sc = (struct ie_softc *)xsc; local
424 ierint(struct ie_softc *sc) argument
471 ietint(struct ie_softc *sc) argument
528 iernr(struct ie_softc *sc) argument
581 check_eh(struct ie_softc *sc, struct ether_header *eh) argument
624 ie_buflen(struct ie_softc *sc, int head) argument
631 ie_packet_len(struct ie_softc *sc) argument
668 ieget(struct ie_softc *sc, struct mbuf **mp) argument
842 ie_readframe(struct ie_softc *sc, int num ) argument
894 ie_drop_packet_buffer(struct ie_softc *sc) argument
929 struct ie_softc *sc = ifp->if_softc; local
939 struct ie_softc *sc = ifp->if_softc; local
1017 check_ie_present(struct ie_softc *sc) argument
1098 find_ie_mem_size(struct ie_softc *sc) argument
1114 el_reset_586(struct ie_softc *sc) argument
1123 sl_reset_586(struct ie_softc *sc) argument
1129 ee16_reset_586(struct ie_softc *sc) argument
1138 el_chan_attn(struct ie_softc *sc) argument
1144 sl_chan_attn(struct ie_softc *sc) argument
1150 ee16_chan_attn(struct ie_softc *sc) argument
1156 ee16_read_eeprom(struct ie_softc *sc, int location) argument
1177 ee16_eeprom_outbits(struct ie_softc *sc, int edata, int count) argument
1199 ee16_eeprom_inbits(struct ie_softc *sc) argument
1218 ee16_eeprom_clock(struct ie_softc *sc, int state) argument
1232 ee16_interrupt_enable(struct ie_softc *sc) argument
1240 sl_read_ether(struct ie_softc *sc, unsigned char *addr) argument
1249 iereset(struct ie_softc *sc) argument
1286 command_and_wait(struct ie_softc *sc, int cmd, volatile void *pcmd, int mask) argument
1330 run_tdr(struct ie_softc *sc, volatile struct ie_tdr_cmd *cmd) argument
1366 start_receiver(struct ie_softc *sc) argument
1380 setup_rfa(struct ie_softc *sc, v_caddr_t ptr) argument
1451 mc_setup(struct ie_softc *sc) argument
1484 struct ie_softc *sc = xsc; local
1492 ieinit_locked(struct ie_softc *sc) argument
1612 ie_stop(struct ie_softc *sc) argument
1624 struct ie_softc *sc = ifp->if_softc; local
1672 ie_mc_reset(struct ie_softc *sc) argument
1721 struct ie_softc * sc; local
1767 struct ie_softc * sc; local
1793 struct ie_softc * sc; local
[all...]
/freebsd-10.0-release/sys/arm/at91/
H A Dif_ate.c88 #define RX_BUF_SIZE(sc) (sc->is_emacb ? 128 : MCLBYTES)
115 #define NEXT_RX_IDX(sc, cur) \
116 ((sc->rx_descs[cur].addr & ETH_WRAP_BIT) ? 0 : (cur + 1))
118 #define NEXT_TX_IDX(sc, cur) \
119 ((sc->tx_descs[cur].status & ETHB_TX_WRAP) ? 0 : (cur + 1))
158 RD4(struct ate_softc *sc, bus_size_t off) argument
161 return (bus_read_4(sc->mem_res, off));
165 WR4(struct ate_softc *sc, bus_size_t off, uint32_t val) argument
168 bus_write_4(sc
172 BARRIER(struct ate_softc *sc, bus_size_t off, bus_size_t len, int flags) argument
239 struct ate_softc *sc; local
370 struct ate_softc *sc; local
424 struct ate_softc *sc; local
450 ate_setmcast(struct ate_softc *sc) argument
496 struct ate_softc *sc; local
619 ate_deactivate(struct ate_softc *sc) argument
685 struct ate_softc *sc = ifp->if_softc; local
701 struct ate_softc *sc = ifp->if_softc; local
713 ate_stat_update(struct ate_softc *sc, int active) argument
733 struct ate_softc *sc = xsc; local
798 ate_set_mac(struct ate_softc *sc, u_char *eaddr) argument
807 ate_get_mac(struct ate_softc *sc, u_char *eaddr) argument
837 struct ate_softc *sc = xsc; local
1018 struct ate_softc *sc = xsc; local
1100 struct ate_softc *sc = ifp->if_softc; local
1191 struct ate_softc *sc = xsc; local
1201 struct ate_softc *sc = ifp->if_softc; local
1213 atestop(struct ate_softc *sc) argument
1288 ate_rxfilter(struct ate_softc *sc) argument
1322 struct ate_softc *sc = ifp->if_softc; local
1390 struct ate_softc *sc; local
1403 struct ate_softc *sc; local
1424 struct ate_softc *sc; local
[all...]
/freebsd-10.0-release/sys/dev/smc/
H A Dif_smc.c80 #define SMC_LOCK(sc) mtx_lock(&(sc)->smc_mtx)
81 #define SMC_UNLOCK(sc) mtx_unlock(&(sc)->smc_mtx)
82 #define SMC_ASSERT_LOCKED(sc) mtx_assert(&(sc)->smc_mtx, MA_OWNED)
146 smc_select_bank(struct smc_softc *sc, uint16_t bank) argument
149 bus_barrier(sc->smc_reg, BSR, 2,
151 bus_write_2(sc->smc_reg, BSR, bank & BSR_BANK_MASK);
152 bus_barrier(sc
158 smc_mmu_wait(struct smc_softc *sc) argument
169 smc_read_1(struct smc_softc *sc, bus_size_t offset) argument
176 smc_write_1(struct smc_softc *sc, bus_size_t offset, uint8_t val) argument
183 smc_read_2(struct smc_softc *sc, bus_size_t offset) argument
190 smc_write_2(struct smc_softc *sc, bus_size_t offset, uint16_t val) argument
197 smc_read_multi_2(struct smc_softc *sc, bus_size_t offset, uint16_t *datap, bus_size_t count) argument
205 smc_write_multi_2(struct smc_softc *sc, bus_size_t offset, uint16_t *datap, bus_size_t count) argument
213 smc_barrier(struct smc_softc *sc, bus_size_t offset, bus_size_t length, int flags) argument
225 struct smc_softc *sc; local
306 struct smc_softc *sc; local
422 struct smc_softc *sc; local
483 struct smc_softc *sc; local
494 struct smc_softc *sc; local
569 struct smc_softc *sc; local
676 struct smc_softc *sc; local
788 struct smc_softc *sc; local
807 struct smc_softc *sc; local
821 struct smc_softc *sc; local
934 struct smc_softc *sc; local
955 struct smc_softc *sc; local
973 struct smc_softc *sc; local
991 struct smc_softc *sc; local
1008 struct smc_softc *sc; local
1033 struct smc_softc *sc; local
1047 struct smc_softc *sc; local
1063 struct smc_softc *sc; local
1077 smc_mii_mediachg(struct smc_softc *sc) argument
1086 smc_mii_mediaioctl(struct smc_softc *sc, struct ifreq *ifr, u_long command) argument
1098 smc_reset(struct smc_softc *sc) argument
1148 smc_enable(struct smc_softc *sc) argument
1178 smc_stop(struct smc_softc *sc) argument
1214 struct smc_softc *sc; local
1224 struct smc_softc *sc; local
1233 smc_init_locked(struct smc_softc *sc) argument
1265 struct smc_softc *sc; local
[all...]
/freebsd-10.0-release/sys/dev/ips/
H A Dips.c76 ips_softc_t *sc = dev->si_drv1; local
77 sc->state |= IPS_DEV_OPEN;
83 ips_softc_t *sc = dev->si_drv1; local
84 sc->state &= ~IPS_DEV_OPEN;
91 ips_softc_t *sc; local
93 sc = dev->si_drv1;
94 return ips_ioctl_request(sc, command, addr, flags);
107 static int ips_cmdqueue_free(ips_softc_t *sc) argument
112 if(!sc->used_commands){
113 for(i = 0; i < sc
138 ips_cmdqueue_init(ips_softc_t *sc) argument
187 ips_get_free_cmd(ips_softc_t *sc, ips_command_t **cmd, unsigned long flags) argument
214 ips_insert_free_cmd(ips_softc_t *sc, ips_command_t *command) argument
254 ips_diskdev_init(ips_softc_t *sc) argument
275 ips_diskdev_free(ips_softc_t *sc) argument
298 ips_softc_t *sc = arg; local
337 ips_adapter_init(ips_softc_t *sc) argument
429 ips_morpheus_reinit(ips_softc_t *sc, int force) argument
482 ips_adapter_free(ips_softc_t *sc) argument
506 ips_morpheus_check_intr(ips_softc_t *sc) argument
534 ips_softc_t *sc = void_sc; local
577 ips_copperhead_queue_init(ips_softc_t *sc) argument
633 ips_copperhead_reinit(ips_softc_t *sc, int force) argument
692 ips_copperhead_cmd_status(ips_softc_t *sc) argument
707 ips_softc_t *sc = (ips_softc_t *)void_sc; local
[all...]
/freebsd-10.0-release/sys/dev/fe/
H A Dif_fe.c222 fe_simple_probe (struct fe_softc const * sc, argument
229 bits = fe_inb(sc, p->port);
280 fe_softc_defaults (struct fe_softc *sc) argument
285 sc->proto_dlcr4 = FE_D4_LBC_DISABLE | FE_D4_CNTRL;
286 sc->proto_dlcr5 = 0;
287 sc->proto_dlcr6 = FE_D6_BUFSIZ_32KB | FE_D6_TXBSIZ_2x4KB
289 sc->proto_dlcr7 = FE_D7_BYTSWP_LH;
290 sc->proto_bmpr13 = 0;
293 sc->stability = 0;
296 sc
326 fe_msel_965(struct fe_softc *sc) argument
352 fe_strobe_eeprom_jli(struct fe_softc *sc, u_short bmpr16) argument
367 fe_read_eeprom_jli(struct fe_softc * sc, u_char * data) argument
441 fe_init_jli(struct fe_softc * sc) argument
465 fe_read_eeprom_ssi(struct fe_softc *sc, u_char *data) argument
573 fe_eeprom_cycle_lnx(struct fe_softc *sc, u_short reg20, u_long cycle) argument
586 fe_eeprom_receive_lnx(struct fe_softc *sc, u_short reg20) argument
599 fe_read_eeprom_lnx(struct fe_softc *sc, u_char *data) argument
698 fe_init_lnx(struct fe_softc * sc) argument
715 fe_init_ubn(struct fe_softc * sc) argument
734 struct fe_softc *sc = device_get_softc(dev); local
877 struct fe_softc *sc = device_get_softc(dev); local
896 struct fe_softc *sc = device_get_softc(dev); local
913 struct fe_softc *sc = device_get_softc(dev); local
929 fe_reset(struct fe_softc *sc) argument
948 fe_stop(struct fe_softc *sc) argument
994 struct fe_softc *sc = arg; local
1016 struct fe_softc *sc = xsc; local
1024 fe_init_locked(struct fe_softc *sc) argument
1143 fe_xmit(struct fe_softc *sc) argument
1171 struct fe_softc *sc = ifp->if_softc; local
1181 struct fe_softc *sc = ifp->if_softc; local
1329 fe_droppacket(struct fe_softc * sc, int len) argument
1374 fe_emptybuffer(struct fe_softc * sc) argument
1433 fe_tint(struct fe_softc * sc, u_char tstat) argument
1563 fe_rint(struct fe_softc * sc, u_char rstat) argument
1693 struct fe_softc *sc = arg; local
1771 struct fe_softc *sc = ifp->if_softc; local
1833 fe_get_packet(struct fe_softc * sc, u_short len) argument
1926 fe_write_mbufs(struct fe_softc *sc, struct mbuf *m) argument
2105 fe_setmode(struct fe_softc *sc) argument
2192 fe_loadmar(struct fe_softc * sc) argument
2222 struct fe_softc *sc = (struct fe_softc *)ifp->if_softc; local
2258 struct fe_softc *sc = ifp->if_softc; local
[all...]
/freebsd-10.0-release/sys/dev/patm/
H A Dif_patm_attach.c123 static void patm_destroy(struct patm_softc *sc);
128 static void patm_read_eeprom(struct patm_softc *sc);
129 static int patm_sq_init(struct patm_softc *sc);
130 static int patm_rbuf_init(struct patm_softc *sc);
131 static int patm_txmap_init(struct patm_softc *sc);
167 struct patm_softc *sc; local
175 sc = device_get_softc(dev);
177 sc->dev = dev;
179 sc->debug = IATM_DEBUG;
181 ifp = sc
464 struct patm_softc *sc; local
488 patm_destroy(struct patm_softc *sc) argument
572 patm_env_getuint(struct patm_softc *sc, u_int *var, const char *name) argument
600 struct patm_softc *sc = arg1; local
624 struct patm_softc *sc = arg1; local
644 patm_read_eeprom(struct patm_softc *sc) argument
706 struct patm_softc *sc = ifatm->ifp->if_softc; local
732 struct patm_softc *sc = ifatm->ifp->if_softc; local
759 patm_sq_init(struct patm_softc *sc) argument
820 patm_rbuf_init(struct patm_softc *sc) argument
898 patm_txmap_init(struct patm_softc *sc) argument
946 struct patm_softc *sc = arg1; local
971 struct patm_softc *sc = arg1; local
994 struct patm_softc *sc; local
1012 struct patm_softc *sc; local
1043 struct patm_softc *sc; local
1058 struct patm_softc *sc; local
[all...]

Completed in 225 milliseconds

1234567891011>>