Searched refs:sc (Results 501 - 525 of 2317) sorted by relevance

<<21222324252627282930>>

/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_descdma.h34 extern int ath_descdma_alloc_desc(struct ath_softc *sc,
37 extern int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd,
40 extern int ath_descdma_setup_rx_edma(struct ath_softc *sc,
43 extern void ath_descdma_cleanup(struct ath_softc *sc,
H A Dif_ath_tdma.c126 static void ath_tdma_settimers(struct ath_softc *sc, u_int32_t nexttbtt,
128 static void ath_tdma_bintvalsetup(struct ath_softc *sc,
134 ath_tdma_settimers(struct ath_softc *sc, u_int32_t nexttbtt, u_int32_t bintval) argument
136 struct ath_hal *ah = sc->sc_ah;
141 bt.bt_nextdba = (nexttbtt<<3) - sc->sc_tdmadbaprep;
142 bt.bt_nextswba = (nexttbtt<<3) - sc->sc_tdmaswbaprep;
147 DPRINTF(sc, ATH_DEBUG_TDMA_TIMER,
163 if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_TDMA_TIMER_SET)) {
171 t.sc_tdmadbaprep = htobe32(sc->sc_tdmadbaprep);
172 t.sc_tdmaswbaprep = htobe32(sc
204 ath_tdma_bintvalsetup(struct ath_softc *sc, const struct ieee80211_tdma_state *tdma) argument
250 ath_tdma_config(struct ath_softc *sc, struct ieee80211vap *vap) argument
361 struct ath_softc *sc = ic->ic_softc; local
612 ath_tdma_beacon_send(struct ath_softc *sc, struct ieee80211vap *vap) argument
[all...]
/freebsd-11-stable/sys/mips/cavium/
H A Docteon_rnd.c95 struct octeon_rnd_softc *sc; local
97 sc = device_get_softc(dev);
98 callout_init(&sc->sc_callout, 1);
99 callout_reset(&sc->sc_callout, hz * 5, octeon_rnd_harvest, sc);
109 struct octeon_rnd_softc *sc; local
111 sc = device_get_softc(dev);
113 callout_stop(&sc->sc_callout);
121 struct octeon_rnd_softc *sc; local
124 sc
[all...]
H A Docteon_gpio.c78 static void octeon_gpio_pin_configure(struct octeon_gpio_softc *sc,
106 octeon_gpio_pin_configure(struct octeon_gpio_softc *sc, struct gpio_pin *pin, argument
113 GPIO_LOCK(sc);
136 GPIO_UNLOCK(sc);
142 struct octeon_gpio_softc *sc; local
144 sc = device_get_softc(dev);
146 return (sc->busdev);
160 struct octeon_gpio_softc *sc = device_get_softc(dev); local
163 for (i = 0; i < sc->gpio_npins; i++) {
164 if (sc
181 struct octeon_gpio_softc *sc = device_get_softc(dev); local
202 struct octeon_gpio_softc *sc = device_get_softc(dev); local
224 struct octeon_gpio_softc *sc = device_get_softc(dev); local
242 struct octeon_gpio_softc *sc = device_get_softc(dev); local
266 struct octeon_gpio_softc *sc = device_get_softc(dev); local
291 struct octeon_gpio_softc *sc = device_get_softc(dev); local
321 struct octeon_gpio_softc *sc = *cookie; local
343 struct octeon_gpio_softc *sc = *cookie; local
381 struct octeon_gpio_softc *sc = device_get_softc(dev); local
461 struct octeon_gpio_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/mips/rt305x/
H A Drt305x_ic.c62 struct rt305x_ic_softc *sc = device_get_softc(dev); local
70 rt305x_ic_softc = sc;
74 sc->mem_rid = 0;
75 sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY,
76 &sc->mem_rid, RF_ACTIVE);
78 if (sc->mem_res == NULL) {
90 struct rt305x_ic_softc *sc = device_get_softc(dev); local
94 if (sc->mem_res)
95 bus_release_resource(dev, SYS_RES_MEMORY, sc->mem_rid,
96 sc
104 struct rt305x_ic_softc *sc = rt305x_ic_softc; local
115 struct rt305x_ic_softc *sc = rt305x_ic_softc; local
[all...]
/freebsd-11-stable/sys/dev/etherswitch/ip17x/
H A Dip175c.h41 void ip175c_attach(struct ip17x_softc *sc);
H A Dip175d.h41 void ip175d_attach(struct ip17x_softc *sc);
/freebsd-11-stable/sys/dev/sn/
H A Dif_snvar.h58 #define CSR_READ_1(sc, off) (bus_read_1((sc)->port_res, off))
59 #define CSR_READ_2(sc, off) (bus_read_2((sc)->port_res, off))
60 #define CSR_WRITE_1(sc, off, val) \
61 bus_write_1((sc)->port_res, off, val)
62 #define CSR_WRITE_2(sc, off, val) \
63 bus_write_2((sc)->port_res, off, val)
64 #define CSR_WRITE_MULTI_1(sc, off, addr, count) \
65 bus_write_multi_1((sc)
[all...]
/freebsd-11-stable/sys/arm/ti/twl/
H A Dtwl_clks.c161 * @sc: device context
170 twl_clks_read_1(struct twl_clks_softc *sc, struct twl_clk_entry *clk, argument
173 return (twl_read(sc->sc_pdev, clk->sub_dev, clk->reg_off + off, val, 1));
177 twl_clks_write_1(struct twl_clks_softc *sc, struct twl_clk_entry *clk, argument
180 return (twl_write(sc->sc_pdev, clk->sub_dev, clk->reg_off + off, &val, 1));
199 struct twl_clks_softc *sc = device_get_softc(dev); local
205 TWL_CLKS_SLOCK(sc);
207 LIST_FOREACH(clk, &sc->sc_clks_list, link) {
215 TWL_CLKS_SUNLOCK(sc);
220 if (twl_is_4030(sc
275 twl_clks_set_state(struct twl_clks_softc *sc, struct twl_clk_entry *clk, int enable) argument
358 struct twl_clks_softc *sc = device_get_softc(dev); local
389 struct twl_clks_softc *sc = device_get_softc(dev); local
421 struct twl_clks_softc *sc = (struct twl_clks_softc*)arg1; local
448 twl_clks_add_clock(struct twl_clks_softc *sc, const char *name, uint8_t nsub, uint8_t regbase) argument
499 twl_clks_add_clocks(struct twl_clks_softc *sc, const struct twl_clock *clks) argument
582 struct twl_clks_softc *sc; local
611 struct twl_clks_softc *sc; local
634 struct twl_clks_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwn.c409 iwn_is_3stream_device(struct iwn_softc *sc) argument
412 if (sc->hw_type == IWN_HW_REV_TYPE_5300)
420 struct iwn_softc *sc = device_get_softc(dev); local
424 sc->sc_dev = dev;
427 error = resource_int_value(device_get_name(sc->sc_dev),
428 device_get_unit(sc->sc_dev), "debug", &(sc->sc_debug));
430 sc->sc_debug = 0;
432 sc->sc_debug = 0;
435 DPRINTF(sc, IWN_DEBUG_TRAC
735 iwn_config_specific(struct iwn_softc *sc, uint16_t pid) argument
1214 iwn4965_attach(struct iwn_softc *sc, uint16_t pid) argument
1256 iwn5000_attach(struct iwn_softc *sc, uint16_t pid) argument
1296 iwn_radiotap_attach(struct iwn_softc *sc) argument
1309 iwn_sysctlattach(struct iwn_softc *sc) argument
1327 struct iwn_softc *sc = ic->ic_softc; local
1363 iwn_xmit_queue_drain(struct iwn_softc *sc) argument
1377 iwn_xmit_queue_enqueue(struct iwn_softc *sc, struct mbuf *m) argument
1387 struct iwn_softc *sc = device_get_softc(dev); local
1446 struct iwn_softc *sc = device_get_softc(dev); local
1455 struct iwn_softc *sc = device_get_softc(dev); local
1464 struct iwn_softc *sc = device_get_softc(dev); local
1474 iwn_nic_lock(struct iwn_softc *sc) argument
1493 iwn_nic_unlock(struct iwn_softc *sc) argument
1499 iwn_prph_read(struct iwn_softc *sc, uint32_t addr) argument
1507 iwn_prph_write(struct iwn_softc *sc, uint32_t addr, uint32_t data) argument
1515 iwn_prph_setbits(struct iwn_softc *sc, uint32_t addr, uint32_t mask) argument
1521 iwn_prph_clrbits(struct iwn_softc *sc, uint32_t addr, uint32_t mask) argument
1527 iwn_prph_write_region_4(struct iwn_softc *sc, uint32_t addr, const uint32_t *data, int count) argument
1535 iwn_mem_read(struct iwn_softc *sc, uint32_t addr) argument
1543 iwn_mem_write(struct iwn_softc *sc, uint32_t addr, uint32_t data) argument
1551 iwn_mem_write_2(struct iwn_softc *sc, uint32_t addr, uint16_t data) argument
1564 iwn_mem_read_region_4(struct iwn_softc *sc, uint32_t addr, uint32_t *data, int count) argument
1572 iwn_mem_set_region_4(struct iwn_softc *sc, uint32_t addr, uint32_t val, int count) argument
1580 iwn_eeprom_lock(struct iwn_softc *sc) argument
1602 iwn_eeprom_unlock(struct iwn_softc *sc) argument
1612 iwn_init_otprom(struct iwn_softc *sc) argument
1670 iwn_read_prom_data(struct iwn_softc *sc, uint32_t addr, void *data, int count) argument
1726 iwn_dma_contig_alloc(struct iwn_softc *sc, struct iwn_dma_info *dma, void **kvap, bus_size_t size, bus_size_t alignment) argument
1778 iwn_alloc_sched(struct iwn_softc *sc) argument
1786 iwn_free_sched(struct iwn_softc *sc) argument
1792 iwn_alloc_kw(struct iwn_softc *sc) argument
1799 iwn_free_kw(struct iwn_softc *sc) argument
1805 iwn_alloc_ict(struct iwn_softc *sc) argument
1813 iwn_free_ict(struct iwn_softc *sc) argument
1819 iwn_alloc_fwmem(struct iwn_softc *sc) argument
1826 iwn_free_fwmem(struct iwn_softc *sc) argument
1832 iwn_alloc_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument
1929 iwn_reset_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument
1950 iwn_free_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument
1979 iwn_alloc_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring, int qid) argument
2049 iwn_reset_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring) argument
2080 iwn_free_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring) argument
2108 iwn5000_ict_reset(struct iwn_softc *sc) argument
2136 iwn_read_eeprom(struct iwn_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN]) argument
2208 iwn4965_read_eeprom(struct iwn_softc *sc) argument
2260 iwn4965_print_power_group(struct iwn_softc *sc, int i) argument
2294 iwn5000_read_eeprom(struct iwn_softc *sc) argument
2380 iwn_read_eeprom_band(struct iwn_softc *sc, int n, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument
2433 iwn_read_eeprom_ht40(struct iwn_softc *sc, int n, int maxchans, int *nchans, struct ieee80211_channel chans[]) argument
2491 iwn_read_eeprom_channels(struct iwn_softc *sc, int n, uint32_t addr) argument
2509 iwn_find_eeprom_channel(struct iwn_softc *sc, struct ieee80211_channel *c) argument
2539 struct iwn_softc *sc = ic->ic_softc; local
2556 struct iwn_softc *sc = ic->ic_softc; local
2576 iwn_read_eeprom_enhinfo(struct iwn_softc *sc) argument
2670 iwn_get_1stream_tx_antmask(struct iwn_softc *sc) argument
2677 iwn_get_2stream_tx_antmask(struct iwn_softc *sc) argument
2723 iwn_rate_to_plcp(struct iwn_softc *sc, struct ieee80211_node *ni, uint8_t rate) argument
2824 struct iwn_softc *sc = ic->ic_softc; local
2917 struct iwn_softc *sc = arg; local
2940 iwn_rx_phy(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
2958 iwn_rx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
3153 iwn_rx_compressed_ba(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
3258 iwn5000_rx_calib_results(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
3317 iwn_stats_update(struct iwn_softc *sc, struct iwn_calib_state *calib, struct iwn_stats *stats, int len) argument
3382 iwn_rx_statistics(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
3468 iwn_save_stats_counters(struct iwn_softc *sc, const struct iwn_stats *rs) argument
3488 iwn4965_tx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
3518 iwn5000_tx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
3556 iwn_tx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, int ackfailcnt, uint8_t status) argument
3619 iwn_cmd_done(struct iwn_softc *sc, struct iwn_rx_desc *desc) argument
3648 iwn_ampdu_tx_done(struct iwn_softc *sc, int qid, int idx, int nframes, int ackfailcnt, void *stat) argument
3798 iwn_notif_intr(struct iwn_softc *sc) argument
3994 iwn_wakeup_intr(struct iwn_softc *sc) argument
4010 iwn_rftoggle_intr(struct iwn_softc *sc) argument
4031 iwn_fatal_intr(struct iwn_softc *sc) argument
4090 struct iwn_softc *sc = arg; local
4196 iwn4965_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument
4214 iwn5000_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument
4233 iwn5000_reset_sched(struct iwn_softc *sc, int qid, int idx) argument
4257 iwn_check_rate_needs_protection(struct iwn_softc *sc, struct ieee80211vap *vap, uint8_t rate) argument
4302 iwn_tx_rate_to_linkq_offset(struct iwn_softc *sc, struct ieee80211_node *ni, uint8_t rate) argument
4360 iwn_tx_data(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni) argument
4660 iwn_tx_data_raw(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni, const struct ieee80211_bpf_params *params) argument
4855 struct iwn_softc *sc = arg0; local
4906 struct iwn_softc *sc = ic->ic_softc; local
4961 struct iwn_softc *sc = ic->ic_softc; local
4988 struct iwn_softc *sc = arg; local
4998 struct iwn_softc *sc = arg; local
5036 struct iwn_softc *sc = dev->si_drv1; local
5073 struct iwn_softc *sc = ic->ic_softc; local
5099 iwn_cmd(struct iwn_softc *sc, int code, const void *buf, int size, int async) argument
5179 iwn4965_add_node(struct iwn_softc *sc, struct iwn_node_info *node, int async) argument
5200 iwn5000_add_node(struct iwn_softc *sc, struct iwn_node_info *node, int async) argument
5210 iwn_set_link_quality(struct iwn_softc *sc, struct ieee80211_node *ni) argument
5321 iwn_add_broadcast_node(struct iwn_softc *sc, int async) argument
5373 struct iwn_softc *sc = ic->ic_softc; local
5411 iwn_set_led(struct iwn_softc *sc, uint8_t which, uint8_t off, uint8_t on) argument
5438 iwn_set_critical_temp(struct iwn_softc *sc) argument
5460 iwn_set_timing(struct iwn_softc *sc, struct ieee80211_node *ni) argument
5484 iwn4965_power_calibration(struct iwn_softc *sc, int temp) argument
5506 iwn4965_set_txpower(struct iwn_softc *sc, struct ieee80211_channel *ch, int async) argument
5657 iwn5000_set_txpower(struct iwn_softc *sc, struct ieee80211_channel *ch, int async) argument
5688 iwn4965_get_rssi(struct iwn_softc *sc, struct iwn_rx_stat *stat) argument
5715 iwn5000_get_rssi(struct iwn_softc *sc, struct iwn_rx_stat *stat) argument
5759 iwn4965_get_temperature(struct iwn_softc *sc) argument
5786 iwn5000_get_temperature(struct iwn_softc *sc) argument
5808 iwn_init_sensitivity(struct iwn_softc *sc) argument
5851 iwn_collect_noise(struct iwn_softc *sc, const struct iwn_rx_general_stats *stats) argument
5910 iwn4965_init_gains(struct iwn_softc *sc) argument
5925 iwn5000_init_gains(struct iwn_softc *sc) argument
5941 iwn4965_set_gains(struct iwn_softc *sc) argument
5976 iwn5000_set_gains(struct iwn_softc *sc) argument
6016 iwn_tune_sensitivity(struct iwn_softc *sc, const struct iwn_rx_stats *stats) argument
6166 iwn_send_sensitivity(struct iwn_softc *sc) argument
6217 iwn_check_rx_recovery(struct iwn_softc *sc, struct iwn_stats *rs) argument
6297 iwn_set_pslevel(struct iwn_softc *sc, int dtim, int level, int async) argument
6355 iwn_send_btcoex(struct iwn_softc *sc) argument
6369 iwn_send_advanced_btcoex(struct iwn_softc *sc) argument
6474 iwn5000_runtime_calib(struct iwn_softc *sc) argument
6487 iwn_get_rxon_ht_flags(struct iwn_softc *sc, struct ieee80211_channel *c) argument
6514 iwn_config(struct iwn_softc *sc) argument
6694 iwn_get_active_dwell_time(struct iwn_softc *sc, struct ieee80211_channel *c, uint8_t n_probes) argument
6714 iwn_limit_dwell(struct iwn_softc *sc, uint16_t dwell_time) argument
6746 iwn_get_passive_dwell_time(struct iwn_softc *sc, struct ieee80211_channel *c) argument
6761 iwn_scan(struct iwn_softc *sc, struct ieee80211vap *vap, struct ieee80211_scan_state *ss, struct ieee80211_channel *c) argument
7022 iwn_auth(struct iwn_softc *sc, struct ieee80211vap *vap) argument
7094 iwn_run(struct iwn_softc *sc, struct ieee80211vap *vap) argument
7229 struct iwn_softc *sc = ni->ni_ic->ic_softc; local
7265 struct iwn_softc *sc = ic->ic_softc; local
7293 struct iwn_softc *sc = ni->ni_ic->ic_softc; local
7323 struct iwn_softc *sc = ni->ni_ic->ic_softc; local
7352 struct iwn_softc *sc = ni->ni_ic->ic_softc; local
7386 struct iwn_softc *sc = ni->ni_ic->ic_softc; local
7411 iwn4965_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, int qid, uint8_t tid, uint16_t ssn) argument
7451 iwn4965_ampdu_tx_stop(struct iwn_softc *sc, int qid, uint8_t tid, uint16_t ssn) argument
7472 iwn5000_ampdu_tx_start(struct iwn_softc *sc, struct ieee80211_node *ni, int qid, uint8_t tid, uint16_t ssn) argument
7511 iwn5000_ampdu_tx_stop(struct iwn_softc *sc, int qid, uint8_t tid, uint16_t ssn) argument
7539 iwn5000_query_calibration(struct iwn_softc *sc) argument
7566 iwn5000_send_calibration(struct iwn_softc *sc) argument
7600 iwn5000_send_wimax_coex(struct iwn_softc *sc) argument
7627 iwn5000_crystal_calib(struct iwn_softc *sc) argument
7643 iwn5000_temp_offset_calib(struct iwn_softc *sc) argument
7661 iwn5000_temp_offset_calibv2(struct iwn_softc *sc) argument
7692 iwn4965_post_alive(struct iwn_softc *sc) argument
7747 iwn5000_post_alive(struct iwn_softc *sc) argument
7860 iwn4965_load_bootcode(struct iwn_softc *sc, const uint8_t *ucode, int size) argument
7902 iwn4965_load_firmware(struct iwn_softc *sc) argument
7969 iwn5000_load_firmware_section(struct iwn_softc *sc, uint32_t dst, const uint8_t *section, int size) argument
8008 iwn5000_load_firmware(struct iwn_softc *sc) argument
8045 iwn_read_firmware_leg(struct iwn_softc *sc, struct iwn_fw_info *fw) argument
8099 iwn_read_firmware_tlv(struct iwn_softc *sc, struct iwn_fw_info *fw, uint16_t alt) argument
8224 iwn_read_firmware(struct iwn_softc *sc) argument
8289 iwn_unload_firmware(struct iwn_softc *sc) argument
8296 iwn_clock_wait(struct iwn_softc *sc) argument
8315 iwn_apm_init(struct iwn_softc *sc) argument
8369 iwn_apm_stop_master(struct iwn_softc *sc) argument
8384 iwn_apm_stop(struct iwn_softc *sc) argument
8396 iwn4965_nic_config(struct iwn_softc *sc) argument
8417 iwn5000_nic_config(struct iwn_softc *sc) argument
8468 iwn_hw_prepare(struct iwn_softc *sc) argument
8506 iwn_hw_init(struct iwn_softc *sc) argument
8619 iwn_hw_stop(struct iwn_softc *sc) argument
8673 struct iwn_softc *sc = arg0; local
8688 struct iwn_softc *sc = arg0; local
8708 struct iwn_softc *sc = arg0; local
8753 iwn_init_locked(struct iwn_softc *sc) argument
8822 iwn_init(struct iwn_softc *sc) argument
8834 iwn_stop_locked(struct iwn_softc *sc) argument
8851 iwn_stop(struct iwn_softc *sc) argument
8864 struct iwn_softc *sc = ic->ic_softc; local
8878 struct iwn_softc *sc = ic->ic_softc; local
8895 struct iwn_softc *sc = ic->ic_softc; local
8922 struct iwn_softc *sc = ic->ic_softc; local
8983 iwn_debug_register(struct iwn_softc *sc) argument
[all...]
/freebsd-11-stable/sys/arm/at91/
H A Dat91_pio.c77 RD4(struct at91_pio_softc *sc, bus_size_t off) argument
80 return (bus_read_4(sc->mem_res, off));
84 WR4(struct at91_pio_softc *sc, bus_size_t off, uint32_t val) argument
87 bus_write_4(sc->mem_res, off, val);
167 struct at91_pio_softc *sc; local
170 sc = device_get_softc(dev);
171 sc->dev = dev;
178 RD4(sc, PIO_ABSR), RD4(sc, PIO_OSR), RD4(sc, PIO_PS
215 struct at91_pio_softc *sc; local
238 struct at91_pio_softc *sc; local
258 struct at91_pio_softc *sc = xsc; local
280 struct at91_pio_softc *sc; local
294 struct at91_pio_softc *sc; local
306 struct at91_pio_softc *sc; local
325 struct at91_pio_softc *sc; local
361 at91_pio_bang32(struct at91_pio_softc *sc, uint32_t bits, uint32_t datapin, uint32_t clockpin) argument
378 at91_pio_bang(struct at91_pio_softc *sc, uint8_t bits, uint32_t bitcount, uint32_t datapin, uint32_t clockpin) argument
398 struct at91_pio_softc *sc; local
[all...]
H A Dat91_twi.c76 RD4(struct at91_twi_softc *sc, bus_size_t off) argument
79 return bus_read_4(sc->mem_res, off);
83 WR4(struct at91_twi_softc *sc, bus_size_t off, uint32_t val) argument
86 bus_write_4(sc->mem_res, off, val);
127 struct at91_twi_softc *sc = device_get_softc(dev); local
130 sc->dev = dev;
135 AT91_TWI_LOCK_INIT(sc);
149 err = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
150 NULL, at91_twi_intr, sc, &sc
175 struct at91_twi_softc *sc; local
191 struct at91_twi_softc *sc; local
214 struct at91_twi_softc *sc; local
235 struct at91_twi_softc *sc = xsc; local
256 at91_twi_wait(struct at91_twi_softc *sc, uint32_t bit) argument
276 struct at91_twi_softc *sc; local
335 struct at91_twi_softc *sc; local
[all...]
/freebsd-11-stable/sys/geom/journal/
H A Dg_journal.c228 static int g_journal_destroy(struct g_journal_softc *sc);
229 static void g_journal_metadata_update(struct g_journal_softc *sc);
232 static void g_journal_switch_wait(struct g_journal_softc *sc);
335 g_journal_check_overflow(struct g_journal_softc *sc) argument
339 if ((sc->sc_active.jj_offset < sc->sc_inactive.jj_offset &&
340 sc->sc_journal_offset >= sc->sc_inactive.jj_offset) ||
341 (sc->sc_active.jj_offset > sc
391 struct g_journal_softc *sc; local
414 struct g_journal_softc *sc; local
474 g_journal_flush_cache(struct g_journal_softc *sc) argument
500 g_journal_write_header(struct g_journal_softc *sc) argument
662 g_journal_metadata_update(struct g_journal_softc *sc) argument
725 struct g_journal_softc *sc; local
756 struct g_journal_softc *sc; local
1087 g_journal_read_first(struct g_journal_softc *sc, struct bio *bp) argument
1109 g_journal_copy_send(struct g_journal_softc *sc) argument
1142 g_journal_copy_start(struct g_journal_softc *sc) argument
1164 struct g_journal_softc *sc; local
1200 struct g_journal_softc *sc; local
1232 g_journal_flush(struct g_journal_softc *sc) argument
1348 struct g_journal_softc *sc; local
1370 g_journal_flush_send(struct g_journal_softc *sc) argument
1405 g_journal_add_current(struct g_journal_softc *sc, struct bio *bp) argument
1429 g_journal_release_delayed(struct g_journal_softc *sc) argument
1450 g_journal_add_request(struct g_journal_softc *sc, struct bio *bp) argument
1526 g_journal_read(struct g_journal_softc *sc, struct bio *pbp, off_t ostart, off_t oend) argument
1649 g_journal_switch(struct g_journal_softc *sc) argument
1694 g_journal_initialize(struct g_journal_softc *sc) argument
1707 g_journal_mark_as_dirty(struct g_journal_softc *sc) argument
1753 g_journal_sync(struct g_journal_softc *sc) argument
1948 g_journal_wait(struct g_journal_softc *sc, time_t last_write) argument
2007 struct g_journal_softc *sc; local
2173 struct g_journal_softc *sc; local
2183 struct g_journal_softc *sc; local
2195 struct g_journal_softc *sc; local
2375 g_journal_destroy(struct g_journal_softc *sc) argument
2500 struct g_journal_softc *sc; local
2526 struct g_journal_softc *sc; local
2610 struct g_journal_softc *sc; local
2674 struct g_journal_softc *sc; local
2770 g_journal_switch_wait(struct g_journal_softc *sc) argument
2810 struct g_journal_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/acpi_support/
H A Dacpi_hp.c284 static void acpi_hp_evaluate_auto_on_off(struct acpi_hp_softc* sc);
286 static int acpi_hp_sysctl_set(struct acpi_hp_softc *sc, int method,
288 static int acpi_hp_sysctl_get(struct acpi_hp_softc *sc, int method);
333 acpi_hp_evaluate_auto_on_off(struct acpi_hp_softc *sc) argument
340 wireless = acpi_hp_exec_wmi_command(sc->wmi_dev,
346 if (sc->verbose)
347 device_printf(sc->wmi_dev, "Wireless status is %x\n", wireless);
348 if (sc->wlan_disable_if_radio_off && !(wireless & HP_MASK_WLAN_RADIO)
350 acpi_hp_exec_wmi_command(sc->wmi_dev,
354 else if (sc
459 struct acpi_hp_softc *sc; local
573 struct acpi_hp_softc *sc; local
598 struct acpi_hp_softc *sc; local
624 acpi_hp_sysctl_get(struct acpi_hp_softc *sc, int method) argument
723 acpi_hp_sysctl_set(struct acpi_hp_softc *sc, int method, int arg, int oldarg) argument
803 struct acpi_hp_softc *sc = device_get_softc(dev); local
1066 struct acpi_hp_softc *sc; local
1098 struct acpi_hp_softc *sc; local
1128 struct acpi_hp_softc *sc; local
[all...]
/freebsd-11-stable/sys/arm/nvidia/
H A Dtegra_i2c.c200 mtx_sleep(sc, &sc->mtx, 0, "i2cbuswait", timeout);
239 tegra_i2c_flush_fifo(struct tegra_i2c_softc *sc) argument
244 reg = RD4(sc, I2C_FIFO_CONTROL);
246 WR4(sc, I2C_FIFO_CONTROL, reg);
250 reg = RD4(sc, I2C_FIFO_CONTROL);
258 device_printf(sc->dev, "FIFO flush timedout\n");
265 tegra_i2c_setup_clk(struct tegra_i2c_softc *sc, int clk_freq) argument
269 div = ((sc->core_freq / clk_freq) / 10) - 1;
270 if ((sc
280 tegra_i2c_bus_clear(struct tegra_i2c_softc *sc) argument
317 tegra_i2c_hw_init(struct tegra_i2c_softc *sc) argument
358 tegra_i2c_tx(struct tegra_i2c_softc *sc) argument
384 tegra_i2c_rx(struct tegra_i2c_softc *sc) argument
412 struct tegra_i2c_softc *sc; local
476 tegra_i2c_start_msg(struct tegra_i2c_softc *sc, struct iic_msg *msg, enum tegra_i2c_xfer_type xtype) argument
517 tegra_i2c_poll(struct tegra_i2c_softc *sc) argument
538 struct tegra_i2c_softc *sc; local
610 struct tegra_i2c_softc *sc; local
639 struct tegra_i2c_softc *sc; local
746 struct tegra_i2c_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/pci/
H A Dpci_pci.c148 pcib_is_resource_managed(struct pcib_softc *sc, int type, struct resource *r) argument
154 return (rman_is_region_manager(r, &sc->bus.rman));
157 return (rman_is_region_manager(r, &sc->io.rman));
161 rman_is_region_manager(r, &sc->pmem.rman))
163 return (rman_is_region_manager(r, &sc->mem.rman));
182 pcib_activate_window(struct pcib_softc *sc, int type) argument
185 PCI_ENABLE_IO(device_get_parent(sc->dev), sc->dev, type);
189 pcib_write_windows(struct pcib_softc *sc, int mask) argument
194 dev = sc
230 pcib_is_isa_range(struct pcib_softc *sc, rman_res_t start, rman_res_t end, rman_res_t count) argument
338 struct pcib_softc *sc; member in struct:alloc_state
367 pcib_alloc_nonisa_ranges(struct pcib_softc *sc, rman_res_t start, rman_res_t end) argument
399 pcib_alloc_window(struct pcib_softc *sc, struct pcib_window *w, int type, int flags, pci_addr_t max_address) argument
452 pcib_probe_windows(struct pcib_softc *sc) argument
553 pcib_release_window(struct pcib_softc *sc, struct pcib_window *w, int type) argument
580 pcib_free_windows(struct pcib_softc *sc) argument
783 pcib_is_prefetch_open(struct pcib_softc *sc) argument
792 pcib_is_nonprefetch_open(struct pcib_softc *sc) argument
801 pcib_is_io_open(struct pcib_softc *sc) argument
810 pcib_get_io_decode(struct pcib_softc *sc) argument
836 pcib_get_mem_decode(struct pcib_softc *sc) argument
867 pcib_set_io_decode(struct pcib_softc *sc) argument
889 pcib_set_mem_decode(struct pcib_softc *sc) argument
921 pcib_probe_hotplug(struct pcib_softc *sc) argument
975 pcib_pcie_hotplug_command(struct pcib_softc *sc, uint16_t val, uint16_t mask) argument
1002 pcib_pcie_hotplug_command_completed(struct pcib_softc *sc) argument
1023 pcib_hotplug_inserted(struct pcib_softc *sc) argument
1051 pcib_hotplug_present(struct pcib_softc *sc) argument
1074 pcib_pcie_hotplug_update(struct pcib_softc *sc, uint16_t val, uint16_t mask, bool schedule_task) argument
1153 struct pcib_softc *sc; local
1208 struct pcib_softc *sc; local
1231 struct pcib_softc *sc; local
1247 struct pcib_softc *sc; local
1268 struct pcib_softc *sc; local
1289 pcib_alloc_pcie_irq(struct pcib_softc *sc) argument
1342 pcib_release_pcie_irq(struct pcib_softc *sc) argument
1358 pcib_setup_hotplug(struct pcib_softc *sc) argument
1403 pcib_detach_hotplug(struct pcib_softc *sc) argument
1450 pcib_cfg_save(struct pcib_softc *sc) argument
1470 pcib_cfg_restore(struct pcib_softc *sc) argument
1506 struct pcib_softc *sc; local
1690 pcib_present(struct pcib_softc *sc) argument
1702 struct pcib_softc *sc; local
1733 struct pcib_softc *sc; local
1797 struct pcib_softc *sc = device_get_softc(dev); local
1812 struct pcib_softc *sc = device_get_softc(dev); local
1844 pcib_suballoc_resource(struct pcib_softc *sc, struct pcib_window *w, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument
1882 pcib_alloc_new_window(struct pcib_softc *sc, struct pcib_window *w, int type, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument
1955 pcib_expand_window(struct pcib_softc *sc, struct pcib_window *w, int type, rman_res_t base, rman_res_t limit) argument
2053 pcib_grow_window(struct pcib_softc *sc, struct pcib_window *w, int type, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument
2223 struct pcib_softc *sc; local
2312 struct pcib_softc *sc; local
2324 struct pcib_softc *sc; local
2347 struct pcib_softc *sc = device_get_softc(dev); local
2504 struct pcib_softc *sc; local
2520 pcib_enable_ari(struct pcib_softc *sc, uint32_t pcie_pos) argument
2543 struct pcib_softc *sc; local
2556 struct pcib_softc *sc; local
2570 struct pcib_softc *sc; local
2591 struct pcib_softc *sc; local
2614 struct pcib_softc *sc; local
2665 struct pcib_softc *sc = device_get_softc(pcib); local
2689 struct pcib_softc *sc = device_get_softc(pcib); local
2738 struct pcib_softc *sc; local
2749 struct pcib_softc *sc; local
2783 struct pcib_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/nfe/
H A Dif_nfe.c136 #define DPRINTF(sc, ...) do { \
138 device_printf((sc)->nfe_dev, __VA_ARGS__); \
140 #define DPRINTFN(sc, n, ...) do { \
142 device_printf((sc)->nfe_dev, __VA_ARGS__); \
145 #define DPRINTF(sc, ...)
146 #define DPRINTFN(sc, n, ...)
295 nfe_alloc_msix(struct nfe_softc *sc, int count) argument
300 sc->nfe_msix_res = bus_alloc_resource_any(sc->nfe_dev, SYS_RES_MEMORY,
302 if (sc
342 nfe_detect_msik9(struct nfe_softc *sc) argument
368 struct nfe_softc *sc; local
695 struct nfe_softc *sc; local
793 struct nfe_softc *sc; local
810 struct nfe_softc *sc; local
828 nfe_can_use_msix(struct nfe_softc *sc) argument
871 nfe_power(struct nfe_softc *sc) argument
896 struct nfe_softc *sc; local
936 nfe_mac_config(struct nfe_softc *sc, struct mii_data *mii) argument
1031 struct nfe_softc *sc = device_get_softc(dev); local
1072 struct nfe_softc *sc = device_get_softc(dev); local
1104 nfe_alloc_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) argument
1202 nfe_alloc_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) argument
1322 nfe_init_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) argument
1350 nfe_init_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) argument
1378 nfe_free_rx_ring(struct nfe_softc *sc, struct nfe_rx_ring *ring) argument
1425 nfe_free_jrx_ring(struct nfe_softc *sc, struct nfe_jrx_ring *ring) argument
1479 nfe_alloc_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) argument
1564 nfe_init_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) argument
1587 nfe_free_tx_ring(struct nfe_softc *sc, struct nfe_tx_ring *ring) argument
1642 struct nfe_softc *sc = if_getsoftc(ifp); local
1680 nfe_set_intr(struct nfe_softc *sc) argument
1690 nfe_enable_intr(struct nfe_softc *sc) argument
1703 nfe_disable_intr(struct nfe_softc *sc) argument
1718 struct nfe_softc *sc; local
1870 struct nfe_softc *sc; local
1888 struct nfe_softc *sc = arg; local
1948 nfe_discard_rxbuf(struct nfe_softc *sc, int idx) argument
1974 nfe_discard_jrxbuf(struct nfe_softc *sc, int idx) argument
2000 nfe_newbuf(struct nfe_softc *sc, int idx) argument
2056 nfe_jnewbuf(struct nfe_softc *sc, int idx) argument
2111 nfe_rxeof(struct nfe_softc *sc, int count, int *rx_npktsp) argument
2226 nfe_jrxeof(struct nfe_softc *sc, int count, int *rx_npktsp) argument
2342 nfe_txeof(struct nfe_softc *sc) argument
2414 nfe_encap(struct nfe_softc *sc, struct mbuf **m_head) argument
2562 nfe_setmulti(struct nfe_softc *sc) argument
2641 struct nfe_softc *sc = if_getsoftc(ifp); local
2651 struct nfe_softc *sc = if_getsoftc(ifp); local
2696 struct nfe_softc *sc = if_getsoftc(ifp); local
2733 struct nfe_softc *sc = xsc; local
2744 struct nfe_softc *sc = xsc; local
2895 struct nfe_softc *sc = if_getsoftc(ifp); local
2970 struct nfe_softc *sc = if_getsoftc(ifp); local
2985 struct nfe_softc *sc; local
3003 struct nfe_softc *sc; local
3030 nfe_get_macaddr(struct nfe_softc *sc, uint8_t *addr) argument
3059 nfe_set_macaddr(struct nfe_softc *sc, uint8_t *addr) argument
3121 nfe_sysctl_node(struct nfe_softc *sc) argument
3240 nfe_stats_clear(struct nfe_softc *sc) argument
3262 nfe_stats_update(struct nfe_softc *sc) argument
3312 nfe_set_linkspeed(struct nfe_softc *sc) argument
3382 nfe_set_wol(struct nfe_softc *sc) argument
[all...]
/freebsd-11-stable/sys/dev/usb/input/
H A Dukbd.c351 ukbd_any_key_pressed(struct ukbd_softc *sc) argument
357 ret |= (sc->sc_odata.bitmap[i] != 0);
362 ukbd_any_key_valid(struct ukbd_softc *sc) argument
368 ret |= (sc->sc_loc_key_valid[i] != 0);
380 ukbd_start_timer(struct ukbd_softc *sc) argument
387 if (sc->sc_delay == 0)
388 sc->sc_delay = sc->sc_kbd.kb_delay2;
391 delay = SBT_1MS * sc->sc_delay;
392 sc
405 ukbd_put_key(struct ukbd_softc *sc, uint32_t key) argument
434 ukbd_do_poll(struct ukbd_softc *sc, uint8_t wait) argument
483 ukbd_get_key(struct ukbd_softc *sc, uint8_t wait) argument
516 ukbd_interrupt(struct ukbd_softc *sc) argument
590 ukbd_event_keyinput(struct ukbd_softc *sc) argument
618 struct ukbd_softc *sc = arg; local
662 struct ukbd_softc *sc = usbd_xfer_softc(xfer); local
802 struct ukbd_softc *sc = usbd_xfer_softc(xfer); local
1000 ukbd_parse_hid(struct ukbd_softc *sc, const uint8_t *ptr, uint32_t len) argument
1094 struct ukbd_softc *sc = device_get_softc(dev); local
1285 struct ukbd_softc *sc = device_get_softc(dev); local
1349 struct ukbd_softc *sc = device_get_softc(dev); local
1439 struct ukbd_softc *sc = kbd->kb_data; local
1464 struct ukbd_softc *sc = kbd->kb_data; local
1495 struct ukbd_softc *sc = kbd->kb_data; local
1544 struct ukbd_softc *sc = kbd->kb_data; local
1737 struct ukbd_softc *sc = kbd->kb_data; local
1916 struct ukbd_softc *sc = kbd->kb_data; local
1951 struct ukbd_softc *sc = kbd->kb_data; local
1978 ukbd_set_leds(struct ukbd_softc *sc, uint8_t leds) argument
1996 struct ukbd_softc *sc = kbd->kb_data; local
2045 ukbd_key2scan(struct ukbd_softc *sc, int code, const uint64_t *bitmap, int up) argument
[all...]
/freebsd-11-stable/sys/dev/bxe/
H A Decore_init_ops.h42 static int ecore_gunzip(struct bxe_softc *sc, const uint8_t *zbuf, int len);
43 static void ecore_reg_wr_ind(struct bxe_softc *sc, uint32_t addr, uint32_t val);
44 static void ecore_write_dmae_phys_len(struct bxe_softc *sc,
48 static void ecore_init_str_wr(struct bxe_softc *sc, uint32_t addr, argument
54 REG_WR(sc, addr + i*4, data[i]);
57 static void ecore_init_ind_wr(struct bxe_softc *sc, uint32_t addr, argument
63 ecore_reg_wr_ind(sc, addr + i*4, data[i]);
66 static void ecore_write_big_buf(struct bxe_softc *sc, uint32_t addr, uint32_t len, argument
69 if (DMAE_READY(sc))
70 ecore_write_dmae_phys_len(sc, GUNZIP_PHY
81 ecore_init_fill(struct bxe_softc *sc, uint32_t addr, int fill, uint32_t len, uint8_t wb) argument
97 ecore_write_big_buf_wb(struct bxe_softc *sc, uint32_t addr, uint32_t len) argument
111 ecore_init_wr_64(struct bxe_softc *sc, uint32_t addr, const uint32_t *data, uint32_t len64) argument
150 ecore_sel_blob(struct bxe_softc *sc, uint32_t addr, const uint8_t *data) argument
180 ecore_init_wr_wb(struct bxe_softc *sc, uint32_t addr, const uint32_t *data, uint32_t len) argument
196 ecore_init_fw(struct bxe_softc *sc, uint32_t addr, uint32_t len) argument
216 ecore_wr_64(struct bxe_softc *sc, uint32_t reg, uint32_t val_lo, uint32_t val_hi) argument
226 ecore_init_wr_zp(struct bxe_softc *sc, uint32_t addr, uint32_t len, uint32_t blob_off) argument
248 ecore_init_block(struct bxe_softc *sc, uint32_t block, uint32_t stage) argument
504 ecore_init_pxp_arb(struct bxe_softc *sc, int r_order, int w_order) argument
647 ecore_ilt_line_mem_op(struct bxe_softc *sc, struct ilt_line *line, uint32_t size, uint8_t memop) argument
662 ecore_ilt_client_mem_op(struct bxe_softc *sc, int cli_num, uint8_t memop) argument
682 ecore_ilt_mem_op_cnic(struct bxe_softc *sc, uint8_t memop) argument
694 ecore_ilt_mem_op(struct bxe_softc *sc, uint8_t memop) argument
705 ecore_ilt_line_wr(struct bxe_softc *sc, int abs_idx, ecore_dma_addr_t page_mapping) argument
718 ecore_ilt_line_init_op(struct bxe_softc *sc, struct ecore_ilt *ilt, int idx, uint8_t initop) argument
738 ecore_ilt_boundry_init_op(struct bxe_softc *sc, struct ilt_client_info *ilt_cli, uint32_t ilt_start, uint8_t initop) argument
791 ecore_ilt_client_init_op_ilt(struct bxe_softc *sc, struct ecore_ilt *ilt, struct ilt_client_info *ilt_cli, uint8_t initop) argument
808 ecore_ilt_client_init_op(struct bxe_softc *sc, struct ilt_client_info *ilt_cli, uint8_t initop) argument
816 ecore_ilt_client_id_init_op(struct bxe_softc *sc, int cli_num, uint8_t initop) argument
825 ecore_ilt_init_op_cnic(struct bxe_softc *sc, uint8_t initop) argument
832 ecore_ilt_init_op(struct bxe_softc *sc, uint8_t initop) argument
840 ecore_ilt_init_client_psz(struct bxe_softc *sc, int cli_num, uint32_t psz_reg, uint8_t initop) argument
864 ecore_ilt_init_page_size(struct bxe_softc *sc, uint8_t initop) argument
884 ecore_qm_init_cid_count(struct bxe_softc *sc, int qm_cid_count, uint8_t initop) argument
903 ecore_qm_set_ptr_table(struct bxe_softc *sc, int qm_cid_count, uint32_t base_reg, uint32_t reg) argument
917 ecore_qm_init_ptr_table(struct bxe_softc *sc, int qm_cid_count, uint8_t initop) argument
944 ecore_src_init_t2(struct bxe_softc *sc, struct src_ent *t2, ecore_dma_addr_t t2_mapping, int src_cid_count) argument
[all...]
/freebsd-11-stable/sys/dev/altera/pio/
H A Dpio.c84 struct pio_softc *sc; local
86 sc = device_get_softc(dev);
89 if (bus_setup_intr(sc->dev, sc->res[1], INTR_TYPE_BIO | INTR_MPSAFE,
90 NULL, intr_handler, ih_user, &sc->ih)) {
91 device_printf(sc->dev, "Unable to setup intr\n");
101 struct pio_softc *sc; local
103 sc = device_get_softc(dev);
105 bus_teardown_intr(sc->dev, sc
113 struct pio_softc *sc; local
123 struct pio_softc *sc; local
138 struct pio_softc *sc; local
165 struct pio_softc *sc; local
[all...]
/freebsd-11-stable/sys/dev/terasic/mtl/
H A Dterasic_mtl_text.c70 struct terasic_mtl_softc *sc; local
78 sc = dev->si_drv1;
79 size = rman_get_size(sc->mtl_text_res);
88 v = bus_read_2(sc->mtl_text_res, offset);
99 struct terasic_mtl_softc *sc; local
107 sc = dev->si_drv1;
108 size = rman_get_size(sc->mtl_text_res);
117 bus_write_2(sc->mtl_text_res, offset, v);
126 struct terasic_mtl_softc *sc; local
129 sc
141 terasic_mtl_text_putc(struct terasic_mtl_softc *sc, u_int x, u_int y, uint8_t c, uint8_t a) argument
158 terasic_mtl_text_attach(struct terasic_mtl_softc *sc) argument
186 terasic_mtl_text_detach(struct terasic_mtl_softc *sc) argument
[all...]
/freebsd-11-stable/sys/dev/flash/
H A Dmx25l.c153 mx25l_wait_for_device_ready(struct mx25l_softc *sc) argument
167 err = SPIBUS_TRANSFER(sc->sc_parent, sc->sc_dev, &cmd);
174 mx25l_get_device_ident(struct mx25l_softc *sc) argument
195 err = SPIBUS_TRANSFER(sc->sc_parent, sc->sc_dev, &cmd);
208 device_printf(sc->sc_dev,
215 mx25l_set_writable(struct mx25l_softc *sc, int writable) argument
230 err = SPIBUS_TRANSFER(sc->sc_parent, sc
235 mx25l_erase_cmd(struct mx25l_softc *sc, off_t sector) argument
279 mx25l_write(struct mx25l_softc *sc, off_t offset, caddr_t data, off_t count) argument
358 mx25l_read(struct mx25l_softc *sc, off_t offset, caddr_t data, off_t count) argument
407 mx25l_set_4b_mode(struct mx25l_softc *sc, uint8_t command) argument
470 struct mx25l_softc *sc; local
540 struct mx25l_softc *sc; local
593 struct mx25l_softc *sc; local
605 struct mx25l_softc *sc; local
626 struct mx25l_softc *sc = (struct mx25l_softc*)arg; local
[all...]
/freebsd-11-stable/sys/dev/virtio/block/
H A Dvirtio_blk.c187 static int vtblk_write_cache_enabled(struct vtblk_softc *sc,
298 struct vtblk_softc *sc; local
304 sc = device_get_softc(dev);
305 sc->vtblk_dev = dev;
306 VTBLK_LOCK_INIT(sc, device_get_nameunit(dev));
307 bioq_init(&sc->vtblk_bioq);
308 TAILQ_INIT(&sc->vtblk_dump_queue);
309 TAILQ_INIT(&sc->vtblk_req_free);
310 TAILQ_INIT(&sc->vtblk_req_ready);
312 vtblk_setup_sysctl(sc);
381 struct vtblk_softc *sc; local
411 struct vtblk_softc *sc; local
430 struct vtblk_softc *sc; local
453 struct vtblk_softc *sc; local
473 struct vtblk_softc *sc; local
484 struct vtblk_softc *sc; local
496 struct vtblk_softc *sc; local
509 struct vtblk_softc *sc; local
535 struct vtblk_softc *sc; local
567 vtblk_negotiate_features(struct vtblk_softc *sc) argument
579 vtblk_setup_features(struct vtblk_softc *sc) argument
598 vtblk_maximum_segments(struct vtblk_softc *sc, struct virtio_blk_config *blkcfg) argument
618 vtblk_alloc_virtqueue(struct vtblk_softc *sc) argument
633 vtblk_resize_disk(struct vtblk_softc *sc, uint64_t new_capacity) argument
658 vtblk_alloc_disk(struct vtblk_softc *sc, struct virtio_blk_config *blkcfg) argument
730 vtblk_create_disk(struct vtblk_softc *sc) argument
747 vtblk_request_prealloc(struct vtblk_softc *sc) argument
778 vtblk_request_free(struct vtblk_softc *sc) argument
794 vtblk_request_dequeue(struct vtblk_softc *sc) argument
808 vtblk_request_enqueue(struct vtblk_softc *sc, struct vtblk_request *req) argument
815 vtblk_request_next_ready(struct vtblk_softc *sc) argument
827 vtblk_request_requeue_ready(struct vtblk_softc *sc, struct vtblk_request *req) argument
835 vtblk_request_next(struct vtblk_softc *sc) argument
847 vtblk_request_bio(struct vtblk_softc *sc) argument
890 vtblk_request_execute(struct vtblk_softc *sc, struct vtblk_request *req) argument
966 vtblk_queue_completed(struct vtblk_softc *sc, struct bio_queue *queue) argument
986 vtblk_done_completed(struct vtblk_softc *sc, struct bio_queue *queue) argument
998 vtblk_drain_vq(struct vtblk_softc *sc) argument
1017 vtblk_drain(struct vtblk_softc *sc) argument
1048 vtblk_startio(struct vtblk_softc *sc) argument
1079 vtblk_bio_done(struct vtblk_softc *sc, struct bio *bp, int error) argument
1103 vtblk_read_config(struct vtblk_softc *sc, struct virtio_blk_config *blkcfg) argument
1127 vtblk_ident(struct vtblk_softc *sc) argument
1169 vtblk_poll_request(struct vtblk_softc *sc, struct vtblk_request *req) argument
1196 vtblk_quiesce(struct vtblk_softc *sc) argument
1217 struct vtblk_softc *sc; local
1248 vtblk_stop(struct vtblk_softc *sc) argument
1256 vtblk_dump_quiesce(struct vtblk_softc *sc) argument
1269 vtblk_dump_write(struct vtblk_softc *sc, void *virtual, off_t offset, size_t length) argument
1292 vtblk_dump_flush(struct vtblk_softc *sc) argument
1312 vtblk_dump_complete(struct vtblk_softc *sc) argument
1323 vtblk_set_write_cache(struct vtblk_softc *sc, int wc) argument
1332 vtblk_write_cache_enabled(struct vtblk_softc *sc, struct virtio_blk_config *blkcfg) argument
1353 struct vtblk_softc *sc; local
1376 vtblk_setup_sysctl(struct vtblk_softc *sc) argument
1394 vtblk_tunable_int(struct vtblk_softc *sc, const char *knob, int def) argument
[all...]
/freebsd-11-stable/sys/dev/bhnd/cores/pci/
H A Dbhnd_pci.c57 static int bhnd_pcie_mdio_wait_idle(struct bhnd_pci_softc *sc);
58 static int bhnd_pcie_mdio_ioctl(struct bhnd_pci_softc *sc, uint32_t cmd);
59 static int bhnd_pcie_mdio_enable(struct bhnd_pci_softc *sc);
60 static void bhnd_pcie_mdio_disable(struct bhnd_pci_softc *sc);
61 static int bhnd_pcie_mdio_cmd_write(struct bhnd_pci_softc *sc,
63 static int bhnd_pcie_mdio_cmd_read(struct bhnd_pci_softc *sc, uint32_t cmd,
107 #define BHND_PCIE_ASSERT(sc) \
108 KASSERT(bhnd_get_class(sc->dev) == BHND_DEVCLASS_PCIE, \
128 struct bhnd_pci_softc *sc; local
131 sc
160 struct bhnd_pci_softc *sc; local
245 bhnd_pcie_read_proto_reg(struct bhnd_pci_softc *sc, uint32_t addr) argument
267 bhnd_pcie_write_proto_reg(struct bhnd_pci_softc *sc, uint32_t addr, uint32_t val) argument
280 bhnd_pcie_mdio_wait_idle(struct bhnd_pci_softc *sc) argument
301 bhnd_pcie_mdio_ioctl(struct bhnd_pci_softc *sc, uint32_t cmd) argument
314 bhnd_pcie_mdio_enable(struct bhnd_pci_softc *sc) argument
329 bhnd_pcie_mdio_disable(struct bhnd_pci_softc *sc) argument
340 bhnd_pcie_mdio_cmd_write(struct bhnd_pci_softc *sc, uint32_t cmd) argument
362 bhnd_pcie_mdio_cmd_read(struct bhnd_pci_softc *sc, uint32_t cmd, uint16_t *data_read) argument
383 bhnd_pcie_mdio_read(struct bhnd_pci_softc *sc, int phy, int reg) argument
408 bhnd_pcie_mdio_write(struct bhnd_pci_softc *sc, int phy, int reg, int val) argument
429 bhnd_pcie_mdio_read_ext(struct bhnd_pci_softc *sc, int phy, int devaddr, int reg) argument
471 bhnd_pcie_mdio_write_ext(struct bhnd_pci_softc *sc, int phy, int devaddr, int reg, int val) argument
[all...]
/freebsd-11-stable/sys/dev/usb/serial/
H A Ducycom.c214 struct ucycom_softc *sc = device_get_softc(dev); local
220 sc->sc_udev = uaa->device;
223 mtx_init(&sc->sc_mtx, "ucycom", NULL, MTX_DEF);
224 ucom_ref(&sc->sc_super_ucom);
229 sc->sc_model = USB_GET_DRIVER_INFO(uaa);
230 if (sc->sc_model == 0) {
234 device_printf(dev, "Cypress CY7C%X USB to RS232 bridge\n", sc->sc_model);
250 sc->sc_flen = hid_report_size(urd_ptr, urd_len, hid_feature, &sc->sc_fid);
251 sc
297 struct ucycom_softc *sc = device_get_softc(dev); local
312 ucycom_free_softc(struct ucycom_softc *sc) argument
329 struct ucycom_softc *sc = ucom->sc_parent; local
338 struct ucycom_softc *sc = ucom->sc_parent; local
346 struct ucycom_softc *sc = ucom->sc_parent; local
354 struct ucycom_softc *sc = ucom->sc_parent; local
362 struct ucycom_softc *sc = ucom->sc_parent; local
370 struct ucycom_softc *sc = usbd_xfer_softc(xfer); local
440 ucycom_cfg_write(struct ucycom_softc *sc, uint32_t baud, uint8_t cfg) argument
504 struct ucycom_softc *sc = ucom->sc_parent; local
539 struct ucycom_softc *sc = usbd_xfer_softc(xfer); local
610 struct ucycom_softc *sc = ucom->sc_parent; local
[all...]

Completed in 330 milliseconds

<<21222324252627282930>>