Searched refs:sc (Results 76 - 100 of 1494) sorted by relevance

1234567891011>>

/freebsd-9.3-release/sys/dev/mfi/
H A Dmfi_tbolt.c58 struct mfi_cmd_tbolt *mfi_tbolt_get_cmd(struct mfi_softc *sc, struct mfi_command *);
60 mfi_tbolt_get_request_descriptor(struct mfi_softc *sc, uint16_t index);
61 void mfi_tbolt_complete_cmd(struct mfi_softc *sc);
62 int mfi_tbolt_build_io(struct mfi_softc *sc, struct mfi_command *mfi_cmd,
65 *sc, struct mfi_command *cmd);
67 mfi_build_mpt_pass_thru(struct mfi_softc *sc, struct mfi_command *mfi_cmd);
69 *sc, struct mfi_command *mfi_cmd);
70 void mfi_tbolt_build_ldio(struct mfi_softc *sc, struct mfi_command *mfi_cmd,
72 static int mfi_tbolt_make_sgl(struct mfi_softc *sc, struct mfi_command
77 static void mfi_issue_pending_cmds_again (struct mfi_softc *sc);
95 mfi_tbolt_enable_intr_ppc(struct mfi_softc *sc) argument
102 mfi_tbolt_disable_intr_ppc(struct mfi_softc *sc) argument
109 mfi_tbolt_read_fw_status_ppc(struct mfi_softc *sc) argument
115 mfi_tbolt_check_clear_intr_ppc(struct mfi_softc *sc) argument
139 mfi_tbolt_issue_cmd_ppc(struct mfi_softc *sc, bus_addr_t bus_add, uint32_t frame_cnt) argument
153 mfi_tbolt_adp_reset(struct mfi_softc *sc) argument
204 mfi_tbolt_init_globals(struct mfi_softc *sc) argument
251 mfi_tbolt_get_memory_requirement(struct mfi_softc *sc) argument
273 mfi_tbolt_init_desc_pool(struct mfi_softc *sc, uint8_t* mem_location, uint32_t tbolt_contg_length) argument
336 mfi_tbolt_init_MFI_queue(struct mfi_softc *sc) argument
452 mfi_tbolt_alloc_cmd(struct mfi_softc *sc) argument
539 mfi_tbolt_reset(struct mfi_softc *sc) argument
578 struct mfi_softc *sc = (struct mfi_softc *)arg; local
645 mfi_tbolt_return_cmd(struct mfi_softc *sc, struct mfi_cmd_tbolt *tbolt_cmd, struct mfi_command *mfi_cmd) argument
658 mfi_tbolt_complete_cmd(struct mfi_softc *sc) argument
770 mfi_tbolt_get_cmd(struct mfi_softc *sc, struct mfi_command *mfi_cmd) argument
791 mfi_tbolt_get_request_descriptor(struct mfi_softc *sc, uint16_t index) argument
809 mfi_build_mpt_pass_thru(struct mfi_softc *sc, struct mfi_command *mfi_cmd) argument
842 mfi_tbolt_build_ldio(struct mfi_softc *sc, struct mfi_command *mfi_cmd, struct mfi_cmd_tbolt *cmd) argument
881 mfi_tbolt_build_io(struct mfi_softc *sc, struct mfi_command *mfi_cmd, struct mfi_cmd_tbolt *cmd) argument
943 mfi_tbolt_make_sgl(struct mfi_softc *sc, struct mfi_command *mfi_cmd, pMpi25IeeeSgeChain64_t sgl_ptr, struct mfi_cmd_tbolt *cmd) argument
1041 mfi_build_and_issue_cmd(struct mfi_softc *sc, struct mfi_command *mfi_cmd) argument
1066 mfi_tbolt_build_mpt_cmd(struct mfi_softc *sc, struct mfi_command *cmd) argument
1090 mfi_tbolt_send_frame(struct mfi_softc *sc, struct mfi_command *cm) argument
1181 mfi_issue_pending_cmds_again(struct mfi_softc *sc) argument
1230 mfi_kill_hba(struct mfi_softc *sc) argument
1241 struct mfi_softc *sc= (struct mfi_softc *)arg; local
1360 mfi_tbolt_sync_map_info(struct mfi_softc *sc) argument
1456 struct mfi_softc *sc; local
1484 mfi_queue_map_sync(struct mfi_softc *sc) argument
1493 struct mfi_softc *sc; local
[all...]
/freebsd-9.3-release/sys/dev/adb/
H A Dadb_mouse.c148 struct adb_mouse_softc *sc; local
154 sc = device_get_softc(dev);
155 sc->sc_dev = dev;
157 mtx_init(&sc->sc_mtx, "ams", NULL, MTX_DEF);
158 cv_init(&sc->sc_cv,"ams");
160 sc->flags = 0;
162 sc->hw.buttons = 2;
163 sc->hw.iftype = MOUSE_IF_UNKNOWN;
164 sc->hw.type = MOUSE_UNKNOWN;
165 sc
257 struct adb_mouse_softc *sc; local
273 struct adb_mouse_softc *sc; local
338 struct adb_mouse_softc *sc; local
433 struct adb_mouse_softc *sc; local
452 struct adb_mouse_softc *sc; local
464 struct adb_mouse_softc *sc; local
491 struct adb_mouse_softc *sc; local
583 struct adb_mouse_softc *sc; local
657 struct adb_mouse_softc *sc = arg1; local
[all...]
/freebsd-9.3-release/sys/dev/pdq/
H A Dif_fea.c92 pdq_eisa_devinit (sc)
93 pdq_softc_t *sc;
100 PDQ_OS_IOWR_8(sc->io_bst, sc->io_bsh, PDQ_EISA_FUNCTION_CTRL, 0x23);
101 PDQ_OS_IOWR_8(sc->io_bst, sc->io_bsh, PDQ_EISA_IO_CMP_1_1, (sc->io_bsh >> 8) & 0xF0);
102 PDQ_OS_IOWR_8(sc->io_bst, sc->io_bsh, PDQ_EISA_IO_CMP_0_1, (sc
166 pdq_softc_t * sc; local
181 pdq_softc_t * sc; local
245 pdq_softc_t * sc; local
257 pdq_softc_t * sc; local
[all...]
/freebsd-9.3-release/sys/dev/snc/
H A Dif_snc.c71 struct snc_softc *sc = device_get_softc(dev); local
77 sc->ioport = res;
78 sc->ioport_rid = rid;
79 sc->sc_iot = rman_get_bustag(res);
80 sc->sc_ioh = rman_get_bushandle(res);
94 struct snc_softc *sc = device_get_softc(dev); local
100 sc->iomem = res;
101 sc->iomem_rid = rid;
102 sc->sc_memt = rman_get_bustag(res);
103 sc
117 struct snc_softc *sc = device_get_softc(dev); local
137 struct snc_softc *sc = device_get_softc(dev); local
167 struct snc_softc *sc = device_get_softc(dev); local
183 struct snc_softc *sc = device_get_softc(dev); local
247 struct snc_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-9.3-release/sys/pci/
H A Dif_rl.c192 static void rl_init_locked(struct rl_softc *sc);
265 CSR_WRITE_1(sc, RL_EECMD, \
266 CSR_READ_1(sc, RL_EECMD) | x)
269 CSR_WRITE_1(sc, RL_EECMD, \
270 CSR_READ_1(sc, RL_EECMD) & ~x)
276 rl_eeprom_putbyte(struct rl_softc *sc, int addr) argument
280 d = addr | sc->rl_eecmd_read;
303 rl_eeprom_getword(struct rl_softc *sc, int addr, uint16_t *dest) argument
309 CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_PROGRAM|RL_EE_SEL);
314 rl_eeprom_putbyte(sc, add
340 rl_read_eeprom(struct rl_softc *sc, uint8_t *dest, int off, int cnt, int swap) argument
361 struct rl_softc *sc; local
379 struct rl_softc *sc; local
391 struct rl_softc *sc; local
437 struct rl_softc *sc; local
479 struct rl_softc *sc; local
513 rl_rxfilter(struct rl_softc *sc) argument
561 rl_reset(struct rl_softc *sc) argument
638 struct rl_softc *sc; local
868 struct rl_softc *sc; local
914 rl_dma_alloc(struct rl_softc *sc) argument
1014 rl_dma_free(struct rl_softc *sc) argument
1059 rl_list_tx_init(struct rl_softc *sc) argument
1080 rl_list_rx_init(struct rl_softc *sc) argument
1115 rl_rxeof(struct rl_softc *sc) argument
1238 rl_txeof(struct rl_softc *sc) argument
1297 rl_twister_update(struct rl_softc *sc) argument
1398 struct rl_softc *sc = xsc; local
1439 struct rl_softc *sc = ifp->if_softc; local
1452 struct rl_softc *sc = ifp->if_softc; local
1488 struct rl_softc *sc = arg; local
1547 rl_encap(struct rl_softc *sc, struct mbuf **m_head) argument
1615 struct rl_softc *sc = ifp->if_softc; local
1625 struct rl_softc *sc = ifp->if_softc; local
1675 struct rl_softc *sc = xsc; local
1683 rl_init_locked(struct rl_softc *sc) argument
1781 struct rl_softc *sc = ifp->if_softc; local
1799 struct rl_softc *sc = ifp->if_softc; local
1816 struct rl_softc *sc = ifp->if_softc; local
1891 rl_watchdog(struct rl_softc *sc) argument
1913 rl_stop(struct rl_softc *sc) argument
1964 struct rl_softc *sc; local
1985 struct rl_softc *sc; local
2030 struct rl_softc *sc; local
2049 rl_setwol(struct rl_softc *sc) argument
2103 rl_clrwol(struct rl_softc *sc) argument
[all...]
/freebsd-9.3-release/sys/dev/ed/
H A Dif_edvar.h64 int (*sc_media_ioctl)(struct ed_softc *sc, struct ifreq *ifr,
71 void (*readmem)(struct ed_softc *sc, bus_size_t src, uint8_t *dst,
114 #define ed_nic_barrier(sc, port, length, flags) \
115 bus_space_barrier(sc->port_bst, sc->port_bsh, \
116 (sc)->nic_offset + (port), (length), (flags))
118 #define ed_nic_inb(sc, port) \
119 bus_space_read_1(sc->port_bst, sc->port_bsh, (sc)
[all...]
/freebsd-9.3-release/sys/geom/eli/
H A Dg_eli_key_cache.c92 g_eli_key_fill(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) argument
101 g_eli_crypto_hmac(sc->sc_mkey, G_ELI_MAXKEYLEN, (uint8_t *)&hmacdata,
109 g_eli_key_allocate(struct g_eli_softc *sc, uint64_t keyno) argument
113 mtx_assert(&sc->sc_ekeys_lock, MA_OWNED);
114 mtx_unlock(&sc->sc_ekeys_lock);
117 g_eli_key_fill(sc, key, keyno);
119 mtx_lock(&sc->sc_ekeys_lock);
124 ekey = RB_FIND(g_eli_key_tree, &sc->sc_ekeys_tree, &keysearch);
129 TAILQ_REMOVE(&sc->sc_ekeys_queue, key, gek_next);
131 RB_INSERT(g_eli_key_tree, &sc
140 g_eli_key_find_last(struct g_eli_softc *sc) argument
155 g_eli_key_replace(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) argument
173 g_eli_key_remove(struct g_eli_softc *sc, struct g_eli_key *key) argument
188 g_eli_key_init(struct g_eli_softc *sc) argument
242 g_eli_key_destroy(struct g_eli_softc *sc) argument
265 g_eli_key_hold(struct g_eli_softc *sc, off_t offset, size_t blocksize) argument
324 g_eli_key_drop(struct g_eli_softc *sc, uint8_t *rawkey) argument
[all...]
/freebsd-9.3-release/sys/dev/tx/
H A Dif_tx.c223 epic_softc_t *sc; local
228 sc = device_get_softc(dev);
231 sc->dev = dev;
232 mtx_init(&sc->lock, device_get_nameunit(dev), MTX_NETWORK_LOCK,
236 ifp = sc->ifp = if_alloc(IFT_ETHER);
243 ifp->if_softc = sc;
254 sc->res = bus_alloc_resource_any(dev, EPIC_RES, &rid, RF_ACTIVE);
255 if (sc->res == NULL) {
263 sc->irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
265 if (sc
437 epic_release(epic_softc_t *sc) argument
479 epic_softc_t *sc; local
508 epic_softc_t *sc; local
524 epic_softc_t *sc = ifp->if_softc; local
642 epic_softc_t *sc = ifp->if_softc; local
652 epic_softc_t *sc = ifp->if_softc; local
729 epic_rx_done(epic_softc_t *sc) argument
814 epic_tx_done(epic_softc_t *sc) argument
866 epic_softc_t *sc; local
937 epic_tx_underrun(epic_softc_t *sc) argument
971 epic_softc_t *sc = arg; local
1013 epic_softc_t *sc; local
1026 epic_softc_t *sc; local
1151 epic_softc_t *sc; local
1182 epic_softc_t *sc; local
1218 epic_softc_t *sc; local
1250 epic_softc_t *sc = xsc; local
1258 epic_init_locked(epic_softc_t *sc) argument
1340 epic_set_rx_mode(epic_softc_t *sc) argument
1362 epic_set_tx_mode(epic_softc_t *sc) argument
1379 epic_set_mc_table(epic_softc_t *sc) argument
1421 epic_start_activity(epic_softc_t *sc) argument
1434 epic_stop_activity(epic_softc_t *sc) argument
1479 epic_queue_last_packet(epic_softc_t *sc) argument
1548 epic_stop(epic_softc_t *sc) argument
1578 epic_free_rings(epic_softc_t *sc) argument
1624 epic_init_rings(epic_softc_t *sc) argument
1722 epic_write_eepromreg(epic_softc_t *sc, u_int8_t val) argument
1735 epic_read_eepromreg(epic_softc_t *sc) argument
1742 epic_eeprom_clock(epic_softc_t *sc, u_int8_t val) argument
1753 epic_output_eepromw(epic_softc_t *sc, u_int16_t val) argument
1766 epic_input_eepromw(epic_softc_t *sc) argument
1780 epic_read_eeprom(epic_softc_t *sc, u_int16_t loc) argument
1805 epic_read_phy_reg(epic_softc_t *sc, int phy, int reg) argument
1821 epic_write_phy_reg(epic_softc_t *sc, int phy, int reg, int val) argument
1838 epic_softc_t *sc; local
1848 epic_softc_t *sc; local
[all...]
/freebsd-9.3-release/sys/dev/vte/
H A Dif_vte.c171 struct vte_softc *sc; local
174 sc = device_get_softc(dev);
176 CSR_WRITE_2(sc, VTE_MMDIO, MMDIO_READ |
180 if ((CSR_READ_2(sc, VTE_MMDIO) & MMDIO_READ) == 0)
185 device_printf(sc->vte_dev, "phy read timeout : %d\n", reg);
189 return (CSR_READ_2(sc, VTE_MMRD));
195 struct vte_softc *sc; local
198 sc = device_get_softc(dev);
200 CSR_WRITE_2(sc, VTE_MMWD, val);
201 CSR_WRITE_2(sc, VTE_MMDI
218 struct vte_softc *sc; local
275 struct vte_softc *sc; local
295 struct vte_softc *sc; local
308 struct vte_softc *sc; local
353 vte_get_macaddr(struct vte_softc *sc) argument
375 struct vte_softc *sc; local
502 struct vte_softc *sc; local
549 vte_sysctl_node(struct vte_softc *sc) argument
657 vte_dma_alloc(struct vte_softc *sc) argument
855 vte_dma_free(struct vte_softc *sc) argument
942 struct vte_softc *sc; local
959 struct vte_softc *sc; local
976 vte_encap(struct vte_softc *sc, struct mbuf **m_head) argument
1101 struct vte_softc *sc; local
1110 vte_start_locked(struct vte_softc *sc) argument
1164 vte_watchdog(struct vte_softc *sc) argument
1185 struct vte_softc *sc; local
1229 vte_mac_config(struct vte_softc *sc) argument
1258 vte_stats_clear(struct vte_softc *sc) argument
1273 vte_stats_update(struct vte_softc *sc) argument
1321 struct vte_softc *sc; local
1366 vte_txeof(struct vte_softc *sc) argument
1418 vte_newbuf(struct vte_softc *sc, struct vte_rxdesc *rxd) argument
1478 vte_rxeof(struct vte_softc *sc) argument
1569 struct vte_softc *sc; local
1585 vte_reset(struct vte_softc *sc) argument
1612 struct vte_softc *sc; local
1621 vte_init_locked(struct vte_softc *sc) argument
1744 vte_stop(struct vte_softc *sc) argument
1805 vte_start_mac(struct vte_softc *sc) argument
1832 vte_stop_mac(struct vte_softc *sc) argument
1857 vte_init_tx_ring(struct vte_softc *sc) argument
1904 vte_init_rx_ring(struct vte_softc *sc) argument
1940 vte_rxfilter(struct vte_softc *sc) argument
[all...]
/freebsd-9.3-release/sys/dev/sound/pci/
H A Dich.c80 #define ICH_LOCK(sc) snd_mtxlock((sc)->ich_lock)
81 #define ICH_UNLOCK(sc) snd_mtxunlock((sc)->ich_lock)
82 #define ICH_LOCK_ASSERT(sc) snd_mtxassert((sc)->ich_lock)
214 ich_rd(struct sc_info *sc, int regno, int size) argument
218 return (bus_space_read_1(sc->nabmbart, sc->nabmbarh, regno));
220 return (bus_space_read_2(sc
229 ich_wr(struct sc_info *sc, int regno, uint32_t data, int size) argument
248 struct sc_info *sc = (struct sc_info *)devinfo; local
267 struct sc_info *sc = (struct sc_info *)devinfo; local
278 struct sc_info *sc = (struct sc_info *)devinfo; local
300 struct sc_info *sc = ch->parent; local
322 ich_resetchan(struct sc_info *sc, int num) argument
370 struct sc_info *sc = devinfo; local
450 struct sc_info *sc = ch->parent; local
484 struct sc_info *sc = ch->parent; local
512 struct sc_info *sc = ch->parent; local
546 struct sc_info *sc = ch->parent; local
600 struct sc_info *sc = (struct sc_info *)p; local
670 ich_initsys(struct sc_info* sc) argument
685 ich_setstatus(struct sc_info *sc) argument
709 struct sc_info *sc; local
821 struct sc_info *sc = (struct sc_info *)arg; local
827 ich_init(struct sc_info *sc) argument
887 struct sc_info *sc; local
1124 struct sc_info *sc; local
1146 ich_pci_codec_reset(struct sc_info *sc) argument
1170 struct sc_info *sc; local
1190 struct sc_info *sc; local
[all...]
/freebsd-9.3-release/sys/dev/sbni/
H A Dif_sbni.c136 sbni_inb(struct sbni_softc *sc, enum sbni_reg reg) argument
139 rman_get_bustag(sc->io_res),
140 rman_get_bushandle(sc->io_res),
141 sc->io_off + reg);
145 sbni_outb(struct sbni_softc *sc, enum sbni_reg reg, u_char value) argument
148 rman_get_bustag(sc->io_res),
149 rman_get_bushandle(sc->io_res),
150 sc->io_off + reg, value);
154 sbni_insb(struct sbni_softc *sc, u_char *to, u_int len) argument
157 rman_get_bustag(sc
163 sbni_outsb(struct sbni_softc *sc, u_char *from, u_int len) argument
199 sbni_probe(struct sbni_softc *sc) argument
221 sbni_attach(struct sbni_softc *sc, int unit, struct sbni_flags flags) argument
261 sbni_detach(struct sbni_softc *sc) argument
276 sbni_release_resources(struct sbni_softc *sc) argument
292 struct sbni_softc *sc; local
301 sbni_init_locked(struct sbni_softc *sc) argument
327 struct sbni_softc *sc = ifp->if_softc; local
337 struct sbni_softc *sc = ifp->if_softc; local
345 sbni_stop(struct sbni_softc *sc) argument
379 struct sbni_softc *sc; local
406 handle_channel(struct sbni_softc *sc) argument
451 recv_frame(struct sbni_softc *sc) argument
486 send_frame(struct sbni_softc *sc) argument
535 download_data(struct sbni_softc *sc, u_int32_t *crc_p) argument
592 upload_data(struct sbni_softc *sc, u_int framelen, u_int frameno, u_int is_first, u_int32_t crc) argument
636 send_complete(struct sbni_softc *sc) argument
645 interpret_ack(struct sbni_softc *sc, u_int ack) argument
673 append_frame_to_pkt(struct sbni_softc *sc, u_int framelen, u_int32_t crc) argument
705 prepare_to_send(struct sbni_softc *sc) argument
750 drop_xmit_queue(struct sbni_softc *sc) argument
777 send_frame_header(struct sbni_softc *sc, u_int32_t *crc_p) argument
816 skip_tail(struct sbni_softc *sc, u_int tail_len, u_int32_t crc) argument
826 check_fhdr(struct sbni_softc *sc, u_int *framelen, u_int *frameno, u_int *ack, u_int *is_first, u_int32_t *crc_p) argument
862 get_rx_buf(struct sbni_softc *sc) argument
900 indicate_pkt(struct sbni_softc *sc) argument
925 struct sbni_softc *sc; local
955 card_start(struct sbni_softc *sc) argument
981 set_initial_values(struct sbni_softc *sc, struct sbni_flags flags) argument
1011 sbni_add(struct sbni_softc *sc) argument
1021 connect_to_master(struct sbni_softc *sc) argument
1049 change_level(struct sbni_softc *sc) argument
1071 timeout_change_level(struct sbni_softc *sc) argument
1095 struct sbni_softc *sc; local
[all...]
/freebsd-9.3-release/sys/dev/usb/controller/
H A Dat91dci_atmelarm.c90 at91_vbus_poll(struct at91_udp_softc *sc) argument
102 at91dci_vbus_interrupt(&sc->sc_dci, vbus_val);
108 struct at91_udp_softc *sc = arg; local
110 at91_pmc_clock_enable(sc->sc_iclk);
111 at91_pmc_clock_enable(sc->sc_fclk);
117 struct at91_udp_softc *sc = arg; local
119 at91_pmc_clock_disable(sc->sc_fclk);
120 at91_pmc_clock_disable(sc->sc_iclk);
145 struct at91_udp_softc *sc = device_get_softc(dev); local
151 sc
263 struct at91_udp_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-9.3-release/sys/dev/auxio/
H A Dauxio.c168 #define AUXIO_LOCK_INIT(sc) \
169 mtx_init(&sc->sc_lock, "auxio mtx", NULL, MTX_DEF)
170 #define AUXIO_LOCK(sc) mtx_lock(&sc->sc_lock)
171 #define AUXIO_UNLOCK(sc) mtx_unlock(&sc->sc_lock)
172 #define AUXIO_LOCK_DESTROY(sc) mtx_destroy(&sc->sc_lock)
175 auxio_led_write(struct auxio_softc *sc, u_int32_t v) argument
177 if (sc
186 auxio_led_read(struct auxio_softc *sc) argument
203 struct auxio_softc *sc; local
238 struct auxio_softc *sc; local
251 auxio_attach_common(struct auxio_softc *sc) argument
286 struct auxio_softc *sc; local
297 auxio_free_resource(struct auxio_softc *sc) argument
311 struct auxio_softc *sc; local
[all...]
/freebsd-9.3-release/sys/dev/cs/
H A Dif_cs.c93 static int get_eeprom_data(struct cs_softc *sc, int, int, uint16_t *);
129 get_eeprom_data(struct cs_softc *sc, int off, int len, uint16_t *buffer) argument
134 device_printf(sc->dev, "EEPROM data from %x for %x:\n", off, len);
137 if (wait_eeprom_ready(sc) < 0)
140 cs_writereg(sc, PP_EECMD, (off + i) | EEPROM_READ_CMD);
141 if (wait_eeprom_ready(sc) < 0)
143 buffer[i] = cs_readreg(sc, PP_EEData);
171 wait_eeprom_ready(struct cs_softc *sc) argument
190 if (!(cs_readreg(sc, PP_SelfST) & SI_BUSY))
196 control_dc_dc(struct cs_softc *sc, in argument
210 cs_duplex_auto(struct cs_softc *sc) argument
229 enable_tp(struct cs_softc *sc) argument
238 enable_aui(struct cs_softc *sc) argument
248 enable_bnc(struct cs_softc *sc) argument
263 struct cs_softc *sc = device_get_softc(dev); local
420 struct cs_softc *sc = device_get_softc(dev); local
438 struct cs_softc *sc = device_get_softc(dev); local
455 struct cs_softc *sc = device_get_softc(dev); local
476 struct cs_softc *sc = device_get_softc(dev); local
595 struct cs_softc *sc; local
620 struct cs_softc *sc=(struct cs_softc *)xsc; local
628 cs_init_locked(struct cs_softc *sc) argument
702 cs_get_packet(struct cs_softc *sc) argument
778 struct cs_softc *sc = (struct cs_softc*) arg; local
841 cs_write_mbufs( struct cs_softc *sc, struct mbuf *m ) argument
879 struct cs_softc *sc = ifp->if_softc; local
891 struct cs_softc *sc = ifp->if_softc; local
954 cs_stop(struct cs_softc *sc) argument
972 cs_reset(struct cs_softc *sc) argument
995 cs_setmode(struct cs_softc *sc) argument
1061 struct cs_softc *sc=ifp->if_softc; local
1129 struct cs_softc *sc = arg; local
1149 struct cs_softc *sc = ifp->if_softc; local
1166 struct cs_softc *sc = ifp->if_softc; local
1197 cs_mediaset(struct cs_softc *sc, int media) argument
[all...]
/freebsd-9.3-release/sys/dev/mii/
H A Drgephy.c113 struct mii_softc *sc; local
117 sc = device_get_softc(dev);
125 sc->mii_capabilities = (PHY_READ(sc, MII_BMSR) | BMSR_ANEG) &
126 sc->mii_capmask;
127 if (sc->mii_capabilities & BMSR_EXTSTAT)
128 sc->mii_extcapabilities = PHY_READ(sc, MII_EXTSR);
130 mii_phy_add_media(sc);
138 sc
147 rgephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) argument
299 rgephy_status(struct mii_softc *sc) argument
383 rgephy_mii_phy_auto(struct mii_softc *sc, int media) argument
406 rgephy_loop(struct mii_softc *sc) argument
440 rgephy_load_dspcode(struct mii_softc *sc) argument
492 rgephy_reset(struct mii_softc *sc) argument
[all...]
/freebsd-9.3-release/sys/dev/cfi/
H A Dcfi_disk.c79 struct cfi_disk_softc *sc = device_get_softc(dev); local
81 sc->parent = device_get_softc(device_get_parent(dev));
83 if (sc->parent->sc_width != 1 &&
84 sc->parent->sc_width != 2 &&
85 sc->parent->sc_width != 4)
88 sc->disk = disk_alloc();
89 if (sc->disk == NULL)
91 sc->disk->d_name = "cfid";
92 sc->disk->d_unit = device_get_unit(dev);
93 sc
131 struct cfi_disk_softc *sc = device_get_softc(dev); local
145 struct cfi_disk_softc *sc = dp->d_drv1; local
155 struct cfi_disk_softc *sc = dp->d_drv1; local
162 cfi_disk_read(struct cfi_softc *sc, struct bio *bp) argument
207 cfi_disk_write(struct cfi_softc *sc, struct bio *bp) argument
256 struct cfi_disk_softc *sc = arg; local
281 struct cfi_disk_softc *sc = bp->bio_disk->d_drv1; local
[all...]
/freebsd-9.3-release/sys/netgraph/bluetooth/drivers/ubt/
H A Dng_ubt_var.h38 #define UBT_DEBUG(level, sc, fmt, ...) \
40 if ((sc)->sc_debug >= (level)) \
41 device_printf((sc)->sc_dev, "%s:%d: " fmt, \
50 #define UBT_NG_LOCK(sc) mtx_lock(&(sc)->sc_ng_mtx)
51 #define UBT_NG_UNLOCK(sc) mtx_unlock(&(sc)->sc_ng_mtx)
83 #define UBT_STAT_PCKTS_SENT(sc) (sc)->sc_stat.pckts_sent ++
84 #define UBT_STAT_BYTES_SENT(sc,
[all...]
/freebsd-9.3-release/sys/dev/tsec/
H A Dif_tsec.c72 static void tsec_dma_ctl(struct tsec_softc *sc, int state);
73 static int tsec_encap(struct tsec_softc *sc, struct mbuf *m_head,
75 static void tsec_free_dma(struct tsec_softc *sc);
83 static void tsec_intrs_ctl(struct tsec_softc *sc, int state);
85 static void tsec_init_locked(struct tsec_softc *sc);
87 static void tsec_reset_mac(struct tsec_softc *sc);
88 static void tsec_setfilter(struct tsec_softc *sc);
89 static void tsec_set_mac_address(struct tsec_softc *sc);
92 static void tsec_stop(struct tsec_softc *sc);
94 static void tsec_watchdog(struct tsec_softc *sc);
115 tsec_attach(struct tsec_softc *sc) argument
290 tsec_detach(struct tsec_softc *sc) argument
318 struct tsec_softc *sc; local
347 struct tsec_softc *sc = xsc; local
355 tsec_init_locked(struct tsec_softc *sc) argument
546 tsec_set_mac_address(struct tsec_softc *sc) argument
576 tsec_dma_ctl(struct tsec_softc *sc, int state) argument
632 tsec_intrs_ctl(struct tsec_softc *sc, int state) argument
655 tsec_reset_mac(struct tsec_softc *sc) argument
671 tsec_watchdog(struct tsec_softc *sc) argument
691 struct tsec_softc *sc = ifp->if_softc; local
701 struct tsec_softc *sc; local
778 tsec_encap(struct tsec_softc *sc, struct mbuf *m0, int fcb_inserted) argument
843 tsec_setfilter(struct tsec_softc *sc) argument
867 struct tsec_softc *sc = ifp->if_softc; local
901 struct tsec_softc *sc = ifp->if_softc; local
994 struct tsec_softc *sc = ifp->if_softc; local
1009 struct tsec_softc *sc = ifp->if_softc; local
1147 tsec_free_dma(struct tsec_softc *sc) argument
1187 tsec_stop(struct tsec_softc *sc) argument
1230 struct tsec_softc *sc = arg; local
1260 tsec_receive_intr_locked(struct tsec_softc *sc, int count) argument
1392 struct tsec_softc *sc = arg; local
1411 tsec_transmit_intr_locked(struct tsec_softc *sc) argument
1479 struct tsec_softc *sc = arg; local
1497 tsec_error_intr_locked(struct tsec_softc *sc, int count) argument
1553 struct tsec_softc *sc = arg; local
1563 struct tsec_softc *sc; local
1586 struct tsec_softc *sc; local
1608 struct tsec_softc *sc; local
1660 tsec_add_sysctls(struct tsec_softc *sc) argument
1720 struct tsec_softc *sc = (struct tsec_softc *)arg1; local
1749 struct tsec_softc *sc = (struct tsec_softc *)arg1; local
1774 tsec_set_rxic(struct tsec_softc *sc) argument
1791 tsec_set_txic(struct tsec_softc *sc) argument
1808 tsec_offload_setup(struct tsec_softc *sc) argument
1838 tsec_offload_process_frame(struct tsec_softc *sc, struct mbuf *m) argument
1876 tsec_setup_multicast(struct tsec_softc *sc) argument
1911 tsec_set_mtu(struct tsec_softc *sc, unsigned int mtu) argument
[all...]
/freebsd-9.3-release/sys/dev/vge/
H A Dif_vge.c238 vge_eeprom_getword(struct vge_softc *sc, int addr, uint16_t *dest) argument
248 CSR_SETBIT_1(sc, VGE_CHIPCFG2, VGE_CHIPCFG2_EELOAD);
249 CSR_SETBIT_1(sc, VGE_EECSR, VGE_EECSR_EMBP/*|VGE_EECSR_ECS*/);
252 CSR_WRITE_1(sc, VGE_EEADDR, addr);
255 CSR_SETBIT_1(sc, VGE_EECMD, VGE_EECMD_ERD);
259 if (CSR_READ_1(sc, VGE_EECMD) & VGE_EECMD_EDONE)
264 device_printf(sc->vge_dev, "EEPROM read timed out\n");
270 word = CSR_READ_2(sc, VGE_EERDDAT);
273 CSR_CLRBIT_1(sc, VGE_EECSR, VGE_EECSR_EMBP/*|VGE_EECSR_ECS*/);
274 CSR_CLRBIT_1(sc, VGE_CHIPCFG
284 vge_read_eeprom(struct vge_softc *sc, caddr_t dest, int off, int cnt, int swap) argument
305 vge_miipoll_stop(struct vge_softc *sc) argument
322 vge_miipoll_start(struct vge_softc *sc) argument
361 struct vge_softc *sc; local
395 struct vge_softc *sc; local
429 vge_cam_clear(struct vge_softc *sc) argument
459 vge_cam_set(struct vge_softc *sc, uint8_t *addr) argument
513 vge_setvlan(struct vge_softc *sc) argument
535 vge_rxfilter(struct vge_softc *sc) argument
609 vge_reset(struct vge_softc *sc) argument
676 vge_dma_alloc(struct vge_softc *sc) argument
906 vge_dma_free(struct vge_softc *sc) argument
992 struct vge_softc *sc; local
1163 struct vge_softc *sc; local
1207 vge_discard_rxbuf(struct vge_softc *sc, int prod) argument
1234 vge_newbuf(struct vge_softc *sc, int prod) argument
1304 vge_tx_list_init(struct vge_softc *sc) argument
1332 vge_rx_list_init(struct vge_softc *sc) argument
1370 vge_freebufs(struct vge_softc *sc) argument
1431 vge_rxeof(struct vge_softc *sc, int count) argument
1603 vge_txeof(struct vge_softc *sc) argument
1658 struct vge_softc *sc; local
1701 struct vge_softc *sc = ifp->if_softc; local
1747 struct vge_softc *sc; local
1811 vge_encap(struct vge_softc *sc, struct mbuf **m_head) argument
1940 struct vge_softc *sc; local
1952 struct vge_softc *sc; local
2014 struct vge_softc *sc = xsc; local
2022 vge_init_locked(struct vge_softc *sc) argument
2161 struct vge_softc *sc; local
2173 vge_ifmedia_upd_locked(struct vge_softc *sc) argument
2194 struct vge_softc *sc; local
2212 vge_setmedia(struct vge_softc *sc) argument
2259 struct vge_softc *sc = ifp->if_softc; local
2374 struct vge_softc *sc; local
2400 vge_stop(struct vge_softc *sc) argument
2432 struct vge_softc *sc; local
2453 struct vge_softc *sc; local
2499 vge_sysctl_node(struct vge_softc *sc) argument
2614 vge_stats_clear(struct vge_softc *sc) argument
2634 vge_stats_update(struct vge_softc *sc) argument
2733 vge_intr_holdoff(struct vge_softc *sc) argument
2781 vge_setlinkspeed(struct vge_softc *sc) argument
2843 vge_setwol(struct vge_softc *sc) argument
2908 vge_clrwol(struct vge_softc *sc) argument
[all...]
/freebsd-9.3-release/contrib/gcc/config/ia64/
H A Dlinux-unwind.h55 struct sigcontext *sc; member in struct:sigframe
57 struct sigcontext *sc = frame_->sc; local
65 context->ireg[i - 2].loc = &sc->sc_gr[i];
67 context->ireg[i - 2].loc = &sc->sc_gr[i];
69 context->ireg[i - 2].loc = &sc->sc_gr[i];
72 context->fpsr_loc = &(sc->sc_ar_fpsr);
73 context->pfs_loc = &(sc->sc_ar_pfs);
74 context->lc_loc = &(sc->sc_ar_lc);
75 context->unat_loc = &(sc
134 struct sigcontext *sc; member in struct:sigframe
136 struct sigcontext *sc = frame->sc; local
[all...]
/freebsd-9.3-release/sys/dev/pcn/
H A Dif_pcn.c195 #define PCN_CSR_SETBIT(sc, reg, x) \
196 pcn_csr_write(sc, reg, pcn_csr_read(sc, reg) | (x))
198 #define PCN_CSR_CLRBIT(sc, reg, x) \
199 pcn_csr_write(sc, reg, pcn_csr_read(sc, reg) & ~(x))
201 #define PCN_BCR_SETBIT(sc, reg, x) \
202 pcn_bcr_write(sc, reg, pcn_bcr_read(sc, reg) | (x))
204 #define PCN_BCR_CLRBIT(sc, re
270 struct pcn_softc *sc; local
316 struct pcn_softc *sc; local
330 struct pcn_softc *sc; local
431 struct pcn_softc *sc; local
504 struct pcn_softc *sc; local
553 struct pcn_softc *sc; local
696 struct pcn_softc *sc; local
957 struct pcn_softc *sc; local
991 struct pcn_softc *sc; local
1095 struct pcn_softc *sc; local
1107 struct pcn_softc *sc; local
1158 struct pcn_softc *sc; local
1183 struct pcn_softc *sc = xsc; local
1316 struct pcn_softc *sc; local
1350 struct pcn_softc *sc; local
1371 struct pcn_softc *sc = ifp->if_softc; local
1431 pcn_watchdog(struct pcn_softc *sc) argument
1454 pcn_stop(struct pcn_softc *sc) argument
1508 struct pcn_softc *sc; local
[all...]
/freebsd-9.3-release/sys/dev/lge/
H A Dif_lge.c195 #define LGE_SETBIT(sc, reg, x) \
196 CSR_WRITE_4(sc, reg, \
197 CSR_READ_4(sc, reg) | (x))
199 #define LGE_CLRBIT(sc, reg, x) \
200 CSR_WRITE_4(sc, reg, \
201 CSR_READ_4(sc, reg) & ~(x))
204 CSR_WRITE_4(sc, LGE_MEAR, CSR_READ_4(sc, LGE_MEAR) | x)
207 CSR_WRITE_4(sc, LGE_MEAR, CSR_READ_4(sc, LGE_MEA
274 struct lge_softc *sc; local
306 struct lge_softc *sc; local
330 struct lge_softc *sc; local
466 struct lge_softc *sc; local
597 struct lge_softc *sc; local
855 struct lge_softc *sc; local
1034 struct lge_softc *sc; local
1073 struct lge_softc *sc; local
1184 struct lge_softc *sc; local
1196 struct lge_softc *sc; local
1245 struct lge_softc *sc = xsc; local
1385 struct lge_softc *sc; local
1399 struct lge_softc *sc; local
1421 struct lge_softc *sc; local
1442 struct lge_softc *sc = ifp->if_softc; local
1582 struct lge_softc *sc; local
[all...]
/freebsd-9.3-release/sys/dev/mpr/
H A Dmpr.c77 static int mpr_diag_reset(struct mpr_softc *sc, int sleep_flag);
78 static int mpr_init_queues(struct mpr_softc *sc);
79 static int mpr_message_unit_reset(struct mpr_softc *sc, int sleep_flag);
80 static int mpr_transition_operational(struct mpr_softc *sc);
81 static int mpr_iocfacts_allocate(struct mpr_softc *sc, uint8_t attaching);
82 static void mpr_iocfacts_free(struct mpr_softc *sc);
84 static int mpr_send_iocinit(struct mpr_softc *sc);
85 static int mpr_alloc_queues(struct mpr_softc *sc);
86 static int mpr_alloc_replies(struct mpr_softc *sc);
87 static int mpr_alloc_requests(struct mpr_softc *sc);
139 mpr_diag_reset(struct mpr_softc *sc,int sleep_flag) argument
233 mpr_message_unit_reset(struct mpr_softc *sc, int sleep_flag) argument
252 mpr_transition_ready(struct mpr_softc *sc) argument
320 mpr_transition_operational(struct mpr_softc *sc) argument
353 mpr_iocfacts_allocate(struct mpr_softc *sc, uint8_t attaching) argument
627 mpr_iocfacts_free(struct mpr_softc *sc) argument
695 mpr_reinit(struct mpr_softc *sc) argument
789 mpr_wait_db_ack(struct mpr_softc *sc, int timeout, int sleep_flag) argument
835 mpr_wait_db_int(struct mpr_softc *sc) argument
850 mpr_request_sync(struct mpr_softc *sc, void *req, MPI2_DEFAULT_REPLY *reply, int req_sz, int reply_sz, int timeout) argument
980 mpr_enqueue_request(struct mpr_softc *sc, struct mpr_command *cm) argument
1009 mpr_get_iocfacts(struct mpr_softc *sc, MPI2_IOC_FACTS_REPLY *facts) argument
1029 mpr_send_iocinit(struct mpr_softc *sc) argument
1089 mpr_alloc_queues(struct mpr_softc *sc) argument
1144 mpr_alloc_replies(struct mpr_softc *sc) argument
1183 mpr_alloc_requests(struct mpr_softc *sc) argument
1337 mpr_init_queues(struct mpr_softc *sc) argument
1366 mpr_get_tunables(struct mpr_softc *sc) argument
1408 mpr_setup_sysctl(struct mpr_softc *sc) argument
1485 mpr_attach(struct mpr_softc *sc) argument
1560 struct mpr_softc *sc; local
1578 struct mpr_softc *sc; local
1599 mpr_log_evt_handler(struct mpr_softc *sc, uintptr_t data, MPI2_EVENT_NOTIFICATION_REPLY *event) argument
1626 mpr_attach_log(struct mpr_softc *sc) argument
1641 mpr_detach_log(struct mpr_softc *sc) argument
1654 mpr_free(struct mpr_softc *sc) argument
1701 mpr_complete_command(struct mpr_softc *sc, struct mpr_command *cm) argument
1781 mpr_display_reply_info(struct mpr_softc *sc, uint8_t *reply) argument
1795 struct mpr_softc *sc; local
1822 struct mpr_softc *sc; local
1839 struct mpr_softc *sc; local
1985 mpr_dispatch_event(struct mpr_softc *sc, uintptr_t data, MPI2_EVENT_NOTIFICATION_REPLY *reply) argument
2012 mpr_reregister_events_complete(struct mpr_softc *sc, struct mpr_command *cm) argument
2032 mpr_register_events(struct mpr_softc *sc, uint8_t *mask, mpr_evt_callback_t *cb, void *data, struct mpr_event_handle **handle) argument
2055 mpr_update_events(struct mpr_softc *sc, struct mpr_event_handle *handle, uint8_t *mask) argument
2109 mpr_reregister_events(struct mpr_softc *sc) argument
2154 mpr_deregister_events(struct mpr_softc *sc, struct mpr_event_handle *handle) argument
2172 struct mpr_softc *sc = cm->cm_sc; local
2454 struct mpr_softc *sc; local
2543 mpr_map_command(struct mpr_softc *sc, struct mpr_command *cm) argument
2572 mpr_wait_command(struct mpr_softc *sc, struct mpr_command *cm, int timeout, int sleep_flag) argument
2630 mpr_request_polled(struct mpr_softc *sc, struct mpr_command *cm) argument
2677 mpr_read_config_page(struct mpr_softc *sc, struct mpr_config_params *params) argument
2744 mpr_write_config_page(struct mpr_softc *sc, struct mpr_config_params *params) argument
2750 mpr_config_complete(struct mpr_softc *sc, struct mpr_command *cm) argument
[all...]
/freebsd-9.3-release/sys/arm/at91/
H A Dat91_twi.c68 RD4(struct at91_twi_softc *sc, bus_size_t off) argument
71 return bus_read_4(sc->mem_res, off);
75 WR4(struct at91_twi_softc *sc, bus_size_t off, uint32_t val) argument
78 bus_write_4(sc->mem_res, off, val);
115 struct at91_twi_softc *sc = device_get_softc(dev); local
118 sc->dev = dev;
123 AT91_TWI_LOCK_INIT(sc);
128 err = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
129 NULL, at91_twi_intr, sc, &sc
154 struct at91_twi_softc *sc; local
170 struct at91_twi_softc *sc; local
193 struct at91_twi_softc *sc; local
214 struct at91_twi_softc *sc = xsc; local
235 at91_twi_wait(struct at91_twi_softc *sc, uint32_t bit) argument
255 struct at91_twi_softc *sc; local
315 struct at91_twi_softc *sc; local
[all...]
/freebsd-9.3-release/sys/dev/uart/
H A Duart_tty.c139 struct uart_softc *sc; local
141 sc = tty_softc(tp);
143 if (sc == NULL || sc->sc_leaving)
146 sc->sc_opened = 1;
153 struct uart_softc *sc; local
155 sc = tty_softc(tp);
156 if (sc == NULL || sc->sc_leaving || !sc
174 struct uart_softc *sc; local
199 struct uart_softc *sc; local
216 struct uart_softc *sc; local
235 struct uart_softc *sc; local
286 struct uart_softc *sc; local
297 struct uart_softc *sc = arg; local
373 uart_tty_attach(struct uart_softc *sc) argument
397 uart_tty_detach(struct uart_softc *sc) argument
[all...]

Completed in 297 milliseconds

1234567891011>>