/freebsd-10-stable/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart_tty.c | 83 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 304 struct altera_jtag_uart_softc *sc = tty_softc(tp); local 316 struct altera_jtag_uart_softc *sc = arg; local 347 struct altera_jtag_uart_softc *sc = arg; local 378 struct altera_jtag_uart_softc *sc = arg; local 394 altera_jtag_uart_attach(struct altera_jtag_uart_softc *sc) argument 468 altera_jtag_uart_detach(struct altera_jtag_uart_softc *sc) argument [all...] |
/freebsd-10-stable/sys/arm/xscale/i80321/ |
H A D | i80321.c | 83 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-stable/sys/dev/terasic/de4led/ |
H A D | terasic_de4led.h | 47 #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-stable/sys/dev/cmx/ |
H A D | cmx.c | 153 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-stable/sys/dev/altera/sdcard/ |
H A D | altera_sdcard.c | 78 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-stable/sys/dev/uart/ |
H A D | uart_core.c | 91 uart_pps_print_mode(struct uart_softc *sc) argument 94 device_printf(sc->sc_dev, "PPS capture mode: "); 95 switch(sc->sc_pps_mode) { 105 if (sc->sc_pps_mode & UART_PPS_INVERT_PULSE) 107 if (sc->sc_pps_mode & UART_PPS_NARROW_PULSE) 115 struct uart_softc *sc; local 118 sc = arg1; 119 tmp = sc->sc_pps_mode; 125 sc->sc_pps_mode = tmp; 130 uart_pps_process(struct uart_softc *sc, in argument 179 uart_pps_init(struct uart_softc *sc) argument 249 uart_sched_softih(struct uart_softc *sc, uint32_t ipend) argument 274 struct uart_softc *sc = arg; local 305 struct uart_softc *sc = arg; local 323 struct uart_softc *sc = arg; local 354 struct uart_softc *sc = arg; local 391 struct uart_softc *sc = arg; local 403 struct uart_softc *sc = arg; local 457 struct uart_softc *sc; local 466 struct uart_softc *sc; local 475 struct uart_softc *sc; local 551 struct uart_softc *sc, *sc0; local 740 struct uart_softc *sc; local 780 struct uart_softc *sc; local [all...] |
/freebsd-10-stable/sys/dev/ath/ |
H A D | if_ath_btcoex.h | 34 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 D | if_ath_rx_edma.h | 34 extern void ath_recv_setup_edma(struct ath_softc *sc);
|
H A D | if_ath_spectral.h | 34 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 D | if_ath_tx_edma.h | 34 extern void ath_xmit_setup_edma(struct ath_softc *sc);
|
H A D | if_ath_led.h | 34 extern void ath_led_event(struct ath_softc *sc, int rix); 35 extern void ath_led_config(struct ath_softc *sc);
|
H A D | if_ath_sysctl.h | 36 extern void ath_sysctl_stats_attach(struct ath_softc *sc); 37 extern void ath_sysctl_hal_attach(struct ath_softc *sc);
|
/freebsd-10-stable/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_8216.h | 31 extern void ar8216_attach(struct arswitch_softc *sc);
|
H A D | arswitch_8226.h | 31 extern void ar8226_attach(struct arswitch_softc *sc);
|
H A D | arswitch_8316.h | 31 extern void ar8316_attach(struct arswitch_softc *sc);
|
/freebsd-10-stable/sys/dev/oce/ |
H A D | oce_hw.c | 44 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 515 oce_hw_intr_enable(POCE_SOFTC sc) argument 531 oce_hw_intr_disable(POCE_SOFTC sc) argument 547 oce_hw_update_multicast(POCE_SOFTC sc) argument [all...] |
/freebsd-10-stable/sys/powerpc/powermac/ |
H A D | cuda.c | 74 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-stable/sys/dev/vx/ |
H A D | if_vxvar.h | 60 #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-stable/sys/sparc64/sbus/ |
H A D | lsi64854var.h | 67 #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-stable/sys/dev/hatm/ |
H A D | if_hatm.c | 199 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 1348 hatm_configure(struct hatm_softc *sc) argument 1431 struct hatm_softc *sc = arg1; local 1457 struct hatm_softc *sc = arg1; local 1483 struct hatm_softc *sc = arg1; local 1508 struct hatm_softc *sc = arg1; local 1534 struct hatm_softc *sc = arg1; local 1560 struct hatm_softc *sc = arg1; local 1590 struct hatm_softc *sc = ifatm->ifp->if_softc; local 1611 struct hatm_softc *sc = ifatm->ifp->if_softc; local 1635 struct hatm_softc *sc = device_get_softc(dev); local 1659 struct hatm_softc *sc; local 1974 hatm_initialize(struct hatm_softc *sc) argument 2269 hatm_stop(struct hatm_softc *sc) argument [all...] |
/freebsd-10-stable/sys/arm/at91/ |
H A D | if_ate.c | 97 #define RX_BUF_SIZE(sc) (sc->is_emacb ? 128 : MCLBYTES) 124 #define NEXT_RX_IDX(sc, cur) \ 125 ((sc->rx_descs[cur].addr & ETH_WRAP_BIT) ? 0 : (cur + 1)) 127 #define NEXT_TX_IDX(sc, cur) \ 128 ((sc->tx_descs[cur].status & ETHB_TX_WRAP) ? 0 : (cur + 1)) 167 RD4(struct ate_softc *sc, bus_size_t off) argument 170 return (bus_read_4(sc->mem_res, off)); 174 WR4(struct ate_softc *sc, bus_size_t off, uint32_t val) argument 177 bus_write_4(sc 181 BARRIER(struct ate_softc *sc, bus_size_t off, bus_size_t len, int flags) argument 251 struct ate_softc *sc; local 382 struct ate_softc *sc; local 436 struct ate_softc *sc; local 462 ate_setmcast(struct ate_softc *sc) argument 508 struct ate_softc *sc; local 631 ate_deactivate(struct ate_softc *sc) argument 697 struct ate_softc *sc = ifp->if_softc; local 713 struct ate_softc *sc = ifp->if_softc; local 725 ate_stat_update(struct ate_softc *sc, int active) argument 745 struct ate_softc *sc = xsc; local 810 ate_set_mac(struct ate_softc *sc, u_char *eaddr) argument 819 ate_get_mac(struct ate_softc *sc, u_char *eaddr) argument 849 struct ate_softc *sc = xsc; local 1030 struct ate_softc *sc = xsc; local 1112 struct ate_softc *sc = ifp->if_softc; local 1203 struct ate_softc *sc = xsc; local 1213 struct ate_softc *sc = ifp->if_softc; local 1225 atestop(struct ate_softc *sc) argument 1300 ate_rxfilter(struct ate_softc *sc) argument 1334 struct ate_softc *sc = ifp->if_softc; local 1402 struct ate_softc *sc; local 1415 struct ate_softc *sc; local 1436 struct ate_softc *sc; local [all...] |
/freebsd-10-stable/sys/dev/smc/ |
H A D | if_smc.c | 80 #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-stable/sys/dev/ips/ |
H A D | ips.c | 76 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-stable/sys/dev/fe/ |
H A D | if_fe.c | 222 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-stable/sys/dev/wbwd/ |
H A D | wbwd.c | 256 write_efir_1(struct wb_softc *sc, u_short baseport, uint8_t value) argument 259 MPASS(sc != NULL || baseport != 0); 260 if (sc != NULL) 261 bus_space_write_1((sc)->bst, (sc)->bsh, 0, (value)); 267 read_efir_1(struct wb_softc *sc, u_short baseport) argument 270 MPASS(sc != NULL || baseport != 0); 271 if (sc != NULL) 272 return (bus_space_read_1((sc)->bst, (sc) 278 write_efdr_1(struct wb_softc *sc, u_short baseport, uint8_t value) argument 289 read_efdr_1(struct wb_softc *sc, u_short baseport) argument 300 write_reg(struct wb_softc *sc, uint8_t reg, uint8_t value) argument 308 read_reg(struct wb_softc *sc, uint8_t reg) argument 323 struct wb_softc *sc; local 349 struct wb_softc *sc; local 381 struct wb_softc *sc; local 436 wb_print_state(struct wb_softc *sc, const char *msg) argument 458 ext_cfg_enter_0x87_0x87(struct wb_softc *sc, u_short baseport) argument 472 ext_cfg_exit_0xaa(struct wb_softc *sc, u_short baseport) argument 483 wb_set_watchdog(struct wb_softc *sc, unsigned int timeout) argument 557 struct wb_softc *sc; local 607 struct wb_softc *sc; local 744 struct wb_softc *sc; local 887 struct wb_softc *sc; local [all...] |