Searched refs:sc (Results 51 - 75 of 2442) sorted by relevance

1234567891011>>

/freebsd-current/sys/dev/iavf/
H A Diavf_vc_common.h44 int iavf_send_pf_msg(struct iavf_sc *sc,
47 int iavf_send_api_ver(struct iavf_sc *sc);
48 int iavf_enable_queues(struct iavf_sc *sc);
49 int iavf_disable_queues(struct iavf_sc *sc);
50 int iavf_add_vlans(struct iavf_sc *sc);
51 int iavf_send_vf_config_msg(struct iavf_sc *sc);
52 int iavf_get_vf_config(struct iavf_sc *sc);
53 int iavf_del_vlans(struct iavf_sc *sc);
54 int iavf_add_ether_filters(struct iavf_sc *sc);
55 int iavf_del_ether_filters(struct iavf_sc *sc);
[all...]
/freebsd-current/sys/dev/ipmi/
H A Dipmi_smic.c55 smic_wait_for_tx_okay(struct ipmi_softc *sc) argument
60 flags = INB(sc, SMIC_FLAGS);
65 smic_wait_for_rx_okay(struct ipmi_softc *sc) argument
70 flags = INB(sc, SMIC_FLAGS);
75 smic_wait_for_not_busy(struct ipmi_softc *sc) argument
80 flags = INB(sc, SMIC_FLAGS);
85 smic_set_busy(struct ipmi_softc *sc) argument
89 flags = INB(sc, SMIC_FLAGS);
92 OUTB(sc, SMIC_FLAGS, flags);
100 smic_start_write(struct ipmi_softc *sc, u_cha argument
125 smic_write_next(struct ipmi_softc *sc, u_char data) argument
149 smic_write_last(struct ipmi_softc *sc, u_char data) argument
172 smic_start_read(struct ipmi_softc *sc, u_char *data) argument
198 smic_read_byte(struct ipmi_softc *sc, u_char *data) argument
223 smic_read_end(struct ipmi_softc *sc) argument
241 smic_polled_request(struct ipmi_softc *sc, struct ipmi_request *req) argument
358 struct ipmi_softc *sc = arg; local
383 smic_startup(struct ipmi_softc *sc) argument
391 smic_driver_request(struct ipmi_softc *sc, struct ipmi_request *req, int timo) argument
409 ipmi_smic_attach(struct ipmi_softc *sc) argument
[all...]
/freebsd-current/sys/dev/ichiic/
H A Dig4_iic.c75 #define DO_POLL(sc) (cold || kdb_active || SCHEDULER_STOPPED() || sc->poll)
137 static int ig4iic_set_config(ig4iic_softc_t *sc, bool reset);
139 static void ig4iic_dump(ig4iic_softc_t *sc);
160 reg_write(ig4iic_softc_t *sc, uint32_t reg, uint32_t value) argument
162 bus_write_4(sc->regs_res, reg, value);
163 bus_barrier(sc->regs_res, reg, 4, BUS_SPACE_BARRIER_WRITE);
167 reg_read(ig4iic_softc_t *sc, uint32_t reg) argument
171 bus_barrier(sc->regs_res, reg, 4, BUS_SPACE_BARRIER_READ);
172 value = bus_read_4(sc
177 ig4iic_set_intr_mask(ig4iic_softc_t *sc, uint32_t val) argument
186 intrstat2iic(ig4iic_softc_t *sc, uint32_t val) argument
239 set_controller(ig4iic_softc_t *sc, uint32_t ctl) argument
271 wait_intr(ig4iic_softc_t *sc, uint32_t intr) argument
337 set_slave_addr(ig4iic_softc_t *sc, uint8_t slave) argument
377 ig4iic_xfer_start(ig4iic_softc_t *sc, uint16_t slave, bool repeated_start) argument
393 ig4iic_xfer_is_started(ig4iic_softc_t *sc) argument
404 ig4iic_xfer_abort(ig4iic_softc_t *sc) argument
428 ig4iic_read(ig4iic_softc_t *sc, uint8_t *buf, uint16_t len, bool repeated_start, bool stop) argument
491 ig4iic_write(ig4iic_softc_t *sc, uint8_t *buf, uint16_t len, bool repeated_start, bool stop) argument
533 ig4iic_softc_t *sc = device_get_softc(dev); local
690 ig4iic_softc_t *sc = device_get_softc(dev); local
712 ig4iic_softc_t *sc = device_get_softc(dev); local
830 ig4iic_get_config(ig4iic_softc_t *sc) argument
916 ig4iic_set_config(ig4iic_softc_t *sc, bool reset) argument
1001 ig4iic_get_fifo(ig4iic_softc_t *sc) argument
1034 ig4iic_attach(ig4iic_softc_t *sc) argument
1083 ig4iic_detach(ig4iic_softc_t *sc) argument
1113 ig4iic_suspend(ig4iic_softc_t *sc) argument
1139 ig4iic_resume(ig4iic_softc_t *sc) argument
1159 ig4iic_softc_t *sc = cookie; local
1179 ig4iic_dump(ig4iic_softc_t *sc) argument
[all...]
/freebsd-current/sys/arm/broadcom/bcm2835/
H A Dbcm2835_bsc.c113 #define DEVICE_DEBUGF(sc, lvl, fmt, args...) \
114 if ((lvl) <= (sc)->sc_debug) \
115 device_printf((sc)->sc_dev, fmt, ##args)
117 #define DEBUGF(sc, lvl, fmt, args...) \
118 if ((lvl) <= (sc)->sc_debug) \
125 bcm_bsc_modifyreg(struct bcm_bsc_softc *sc, uint32_t off, uint32_t mask, argument
130 mtx_assert(&sc->sc_mtx, MA_OWNED);
131 reg = BCM_BSC_READ(sc, off);
134 BCM_BSC_WRITE(sc, off, reg);
140 struct bcm_bsc_softc *sc; local
158 struct bcm_bsc_softc *sc; local
182 struct bcm_bsc_softc *sc; local
210 struct bcm_bsc_softc *sc; local
236 bcm_bsc_sysctl_init(struct bcm_bsc_softc *sc) argument
270 bcm_bsc_reset(struct bcm_bsc_softc *sc) argument
301 struct bcm_bsc_softc *sc; local
358 struct bcm_bsc_softc *sc; local
377 bcm_bsc_empty_rx_fifo(struct bcm_bsc_softc *sc) argument
401 bcm_bsc_fill_tx_fifo(struct bcm_bsc_softc *sc) argument
449 struct bcm_bsc_softc *sc; local
493 struct bcm_bsc_softc *sc; local
675 struct bcm_bsc_softc *sc; local
[all...]
/freebsd-current/sys/dev/qcom_qup/
H A Dqcom_spi.c81 qcom_spi_set_chipsel(struct qcom_spi_softc *sc, int cs, bool active) argument
88 if (sc->cs_pins[cs] == NULL) {
89 device_printf(sc->sc_dev,
95 QCOM_SPI_DPRINTF(sc, QCOM_SPI_DEBUG_CHIPSELECT,
112 gpio_pin_set_active(sc->cs_pins[cs], pinactive);
113 gpio_pin_is_active(sc->cs_pins[cs], &pinactive);
119 struct qcom_spi_softc *sc = arg; local
122 QCOM_SPI_DPRINTF(sc, QCOM_SPI_DEBUG_INTR, "%s: called\n", __func__);
125 QCOM_SPI_LOCK(sc);
126 ret = qcom_spi_hw_interrupt_handle(sc);
237 qcom_spi_attach_gpios(struct qcom_spi_softc *sc) argument
274 qcom_spi_sysctl_attach(struct qcom_spi_softc *sc) argument
287 struct qcom_spi_softc *sc = device_get_softc(dev); local
466 qcom_spi_transfer_pio_block(struct qcom_spi_softc *sc, int mode, char *tx_buf, int tx_len, char *rx_buf, int rx_len) argument
709 struct qcom_spi_softc *sc = device_get_softc(dev); local
838 struct qcom_spi_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-current/sys/dev/etherswitch/ar40xx/
H A Dar40xx_hw_port.h30 extern int ar40xx_hw_port_init(struct ar40xx_softc *sc, int port);
31 extern int ar40xx_hw_port_cpuport_setup(struct ar40xx_softc *sc);
32 extern int ar40xx_hw_port_link_up(struct ar40xx_softc *sc, int port);
33 extern int ar40xx_hw_port_link_down(struct ar40xx_softc *sc, int port);
34 extern int ar40xx_hw_get_port_pvid(struct ar40xx_softc *sc, int port,
36 extern int ar40xx_hw_set_port_pvid(struct ar40xx_softc *sc, int port,
38 extern int ar40xx_hw_port_setup(struct ar40xx_softc *sc, int port,
/freebsd-current/sys/dev/rtwn/rtl8812a/usb/
H A Dr12au_attach.c76 r12au_postattach(struct rtwn_softc *sc) argument
78 struct rtwn_usb_softc *uc = RTWN_USB_SOFTC(sc);
79 struct r12a_softc *rs = sc->sc_priv;
90 sc->sc_rf_read = r12a_c_cut_rf_read;
92 sc->sc_rf_read = r12a_rf_read;
97 sc->sc_set_led = r88e_set_led;
99 sc->sc_set_led = r12a_set_led;
103 sc->mac_prog = &rtl8812au_mac_no_ext_pa_lna[0];
105 sc->sc_ic.ic_ioctl = r12a_ioctl_net;
109 r12a_vap_preattach(struct rtwn_softc *sc, struc argument
124 r12a_attach_private(struct rtwn_softc *sc) argument
149 r12a_detach_private(struct rtwn_softc *sc) argument
157 r12a_read_chipid_vendor(struct rtwn_softc *sc, uint32_t reg_sys_cfg) argument
166 r12au_adj_devcaps(struct rtwn_softc *sc) argument
182 struct rtwn_softc *sc = &uc->uc_sc; local
[all...]
H A Dr12au_init.c60 r12au_init_rx_agg(struct rtwn_softc *sc) argument
62 struct r12a_softc *rs = sc->sc_priv;
65 rtwn_write_2(sc, R92C_RXDMA_AGG_PG_TH,
67 rtwn_setbits_1(sc, R92C_TRXDMA_CTRL, 0,
72 r12au_init_burstlen_usb2(struct rtwn_softc *sc) argument
76 if ((rtwn_read_1(sc, R92C_USB_INFO) & 0x30) == 0) {
78 rtwn_setbits_1(sc, R12A_RXDMA_PRO, R12A_BURST_SZ_M,
82 rtwn_setbits_1(sc, R12A_RXDMA_PRO, R12A_BURST_SZ_M,
88 r12au_init_burstlen(struct rtwn_softc *sc) argument
92 if (rtwn_read_1(sc, R92C_TYPE_I
104 r12au_arfb_init(struct rtwn_softc *sc) argument
124 r12au_init_ampdu_fwhw(struct rtwn_softc *sc) argument
131 r12au_init_ampdu(struct rtwn_softc *sc) argument
173 r12au_post_init(struct rtwn_softc *sc) argument
[all...]
/freebsd-current/sys/dev/tsec/
H A Dif_tsec_fdt.c74 static int tsec_setup_intr(struct tsec_softc *sc, struct resource **ires,
76 static void tsec_release_intr(struct tsec_softc *sc, struct resource *ires,
108 struct tsec_softc *sc; local
122 sc = device_get_softc(dev);
129 sc->is_etsec = 1;
131 sc->sc_rrid = 0;
132 sc->sc_rres = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->sc_rrid,
134 if (sc->sc_rres == NULL)
137 sc
164 struct tsec_softc *sc; local
275 tsec_setup_intr(struct tsec_softc *sc, struct resource **ires, void **ihand, int *irid, driver_intr_t handler, const char *iname) argument
298 tsec_release_intr(struct tsec_softc *sc, struct resource *ires, void *ihand, int irid, const char *iname) argument
320 struct tsec_softc *sc; local
356 tsec_get_hwaddr(struct tsec_softc *sc, uint8_t *addr) argument
[all...]
/freebsd-current/sys/dev/ichsmb/
H A Dichsmb.c85 static int ichsmb_wait(sc_p sc);
108 const sc_p sc = device_get_softc(dev); local
112 mtx_init(&sc->mutex, device_get_nameunit(dev), "ichsmb", MTX_DEF);
115 if ((sc->smb = device_add_child(dev, DRIVER_SMBUS, -1)) == NULL) {
122 bus_write_1(sc->io_res, ICH_HST_STA, 0xff);
125 error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_MISC | INTR_MPSAFE,
126 NULL, ichsmb_device_intr, sc, &sc->irq_handle);
135 mtx_destroy(&sc->mutex);
165 const sc_p sc local
194 const sc_p sc = device_get_softc(dev); local
216 const sc_p sc = device_get_softc(dev); local
238 const sc_p sc = device_get_softc(dev); local
262 const sc_p sc = device_get_softc(dev); local
287 const sc_p sc = device_get_softc(dev); local
310 const sc_p sc = device_get_softc(dev); local
337 const sc_p sc = device_get_softc(dev); local
367 const sc_p sc = device_get_softc(dev); local
413 const sc_p sc = device_get_softc(dev); local
489 const sc_p sc = cookie; local
638 ichsmb_wait(sc_p sc) argument
669 ichsmb_release_resources(sc_p sc) argument
692 const sc_p sc = device_get_softc(dev); local
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Duart_emul.c145 uart_intr_reason(struct uart_ns16550_softc *sc) argument
148 if ((sc->lsr & LSR_OE) != 0 && (sc->ier & IER_ERLS) != 0)
150 else if (uart_rxfifo_numchars(sc->backend) > 0 &&
151 (sc->ier & IER_ERXRDY) != 0)
153 else if (sc->thre_int_pending && (sc->ier & IER_ETXRDY) != 0)
155 else if ((sc->msr & MSR_DELTA_MASK) != 0 && (sc->ier & IER_EMSC) != 0)
162 uart_reset(struct uart_ns16550_softc *sc) argument
179 uart_toggle_intr(struct uart_ns16550_softc *sc) argument
194 struct uart_ns16550_softc *sc; local
217 uart_ns16550_write(struct uart_ns16550_softc *sc, int offset, uint8_t value) argument
335 uart_ns16550_read(struct uart_ns16550_softc *sc, int offset) argument
439 struct uart_ns16550_softc *sc; local
454 uart_ns16550_tty_open(struct uart_ns16550_softc *sc, const char *device) argument
461 uart_ns16550_snapshot(struct uart_ns16550_softc *sc, struct vm_snapshot_meta *meta) argument
[all...]
/freebsd-current/sys/dev/ath/
H A Dif_ath_misc.h46 extern int ath_tx_findrix(const struct ath_softc *sc, uint8_t rate);
48 extern struct ath_buf * ath_getbuf(struct ath_softc *sc,
50 extern struct ath_buf * _ath_getbuf_locked(struct ath_softc *sc,
52 extern struct ath_buf * ath_buf_clone(struct ath_softc *sc,
55 extern void ath_freebuf(struct ath_softc *sc, struct ath_buf *bf);
56 extern void ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf);
57 extern void ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf);
61 extern void ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf,
63 extern void ath_tx_update_ratectrl(struct ath_softc *sc,
71 extern void ath_tx_freebuf(struct ath_softc *sc, struc
136 ath_tx_kick(struct ath_softc *sc) argument
146 ath_tx_swq_kick(struct ath_softc *sc) argument
[all...]
H A Dif_ath.c183 static void ath_txq_init(struct ath_softc *sc, struct ath_txq *, int);
188 static int ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq,
261 ath_legacy_attach_comp_func(struct ath_softc *sc) argument
269 switch (sc->sc_txqsetup &~ (1<<sc->sc_cabq->axq_qnum)) {
271 TASK_INIT(&sc->sc_txtask, 0, ath_tx_proc_q0, sc);
274 TASK_INIT(&sc->sc_txtask, 0, ath_tx_proc_q0123, sc);
277 TASK_INIT(&sc
299 _ath_power_setpower(struct ath_softc *sc, int power_state, int selfgen, const char *file, int line) argument
353 _ath_power_set_selfgen(struct ath_softc *sc, int power_state, const char *file, int line) argument
389 _ath_power_set_power_state(struct ath_softc *sc, int power_state, const char *file, int line) argument
427 _ath_power_restore_power_state(struct ath_softc *sc, const char *file, int line) argument
473 ath_setup_hal_config(struct ath_softc *sc, HAL_OPS_CONFIG *ah_config) argument
546 ath_fetch_mac_kenv(struct ath_softc *sc, uint8_t *macaddr) argument
599 ath_attach(u_int16_t devid, struct ath_softc *sc) argument
1405 ath_detach(struct ath_softc *sc) argument
1468 assign_address(struct ath_softc *sc, uint8_t mac[IEEE80211_ADDR_LEN], int clone) argument
1488 reclaim_address(struct ath_softc *sc, const uint8_t mac[IEEE80211_ADDR_LEN]) argument
1511 assign_bslot(struct ath_softc *sc) argument
1533 struct ath_softc *sc = ic->ic_softc; local
1791 struct ath_softc *sc = ic->ic_softc; local
1910 ath_suspend(struct ath_softc *sc) argument
1953 ath_reset_keycache(struct ath_softc *sc) argument
1973 ath_update_chainmasks(struct ath_softc *sc, struct ieee80211_channel *chan) argument
1995 ath_resume(struct ath_softc *sc) argument
2064 ath_shutdown(struct ath_softc *sc) argument
2079 struct ath_softc *sc = arg; local
2372 struct ath_softc *sc = arg; local
2399 struct ath_softc *sc = vap->iv_ic->ic_softc; local
2488 struct ath_softc *sc = arg; local
2532 struct ath_softc *sc = arg; local
2562 ath_settkipmic(struct ath_softc *sc) argument
2578 ath_vap_clear_quiet_ie(struct ath_softc *sc) argument
2592 ath_init(struct ath_softc *sc) argument
2754 ath_stop(struct ath_softc *sc) argument
2821 ath_txrx_stop_locked(struct ath_softc *sc) argument
2864 ath_txrx_start(struct ath_softc *sc) argument
2888 ath_reset_grablock(struct ath_softc *sc, int dowait) argument
2942 ath_reset(struct ath_softc *sc, ATH_RESET_TYPE reset_type, HAL_RESET_TYPE ah_reset_type) argument
3132 struct ath_softc *sc = ic->ic_softc; local
3151 _ath_getbuf_locked(struct ath_softc *sc, ath_buf_type_t btype) argument
3241 ath_buf_clone(struct ath_softc *sc, struct ath_buf *bf) argument
3293 ath_getbuf(struct ath_softc *sc, ath_buf_type_t btype) argument
3322 struct ath_softc *sc = ic->ic_softc; local
3601 struct ath_softc *sc = vap->iv_ic->ic_softc; local
3610 struct ath_softc *sc = vap->iv_ic->ic_softc; local
3619 struct ath_softc *sc = ic->ic_softc; local
3658 ath_update_mcast_hw(struct ath_softc *sc) argument
3689 struct ath_softc *sc = ic->ic_softc; local
3703 ath_mode_init(struct ath_softc *sc) argument
3729 ath_setslottime(struct ath_softc *sc) argument
3770 struct ath_softc *sc = ic->ic_softc; local
3814 struct ath_softc *sc = arg; local
3828 struct ath_softc *sc = arg; local
3850 ath_desc_alloc(struct ath_softc *sc) argument
3886 ath_desc_free(struct ath_softc *sc) argument
3902 struct ath_softc *sc = ic->ic_softc; local
3933 struct ath_softc *sc = ic->ic_softc; local
3948 struct ath_softc *sc = ic->ic_softc; local
3960 struct ath_softc *sc = ic->ic_softc; local
3974 ath_setdefantenna(struct ath_softc *sc, u_int antenna) argument
3987 ath_txq_init(struct ath_softc *sc, struct ath_txq *txq, int qnum) argument
4006 ath_txq_setup(struct ath_softc *sc, int qtype, int subtype) argument
4068 ath_tx_setup(struct ath_softc *sc, int ac, int haltype) argument
4090 ath_txq_update(struct ath_softc *sc, int ac) argument
4169 struct ath_softc *sc = ic->ic_softc; local
4181 ath_tx_cleanupq(struct ath_softc *sc, struct ath_txq *txq) argument
4193 ath_tx_cleanup(struct ath_softc *sc) argument
4208 ath_tx_findrix(const struct ath_softc *sc, uint8_t rate) argument
4216 ath_tx_update_stats(struct ath_softc *sc, struct ath_tx_status *ts, struct ath_buf *bf) argument
4286 ath_tx_default_comp(struct ath_softc *sc, struct ath_buf *bf, int fail) argument
4346 ath_tx_update_ratectrl(struct ath_softc *sc, struct ieee80211_node *ni, struct ath_rc_series *rc, struct ath_tx_status *ts, int frmlen, int rc_framelen, int nframes, int nbad) argument
4381 ath_tx_process_buf_completion(struct ath_softc *sc, struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf) argument
4431 ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq, int dosched) argument
4594 struct ath_softc *sc = arg; local
4638 struct ath_softc *sc = arg; local
4694 struct ath_softc *sc = arg; local
4743 struct ath_softc *sc = arg; local
4781 ath_returnbuf_tail(struct ath_softc *sc, struct ath_buf *bf) argument
4802 ath_returnbuf_head(struct ath_softc *sc, struct ath_buf *bf) argument
4826 ath_txq_freeholdingbuf(struct ath_softc *sc, struct ath_txq *txq) argument
4848 ath_txq_addholdingbuf(struct ath_softc *sc, struct ath_buf *bf) argument
4891 ath_freebuf(struct ath_softc *sc, struct ath_buf *bf) argument
4925 ath_tx_freebuf(struct ath_softc *sc, struct ath_buf *bf, int status) argument
4952 ath_tx_draintxq_get_one(struct ath_softc *sc, struct ath_txq *txq) argument
5007 ath_tx_draintxq(struct ath_softc *sc, struct ath_txq *txq) argument
5081 ath_tx_stopdma(struct ath_softc *sc, struct ath_txq *txq) argument
5112 ath_stoptxdma(struct ath_softc *sc) argument
5146 ath_tx_dump(struct ath_softc *sc, struct ath_txq *txq) argument
5172 ath_legacy_tx_drain(struct ath_softc *sc, ATH_RESET_TYPE reset_type) argument
5241 ath_chan_change(struct ath_softc *sc, struct ieee80211_channel *chan) argument
5262 ath_chan_set(struct ath_softc *sc, struct ieee80211_channel *chan) argument
5416 struct ath_softc *sc = arg; local
5558 struct ath_softc *sc = ic->ic_softc; local
5583 struct ath_softc *sc = ic->ic_softc; local
5623 struct ath_softc *sc = ic->ic_softc; local
5676 struct ath_softc *sc = ic->ic_softc; local
5776 struct ath_softc *sc = ic->ic_softc; local
5818 struct ath_softc *sc = ic->ic_softc; local
6270 struct ath_softc *sc = vap->iv_ic->ic_softc; local
6303 struct ath_softc *sc = vap->iv_ic->ic_softc; local
6355 struct ath_softc *sc = ic->ic_softc; local
6379 struct ath_softc *sc = ic->ic_softc; local
6392 ath_getchannels(struct ath_softc *sc) argument
6430 ath_rate_setup(struct ath_softc *sc, u_int mode) argument
6476 ath_setcurmode(struct ath_softc *sc, enum ieee80211_phymode mode) argument
6553 struct ath_softc *sc = arg; local
6593 struct ath_softc *sc = ic->ic_softc; local
6640 ath_announce(struct ath_softc *sc) argument
6673 struct ath_softc *sc = (struct ath_softc *) p; local
6715 struct ath_softc *sc = ic->ic_softc; local
6782 struct ath_softc *sc = ic->ic_softc; local
6911 ath_tx_update_tim(struct ath_softc *sc, struct ieee80211_node *ni, int enable) argument
6987 struct ath_softc *sc = ic->ic_softc; local
[all...]
/freebsd-current/sys/dev/ips/
H A Dips_pci.c38 static int ips_pci_free(ips_softc_t *sc);
62 ips_softc_t *sc; local
65 sc = (ips_softc_t *)device_get_softc(dev);
66 sc->dev = dev;
67 mtx_init(&sc->queue_mtx, "IPS bioqueue lock", NULL, MTX_DEF);
68 sema_init(&sc->cmd_sema, 0, "IPS Command Semaphore");
69 callout_init_mtx(&sc->timer, &sc->queue_mtx, 0);
72 sc->ips_adapter_reinit = ips_morpheus_reinit;
73 sc
156 struct ips_softc *sc = (struct ips_softc *)arg; local
165 ips_pci_free(ips_softc_t *sc) argument
183 ips_softc_t *sc; local
199 ips_softc_t *sc = (ips_softc_t *) device_get_softc(dev); local
[all...]
/freebsd-current/sys/dev/mfi/
H A Dmfi_syspd.c98 struct mfi_system_pd *sc; local
104 sc = device_get_softc(dev);
106 sc->pd_dev = dev;
107 sc->pd_id = pd_info->ref.v.device_id;
108 sc->pd_unit = device_get_unit(dev);
109 sc->pd_info = pd_info;
110 sc->pd_controller = device_get_softc(device_get_parent(dev));
111 sc->pd_flags = 0;
115 mtx_lock(&sc->pd_controller->mfi_io_lock);
116 TAILQ_INSERT_TAIL(&sc
157 struct mfi_system_pd *sc; local
183 struct mfi_system_pd *sc; local
201 struct mfi_system_pd *sc; local
212 mfi_syspd_disable(struct mfi_system_pd *sc) argument
229 mfi_syspd_enable(struct mfi_system_pd *sc) argument
240 struct mfi_system_pd *sc; local
267 struct mfi_system_pd *sc; local
[all...]
/freebsd-current/sys/dev/iwm/
H A Dif_iwm_pcie_trans.c169 iwm_read_prph(struct iwm_softc *sc, uint32_t addr) argument
171 IWM_WRITE(sc,
173 IWM_BARRIER_READ_WRITE(sc);
174 return IWM_READ(sc, IWM_HBUS_TARG_PRPH_RDAT);
178 iwm_write_prph(struct iwm_softc *sc, uint32_t addr, uint32_t val) argument
180 IWM_WRITE(sc,
182 IWM_BARRIER_WRITE(sc);
183 IWM_WRITE(sc, IWM_HBUS_TARG_PRPH_WDAT, val);
187 iwm_write_prph64(struct iwm_softc *sc, uint64_t addr, uint64_t val) argument
189 iwm_write_prph(sc, (uint32_
194 iwm_poll_prph(struct iwm_softc *sc, uint32_t addr, uint32_t bits, uint32_t mask, int timeout) argument
210 iwm_read_mem(struct iwm_softc *sc, uint32_t addr, void *buf, int dwords) argument
229 iwm_write_mem(struct iwm_softc *sc, uint32_t addr, const void *buf, int dwords) argument
251 iwm_write_mem32(struct iwm_softc *sc, uint32_t addr, uint32_t val) argument
257 iwm_poll_bit(struct iwm_softc *sc, int reg, uint32_t bits, uint32_t mask, int timo) argument
273 iwm_nic_lock(struct iwm_softc *sc) argument
302 iwm_nic_unlock(struct iwm_softc *sc) argument
312 iwm_set_bits_mask_prph(struct iwm_softc *sc, uint32_t reg, uint32_t bits, uint32_t mask) argument
327 iwm_set_bits_prph(struct iwm_softc *sc, uint32_t reg, uint32_t bits) argument
333 iwm_clear_bits_prph(struct iwm_softc *sc, uint32_t reg, uint32_t bits) argument
343 iwm_enable_rfkill_int(struct iwm_softc *sc) argument
352 iwm_check_rfkill(struct iwm_softc *sc) argument
378 iwm_set_hw_ready(struct iwm_softc *sc) argument
398 iwm_prepare_card_hw(struct iwm_softc *sc) argument
430 iwm_apm_config(struct iwm_softc *sc) argument
473 iwm_apm_init(struct iwm_softc *sc) argument
593 iwm_apm_stop(struct iwm_softc *sc) argument
625 iwm_start_hw(struct iwm_softc *sc) argument
651 iwm_set_pwr(struct iwm_softc *sc) argument
659 iwm_pcie_rx_stop(struct iwm_softc *sc) argument
682 iwm_pcie_clear_cmd_in_flight(struct iwm_softc *sc) argument
699 iwm_pcie_set_cmd_in_flight(struct iwm_softc *sc) argument
[all...]
/freebsd-current/sys/dev/rtwn/rtl8192c/pci/
H A Dr92ce_init.c59 r92ce_init_intr(struct rtwn_softc *sc) argument
62 rtwn_write_4(sc, R92C_HISR, 0x00000000);
63 rtwn_write_4(sc, R92C_HIMR, 0x00000000);
67 r92ce_init_edca(struct rtwn_softc *sc) argument
70 rtwn_write_2(sc, R92C_SPEC_SIFS, 0x1010);
71 rtwn_write_2(sc, R92C_MAC_SPEC_SIFS, 0x1010);
72 rtwn_write_2(sc, R92C_SIFS_CCK, 0x1010);
73 rtwn_write_2(sc, R92C_SIFS_OFDM, 0x0e0e);
75 rtwn_write_4(sc, R92C_EDCA_BE_PARAM, 0x005ea42b);
76 rtwn_write_4(sc, R92C_EDCA_BK_PARA
82 r92ce_init_bb(struct rtwn_softc *sc) argument
108 r92ce_power_on(struct rtwn_softc *sc) argument
228 r92ce_power_off(struct rtwn_softc *sc) argument
278 r92ce_init_ampdu(struct rtwn_softc *sc) argument
287 r92ce_post_init(struct rtwn_softc *sc) argument
[all...]
/freebsd-current/sys/geom/eli/
H A Dg_eli_key_cache.c74 g_eli_key_fill(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) argument
82 if ((sc->sc_flags & G_ELI_FLAG_ENC_IVKEY) != 0)
83 ekey = sc->sc_mkey;
85 ekey = sc->sc_ekey;
101 g_eli_key_allocate(struct g_eli_softc *sc, uint64_t keyno) argument
105 mtx_assert(&sc->sc_ekeys_lock, MA_OWNED);
106 mtx_unlock(&sc->sc_ekeys_lock);
109 g_eli_key_fill(sc, key, keyno);
111 mtx_lock(&sc->sc_ekeys_lock);
116 ekey = RB_FIND(g_eli_key_tree, &sc
131 g_eli_key_find_last(struct g_eli_softc *sc) argument
146 g_eli_key_replace(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) argument
164 g_eli_key_remove(struct g_eli_softc *sc, struct g_eli_key *key) argument
178 g_eli_key_init(struct g_eli_softc *sc) argument
233 g_eli_key_destroy(struct g_eli_softc *sc) argument
251 g_eli_key_resize(struct g_eli_softc *sc) argument
302 g_eli_key_hold(struct g_eli_softc *sc, off_t offset, size_t blocksize) argument
361 g_eli_key_drop(struct g_eli_softc *sc, uint8_t *rawkey) argument
[all...]
/freebsd-current/sys/dev/rtwn/rtl8821a/usb/
H A Dr21au_attach.c74 r21a_postattach(struct rtwn_softc *sc) argument
76 struct ieee80211com *ic = &sc->sc_ic;
77 struct r12a_softc *rs = sc->sc_priv;
82 sc->sc_set_led = r88e_set_led;
84 sc->sc_set_led = r21a_set_led;
87 r21au_chan_check, sc);
99 r21au_vap_preattach(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
102 struct r12a_softc *rs = sc->sc_priv;
104 r12a_vap_preattach(sc, vap);
117 r21a_attach_private(struct rtwn_softc *sc) argument
152 r21au_adj_devcaps(struct rtwn_softc *sc) argument
167 struct rtwn_softc *sc = &uc->uc_sc; local
[all...]
/freebsd-current/sys/dev/mmc/host/
H A Ddwmmc.c157 static void dwmmc_handle_card_present(struct dwmmc_softc *sc, bool is_present);
183 struct dwmmc_softc *sc; local
186 sc = arg;
192 sc->desc_ring[idx].des0 = DES0_DIC | DES0_CH;
193 sc->desc_ring[idx].des1 = segs[idx].ds_len & DES1_BS1_MASK;
194 sc->desc_ring[idx].des2 = segs[idx].ds_addr;
197 sc->desc_ring[idx].des0 |= DES0_FS;
200 sc->desc_ring[idx].des0 &= ~(DES0_DIC | DES0_CH);
201 sc->desc_ring[idx].des0 |= DES0_LD;
204 sc
209 dwmmc_ctrl_reset(struct dwmmc_softc *sc, int reset_bits) argument
231 dma_setup(struct dwmmc_softc *sc) argument
315 dwmmc_cmd_done(struct dwmmc_softc *sc) argument
349 dwmmc_tasklet(struct dwmmc_softc *sc) argument
378 struct dwmmc_softc *sc; local
455 dwmmc_handle_card_present(struct dwmmc_softc *sc, bool is_present) argument
475 struct dwmmc_softc *sc = arg; local
512 parse_fdt(struct dwmmc_softc *sc) argument
671 struct dwmmc_softc *sc; local
776 struct dwmmc_softc *sc; local
817 dwmmc_setup_bus(struct dwmmc_softc *sc, int freq) argument
873 struct dwmmc_softc *sc; local
928 dma_done(struct dwmmc_softc *sc, struct mmc_command *cmd) argument
950 dma_stop(struct dwmmc_softc *sc) argument
968 dma_prepare(struct dwmmc_softc *sc, struct mmc_command *cmd) argument
1020 pio_prepare(struct dwmmc_softc *sc, struct mmc_command *cmd) argument
1039 pio_read(struct dwmmc_softc *sc, struct mmc_command *cmd) argument
1066 pio_write(struct dwmmc_softc *sc, struct mmc_command *cmd) argument
1093 dwmmc_start_cmd(struct dwmmc_softc *sc, struct mmc_command *cmd) argument
1182 dwmmc_next_operation(struct dwmmc_softc *sc) argument
1242 struct dwmmc_softc *sc; local
1282 struct dwmmc_softc *sc; local
1297 struct dwmmc_softc *sc; local
1312 struct dwmmc_softc *sc; local
1371 struct dwmmc_softc *sc; local
1431 struct dwmmc_softc *sc; local
1448 struct dwmmc_softc *sc; local
1508 struct dwmmc_softc *sc; local
1543 struct dwmmc_softc *sc; local
[all...]
/freebsd-current/sys/dev/rtsx/
H A Drtsx.c88 void (*rtsx_intr_trans_ok)(struct rtsx_softc *sc);
90 void (*rtsx_intr_trans_ko)(struct rtsx_softc *sc);
201 static int rtsx_dma_alloc(struct rtsx_softc *sc);
203 static void rtsx_dma_free(struct rtsx_softc *sc);
205 static void rtsx_handle_card_present(struct rtsx_softc *sc);
207 static bool rtsx_is_card_present(struct rtsx_softc *sc);
208 static int rtsx_init(struct rtsx_softc *sc);
210 static int rtsx_rts5227_fill_driving(struct rtsx_softc *sc);
211 static int rtsx_rts5249_fill_driving(struct rtsx_softc *sc);
212 static int rtsx_rts5260_fill_driving(struct rtsx_softc *sc);
407 rtsx_dma_alloc(struct rtsx_softc *sc) argument
514 rtsx_dma_free(struct rtsx_softc *sc) argument
549 struct rtsx_softc *sc = arg; local
614 rtsx_handle_card_present(struct rtsx_softc *sc) argument
649 struct rtsx_softc *sc = arg; local
705 rtsx_is_card_present(struct rtsx_softc *sc) argument
717 rtsx_init(struct rtsx_softc *sc) argument
1281 rtsx_rts5227_fill_driving(struct rtsx_softc *sc) argument
1298 rtsx_rts5249_fill_driving(struct rtsx_softc *sc) argument
1314 rtsx_rts5260_fill_driving(struct rtsx_softc *sc) argument
1330 rtsx_read(struct rtsx_softc *sc, uint16_t addr, uint8_t *val) argument
1355 rtsx_read_cfg(struct rtsx_softc *sc, uint8_t func, uint16_t addr, uint32_t *val) argument
1384 rtsx_write(struct rtsx_softc *sc, uint16_t addr, uint8_t mask, uint8_t val) argument
1411 rtsx_read_phy(struct rtsx_softc *sc, uint8_t addr, uint16_t *val) argument
1435 rtsx_write_phy(struct rtsx_softc *sc, uint8_t addr, uint16_t val) argument
1460 rtsx_bus_power_off(struct rtsx_softc *sc) argument
1567 rtsx_bus_power_on(struct rtsx_softc *sc) argument
1748 rtsx_set_bus_width(struct rtsx_softc *sc, enum mmc_bus_width width) argument
1779 rtsx_set_sd_timing(struct rtsx_softc *sc, enum mmc_bus_timing timing) argument
1834 rtsx_set_sd_clock(struct rtsx_softc *sc, uint32_t freq) argument
1916 rtsx_stop_sd_clock(struct rtsx_softc *sc) argument
1925 rtsx_switch_sd_clock(struct rtsx_softc *sc, uint8_t clk, uint8_t n, uint8_t div, uint8_t mcu) argument
1955 rtsx_sd_change_tx_phase(struct rtsx_softc *sc, uint8_t sample_point) argument
1969 rtsx_sd_change_rx_phase(struct rtsx_softc *sc, uint8_t sample_point) argument
1983 rtsx_sd_tuning_rx_phase(struct rtsx_softc *sc, uint32_t *phase_map) argument
1999 rtsx_sd_tuning_rx_cmd(struct rtsx_softc *sc, uint8_t sample_point) argument
2053 rtsx_sd_tuning_rx_cmd_wait(struct rtsx_softc *sc, struct mmc_command *cmd) argument
2070 rtsx_sd_tuning_rx_cmd_wakeup(struct rtsx_softc *sc) argument
2076 rtsx_sd_wait_data_idle(struct rtsx_softc *sc) argument
2090 rtsx_sd_search_final_rx_phase(struct rtsx_softc *sc, uint32_t phase_map) argument
2205 rtsx_init_cmd(struct rtsx_softc *sc, struct mmc_command *cmd) argument
2224 rtsx_push_cmd(struct rtsx_softc *sc, uint8_t cmd, uint16_t reg, uint8_t mask, uint8_t data) argument
2242 rtsx_set_cmd_data_len(struct rtsx_softc *sc, uint16_t block_cnt, uint16_t byte_cnt) argument
2258 rtsx_send_cmd(struct rtsx_softc *sc) argument
2279 rtsx_stop_cmd(struct rtsx_softc *sc) argument
2306 rtsx_clear_error(struct rtsx_softc *sc) argument
2317 rtsx_req_done(struct rtsx_softc *sc) argument
2351 rtsx_send_req(struct rtsx_softc *sc, struct mmc_command *cmd) argument
2410 rtsx_ret_resp(struct rtsx_softc *sc) argument
2423 rtsx_set_resp(struct rtsx_softc *sc, struct mmc_command *cmd) argument
2476 rtsx_xfer_short(struct rtsx_softc *sc, struct mmc_command *cmd) argument
2546 rtsx_ask_ppbuf_part1(struct rtsx_softc *sc) argument
2573 rtsx_get_ppbuf_part1(struct rtsx_softc *sc) argument
2626 rtsx_get_ppbuf_part2(struct rtsx_softc *sc) argument
2654 rtsx_put_ppbuf_part1(struct rtsx_softc *sc) argument
2689 rtsx_put_ppbuf_part2(struct rtsx_softc *sc) argument
2720 rtsx_write_ppbuf(struct rtsx_softc *sc) argument
2752 rtsx_xfer(struct rtsx_softc *sc, struct mmc_command *cmd) argument
2789 rtsx_xfer_begin(struct rtsx_softc *sc) argument
2806 rtsx_xfer_start(struct rtsx_softc *sc) argument
2901 rtsx_xfer_finish(struct rtsx_softc *sc) argument
2934 struct rtsx_softc *sc; local
2952 struct rtsx_softc *sc; local
2972 struct rtsx_softc *sc; local
3041 struct rtsx_softc *sc; local
3063 struct rtsx_softc *sc; local
3128 struct rtsx_softc *sc; local
3189 struct rtsx_softc *sc; local
3258 struct rtsx_softc *sc; local
3349 struct rtsx_softc *sc; local
3420 struct rtsx_softc *sc; local
3434 struct rtsx_softc *sc; local
3508 struct rtsx_softc *sc; local
3521 struct rtsx_softc *sc; local
3539 struct rtsx_softc *sc; local
3591 struct rtsx_softc *sc = device_get_softc(dev); local
3774 struct rtsx_softc *sc = device_get_softc(dev); local
3830 struct rtsx_softc *sc = device_get_softc(dev); local
[all...]
/freebsd-current/sys/dev/tpm/
H A Dtpm20.c69 struct tpm_sc *sc; local
74 sc = (struct tpm_sc *)dev->si_drv1;
76 callout_stop(&sc->discard_buffer_callout);
77 sx_xlock(&sc->dev_lock);
78 if (sc->owner_tid != uio->uio_td->td_tid) {
79 sx_xunlock(&sc->dev_lock);
83 bytes_to_transfer = MIN(sc->pending_data_length, uio->uio_resid);
84 offset = sc->total_length - sc->pending_data_length;
86 result = uiomove((caddr_t) sc
101 struct tpm_sc *sc; local
146 struct tpm_sc *sc; local
188 tpm20_init(struct tpm_sc *sc) argument
219 tpm20_release(struct tpm_sc *sc) argument
256 struct tpm_sc *sc; local
304 struct tpm_sc *sc; local
[all...]
/freebsd-current/sys/dev/mpi3mr/
H A Dmpi3mr.c79 static void mpi3mr_repost_reply_buf(struct mpi3mr_softc *sc,
81 static int mpi3mr_complete_admin_cmd(struct mpi3mr_softc *sc);
82 static void mpi3mr_port_enable_complete(struct mpi3mr_softc *sc,
84 static void mpi3mr_flush_io(struct mpi3mr_softc *sc);
85 static int mpi3mr_issue_reset(struct mpi3mr_softc *sc, U16 reset_type,
87 static void mpi3mr_dev_rmhs_send_tm(struct mpi3mr_softc *sc, U16 handle,
89 static void mpi3mr_dev_rmhs_complete_iou(struct mpi3mr_softc *sc,
91 static void mpi3mr_dev_rmhs_complete_tm(struct mpi3mr_softc *sc,
93 static void mpi3mr_send_evt_ack(struct mpi3mr_softc *sc, U8 event,
95 static void mpi3mr_print_fault_info(struct mpi3mr_softc *sc);
144 wait_for_completion_timeout_tm(struct completion *completion, U32 timeout, struct mpi3mr_softc *sc) argument
163 poll_for_command_completion(struct mpi3mr_softc *sc, struct mpi3mr_drvr_cmd *cmd, U16 wait) argument
189 mpi3mr_trigger_snapdump(struct mpi3mr_softc *sc, U32 reason_code) argument
224 mpi3mr_check_rh_fault_ioc(struct mpi3mr_softc *sc, U32 reason_code) argument
245 mpi3mr_get_reply_virt_addr(struct mpi3mr_softc *sc, bus_addr_t phys_addr) argument
257 mpi3mr_get_sensebuf_virt_addr(struct mpi3mr_softc *sc, bus_addr_t phys_addr) argument
265 mpi3mr_repost_reply_buf(struct mpi3mr_softc *sc, U64 reply_dma) argument
281 mpi3mr_repost_sense_buf(struct mpi3mr_softc *sc, U64 sense_buf_phys) argument
298 mpi3mr_set_io_divert_for_all_vd_in_tg(struct mpi3mr_softc *sc, struct mpi3mr_throttle_group_info *tg, U8 divert_value) argument
323 mpi3mr_submit_admin_cmd(struct mpi3mr_softc *sc, void *admin_req, U16 admin_req_sz) argument
393 mpi3mr_submit_io(struct mpi3mr_softc *sc, struct mpi3mr_op_req_queue *op_req_q, U8 *req) argument
458 mpi3mr_enable_interrupts(struct mpi3mr_softc *sc) argument
463 mpi3mr_disable_interrupts(struct mpi3mr_softc *sc) argument
477 mpi3mr_delete_op_reply_queue(struct mpi3mr_softc *sc, U16 qid) argument
574 mpi3mr_create_op_reply_queue(struct mpi3mr_softc *sc, U16 qid) argument
723 mpi3mr_create_op_req_queue(struct mpi3mr_softc *sc, U16 req_qid, U8 reply_qid) argument
866 mpi3mr_create_op_queues(struct mpi3mr_softc *sc) argument
968 mpi3mr_setup_admin_qpair(struct mpi3mr_softc *sc) argument
1107 mpi3mr_print_fault_info(struct mpi3mr_softc *sc) argument
1124 mpi3mr_get_iocstate(struct mpi3mr_softc *sc) argument
1150 mpi3mr_clear_resethistory(struct mpi3mr_softc *sc) argument
1170 mpi3mr_mur_ioc(struct mpi3mr_softc *sc, U32 reset_reason) argument
1220 mpi3mr_bring_ioc_ready(struct mpi3mr_softc *sc) argument
1403 mpi3mr_diagfault_success(struct mpi3mr_softc *sc, U32 ioc_status) argument
1426 mpi3mr_issue_iocfacts(struct mpi3mr_softc *sc, Mpi3IOCFactsData_t *facts_data) argument
1562 mpi3mr_process_factsdata(struct mpi3mr_softc *sc, Mpi3IOCFactsData_t *facts_data) argument
1707 mpi3mr_setup_reply_free_queues(struct mpi3mr_softc *sc) argument
1726 mpi3mr_reply_dma_alloc(struct mpi3mr_softc *sc) argument
1875 mpi3mr_reply_alloc(struct mpi3mr_softc *sc) argument
1966 mpi3mr_print_fw_pkg_ver(struct mpi3mr_softc *sc) argument
2088 mpi3mr_issue_iocinit(struct mpi3mr_softc *sc) argument
2225 mpi3mr_display_ioc_info(struct mpi3mr_softc *sc) argument
2288 mpi3mr_unmask_events(struct mpi3mr_softc *sc, U16 event) argument
2307 mpi3mr_set_events_mask(struct mpi3mr_softc *sc) argument
2341 mpi3mr_issue_event_notification(struct mpi3mr_softc *sc) argument
2404 mpi3mr_register_events(struct mpi3mr_softc *sc) argument
2431 mpi3mr_process_event_ack(struct mpi3mr_softc *sc, U8 event, U32 event_ctx) argument
2491 mpi3mr_alloc_chain_bufs(struct mpi3mr_softc *sc) argument
2565 mpi3mr_pel_alloc(struct mpi3mr_softc *sc) argument
2637 mpi3mr_validate_fw_update(struct mpi3mr_softc *sc) argument
2706 mpi3mr_initialize_ioc(struct mpi3mr_softc *sc, U8 init_type) argument
2992 mpi3mr_port_enable_complete(struct mpi3mr_softc *sc, struct mpi3mr_drvr_cmd *drvrcmd) argument
3002 mpi3mr_issue_port_enable(struct mpi3mr_softc *sc, U8 async) argument
3059 struct mpi3mr_softc *sc; local
3155 mpi3mr_display_event_data(struct mpi3mr_softc *sc, Mpi3EventNotificationReply_t *event_rep) argument
3309 mpi3mr_update_device(struct mpi3mr_softc *sc, struct mpi3mr_target *tgtdev, Mpi3DevicePage0_t *dev_pg0, bool is_added) argument
3424 mpi3mr_create_device(struct mpi3mr_softc *sc, Mpi3DevicePage0_t *dev_pg0) argument
3475 mpi3mr_dev_rmhs_complete_iou(struct mpi3mr_softc *sc, struct mpi3mr_drvr_cmd *drv_cmd) argument
3538 mpi3mr_dev_rmhs_complete_tm(struct mpi3mr_softc *sc, struct mpi3mr_drvr_cmd *drv_cmd) argument
3598 mpi3mr_dev_rmhs_send_tm(struct mpi3mr_softc *sc, U16 handle, struct mpi3mr_drvr_cmd *cmdparam, U8 iou_rc) argument
3698 mpi3mr_complete_evt_ack(struct mpi3mr_softc *sc, struct mpi3mr_drvr_cmd *drv_cmd) argument
3741 mpi3mr_send_evt_ack(struct mpi3mr_softc *sc, U8 event, struct mpi3mr_drvr_cmd *cmdparam, U32 event_ctx) argument
3820 mpi3mr_pcietopochg_evt_th(struct mpi3mr_softc *sc, Mpi3EventNotificationReply_t *event_reply) argument
3879 mpi3mr_sastopochg_evt_th(struct mpi3mr_softc *sc, Mpi3EventNotificationReply_t *event_reply) argument
3938 mpi3mr_devstatuschg_evt_th(struct mpi3mr_softc *sc, Mpi3EventNotificationReply_t *event_reply) argument
4018 mpi3mr_preparereset_evt_th(struct mpi3mr_softc *sc, Mpi3EventNotificationReply_t *event_reply) argument
4052 mpi3mr_energypackchg_evt_th(struct mpi3mr_softc *sc, Mpi3EventNotificationReply_t *event_reply) argument
4081 mpi3mr_cablemgmt_evt_th(struct mpi3mr_softc *sc, Mpi3EventNotificationReply_t *event_reply) argument
4117 mpi3mr_process_events(struct mpi3mr_softc *sc, uintptr_t data, Mpi3EventNotificationReply_t *event_reply) argument
4250 mpi3mr_handle_events(struct mpi3mr_softc *sc, uintptr_t data, Mpi3DefaultReply_t *def_reply) argument
4262 mpi3mr_process_admin_reply_desc(struct mpi3mr_softc *sc, Mpi3DefaultReplyDescriptor_t *reply_desc, U64 *reply_dma) argument
4387 mpi3mr_complete_admin_cmd(struct mpi3mr_softc *sc) argument
4443 mpi3mr_cmd_done(struct mpi3mr_softc *sc, struct mpi3mr_cmd *cmd) argument
4462 mpi3mr_process_op_reply_desc(struct mpi3mr_softc *sc, Mpi3DefaultReplyDescriptor_t *reply_desc, U64 *reply_dma) argument
4834 mpi3mr_complete_io_cmd(struct mpi3mr_softc *sc, struct mpi3mr_irq_context *irq_ctx) argument
4910 struct mpi3mr_softc *sc = irq_ctx->sc; local
4938 mpi3mr_alloc_requests(struct mpi3mr_softc *sc) argument
5008 mpi3mr_get_command(struct mpi3mr_softc *sc) argument
5043 struct mpi3mr_softc *sc = cmd->sc; local
5063 mpi3mr_free_ioctl_dma_memory(struct mpi3mr_softc *sc) argument
5109 mpi3mr_alloc_ioctl_dma_memory(struct mpi3mr_softc *sc) argument
5214 mpi3mr_destory_mtx(struct mpi3mr_softc *sc) argument
5290 mpi3mr_free_mem(struct mpi3mr_softc *sc) argument
5509 mpi3mr_drv_cmd_comp_reset(struct mpi3mr_softc *sc, struct mpi3mr_drvr_cmd *cmdptr) argument
5531 mpi3mr_flush_drv_cmds(struct mpi3mr_softc *sc) argument
5573 mpi3mr_memset_buffers(struct mpi3mr_softc *sc) argument
5634 mpi3mr_invalidate_devhandles(struct mpi3mr_softc *sc) argument
5661 mpi3mr_rfresh_tgtdevs(struct mpi3mr_softc *sc) argument
5683 mpi3mr_flush_io(struct mpi3mr_softc *sc) argument
5713 mpi3mr_clear_reset_history(struct mpi3mr_softc *sc) argument
5731 mpi3mr_set_diagsave(struct mpi3mr_softc *sc) argument
5754 mpi3mr_issue_reset(struct mpi3mr_softc *sc, U16 reset_type, U32 reset_reason) argument
5860 mpi3mr_cleanup_event_taskq(struct mpi3mr_softc *sc) argument
5891 mpi3mr_soft_reset_handler(struct mpi3mr_softc *sc, U32 reset_reason, bool snapdump) argument
6027 mpi3mr_issue_ioc_shutdown(struct mpi3mr_softc *sc) argument
6118 mpi3mr_cleanup_ioc(struct mpi3mr_softc *sc) argument
[all...]
/freebsd-current/sys/dev/dpaa/
H A Dif_dtsec.c157 struct dtsec_softc *sc; local
159 sc = h_App;
160 device_printf(sc->sc_dev, "MDIO event %i: %s.\n", exception,
167 struct dtsec_softc *sc; local
169 sc = app;
170 device_printf(sc->sc_dev, "MAC exception %i: %s.\n", exception,
175 dtsec_fm_mac_free(struct dtsec_softc *sc) argument
177 if (sc->sc_mach == NULL)
180 FM_MAC_Disable(sc->sc_mach, e_COMM_MODE_RX_AND_TX);
181 FM_MAC_Free(sc
186 dtsec_fm_mac_init(struct dtsec_softc *sc, uint8_t *mac) argument
261 struct dtsec_softc *sc; local
272 struct dtsec_softc *sc; local
307 dtsec_fm_port_free_both(struct dtsec_softc *sc) argument
327 dtsec_set_mtu(struct dtsec_softc *sc, unsigned int mtu) argument
345 struct dtsec_softc *sc = arg; local
353 dtsec_setup_multicast(struct dtsec_softc *sc) argument
370 dtsec_if_enable_locked(struct dtsec_softc *sc) argument
399 dtsec_if_disable_locked(struct dtsec_softc *sc) argument
425 struct dtsec_softc *sc; local
470 struct dtsec_softc *sc; local
484 dtsec_if_deinit_locked(struct dtsec_softc *sc) argument
495 dtsec_if_init_locked(struct dtsec_softc *sc) argument
534 struct dtsec_softc *sc; local
546 struct dtsec_softc *sc; local
569 struct dtsec_softc *sc = if_getsoftc(ifp); local
581 struct dtsec_softc *sc = if_getsoftc(ifp); local
600 dtsec_configure_mode(struct dtsec_softc *sc) argument
627 struct dtsec_softc *sc; local
760 struct dtsec_softc *sc; local
830 struct dtsec_softc *sc; local
841 struct dtsec_softc *sc; local
851 struct dtsec_softc *sc; local
[all...]
/freebsd-current/sys/dev/gpio/
H A Dgpiospi.c79 gpio_delay(struct gpio_spi_softc *sc) argument
83 d = sc->sc_freq / 1000000;
94 struct gpio_spi_softc *sc; local
96 sc = device_get_softc(dev);
97 sc->sc_dev = dev;
98 sc->sc_busdev = device_get_parent(dev);
104 sc->sc_sclk = value & 0xff;
109 sc->sc_mosi = value & 0xff;
115 sc->sc_miso = value & 0xff;
120 sc
192 gpio_spi_chip_activate(struct gpio_spi_softc *sc, int cs) argument
221 gpio_spi_chip_deactivate(struct gpio_spi_softc *sc, int cs) argument
265 gpio_spi_txrx(struct gpio_spi_softc *sc, int cs, int mode, uint8_t data) argument
324 struct gpio_spi_softc *sc; local
[all...]

Completed in 372 milliseconds

1234567891011>>