Searched refs:sc (Results 376 - 400 of 2317) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_ft5406.c141 struct ft5406ts_softc *sc = (struct ft5406ts_softc *)data; local
145 FT5406_LOCK_ASSERT(sc);
147 memcpy(sc->sc_window, sc->touch_buf, FT5406_WINDOW_SIZE);
148 sc->touch_buf[FT5406_NUM_POINTS] = NO_POINTS;
150 points = GET_NUM_POINTS(sc->sc_window);
158 id = GET_TOUCH_ID(sc->sc_window, i);
159 x = GET_X(sc->sc_window, i);
160 y = GET_Y(sc->sc_window, i);
163 device_printf(sc
179 struct ft5406ts_softc *sc = (struct ft5406ts_softc *)data; local
189 struct ft5406ts_softc *sc = (struct ft5406ts_softc *)data; local
201 struct ft5406ts_softc *sc = arg; local
283 struct ft5406ts_softc *sc; local
307 struct ft5406ts_softc *sc; local
[all...]
H A Dbcm2835_gpio.c89 struct bcm_gpio_softc *sc; member in struct:bcm_gpio_sysctl
171 static int bcm_gpio_pic_attach(struct bcm_gpio_softc *sc);
172 static int bcm_gpio_pic_detach(struct bcm_gpio_softc *sc);
176 bcm_gpio_pin_is_ro(struct bcm_gpio_softc *sc, int pin) argument
180 for (i = 0; i < sc->sc_ro_npins; i++)
181 if (pin == sc->sc_ro_pins[i])
187 bcm_gpio_get_function(struct bcm_gpio_softc *sc, uint32_t pin) argument
195 BCM_GPIO_LOCK(sc);
196 func = (BCM_GPIO_READ(sc, BCM_GPIO_GPFSEL(bank)) >> offset) & 7;
197 BCM_GPIO_UNLOCK(sc);
276 bcm_gpio_set_function(struct bcm_gpio_softc *sc, uint32_t pin, uint32_t f) argument
294 bcm_gpio_set_pud(struct bcm_gpio_softc *sc, uint32_t pin, uint32_t state) argument
311 struct bcm_gpio_softc *sc; local
335 bcm_gpio_pin_configure(struct bcm_gpio_softc *sc, struct gpio_pin *pin, unsigned int flags) argument
376 struct bcm_gpio_softc *sc; local
394 struct bcm_gpio_softc *sc = device_get_softc(dev); local
415 struct bcm_gpio_softc *sc = device_get_softc(dev); local
436 struct bcm_gpio_softc *sc = device_get_softc(dev); local
457 struct bcm_gpio_softc *sc = device_get_softc(dev); local
480 struct bcm_gpio_softc *sc = device_get_softc(dev); local
508 struct bcm_gpio_softc *sc = device_get_softc(dev); local
530 struct bcm_gpio_softc *sc = device_get_softc(dev); local
560 struct bcm_gpio_softc *sc; local
589 bcm_gpio_sysctl_init(struct bcm_gpio_softc *sc) argument
627 bcm_gpio_get_ro_pins(struct bcm_gpio_softc *sc, phandle_t node, const char *propname, const char *label) argument
673 bcm_gpio_get_reserved_pins(struct bcm_gpio_softc *sc) argument
711 struct bcm_gpio_softc *sc; local
760 struct bcm_gpio_softc *sc; local
787 struct bcm_gpio_softc *sc; local
802 struct bcm_gpio_softc *sc; local
820 struct bcm_gpio_softc *sc; local
838 struct bcm_gpio_softc *sc; local
909 bcm_gpio_modify(struct bcm_gpio_softc *sc, uint32_t reg, uint32_t mask, bool set_bits) argument
920 bcm_gpio_isrc_eoi(struct bcm_gpio_softc *sc, struct bcm_gpio_irqsrc *bgi) argument
938 bcm_gpio_isrc_mask(struct bcm_gpio_softc *sc, struct bcm_gpio_irqsrc *bgi) argument
966 bcm_gpio_isrc_unmask(struct bcm_gpio_softc *sc, struct bcm_gpio_irqsrc *bgi) argument
994 bcm_gpio_intr_internal(struct bcm_gpio_softc *sc, uint32_t bank) argument
1035 bcm_gpio_pic_attach(struct bcm_gpio_softc *sc) argument
1060 bcm_gpio_pic_detach(struct bcm_gpio_softc *sc) argument
1072 bcm_gpio_pic_config_intr(struct bcm_gpio_softc *sc, struct bcm_gpio_irqsrc *bgi, uint32_t mode) argument
1094 struct bcm_gpio_softc *sc = device_get_softc(dev); local
1103 struct bcm_gpio_softc *sc = device_get_softc(dev); local
1111 bcm_gpio_pic_map_fdt(struct bcm_gpio_softc *sc, struct intr_map_data_fdt *daf, u_int *irqp, uint32_t *modep) argument
1155 bcm_gpio_pic_map_gpio(struct bcm_gpio_softc *sc, struct intr_map_data_gpio *dag, u_int *irqp, uint32_t *modep) argument
1178 bcm_gpio_pic_map(struct bcm_gpio_softc *sc, struct intr_map_data *data, u_int *irqp, uint32_t *modep) argument
1200 struct bcm_gpio_softc *sc = device_get_softc(dev); local
1211 struct bcm_gpio_softc *sc = device_get_softc(dev); local
1228 struct bcm_gpio_softc *sc = device_get_softc(dev); local
1242 struct bcm_gpio_softc *sc; local
1270 struct bcm_gpio_softc *sc = device_get_softc(dev); local
1280 bcm_gpio_intr_reg(struct bcm_gpio_softc *sc, unsigned int irq, uint32_t bank) argument
1375 struct bcm_gpio_softc *sc; local
1407 struct bcm_gpio_softc *sc; local
1434 struct bcm_gpio_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch.c90 struct mtkswitch_softc *sc; local
100 sc = device_get_softc(dev);
101 bzero(sc, sizeof(*sc));
102 sc->sc_switchtype = switch_type;
110 mtkswitch_attach_phys(struct mtkswitch_softc *sc) argument
116 snprintf(name, IFNAMSIZ, "%sport", device_get_nameunit(sc->sc_dev));
117 for (phy = 0; phy < sc->numphys; phy++) {
118 if ((sc->phymap & (1u << phy)) == 0) {
119 sc
149 mtkswitch_set_vlan_mode(struct mtkswitch_softc *sc, uint32_t mode) argument
167 struct mtkswitch_softc *sc; local
254 struct mtkswitch_softc *sc = device_get_softc(dev); local
289 mtkswitch_miiforport(struct mtkswitch_softc *sc, int port) argument
300 mtkswitch_ifpforport(struct mtkswitch_softc *sc, int port) argument
351 mtkswitch_miipollstat(struct mtkswitch_softc *sc) argument
392 struct mtkswitch_softc *sc = arg; local
401 struct mtkswitch_softc *sc = device_get_softc(dev); local
410 struct mtkswitch_softc *sc = device_get_softc(dev); local
419 struct mtkswitch_softc *sc = device_get_softc(dev); local
425 mtkswitch_is_cpuport(struct mtkswitch_softc *sc, int port) argument
434 struct mtkswitch_softc *sc; local
477 struct mtkswitch_softc *sc; local
517 struct mtkswitch_softc *sc = ifp->if_softc; local
529 struct mtkswitch_softc *sc = ifp->if_softc; local
544 struct mtkswitch_softc *sc; local
558 struct mtkswitch_softc *sc; local
576 struct mtkswitch_softc *sc = device_get_softc(dev); local
584 struct mtkswitch_softc *sc = device_get_softc(dev); local
592 struct mtkswitch_softc *sc = device_get_softc(dev); local
600 struct mtkswitch_softc *sc = device_get_softc(dev); local
608 struct mtkswitch_softc *sc = device_get_softc(dev); local
616 struct mtkswitch_softc *sc = device_get_softc(dev); local
[all...]
H A Dmtkswitch_rt3050.c61 struct mtkswitch_softc *sc = device_get_softc(dev); local
64 MTKSWITCH_LOCK_ASSERT(sc, MA_OWNED);
65 val = MTKSWITCH_READ(sc, MTKSWITCH_REG32(reg));
74 struct mtkswitch_softc *sc = device_get_softc(dev); local
77 MTKSWITCH_LOCK_ASSERT(sc, MA_OWNED);
78 tmp = MTKSWITCH_READ(sc, MTKSWITCH_REG32(reg));
86 MTKSWITCH_WRITE(sc, MTKSWITCH_REG32(reg), tmp);
94 struct mtkswitch_softc *sc = device_get_softc(dev); local
97 MTKSWITCH_LOCK_ASSERT(sc, MA_NOTOWNED);
98 MTKSWITCH_LOCK(sc);
112 struct mtkswitch_softc *sc = device_get_softc(dev); local
125 mtkswitch_reset(struct mtkswitch_softc *sc) argument
138 mtkswitch_hw_setup(struct mtkswitch_softc *sc) argument
154 mtkswitch_hw_global_setup(struct mtkswitch_softc *sc) argument
162 mtkswitch_port_init(struct mtkswitch_softc *sc, int port) argument
169 mtkswitch_get_port_status(struct mtkswitch_softc *sc, int port) argument
211 mtkswitch_atu_flush(struct mtkswitch_softc *sc) argument
217 mtkswitch_port_vlan_setup(struct mtkswitch_softc *sc, etherswitch_port_t *p) argument
264 mtkswitch_port_vlan_get(struct mtkswitch_softc *sc, etherswitch_port_t *p) argument
292 mtkswitch_vlan_init_hw(struct mtkswitch_softc *sc) argument
349 mtkswitch_vlan_getvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v) argument
396 mtkswitch_vlan_setvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v) argument
445 mtkswitch_vlan_get_pvid(struct mtkswitch_softc *sc, int port, int *pvid) argument
456 mtkswitch_vlan_set_pvid(struct mtkswitch_softc *sc, int port, int pvid) argument
470 mtk_attach_switch_rt3050(struct mtkswitch_softc *sc) argument
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dvibes.c121 sv_direct_get(struct sc_info *sc, u_int8_t reg) argument
123 return bus_space_read_1(sc->enh_st, sc->enh_sh, reg);
127 _sv_direct_set(struct sc_info *sc, u_int8_t reg, u_int8_t val, int line) argument
130 bus_space_write_1(sc->enh_st, sc->enh_sh, reg, val);
132 n = sv_direct_get(sc, reg);
134 device_printf(sc->dev, "sv_direct_set register 0x%02x %d != %d from line %d\n", reg, n, val, line);
139 sv_indirect_get(struct sc_info *sc, u_int8_t reg) argument
144 bus_space_write_1(sc
151 _sv_indirect_set(struct sc_info *sc, u_int8_t reg, u_int8_t val, int line) argument
193 struct sc_info *sc = devinfo; local
223 struct sc_info *sc = ch->parent; local
256 sv_set_recspeed(struct sc_info *sc, u_int32_t speed) argument
316 struct sc_info *sc = ch->parent; local
360 struct sc_info *sc = ch->parent; local
388 struct sc_info *sc = ch->parent; local
437 struct sc_info *sc = ch->parent; local
481 sv_channel_gain(struct sc_info *sc, u_int32_t dev, u_int32_t gain, u_int32_t channel) argument
503 sv_gain(struct sc_info *sc, u_int32_t dev, u_int32_t left, u_int32_t right) argument
512 sv_mix_mute_all(struct sc_info *sc) argument
541 struct sc_info *sc = mix_getdevinfo(m); local
548 struct sc_info *sc = mix_getdevinfo(m); local
574 sv_power(struct sc_info *sc, int state) argument
600 sv_init(struct sc_info *sc) argument
645 struct sc_info *sc = pcm_getdevinfo(dev); local
662 struct sc_info *sc = pcm_getdevinfo(dev); local
693 struct sc_info *sc = data; local
723 struct sc_info *sc; local
903 struct sc_info *sc; local
[all...]
/freebsd-11-stable/sys/dev/usb/
H A Dusb_msctest.c269 bbb_done(struct bbb_transfer *sc, int error) argument
271 sc->error = error;
272 sc->state = ST_COMMAND;
273 sc->status_try = 1;
274 cv_signal(&sc->cv);
278 bbb_transfer_start(struct bbb_transfer *sc, uint8_t xfer_index) argument
280 sc->state = xfer_index;
281 usbd_transfer_start(sc->xfer[xfer_index]);
288 struct bbb_transfer *sc = usbd_xfer_softc(xfer); local
290 if (usbd_clear_stall_callback(xfer, sc
306 struct bbb_transfer *sc = usbd_xfer_softc(xfer); local
344 struct bbb_transfer *sc = usbd_xfer_softc(xfer); local
396 struct bbb_transfer *sc = usbd_xfer_softc(xfer); local
448 struct bbb_transfer *sc = usbd_xfer_softc(xfer); local
491 struct bbb_transfer *sc = usbd_xfer_softc(xfer); local
537 bbb_command_start(struct bbb_transfer *sc, uint8_t dir, uint8_t lun, void *data_ptr, size_t data_len, void *cmd_ptr, size_t cmd_len, usb_timeout_t data_timeout) argument
572 bbb_raw_write(struct bbb_transfer *sc, const void *data_ptr, size_t data_len, usb_timeout_t data_timeout) argument
600 struct bbb_transfer *sc; local
692 bbb_detach(struct bbb_transfer *sc) argument
710 struct bbb_transfer *sc; local
766 struct bbb_transfer *sc; local
938 struct bbb_transfer *sc; local
1005 struct bbb_transfer *sc; local
1020 struct bbb_transfer *sc; local
1051 struct bbb_transfer *sc; local
1082 struct bbb_transfer *sc; local
[all...]
/freebsd-11-stable/sys/dev/etherswitch/arswitch/
H A Darswitch_vlans.h38 int ar8xxx_flush_dot1q_vlan(struct arswitch_softc *sc);
39 int ar8xxx_purge_dot1q_vlan(struct arswitch_softc *sc, int vid);
40 int ar8xxx_get_dot1q_vlan(struct arswitch_softc *sc, uint32_t *ports,
42 int ar8xxx_set_dot1q_vlan(struct arswitch_softc *sc, uint32_t ports,
44 int ar8xxx_get_port_vlan(struct arswitch_softc *sc, uint32_t *ports, int vid);
45 int ar8xxx_set_port_vlan(struct arswitch_softc *sc, uint32_t ports, int vid);
H A Darswitch.c84 static int ar8xxx_port_vlan_setup(struct arswitch_softc *sc,
86 static int ar8xxx_port_vlan_get(struct arswitch_softc *sc,
92 struct arswitch_softc *sc; local
96 sc = device_get_softc(dev);
97 bzero(sc, sizeof(*sc));
98 sc->page = -1;
103 sc->sc_switchtype = AR8X16_SWITCH_AR7240;
104 sc->is_internal_switch = 1;
112 sc
163 arswitch_attach_phys(struct arswitch_softc *sc) argument
212 arswitch_set_vlan_mode(struct arswitch_softc *sc, uint32_t mode) argument
237 ar8xxx_port_init(struct arswitch_softc *sc, int port) argument
264 ar8xxx_atu_flush(struct arswitch_softc *sc) argument
288 struct arswitch_softc *sc; local
424 struct arswitch_softc *sc = device_get_softc(dev); local
454 arswitch_miiforport(struct arswitch_softc *sc, int port) argument
464 arswitch_ifpforport(struct arswitch_softc *sc, int port) argument
517 arswitch_miipollstat(struct arswitch_softc *sc) argument
585 struct arswitch_softc *sc = arg; local
594 struct arswitch_softc *sc = device_get_softc(dev); local
603 struct arswitch_softc *sc = device_get_softc(dev); local
612 struct arswitch_softc *sc = device_get_softc(dev); local
618 ar8xxx_port_vlan_get(struct arswitch_softc *sc, etherswitch_port_t *p) argument
642 arswitch_is_cpuport(struct arswitch_softc *sc, int port) argument
653 struct arswitch_softc *sc; local
690 ar8xxx_port_vlan_setup(struct arswitch_softc *sc, etherswitch_port_t *p) argument
731 struct arswitch_softc *sc; local
771 struct arswitch_softc *sc = ifp->if_softc; local
783 struct arswitch_softc *sc = ifp->if_softc; local
798 struct arswitch_softc *sc; local
812 struct arswitch_softc *sc; local
830 struct arswitch_softc *sc = device_get_softc(dev); local
838 struct arswitch_softc *sc = device_get_softc(dev); local
846 struct arswitch_softc *sc = device_get_softc(dev); local
854 struct arswitch_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/dev/twa/
H A Dtw_osl_externs.h58 extern TW_INT32 tw_osli_fw_passthru(struct twa_softc *sc, TW_INT8 *buf);
61 extern struct tw_osli_req_context *tw_osli_get_request(struct twa_softc *sc);
74 extern TW_INT32 tw_osli_cam_attach(struct twa_softc *sc);
77 extern TW_VOID tw_osli_cam_detach(struct twa_softc *sc);
80 extern TW_INT32 tw_osli_request_bus_scan(struct twa_softc *sc);
83 extern TW_VOID tw_osli_disallow_new_requests(struct twa_softc *sc,
/freebsd-11-stable/sys/dev/usb/net/
H A Dif_urndisreg.h54 #define URNDIS_LOCK(sc) mtx_lock(&(sc)->sc_mtx)
55 #define URNDIS_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx)
56 #define URNDIS_LOCK_ASSERT(sc, what) mtx_assert(&(sc)->sc_mtx, (what))
/freebsd-11-stable/sys/dev/ncv/
H A Dncr53c500_pccard.c101 struct ncv_softc *sc; local
103 sc = arg;
104 SCSI_LOW_LOCK(&sc->sc_sclow);
106 SCSI_LOW_UNLOCK(&sc->sc_sclow);
112 struct ncv_softc *sc = device_get_softc(dev); local
114 if (sc->ncv_intrhand) {
115 bus_teardown_intr(dev, sc->irq_res, sc->ncv_intrhand);
118 if (sc->port_res) {
120 sc
143 struct ncv_softc *sc = device_get_softc(dev); local
241 struct ncv_softc *sc = device_get_softc(dev); local
301 struct ncv_softc *sc = device_get_softc(devi); local
311 struct ncv_softc *sc = device_get_softc(devi); local
323 struct ncv_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/rtwn/
H A Dif_rtwn.c73 #define DPRINTF(x) do { if (sc->sc_debug > 0) printf x; } while (0)
74 #define DPRINTFN(n, x) do { if (sc->sc_debug >= (n)) printf x; } while (0)
149 static void rtwn_start(struct rtwn_softc *sc);
253 struct rtwn_softc *sc = device_get_softc(dev); local
254 struct ieee80211com *ic = &sc->sc_ic;
258 sc->sc_dev = dev;
259 sc->sc_debug = 0;
265 error = pci_find_cap(dev, PCIY_EXPRESS, &sc->sc_cap_off);
275 sc->mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
277 if (sc
406 struct rtwn_softc *sc = device_get_softc(dev); local
470 rtwn_setup_rx_desc(struct rtwn_softc *sc, struct r92c_rx_desc *desc, bus_addr_t addr, size_t len, int idx) argument
484 rtwn_alloc_rx_list(struct rtwn_softc *sc) argument
564 rtwn_reset_rx_list(struct rtwn_softc *sc) argument
578 rtwn_free_rx_list(struct rtwn_softc *sc) argument
619 rtwn_alloc_tx_list(struct rtwn_softc *sc, int qid) argument
684 rtwn_reset_tx_list(struct rtwn_softc *sc, int qid) argument
719 rtwn_free_tx_list(struct rtwn_softc *sc, int qid) argument
801 rtwn_write_1(struct rtwn_softc *sc, uint16_t addr, uint8_t val) argument
808 rtwn_write_2(struct rtwn_softc *sc, uint16_t addr, uint16_t val) argument
816 rtwn_write_4(struct rtwn_softc *sc, uint16_t addr, uint32_t val) argument
824 rtwn_read_1(struct rtwn_softc *sc, uint16_t addr) argument
831 rtwn_read_2(struct rtwn_softc *sc, uint16_t addr) argument
838 rtwn_read_4(struct rtwn_softc *sc, uint16_t addr) argument
845 rtwn_fw_cmd(struct rtwn_softc *sc, uint8_t id, const void *buf, int len) argument
881 rtwn_rf_write(struct rtwn_softc *sc, int chain, uint8_t addr, uint32_t val) argument
889 rtwn_rf_read(struct rtwn_softc *sc, int chain, uint8_t addr) argument
918 rtwn_llt_write(struct rtwn_softc *sc, uint32_t addr, uint32_t data) argument
937 rtwn_efuse_read_1(struct rtwn_softc *sc, uint16_t addr) argument
959 rtwn_efuse_read(struct rtwn_softc *sc) argument
1014 rtwn_read_chipid(struct rtwn_softc *sc) argument
1040 rtwn_read_rom(struct rtwn_softc *sc) argument
1086 rtwn_ra_init(struct rtwn_softc *sc) argument
1163 rtwn_tsf_sync_enable(struct rtwn_softc *sc) argument
1190 rtwn_set_led(struct rtwn_softc *sc, int led, int on) argument
1208 struct rtwn_softc *sc = arg; local
1232 struct rtwn_softc *sc = ic->ic_softc; local
1354 struct rtwn_softc *sc = ic->ic_softc; local
1381 rtwn_update_avgrssi(struct rtwn_softc *sc, int rate, int8_t rssi) argument
1416 rtwn_get_rssi(struct rtwn_softc *sc, int rate, void *physt) argument
1442 rtwn_rx_frame(struct rtwn_softc *sc, struct r92c_rx_desc *rx_desc, struct rtwn_rx_data *rx_data, int desc_idx) argument
1564 rtwn_tx(struct rtwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument
1751 rtwn_tx_done(struct rtwn_softc *sc, int qid) argument
1799 struct rtwn_softc *sc = ic->ic_softc; local
1822 struct rtwn_softc *sc = ic->ic_softc; local
1843 struct rtwn_softc *sc = ic->ic_softc; local
1856 rtwn_start(struct rtwn_softc *sc) argument
1881 struct rtwn_softc *sc = arg; local
1897 rtwn_power_on(struct rtwn_softc *sc) argument
2026 rtwn_llt_init(struct rtwn_softc *sc) argument
2052 rtwn_fw_reset(struct rtwn_softc *sc) argument
2081 rtwn_fw_loadpage(struct rtwn_softc *sc, int page, const uint8_t *buf, int len) argument
2108 rtwn_load_firmware(struct rtwn_softc *sc) argument
2212 rtwn_dma_init(struct rtwn_softc *sc) argument
2270 rtwn_mac_init(struct rtwn_softc *sc) argument
2280 rtwn_bb_init(struct rtwn_softc *sc) argument
2369 rtwn_rf_init(struct rtwn_softc *sc) argument
2446 rtwn_cam_init(struct rtwn_softc *sc) argument
2454 rtwn_pa_bias_init(struct rtwn_softc *sc) argument
2475 rtwn_rxfilter_init(struct rtwn_softc *sc) argument
2495 rtwn_edca_init(struct rtwn_softc *sc) argument
2509 rtwn_write_txpower(struct rtwn_softc *sc, int chain, uint16_t power[RTWN_RIDX_COUNT]) argument
2569 rtwn_get_txpower(struct rtwn_softc *sc, int chain, struct ieee80211_channel *c, struct ieee80211_channel *extc, uint16_t power[RTWN_RIDX_COUNT]) argument
2668 rtwn_set_txpower(struct rtwn_softc *sc, struct ieee80211_channel *c, struct ieee80211_channel *extc) argument
2683 rtwn_set_rx_bssid_all(struct rtwn_softc *sc, int enable) argument
2696 rtwn_set_gain(struct rtwn_softc *sc, uint8_t gain) argument
2712 struct rtwn_softc *sc = ic->ic_softc; local
2725 struct rtwn_softc *sc = ic->ic_softc; local
2750 struct rtwn_softc *sc = ic->ic_softc; local
2770 rtwn_set_chan(struct rtwn_softc *sc, struct ieee80211_channel *c, struct ieee80211_channel *extc) argument
2852 rtwn_iq_calib_chain(struct rtwn_softc *sc, int chain, uint16_t tx[2], uint16_t rx[2]) argument
2912 rtwn_iq_calib_run(struct rtwn_softc *sc, int n, uint16_t tx[2][2], uint16_t rx[2][2]) argument
3093 rtwn_iq_calib_write_results(struct rtwn_softc *sc, uint16_t tx[2], uint16_t rx[2], int chain) argument
3158 rtwn_iq_calib(struct rtwn_softc *sc) argument
3186 rtwn_lc_calib(struct rtwn_softc *sc) argument
3229 rtwn_temp_calib(struct rtwn_softc *sc) argument
3265 rtwn_init(struct rtwn_softc *sc) argument
3411 rtwn_stop_locked(struct rtwn_softc *sc) argument
3459 rtwn_stop(struct rtwn_softc *sc) argument
3469 struct rtwn_softc *sc = arg; local
[all...]
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_uath.c146 #define DPRINTF(sc, m, fmt, ...) do { \
147 if (sc->sc_debug & (m)) \
151 #define DPRINTF(sc, m, fmt, ...) do { \
152 (void) sc; \
324 struct uath_softc *sc = device_get_softc(dev); local
326 struct ieee80211com *ic = &sc->sc_ic;
331 sc->sc_dev = dev;
332 sc->sc_udev = uaa->device;
334 sc->sc_debug = uath_debug;
341 mtx_init(&sc
472 struct uath_softc *sc = device_get_softc(dev); local
522 uath_free_cmd_list(struct uath_softc *sc, struct uath_cmd cmds[]) argument
531 uath_alloc_cmd_list(struct uath_softc *sc, struct uath_cmd cmds[]) argument
554 uath_host_available(struct uath_softc *sc) argument
666 uath_cmdsend(struct uath_softc *sc, uint32_t code, const void *idata, int ilen, void *odata, int olen, int flags) argument
733 uath_cmd_read(struct uath_softc *sc, uint32_t code, const void *idata, int ilen, void *odata, int olen, int flags) argument
742 uath_cmd_write(struct uath_softc *sc, uint32_t code, const void *data, int len, int flags) argument
751 uath_get_cmdbuf(struct uath_softc *sc) argument
776 struct uath_softc *sc = arg; local
794 uath_get_capability(struct uath_softc *sc, uint32_t cap, uint32_t *val) argument
811 uath_get_devcap(struct uath_softc *sc) argument
868 uath_get_devstatus(struct uath_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN]) argument
890 uath_get_status(struct uath_softc *sc, uint32_t which, void *odata, int olen) argument
904 uath_free_data_list(struct uath_softc *sc, struct uath_data data[], int ndata, int fillmbuf) argument
929 uath_alloc_data_list(struct uath_softc *sc, struct uath_data data[], int ndata, int maxsz, void *dma_buf) argument
962 uath_alloc_rx_data_list(struct uath_softc *sc) argument
986 uath_alloc_tx_data_list(struct uath_softc *sc) argument
1010 uath_free_rx_data_list(struct uath_softc *sc) argument
1017 uath_free_tx_data_list(struct uath_softc *sc) argument
1066 uath_init(struct uath_softc *sc) argument
1147 uath_stop(struct uath_softc *sc) argument
1168 uath_config(struct uath_softc *sc, uint32_t reg, uint32_t val) argument
1187 uath_config_multi(struct uath_softc *sc, uint32_t reg, const void *data, int len) argument
1208 uath_switch_channel(struct uath_softc *sc, struct ieee80211_channel *c) argument
1252 uath_set_rxfilter(struct uath_softc *sc, uint32_t bits, uint32_t op) argument
1268 struct uath_softc *sc = arg; local
1283 uath_abort_xfers(struct uath_softc *sc) argument
1294 uath_flush(struct uath_softc *sc) argument
1311 uath_cmdflush(struct uath_softc *sc) argument
1318 uath_dataflush(struct uath_softc *sc) argument
1366 _uath_getbuf(struct uath_softc *sc) argument
1383 uath_getbuf(struct uath_softc *sc) argument
1396 uath_set_ledstate(struct uath_softc *sc, int connected) argument
1407 uath_set_chan(struct uath_softc *sc, struct ieee80211_channel *c) argument
1439 uath_reset_tx_queues(struct uath_softc *sc) argument
1456 uath_wme_init(struct uath_softc *sc) argument
1492 struct uath_softc *sc = ic->ic_softc; local
1514 uath_tx_start(struct uath_softc *sc, struct mbuf *m0, struct ieee80211_node *ni, struct uath_data *data) argument
1621 uath_txfrag_cleanup(struct uath_softc *sc, uath_datahead *frags, struct ieee80211_node *ni) argument
1643 uath_txfrag_setup(struct uath_softc *sc, uath_datahead *frags, struct mbuf *m0, struct ieee80211_node *ni) argument
1666 struct uath_softc *sc = ic->ic_softc; local
1686 uath_start(struct uath_softc *sc) argument
1774 struct uath_softc *sc = ic->ic_softc; local
1821 struct uath_softc *sc = ic->ic_softc; local
1834 uath_set_rxmulti_filter(struct uath_softc *sc) argument
1842 struct uath_softc *sc = ic->ic_softc; local
1862 struct uath_softc *sc = ic->ic_softc; local
1880 uath_create_connection(struct uath_softc *sc, uint32_t connid) argument
1914 uath_set_rates(struct uath_softc *sc, const struct ieee80211_rateset *rs) argument
1932 uath_write_associd(struct uath_softc *sc) argument
1951 uath_set_ledsteady(struct uath_softc *sc, int lednum, int ledmode) argument
1965 uath_set_ledblink(struct uath_softc *sc, int lednum, int ledmode, int blinkrate, int slowmode) argument
1988 struct uath_softc *sc = ic->ic_softc; local
2079 uath_set_key(struct uath_softc *sc, const struct ieee80211_key *wk, int index) argument
2114 uath_set_keys(struct uath_softc *sc, struct ieee80211vap *vap) argument
2139 uath_sysctl_node(struct uath_softc *sc) argument
2201 uath_cmdeof(struct uath_softc *sc, struct uath_cmd *cmd) argument
2327 struct uath_softc *sc = usbd_xfer_softc(xfer); local
2368 struct uath_softc *sc = usbd_xfer_softc(xfer); local
2417 uath_update_rxstat(struct uath_softc *sc, uint32_t status) argument
2454 struct uath_softc *sc = usbd_xfer_softc(xfer); local
2623 struct uath_softc *sc = usbd_xfer_softc(xfer); local
2708 struct uath_softc *sc = usbd_xfer_softc(xfer); local
2724 struct uath_softc *sc = usbd_xfer_softc(xfer); local
[all...]
/freebsd-11-stable/sys/dev/fb/
H A Dcreator.c94 #define FFB_READ(sc, reg, off) \
95 bus_space_read_4((sc)->sc_bt[(reg)], (sc)->sc_bh[(reg)], (off))
96 #define FFB_WRITE(sc, reg, off, val) \
97 bus_space_write_4((sc)->sc_bt[(reg)], (sc)->sc_bh[(reg)], (off), (val))
193 static void creator_cursor_enable(struct creator_softc *sc, int onoff);
194 static void creator_cursor_install(struct creator_softc *sc);
297 static inline void creator_ras_fifo_wait(struct creator_softc *sc, int n);
298 static inline void creator_ras_setfontinc(struct creator_softc *sc, in
306 creator_ras_wait(struct creator_softc *sc) argument
322 creator_ras_fifo_wait(struct creator_softc *sc, int n) argument
334 creator_ras_setfontinc(struct creator_softc *sc, int fontinc) argument
346 creator_ras_setfontw(struct creator_softc *sc, int fontw) argument
358 creator_ras_setbg(struct creator_softc *sc, int bg) argument
370 creator_ras_setfg(struct creator_softc *sc, int fg) argument
382 creator_ras_setpmask(struct creator_softc *sc, int pmask) argument
399 struct creator_softc *sc; local
465 struct creator_softc *sc; local
548 struct creator_softc *sc; local
607 struct creator_softc *sc; local
667 struct creator_softc *sc; local
704 struct creator_softc *sc; local
735 struct creator_softc *sc; local
746 struct creator_softc *sc; local
817 struct creator_softc *sc; local
856 struct creator_softc *sc; local
905 struct creator_softc *sc; local
1043 struct creator_softc *sc; local
1053 struct creator_softc *sc; local
1079 creator_cursor_enable(struct creator_softc *sc, int onoff) argument
1092 creator_cursor_install(struct creator_softc *sc) argument
1115 struct creator_softc *sc = xsc; local
[all...]
/freebsd-11-stable/sys/dev/intpm/
H A Dintpm.c64 #define INTSMB_LOCK(sc) mtx_lock(&(sc)->lock)
65 #define INTSMB_UNLOCK(sc) mtx_unlock(&(sc)->lock)
66 #define INTSMB_LOCK_ASSERT(sc) mtx_assert(&(sc)->lock, MA_OWNED)
71 static int intsmb_intr(struct intsmb_softc *sc);
72 static int intsmb_slvintr(struct intsmb_softc *sc);
73 static void intsmb_alrintr(struct intsmb_softc *sc);
85 static void intsmb_start(struct intsmb_softc *sc, u_cha
132 struct intsmb_softc *sc; local
201 struct intsmb_softc *sc = device_get_softc(dev); local
218 struct intsmb_softc *sc = device_get_softc(dev); local
367 struct intsmb_softc *sc = arg; local
394 intsmb_free(struct intsmb_softc *sc) argument
418 intsmb_intr(struct intsmb_softc *sc) argument
442 intsmb_slvintr(struct intsmb_softc *sc) argument
463 intsmb_alrintr(struct intsmb_softc *sc) argument
503 intsmb_start(struct intsmb_softc *sc, unsigned char cmd, int nointr) argument
553 intsmb_stop_poll(struct intsmb_softc *sc) argument
586 intsmb_stop(struct intsmb_softc *sc) argument
625 struct intsmb_softc *sc = device_get_softc(dev); local
659 struct intsmb_softc *sc = device_get_softc(dev); local
679 struct intsmb_softc *sc = device_get_softc(dev); local
709 struct intsmb_softc *sc = device_get_softc(dev); local
730 struct intsmb_softc *sc = device_get_softc(dev); local
752 struct intsmb_softc *sc = device_get_softc(dev); local
774 struct intsmb_softc *sc = device_get_softc(dev); local
805 struct intsmb_softc *sc = device_get_softc(dev); local
835 struct intsmb_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/geom/gate/
H A Dg_gate.c103 g_gate_destroy(struct g_gate_softc *sc, boolean_t force) argument
113 pp = sc->sc_provider;
119 mtx_lock(&sc->sc_queue_mtx);
120 if ((sc->sc_flags & G_GATE_FLAG_DESTROY) == 0)
121 sc->sc_flags |= G_GATE_FLAG_DESTROY;
122 wakeup(sc);
123 mtx_unlock(&sc->sc_queue_mtx);
126 callout_drain(&sc->sc_callout);
128 mtx_lock(&sc->sc_queue_mtx);
129 while ((bp = bioq_takefirst(&sc
172 struct g_gate_softc *sc; local
192 struct g_gate_softc *sc; local
222 struct g_gate_softc *sc; local
250 struct g_gate_softc *sc; local
304 struct g_gate_softc *sc = NULL; local
329 g_gate_release(struct g_gate_softc *sc) argument
367 struct g_gate_softc *sc; local
405 struct g_gate_softc *sc; local
425 struct g_gate_softc *sc; local
464 struct g_gate_softc *sc; local
631 g_gate_modify(struct g_gate_softc *sc, struct g_gate_ctl_modify *ggio) argument
735 struct g_gate_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/altera/sdcard/
H A Daltera_sdcard_io.c68 altera_sdcard_read_asr(struct altera_sdcard_softc *sc) argument
71 return (le16toh(bus_read_2(sc->as_res, ALTERA_SDCARD_OFF_ASR)));
75 altera_sdcard_process_csd0(struct altera_sdcard_softc *sc) argument
80 ALTERA_SDCARD_LOCK_ASSERT(sc);
93 read_bl_len = sc->as_csd.csd_data[ALTERA_SDCARD_CSD_READ_BL_LEN_BYTE];
96 byte0 = sc->as_csd.csd_data[ALTERA_SDCARD_CSD_C_SIZE_BYTE0];
98 byte1 = sc->as_csd.csd_data[ALTERA_SDCARD_CSD_C_SIZE_BYTE1];
99 byte2 = sc->as_csd.csd_data[ALTERA_SDCARD_CSD_C_SIZE_BYTE2];
105 byte0 = sc->as_csd.csd_data[ALTERA_SDCARD_CSD_C_SIZE_MULT_BYTE0];
107 byte1 = sc
126 altera_sdcard_read_csd(struct altera_sdcard_softc *sc) argument
190 altera_sdcard_read_rr1(struct altera_sdcard_softc *sc) argument
197 altera_sdcard_write_cmd_arg(struct altera_sdcard_softc *sc, uint32_t cmd_arg) argument
204 altera_sdcard_write_cmd(struct altera_sdcard_softc *sc, uint16_t cmd) argument
211 altera_sdcard_read_rxtx_buffer(struct altera_sdcard_softc *sc, void *data, size_t len) argument
225 altera_sdcard_write_rxtx_buffer(struct altera_sdcard_softc *sc, void *data, size_t len) argument
294 altera_sdcard_io_start_internal(struct altera_sdcard_softc *sc, struct bio *bp) argument
319 altera_sdcard_io_start(struct altera_sdcard_softc *sc, struct bio *bp) argument
344 altera_sdcard_io_complete(struct altera_sdcard_softc *sc, uint16_t asr) argument
[all...]
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx51_ipuv3_fbd.c117 ipu3_fb_init(struct ipu3sc_softc *sc) argument
124 w0sh96 = IPUV3_READ(sc, cpmem, CPMEM_OFFSET(IMX_IPU_DP1, 23, 0, 16));
126 w0sh96 |= IPUV3_READ(sc, cpmem, CPMEM_OFFSET(IMX_IPU_DP1, 23, 0, 12));
128 sc->sc_info.fb_width = ((w0sh96 >> 29) & 0x1fff) + 1;
129 sc->sc_info.fb_height = ((w0sh96 >> 42) & 0x0fff) + 1;
132 w1sh96 = IPUV3_READ(sc, cpmem, CPMEM_OFFSET(IMX_IPU_DP1, 23, 1, 12));
133 sc->sc_info.fb_stride = ((w1sh96 >> 6) & 0x3fff) + 1;
135 printf("%dx%d [%d]\n", sc->sc_info.fb_width, sc->sc_info.fb_height,
136 sc
198 struct ipu3sc_softc *sc = device_get_softc(dev); local
340 struct ipu3sc_softc *sc = device_get_softc(dev); local
[all...]
H A Dimx6_sdma.c85 struct sdma_softc *sc; local
90 sc = arg;
92 pending = READ4(sc, SDMAARM_INTR);
95 WRITE4(sc, SDMAARM_INTR, pending);
100 channel = &sc->channel[i];
113 WRITE4(sc, SDMAARM_HSTART, (1 << i));
134 struct sdma_softc *sc; local
136 sc = sdma_sc;
138 WRITE4(sc, SDMAARM_HSTART, (1 << chn));
146 struct sdma_softc *sc; local
159 struct sdma_softc *sc; local
194 struct sdma_softc *sc; local
208 sdma_overrides(struct sdma_softc *sc, int chn, int evt, int host, int dsp) argument
247 struct sdma_softc *sc; local
353 load_firmware(struct sdma_softc *sc) argument
378 boot_firmware(struct sdma_softc *sc) argument
469 struct sdma_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_power.c156 iwm_mvm_beacon_filter_send_cmd(struct iwm_softc *sc, argument
161 ret = iwm_mvm_send_cmd_pdu(sc, IWM_REPLY_BEACON_FILTERING_CMD,
165 IWM_DPRINTF(sc, IWM_DEBUG_PWRSAVE | IWM_DEBUG_CMD,
168 IWM_DPRINTF(sc, IWM_DEBUG_PWRSAVE | IWM_DEBUG_CMD,
171 IWM_DPRINTF(sc, IWM_DEBUG_PWRSAVE | IWM_DEBUG_CMD,
174 IWM_DPRINTF(sc, IWM_DEBUG_PWRSAVE | IWM_DEBUG_CMD,
177 IWM_DPRINTF(sc, IWM_DEBUG_PWRSAVE | IWM_DEBUG_CMD,
180 IWM_DPRINTF(sc, IWM_DEBUG_PWRSAVE | IWM_DEBUG_CMD,
183 IWM_DPRINTF(sc, IWM_DEBUG_PWRSAVE | IWM_DEBUG_CMD,
186 IWM_DPRINTF(sc, IWM_DEBUG_PWRSAV
203 iwm_mvm_beacon_filter_set_cqm_params(struct iwm_softc *sc, struct iwm_node *in, struct iwm_beacon_filter_cmd *cmd) argument
210 iwm_mvm_power_log(struct iwm_softc *sc, struct iwm_mac_power_cmd *cmd) argument
235 iwm_mvm_power_is_radar(struct iwm_softc *sc) argument
251 iwm_mvm_power_config_skip_dtim(struct iwm_softc *sc, struct iwm_mac_power_cmd *cmd) argument
281 iwm_mvm_power_build_cmd(struct iwm_softc *sc, struct iwm_node *in, struct iwm_mac_power_cmd *cmd) argument
322 iwm_mvm_power_send_cmd(struct iwm_softc *sc, struct iwm_node *in) argument
334 _iwm_mvm_enable_beacon_filter(struct iwm_softc *sc, struct iwm_node *in, struct iwm_beacon_filter_cmd *cmd) argument
349 iwm_mvm_enable_beacon_filter(struct iwm_softc *sc, struct iwm_node *in) argument
360 iwm_mvm_disable_beacon_filter(struct iwm_softc *sc) argument
373 iwm_mvm_power_set_ps(struct iwm_softc *sc) argument
401 iwm_mvm_power_set_ba(struct iwm_softc *sc, struct iwm_node *in) argument
417 iwm_mvm_power_update_ps(struct iwm_softc *sc) argument
433 iwm_mvm_power_update_mac(struct iwm_softc *sc) argument
455 iwm_mvm_power_update_device(struct iwm_softc *sc) argument
[all...]
/freebsd-11-stable/sys/powerpc/ps3/
H A Dps3disk.c85 #define DPRINTF(sc, m, fmt, ...) \
87 if (sc->sc_debug & (m)) \
91 #define DPRINTF(sc, m, fmt, ...)
134 static int ps3disk_get_disk_geometry(struct ps3disk_softc *sc);
135 static int ps3disk_enum_regions(struct ps3disk_softc *sc);
139 static void ps3disk_sysctlattach(struct ps3disk_softc *sc);
158 struct ps3disk_softc *sc; local
165 sc = device_get_softc(dev);
166 sc->sc_dev = dev;
168 PS3DISK_LOCK_INIT(sc);
290 struct ps3disk_softc *sc = device_get_softc(dev); local
325 struct ps3disk_softc *sc = (struct ps3disk_softc *) arg; local
356 struct ps3disk_softc *sc = (struct ps3disk_softc *)bp->bio_disk->d_drv1; local
414 struct ps3disk_softc *sc = (struct ps3disk_softc *) arg; local
467 ps3disk_get_disk_geometry(struct ps3disk_softc *sc) argument
498 ps3disk_enum_regions(struct ps3disk_softc *sc) argument
591 struct ps3disk_softc *sc = (struct ps3disk_softc *)bp->bio_disk->d_drv1; local
657 struct ps3disk_softc *sc = arg1; local
673 ps3disk_sysctlattach(struct ps3disk_softc *sc) argument
[all...]
/freebsd-11-stable/sys/arm/allwinner/
H A Da10_fb.c172 #define DEBE_READ(sc, reg) bus_read_4((sc)->res[0], (reg))
173 #define DEBE_WRITE(sc, reg, val) bus_write_4((sc)->res[0], (reg), (val))
175 #define TCON_READ(sc, reg) bus_read_4((sc)->res[1], (reg))
176 #define TCON_WRITE(sc, reg, val) bus_write_4((sc)->res[1], (reg), (val))
179 a10fb_allocfb(struct a10fb_softc *sc) argument
181 sc
193 a10fb_freefb(struct a10fb_softc *sc) argument
199 a10fb_setup_debe(struct a10fb_softc *sc, const struct videomode *mode) argument
307 a10fb_setup_pll(struct a10fb_softc *sc, uint64_t freq) argument
343 a10fb_setup_tcon(struct a10fb_softc *sc, const struct videomode *mode) argument
442 a10fb_enable_tcon(struct a10fb_softc *sc, int onoff) argument
464 a10fb_configure(struct a10fb_softc *sc, const struct videomode *mode) argument
533 struct a10fb_softc *sc; local
616 struct a10fb_softc *sc; local
636 struct a10fb_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpi.c333 struct wpi_softc *sc = (struct wpi_softc *)device_get_softc(dev); local
342 sc->sc_dev = dev;
345 error = resource_int_value(device_get_name(sc->sc_dev),
346 device_get_unit(sc->sc_dev), "debug", &(sc->sc_debug));
348 sc->sc_debug = 0;
350 sc->sc_debug = 0;
353 DPRINTF(sc, WPI_DEBUG_TRACE, TRACE_STR_BEGIN, __func__);
359 error = pci_find_cap(dev, PCIY_EXPRESS, &sc->sc_cap_off);
387 sc
569 wpi_radiotap_attach(struct wpi_softc *sc) argument
582 wpi_sysctlattach(struct wpi_softc *sc) argument
680 struct wpi_softc *sc = device_get_softc(dev); local
736 struct wpi_softc *sc = device_get_softc(dev); local
745 struct wpi_softc *sc = device_get_softc(dev); local
755 struct wpi_softc *sc = device_get_softc(dev); local
769 wpi_nic_lock(struct wpi_softc *sc) argument
794 wpi_nic_unlock(struct wpi_softc *sc) argument
800 wpi_prph_read(struct wpi_softc *sc, uint32_t addr) argument
808 wpi_prph_write(struct wpi_softc *sc, uint32_t addr, uint32_t data) argument
816 wpi_prph_setbits(struct wpi_softc *sc, uint32_t addr, uint32_t mask) argument
822 wpi_prph_clrbits(struct wpi_softc *sc, uint32_t addr, uint32_t mask) argument
828 wpi_prph_write_region_4(struct wpi_softc *sc, uint32_t addr, const uint32_t *data, uint32_t count) argument
836 wpi_mem_read(struct wpi_softc *sc, uint32_t addr) argument
844 wpi_mem_read_region_4(struct wpi_softc *sc, uint32_t addr, uint32_t *data, int count) argument
852 wpi_read_prom_data(struct wpi_softc *sc, uint32_t addr, void *data, int count) argument
902 wpi_dma_contig_alloc(struct wpi_softc *sc, struct wpi_dma_info *dma, void **kvap, bus_size_t size, bus_size_t alignment) argument
957 wpi_alloc_shared(struct wpi_softc *sc) argument
965 wpi_free_shared(struct wpi_softc *sc) argument
974 wpi_alloc_fwmem(struct wpi_softc *sc) argument
982 wpi_free_fwmem(struct wpi_softc *sc) argument
988 wpi_alloc_rx_ring(struct wpi_softc *sc) argument
1073 wpi_update_rx_ring(struct wpi_softc *sc) argument
1079 wpi_update_rx_ring_ps(struct wpi_softc *sc) argument
1102 wpi_reset_rx_ring(struct wpi_softc *sc) argument
1125 wpi_free_rx_ring(struct wpi_softc *sc) argument
1154 wpi_alloc_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring, uint8_t qid) argument
1230 wpi_update_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument
1236 wpi_update_tx_ring_ps(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument
1256 wpi_reset_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument
1288 wpi_free_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument
1319 wpi_read_eeprom(struct wpi_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN]) argument
1410 wpi_read_eeprom_band(struct wpi_softc *sc, uint8_t n, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument
1457 wpi_read_eeprom_channels(struct wpi_softc *sc, uint8_t n) argument
1483 wpi_find_eeprom_channel(struct wpi_softc *sc, struct ieee80211_channel *c) argument
1500 struct wpi_softc *sc = ic->ic_softc; local
1515 struct wpi_softc *sc = ic->ic_softc; local
1535 wpi_read_eeprom_group(struct wpi_softc *sc, uint8_t n) argument
1574 wpi_add_node_entry_adhoc(struct wpi_softc *sc) argument
1589 wpi_add_node_entry_sta(struct wpi_softc *sc) argument
1597 wpi_check_node_entry(struct wpi_softc *sc, uint8_t id) argument
1606 wpi_clear_node_table(struct wpi_softc *sc) argument
1612 wpi_del_node_entry(struct wpi_softc *sc, uint8_t id) argument
1636 struct wpi_softc *sc = ni->ni_ic->ic_softc; local
1652 wpi_check_bss_filter(struct wpi_softc *sc) argument
1663 struct wpi_softc *sc = vap->iv_ic->ic_softc; local
1687 struct wpi_softc *sc = arg; local
1704 wpi_restore_node_table(struct wpi_softc *sc, struct wpi_vap *wvp) argument
1725 struct wpi_softc *sc = ic->ic_softc; local
1850 struct wpi_softc *sc = arg; local
1904 wpi_rx_done(struct wpi_softc *sc, struct wpi_rx_desc *desc, struct wpi_rx_data *data) argument
2045 wpi_rx_statistics(struct wpi_softc *sc, struct wpi_rx_desc *desc, struct wpi_rx_data *data) argument
2052 wpi_tx_done(struct wpi_softc *sc, struct wpi_rx_desc *desc) argument
2107 wpi_cmd_done(struct wpi_softc *sc, struct wpi_rx_desc *desc) argument
2156 wpi_notif_intr(struct wpi_softc *sc) argument
2359 wpi_wakeup_intr(struct wpi_softc *sc) argument
2389 wpi_debug_registers(struct wpi_softc *sc) argument
2451 wpi_fatal_intr(struct wpi_softc *sc) argument
2513 struct wpi_softc *sc = arg; local
2573 wpi_free_txfrags(struct wpi_softc *sc, uint16_t ac) argument
2601 wpi_cmd2(struct wpi_softc *sc, struct wpi_buf *buf) argument
2760 wpi_tx_data(struct wpi_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument
2935 wpi_tx_data_raw(struct wpi_softc *sc, struct mbuf *m, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument
3038 wpi_tx_ring_free_space(struct wpi_softc *sc, uint16_t ac) argument
3055 struct wpi_softc *sc = ic->ic_softc; local
3102 struct wpi_softc *sc = ic->ic_softc; local
3152 struct wpi_softc *sc = arg; local
3169 struct wpi_softc *sc = arg; local
3179 struct wpi_softc *sc = arg; local
3189 struct wpi_softc *sc = ic->ic_softc; local
3210 wpi_cmd(struct wpi_softc *sc, uint8_t code, const void *buf, uint16_t size, int async) argument
3311 wpi_mrr_setup(struct wpi_softc *sc) argument
3361 wpi_add_node(struct wpi_softc *sc, struct ieee80211_node *ni) argument
3409 wpi_add_broadcast_node(struct wpi_softc *sc, int async) argument
3430 wpi_add_sta_node(struct wpi_softc *sc, struct ieee80211_node *ni) argument
3449 wpi_add_ibss_node(struct wpi_softc *sc, struct ieee80211_node *ni) argument
3474 wpi_del_node(struct wpi_softc *sc, struct ieee80211_node *ni) argument
3503 struct wpi_softc *sc = ic->ic_softc; local
3535 wpi_set_promisc(struct wpi_softc *sc) argument
3554 struct wpi_softc *sc = ic->ic_softc; local
3580 wpi_set_led(struct wpi_softc *sc, uint8_t which, uint8_t off, uint8_t on) argument
3594 wpi_set_timing(struct wpi_softc *sc, struct ieee80211_node *ni) argument
3622 wpi_power_calibration(struct wpi_softc *sc) argument
3658 wpi_set_txpower(struct wpi_softc *sc, int async) argument
3708 wpi_get_power_index(struct wpi_softc *sc, struct wpi_power_group *group, uint8_t chan, int is_chan_5ghz, int ridx) argument
3776 wpi_set_pslevel(struct wpi_softc *sc, uint8_t dtim, int level, int async) argument
3828 wpi_send_btcoex(struct wpi_softc *sc) argument
3842 wpi_send_rxon(struct wpi_softc *sc, int assoc, int async) argument
3910 wpi_config(struct wpi_softc *sc) argument
3992 wpi_get_active_dwell_time(struct wpi_softc *sc, struct ieee80211_channel *c, uint8_t n_probes) argument
4012 wpi_limit_dwell(struct wpi_softc *sc, uint16_t dwell_time) argument
4040 wpi_get_passive_dwell_time(struct wpi_softc *sc, struct ieee80211_channel *c) argument
4069 wpi_scan(struct wpi_softc *sc, struct ieee80211_channel *c) argument
4266 wpi_auth(struct wpi_softc *sc, struct ieee80211vap *vap) argument
4324 struct wpi_softc *sc = ic->ic_softc; local
4372 wpi_setup_beacon(struct wpi_softc *sc, struct ieee80211_node *ni) argument
4407 struct wpi_softc *sc = vap->iv_ic->ic_softc; local
4449 struct wpi_softc *sc = ni->ni_ic->ic_softc; local
4468 wpi_run(struct wpi_softc *sc, struct ieee80211vap *vap) argument
4576 struct wpi_softc *sc = ni->ni_ic->ic_softc; local
4640 struct wpi_softc *sc = ni->ni_ic->ic_softc; local
4675 struct wpi_softc *sc = ni->ni_ic->ic_softc; local
4725 struct wpi_softc *sc = ni->ni_ic->ic_softc; local
4747 struct wpi_softc *sc = ic->ic_softc; local
4834 wpi_post_alive(struct wpi_softc *sc) argument
4875 wpi_load_bootcode(struct wpi_softc *sc, const uint8_t *ucode, uint32_t size) argument
4926 wpi_load_firmware(struct wpi_softc *sc) argument
4990 wpi_read_firmware(struct wpi_softc *sc) argument
5088 wpi_unload_firmware(struct wpi_softc *sc) argument
5097 wpi_clock_wait(struct wpi_softc *sc) argument
5117 wpi_apm_init(struct wpi_softc *sc) argument
5164 wpi_apm_stop_master(struct wpi_softc *sc) argument
5185 wpi_apm_stop(struct wpi_softc *sc) argument
5197 wpi_nic_config(struct wpi_softc *sc) argument
5223 wpi_hw_init(struct wpi_softc *sc) argument
5339 wpi_hw_stop(struct wpi_softc *sc) argument
5397 struct wpi_softc *sc = arg0; local
5414 struct wpi_softc *sc = arg0; local
5431 wpi_init(struct wpi_softc *sc) argument
5495 wpi_stop_locked(struct wpi_softc *sc) argument
5523 wpi_stop(struct wpi_softc *sc) argument
5536 struct wpi_softc *sc = ic->ic_softc; local
5547 struct wpi_softc *sc = ic->ic_softc; local
5562 struct wpi_softc *sc = ic->ic_softc; local
5608 struct wpi_softc *sc = ic->ic_softc; local
[all...]
/freebsd-11-stable/sys/dev/acpi_support/
H A Dacpi_ibm.c304 static void ibm_led_task(struct acpi_ibm_softc *sc, int pending __unused);
307 static int acpi_ibm_sysctl_init(struct acpi_ibm_softc *sc, int method);
308 static int acpi_ibm_sysctl_get(struct acpi_ibm_softc *sc, int method);
309 static int acpi_ibm_sysctl_set(struct acpi_ibm_softc *sc, int method, int val);
311 static int acpi_ibm_eventmask_set(struct acpi_ibm_softc *sc, int val);
316 static int acpi_ibm_brightness_set(struct acpi_ibm_softc *sc, int arg);
317 static int acpi_ibm_bluetooth_set(struct acpi_ibm_softc *sc, int arg);
318 static int acpi_ibm_thinklight_set(struct acpi_ibm_softc *sc, int arg);
319 static int acpi_ibm_volume_set(struct acpi_ibm_softc *sc, int arg);
320 static int acpi_ibm_mute_set(struct acpi_ibm_softc *sc, in
348 struct acpi_ibm_softc* sc = (struct acpi_ibm_softc*) softc; local
362 ibm_led_task(struct acpi_ibm_softc *sc, int pending __unused) argument
391 struct acpi_ibm_softc *sc; local
551 struct acpi_ibm_softc *sc = device_get_softc(dev); local
570 struct acpi_ibm_softc *sc = device_get_softc(dev); local
591 acpi_ibm_eventmask_set(struct acpi_ibm_softc *sc, int val) argument
621 struct acpi_ibm_softc *sc; local
650 acpi_ibm_sysctl_get(struct acpi_ibm_softc *sc, int method) argument
780 acpi_ibm_sysctl_set(struct acpi_ibm_softc *sc, int method, int arg) argument
857 acpi_ibm_sysctl_init(struct acpi_ibm_softc *sc, int method) argument
953 struct acpi_ibm_softc *sc; local
988 struct acpi_ibm_softc *sc; local
1072 acpi_ibm_brightness_set(struct acpi_ibm_softc *sc, int arg) argument
1119 acpi_ibm_bluetooth_set(struct acpi_ibm_softc *sc, int arg) argument
1135 acpi_ibm_thinklight_set(struct acpi_ibm_softc *sc, int arg) argument
1164 acpi_ibm_volume_set(struct acpi_ibm_softc *sc, int arg) argument
1214 acpi_ibm_mute_set(struct acpi_ibm_softc *sc, int arg) argument
1248 acpi_ibm_eventhandler(struct acpi_ibm_softc *sc, int arg) argument
1314 struct acpi_ibm_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/dev/bce/
H A Dif_bce.c470 static void bce_mgmt_init_locked (struct bce_softc *sc);
680 struct bce_softc *sc; local
686 sc = device_get_softc(dev);
687 sc->bce_unit = device_get_unit(dev);
688 sc->bce_dev = dev;
696 DBPRINT(sc, BCE_EXTREME_LOAD,
739 bce_print_adapter_info(struct bce_softc *sc) argument
746 BCE_PRINTF("ASIC (0x%08X); ", sc->bce_chipid);
747 printf("Rev (%c%d); ", ((BCE_CHIP_ID(sc) & 0xf000) >>
748 12) + 'A', ((BCE_CHIP_ID(sc)
831 bce_probe_pci_caps(device_t dev, struct bce_softc *sc) argument
879 bce_set_tunables(struct bce_softc *sc) argument
1067 struct bce_softc *sc; local
1562 struct bce_softc *sc = device_get_softc(dev); local
1615 struct bce_softc *sc = device_get_softc(dev); local
1643 bce_reg_rd(struct bce_softc *sc, u32 offset) argument
1659 bce_reg_wr16(struct bce_softc *sc, u32 offset, u16 val) argument
1674 bce_reg_wr(struct bce_softc *sc, u32 offset, u32 val) argument
1693 bce_reg_rd_ind(struct bce_softc *sc, u32 offset) argument
1724 bce_reg_wr_ind(struct bce_softc *sc, u32 offset, u32 val) argument
1746 bce_shmem_wr(struct bce_softc *sc, u32 offset, u32 val) argument
1764 bce_shmem_rd(struct bce_softc *sc, u32 offset) argument
1786 bce_ctx_rd(struct bce_softc *sc, u32 cid_addr, u32 ctx_offset) argument
1836 bce_ctx_wr(struct bce_softc *sc, u32 cid_addr, u32 ctx_offset, u32 ctx_val) argument
1883 struct bce_softc *sc; local
1964 struct bce_softc *sc; local
2037 struct bce_softc *sc; local
2149 bce_acquire_nvram_lock(struct bce_softc *sc) argument
2187 bce_release_nvram_lock(struct bce_softc *sc) argument
2227 bce_enable_nvram_write(struct bce_softc *sc) argument
2272 bce_disable_nvram_write(struct bce_softc *sc) argument
2297 bce_enable_nvram_access(struct bce_softc *sc) argument
2321 bce_disable_nvram_access(struct bce_softc *sc) argument
2348 bce_nvram_erase_page(struct bce_softc *sc, u32 offset) argument
2404 bce_nvram_read_dword(struct bce_softc *sc, u32 offset, u8 *ret_val, u32 cmd_flags) argument
2470 bce_nvram_write_dword(struct bce_softc *sc, u32 offset, u8 *val, u32 cmd_flags) argument
2528 bce_init_nvram(struct bce_softc *sc) argument
2642 bce_nvram_read(struct bce_softc *sc, u32 offset, u8 *ret_buf, int buf_size) argument
2768 bce_nvram_write(struct bce_softc *sc, u32 offset, u8 *data_buf, int buf_size) argument
2968 bce_nvram_test(struct bce_softc *sc) argument
3041 bce_get_rx_buffer_sizes(struct bce_softc *sc, int mtu) argument
3092 bce_get_media(struct bce_softc *sc) argument
3200 bce_init_media(struct bce_softc *sc) argument
3234 bce_dma_free(struct bce_softc *sc) argument
3512 struct bce_softc *sc; local
3902 bce_release_resources(struct bce_softc *sc) argument
3956 bce_fw_sync(struct bce_softc *sc, u32 msg_data) argument
4017 bce_load_rv2p_fw(struct bce_softc *sc, const u32 *rv2p_code, u32 rv2p_code_len, u32 rv2p_proc) argument
4068 bce_load_cpu_fw(struct bce_softc *sc, struct cpu_reg *cpu_reg, struct fw_info *fw) argument
4145 bce_start_cpu(struct bce_softc *sc, struct cpu_reg *cpu_reg) argument
4168 bce_halt_cpu(struct bce_softc *sc, struct cpu_reg *cpu_reg) argument
4191 bce_start_rxp_cpu(struct bce_softc *sc) argument
4224 bce_init_rxp_cpu(struct bce_softc *sc) argument
4322 bce_init_txp_cpu(struct bce_softc *sc) argument
4419 bce_init_tpat_cpu(struct bce_softc *sc) argument
4516 bce_init_cp_cpu(struct bce_softc *sc) argument
4613 bce_init_com_cpu(struct bce_softc *sc) argument
4712 bce_init_cpus(struct bce_softc *sc) argument
4756 bce_init_ctx(struct bce_softc *sc) argument
4858 bce_get_mac_addr(struct bce_softc *sc) argument
4901 bce_set_mac_addr(struct bce_softc *sc) argument
4932 bce_stop(struct bce_softc *sc) argument
4971 bce_reset(struct bce_softc *sc, u32 reset_code) argument
5094 bce_chipinit(struct bce_softc *sc) argument
5201 bce_blockinit(struct bce_softc *sc) argument
5371 bce_get_rx_buf(struct bce_softc *sc, u16 prod, u16 chain_prod, u32 *prod_bseq) argument
5486 bce_get_pg_buf(struct bce_softc *sc, u16 prod, u16 prod_idx) argument
5590 bce_init_tx_context(struct bce_softc *sc) argument
5640 bce_init_tx_chain(struct bce_softc *sc) argument
5700 bce_free_tx_chain(struct bce_softc *sc) argument
5742 bce_init_rx_context(struct bce_softc *sc) argument
5816 bce_init_rx_chain(struct bce_softc *sc) argument
5881 bce_fill_rx_chain(struct bce_softc *sc) argument
5928 bce_free_rx_chain(struct bce_softc *sc) argument
5972 bce_init_pg_chain(struct bce_softc *sc) argument
6052 bce_fill_pg_chain(struct bce_softc *sc) argument
6098 bce_free_pg_chain(struct bce_softc *sc) argument
6133 bce_get_rphy_link(struct bce_softc *sc) argument
6190 struct bce_softc *sc = ifp->if_softc; local
6213 struct bce_softc *sc = ifp->if_softc; local
6328 bce_ifmedia_sts_rphy(struct bce_softc *sc, struct ifmediareq *ifmr) argument
6415 struct bce_softc *sc = ifp->if_softc; local
6449 bce_phy_intr(struct bce_softc *sc) argument
6516 bce_get_hw_rx_cons(struct bce_softc *sc) argument
6535 bce_rx_intr(struct bce_softc *sc) argument
6894 bce_get_hw_tx_cons(struct bce_softc *sc) argument
6914 bce_tx_intr(struct bce_softc *sc) argument
7033 bce_disable_intr(struct bce_softc *sc) argument
7051 bce_enable_intr(struct bce_softc *sc, int coal_now) argument
7077 bce_init_locked(struct bce_softc *sc) argument
7191 bce_mgmt_init_locked(struct bce_softc *sc) argument
7229 struct bce_softc *sc = xsc; local
7248 bce_tso_setup(struct bce_softc *sc, struct mbuf **m_head, u16 *flags) argument
7368 bce_tx_encap(struct bce_softc *sc, struct mbuf **m_head) argument
7567 struct bce_softc *sc = ifp->if_softc; local
7662 struct bce_softc *sc = ifp->if_softc; local
7683 struct bce_softc *sc = ifp->if_softc; local
7846 bce_watchdog(struct bce_softc *sc) argument
7926 struct bce_softc *sc; local
8066 bce_set_rx_mode(struct bce_softc *sc) argument
8158 bce_stats_update(struct bce_softc *sc) argument
8357 struct bce_softc *sc; local
8405 struct bce_softc *sc = xsc; local
8462 struct bce_softc *sc = xsc; local
8531 bce_fw_cap_init(struct bce_softc *sc) argument
8572 struct bce_softc *sc; local
8600 struct bce_softc *sc; local
8628 struct bce_softc *sc; local
8656 struct bce_softc *sc; local
8685 struct bce_softc *sc; local
8749 struct bce_softc *sc; local
8777 struct bce_softc *sc; local
8805 struct bce_softc *sc; local
8833 struct bce_softc *sc; local
8861 struct bce_softc *sc; local
8889 struct bce_softc *sc; local
8915 struct bce_softc *sc = (struct bce_softc *)arg1; local
8944 struct bce_softc *sc = (struct bce_softc *)arg1; local
8976 struct bce_softc *sc; local
9007 struct bce_softc *sc = (struct bce_softc *)arg1; local
9037 struct bce_softc *sc = (struct bce_softc *)arg1; local
9069 struct bce_softc *sc; local
9099 struct bce_softc *sc; local
9123 bce_add_sysctls(struct bce_softc *sc) argument
9687 bce_freeze_controller(struct bce_softc *sc) argument
9704 bce_unfreeze_controller(struct bce_softc *sc) argument
9722 bce_dump_enet(struct bce_softc *sc, struct mbuf *m) argument
9825 bce_dump_mbuf(struct bce_softc *sc, struct mbuf *m) argument
9887 bce_dump_tx_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count) argument
9917 bce_dump_rx_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count) argument
9948 bce_dump_pg_mbuf_chain(struct bce_softc *sc, u16 chain_prod, int count) argument
9979 bce_dump_txbd(struct bce_softc *sc, int idx, struct tx_bd *txbd) argument
10094 bce_dump_rxbd(struct bce_softc *sc, int idx, struct rx_bd *rxbd) argument
10120 bce_dump_pgbd(struct bce_softc *sc, int idx, struct rx_bd *pgbd) argument
10145 bce_dump_l2fhdr(struct bce_softc *sc, int idx, struct l2_fhdr *l2fhdr) argument
10163 bce_dump_ctx(struct bce_softc *sc, u16 cid) argument
10285 bce_dump_ftqs(struct bce_softc *sc) argument
10531 bce_dump_tx_chain(struct bce_softc *sc, u16 tx_prod, int count) argument
10573 bce_dump_rx_bd_chain(struct bce_softc *sc, u16 rx_prod, int count) argument
10617 bce_dump_pg_chain(struct bce_softc *sc, u16 pg_prod, int count) argument
10676 bce_dump_status_block(struct bce_softc *sc) argument
10740 bce_dump_stats_block(struct bce_softc *sc) argument
10823 bce_dump_driver_state(struct bce_softc *sc) argument
10982 bce_dump_hw_state(struct bce_softc *sc) argument
11094 bce_dump_shmem_state(struct bce_softc *sc) argument
11131 bce_dump_mq_regs(struct bce_softc *sc) argument
11163 bce_dump_bc_state(struct bce_softc *sc) argument
11204 bce_dump_txp_state(struct bce_softc *sc, int regs) argument
11263 bce_dump_rxp_state(struct bce_softc *sc, int regs) argument
11323 bce_dump_tpat_state(struct bce_softc *sc, int regs) argument
11383 bce_dump_cp_state(struct bce_softc *sc, int regs) argument
11443 bce_dump_com_state(struct bce_softc *sc, int regs) argument
11501 bce_dump_rv2p_state(struct bce_softc *sc) argument
11569 bce_breakpoint(struct bce_softc *sc) argument
[all...]

Completed in 333 milliseconds

<<11121314151617181920>>