/freebsd/sys/dev/oce/ |
H A D | oce_sysctl.c | 78 oce_add_sysctls(POCE_SOFTC sc) in oce_add_sysctls() 589 oce_phy_flashing_required(POCE_SOFTC sc) in oce_phy_flashing_required() 1103 oce_refresh_queue_stats(POCE_SOFTC sc) in oce_refresh_queue_stats() 1140 copy_stats_to_sc_xe201(POCE_SOFTC sc) in copy_stats_to_sc_xe201() 1279 copy_stats_to_sc_be2(POCE_SOFTC sc) in copy_stats_to_sc_be2() 1342 copy_stats_to_sc_be3(POCE_SOFTC sc) in copy_stats_to_sc_be3() 1406 copy_stats_to_sc_sh(POCE_SOFTC sc) in copy_stats_to_sc_sh() 1476 oce_stats_init(POCE_SOFTC sc) in oce_stats_init() 1495 oce_stats_free(POCE_SOFTC sc) in oce_stats_free() 1503 oce_refresh_nic_stats(POCE_SOFTC sc) in oce_refresh_nic_stats() [all …]
|
/freebsd/sys/dev/ixgbe/ |
H A D | if_bypass.c | 45 ixgbe_bypass_mutex_enter(struct ixgbe_softc *sc) in ixgbe_bypass_mutex_enter() 58 ixgbe_bypass_mutex_clear(struct ixgbe_softc *sc) in ixgbe_bypass_mutex_clear() 73 ixgbe_bypass_wd_mutex_enter(struct ixgbe_softc *sc) in ixgbe_bypass_wd_mutex_enter() 84 ixgbe_bypass_wd_mutex_clear(struct ixgbe_softc *sc) in ixgbe_bypass_wd_mutex_clear() 117 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_version() local 157 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_set_state() local 219 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_timeout() local 262 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_main_on() local 304 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_main_off() local 346 struct ixgbe_softc *sc = (struct ixgbe_softc *) arg1; in ixgbe_bp_aux_on() local [all …]
|
/freebsd/sys/dev/usb/controller/ |
H A D | uss820dci.c | 194 uss820dci_pull_up(struct uss820dci_softc *sc) in uss820dci_pull_up() 213 uss820dci_pull_down(struct uss820dci_softc *sc) in uss820dci_pull_down() 231 uss820dci_wakeup_peer(struct uss820dci_softc *sc) in uss820dci_wakeup_peer() 751 struct uss820dci_softc *sc = arg; in uss820dci_filter_interrupt() local 777 struct uss820dci_softc *sc = arg; in uss820dci_interrupt() local 1250 struct uss820dci_softc *sc; in uss820dci_set_stall() local 1337 struct uss820dci_softc *sc; in uss820dci_clear_stall() local 1363 uss820dci_init(struct uss820dci_softc *sc) in uss820dci_init() 1525 uss820dci_uninit(struct uss820dci_softc *sc) in uss820dci_uninit() 1548 uss820dci_suspend(struct uss820dci_softc *sc) in uss820dci_suspend() [all …]
|
/freebsd/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 167 #define HN_LOCK_INIT(sc) \ argument 171 #define HN_LOCK(sc) \ argument 1823 struct hn_softc *sc = xsc; in hn_xpnt_vf_init_taskfunc() local 1856 struct hn_softc *sc = xsc; in hn_ifnet_attevent() local 1944 struct hn_softc *sc = xsc; in hn_ifnet_detevent() local 2031 struct hn_softc *sc = xsc; in hn_ifnet_lnkevent() local 2040 struct hn_softc *sc = arg1; in hn_tsomax_sysctl() local 2599 struct hn_softc *sc = xsc; in hn_link_taskfunc() local 2609 struct hn_softc *sc = xsc; in hn_netchg_init_taskfunc() local 2628 struct hn_softc *sc = xsc; in hn_netchg_status_taskfunc() local [all …]
|
H A D | hn_nvs.c | 145 hn_nvs_conn_rxbuf(struct hn_softc *sc) in hn_nvs_conn_rxbuf() 223 hn_nvs_conn_chim(struct hn_softc *sc) in hn_nvs_conn_chim() 329 hn_nvs_disconn_rxbuf(struct hn_softc *sc) in hn_nvs_disconn_rxbuf() 389 hn_nvs_disconn_chim(struct hn_softc *sc) in hn_nvs_disconn_chim() 456 hn_nvs_doinit(struct hn_softc *sc, uint32_t nvs_ver) in hn_nvs_doinit() 505 hn_nvs_conf_ndis(struct hn_softc *sc, int mtu) in hn_nvs_conf_ndis() 534 hn_nvs_init_ndis(struct hn_softc *sc) in hn_nvs_init_ndis() 552 hn_nvs_init(struct hn_softc *sc) in hn_nvs_init() 608 hn_nvs_attach(struct hn_softc *sc, int mtu) in hn_nvs_attach() 659 hn_nvs_detach(struct hn_softc *sc) in hn_nvs_detach() [all …]
|
H A D | hn_rndis.c | 96 hn_rndis_rid(struct hn_softc *sc) in hn_rndis_rid() 153 hn_rndis_get_eaddr(struct hn_softc *sc, uint8_t *eaddr) in hn_rndis_get_eaddr() 189 hn_rndis_get_mtu(struct hn_softc *sc, uint32_t *mtu) in hn_rndis_get_mtu() 308 hn_rndis_query(struct hn_softc *sc, uint32_t oid, in hn_rndis_query() 316 hn_rndis_query2(struct hn_softc *sc, uint32_t oid, in hn_rndis_query2() 580 hn_rndis_reconf_offload(struct hn_softc *sc, int mtu) in hn_rndis_reconf_offload() 586 hn_rndis_conf_offload(struct hn_softc *sc, int mtu) in hn_rndis_conf_offload() 771 hn_rndis_conf_rss(struct hn_softc *sc, uint16_t flags) in hn_rndis_conf_rss() 848 hn_rndis_init(struct hn_softc *sc) in hn_rndis_init() 916 hn_rndis_halt(struct hn_softc *sc) in hn_rndis_halt() [all …]
|
/freebsd/sys/dev/mxge/ |
H A D | if_mxge.c | 1074 mxge_softc_t *sc; member 1313 mxge_softc_t *sc; in mxge_change_throttle() local 1342 mxge_softc_t *sc; in mxge_change_intr_coal() local 1369 mxge_softc_t *sc; in mxge_change_flow_control() local 2020 mxge_softc_t *sc; in mxge_encap() local 2200 mxge_softc_t *sc; in mxge_start_locked() local 2231 mxge_softc_t *sc; in mxge_transmit_locked() local 2556 mxge_softc_t *sc; in mxge_rx_done_big() local 2624 mxge_softc_t *sc; in mxge_rx_done_small() local 3394 mxge_softc_t *sc; in mxge_slice_open() local [all …]
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx6_anatop.c | 162 vdd_set(struct imx6_anatop_softc *sc, int mv) in vdd_set() 328 struct imx6_anatop_softc *sc; in cpufreq_sysctl_minmhz() local 360 struct imx6_anatop_softc *sc; in cpufreq_sysctl_maxmhz() local 496 struct imx6_anatop_softc *sc = arg1; in temp_sysctl_handler() local 509 struct imx6_anatop_softc *sc = arg1; in temp_throttle_sysctl_handler() local 534 tempmon_gofast(struct imx6_anatop_softc *sc) in tempmon_gofast() 554 struct imx6_anatop_softc *sc = arg; in tempmon_intr() local 569 struct imx6_anatop_softc *sc = arg; in tempmon_throttle_check() local 644 struct imx6_anatop_softc *sc; in intr_setup() local 663 struct imx6_anatop_softc *sc; in imx6_anatop_new_pass() local [all …]
|
/freebsd/sys/dev/sfxge/ |
H A D | sfxge_ev.c | 51 struct sfxge_softc *sc; in sfxge_ev_qcomplete() local 106 struct sfxge_softc *sc; in sfxge_ev_rx() local 170 struct sfxge_softc *sc; in sfxge_ev_exception() local 205 struct sfxge_softc *sc; in sfxge_ev_rxq_flush_done() local 239 struct sfxge_softc *sc; in sfxge_ev_rxq_flush_failed() local 324 struct sfxge_softc *sc; in sfxge_ev_txq_flush_done() local 468 struct sfxge_softc *sc = evq->sc; in sfxge_evq_stat_handler() local 483 struct sfxge_softc *sc = evq->sc; in sfxge_evq_stat_init() local 538 struct sfxge_softc *sc = arg1; in sfxge_ev_stat_handler() local 585 struct sfxge_softc *sc = arg1; in sfxge_int_mod_handler() local [all …]
|
H A D | sfxge_intr.c | 66 struct sfxge_softc *sc; in sfxge_intr_line_filter() local 130 struct sfxge_softc *sc; in sfxge_intr_message() local 161 sfxge_intr_bus_enable(struct sfxge_softc *sc) in sfxge_intr_bus_enable() 219 sfxge_intr_bus_disable(struct sfxge_softc *sc) in sfxge_intr_bus_disable() 292 sfxge_intr_setup_msix(struct sfxge_softc *sc) in sfxge_intr_setup_msix() 337 sfxge_intr_setup_msi(struct sfxge_softc *sc) in sfxge_intr_setup_msi() 372 sfxge_intr_setup_fixed(struct sfxge_softc *sc) in sfxge_intr_setup_fixed() 428 sfxge_intr_stop(struct sfxge_softc *sc) in sfxge_intr_stop() 450 sfxge_intr_start(struct sfxge_softc *sc) in sfxge_intr_start() 489 sfxge_intr_fini(struct sfxge_softc *sc) in sfxge_intr_fini() [all …]
|
/freebsd/sys/dev/ath/ath_rate/amrr/ |
H A D | amrr.c | 93 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_init() 99 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) in ath_rate_node_cleanup() 104 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, in ath_rate_findrate() 128 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, in ath_rate_getxtxrates() 147 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, in ath_rate_setupxtxdesc() 160 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, in ath_rate_tx_complete() 309 ath_rate_ctl_start(struct ath_softc *sc, struct ieee80211_node *ni) in ath_rate_ctl_start() 361 struct ath_softc *sc = arg; in ath_rate_ctl() local 430 ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an, in ath_rate_fetch_node_stats() 438 ath_rate_sysctlattach(struct ath_softc *sc) in ath_rate_sysctlattach() [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | uart_backend.c | 117 rxfifo_available(struct uart_softc *sc) in rxfifo_available() 123 uart_rxfifo_getchar(struct uart_softc *sc) in uart_rxfifo_getchar() 148 uart_rxfifo_numchars(struct uart_softc *sc) in uart_rxfifo_numchars() 154 rxfifo_putchar(struct uart_softc *sc, uint8_t ch) in rxfifo_putchar() 180 uart_rxfifo_drain(struct uart_softc *sc, bool loopback) in uart_rxfifo_drain() 208 uart_rxfifo_reset(struct uart_softc *sc, int size) in uart_rxfifo_reset() 263 uart_stdio_backend(struct uart_softc *sc) in uart_stdio_backend() 296 uart_tty_backend(struct uart_softc *sc, const char *path) in uart_tty_backend() 340 uart_tty_open(struct uart_softc *sc, const char *path, in uart_tty_open() 359 uart_softc_lock(struct uart_softc *sc) in uart_softc_lock() [all …]
|
/freebsd/sys/dev/ow/ |
H A D | owc_gpiobus.c | 100 struct owc_gpiobus_softc *sc; in owc_gpiobus_attach() local 143 struct owc_gpiobus_softc *sc; in owc_gpiobus_detach() local 166 #define OUTPIN(sc) gpio_pin_setflags((sc)->sc_pin, GPIO_PIN_OUTPUT) argument 167 #define INPIN(sc) gpio_pin_setflags((sc)->sc_pin, GPIO_PIN_INPUT) argument 168 #define GETPIN(sc, bp) gpio_pin_is_active((sc)->sc_pin, (bp)) argument 169 #define LOW(sc) gpio_pin_set_active((sc)->sc_pin, false) argument 186 struct owc_gpiobus_softc *sc; in owc_gpiobus_write_one() local 221 struct owc_gpiobus_softc *sc; in owc_gpiobus_write_zero() local 259 struct owc_gpiobus_softc *sc; in owc_gpiobus_read_data() local 321 struct owc_gpiobus_softc *sc; in owc_gpiobus_reset_and_presence() local
|
/freebsd/sys/geom/eli/ |
H A D | g_eli_key_cache.c | 74 g_eli_key_fill(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) in g_eli_key_fill() 101 g_eli_key_allocate(struct g_eli_softc *sc, uint64_t keyno) in g_eli_key_allocate() 131 g_eli_key_find_last(struct g_eli_softc *sc) in g_eli_key_find_last() 146 g_eli_key_replace(struct g_eli_softc *sc, struct g_eli_key *key, uint64_t keyno) in g_eli_key_replace() 164 g_eli_key_remove(struct g_eli_softc *sc, struct g_eli_key *key) in g_eli_key_remove() 178 g_eli_key_init(struct g_eli_softc *sc) in g_eli_key_init() 233 g_eli_key_destroy(struct g_eli_softc *sc) in g_eli_key_destroy() 251 g_eli_key_resize(struct g_eli_softc *sc) in g_eli_key_resize() 302 g_eli_key_hold(struct g_eli_softc *sc, off_t offset, size_t blocksize) in g_eli_key_hold() 361 g_eli_key_drop(struct g_eli_softc *sc, uint8_t *rawkey) in g_eli_key_drop()
|
/freebsd/sys/dev/mfi/ |
H A D | mfi_syspd.c | 98 struct mfi_system_pd *sc; in mfi_syspd_attach() local 157 struct mfi_system_pd *sc; in mfi_syspd_detach() local 183 struct mfi_system_pd *sc; in mfi_syspd_open() local 201 struct mfi_system_pd *sc; in mfi_syspd_close() local 212 mfi_syspd_disable(struct mfi_system_pd *sc) in mfi_syspd_disable() 229 mfi_syspd_enable(struct mfi_system_pd *sc) in mfi_syspd_enable() 240 struct mfi_system_pd *sc; in mfi_syspd_strategy() local 267 struct mfi_system_pd *sc; in mfi_syspd_dump() local
|
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn_beacon.c | 48 rtwn_reset_beacon_valid(struct rtwn_softc *sc, int id) in rtwn_reset_beacon_valid() 63 rtwn_check_beacon_valid(struct rtwn_softc *sc, int id) in rtwn_check_beacon_valid() 88 rtwn_switch_bcnq(struct rtwn_softc *sc, int id) in rtwn_switch_bcnq() 105 rtwn_setup_beacon(struct rtwn_softc *sc, struct ieee80211_node *ni) in rtwn_setup_beacon() 141 rtwn_tx_beacon(struct rtwn_softc *sc, struct rtwn_vap *uvp) in rtwn_tx_beacon() 160 struct rtwn_softc *sc = ic->ic_softc; in rtwn_update_beacon() local 222 struct rtwn_softc *sc = ic->ic_softc; in rtwn_tx_beacon_csa() local 242 rtwn_tx_beacon_check(struct rtwn_softc *sc, struct rtwn_vap *uvp) in rtwn_tx_beacon_check()
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_led.c | 123 ath_led_config(struct ath_softc *sc) in ath_led_config() 161 struct ath_softc *sc = arg; in ath_led_done() local 173 struct ath_softc *sc = arg; in ath_led_off() local 183 ath_led_blink(struct ath_softc *sc, int on, int off) in ath_led_blink() 193 ath_led_event(struct ath_softc *sc, int rix) in ath_led_event()
|
/freebsd/sys/dev/dpaa/ |
H A D | qman.c | 55 struct qman_softc *sc; in qman_exception() local 128 struct qman_softc *sc; in qman_received_frame_callback() local 146 struct qman_softc *sc; in qman_rejected_frame_callback() local 157 struct qman_softc *sc; in qman_attach() local 247 struct qman_softc *sc; in qman_detach() local 302 struct qman_softc *sc; in qman_fqr_create() local 377 struct qman_softc *sc; in qman_fqr_free() local 398 struct qman_softc *sc; in qman_fqr_register_cb() local 423 struct qman_softc *sc; in qman_fqr_enqueue() local 449 struct qman_softc *sc; in qman_fqr_get_counter() local [all …]
|
/freebsd/sys/dev/gpio/ |
H A D | qoriq_gpio.c | 53 struct qoriq_gpio_softc *sc; in qoriq_gpio_get_bus() local 72 struct qoriq_gpio_softc *sc; in qoriq_gpio_pin_getcaps() local 104 struct qoriq_gpio_softc *sc; in qoriq_gpio_pin_configure() local 138 struct qoriq_gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_setflags() local 157 struct qoriq_gpio_softc *sc; in qoriq_gpio_pin_getflags() local 175 struct qoriq_gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_set() local 199 struct qoriq_gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_get() local 213 struct qoriq_gpio_softc *sc = device_get_softc(dev); in qoriq_gpio_pin_toggle() local 253 struct qoriq_gpio_softc *sc; in qoriq_gpio_pin_access_32() local 278 struct qoriq_gpio_softc *sc; in qoriq_gpio_pin_config_32() local [all …]
|
/freebsd/sys/dev/agp/ |
H A D | agp_amd64.c | 162 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_attach() local 246 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_detach() local 278 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_get_aperture() local 293 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_set_aperture() local 329 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_bind_page() local 343 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_unbind_page() local 356 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_flush_tlb() local 373 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_apbase_fixup() local 387 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_uli_init() local 399 struct agp_amd64_softc *sc = device_get_softc(dev); in agp_amd64_uli_set_aperture() local [all …]
|
/freebsd/sys/dev/sound/pci/ |
H A D | hdspe.c | 113 struct sc_info *sc; in hdspe_intr() local 233 hdspe_map_dmabuf(struct sc_info *sc) in hdspe_map_dmabuf() 252 struct sc_info *sc = oidp->oid_arg1; in hdspe_sysctl_sample_rate() local 312 struct sc_info *sc; in hdspe_sysctl_clock_preference() local 363 struct sc_info *sc; in hdspe_sysctl_clock_source() local 403 struct sc_info *sc; in hdspe_sysctl_clock_list() local 432 struct sc_info *sc; in hdspe_sysctl_sync_status() local 495 hdspe_init(struct sc_info *sc) in hdspe_init() 542 struct sc_info *sc; in hdspe_attach() local 630 hdspe_dmafree(struct sc_info *sc) in hdspe_dmafree() [all …]
|
/freebsd/sys/dev/tpm/ |
H A D | tpm_tis_core.c | 98 struct tpm_sc *sc; in tpmtis_attach() local 133 struct tpm_sc *sc; in tpmtis_detach() local 158 tpmtis_test_intr(struct tpm_sc *sc) in tpmtis_test_intr() 175 tpmtis_setup_intr(struct tpm_sc *sc) in tpmtis_setup_intr() 214 struct tpm_sc *sc; in tpmtis_intr_handler() local 259 tpmtis_wait_for_burst(struct tpm_sc *sc) in tpmtis_wait_for_burst() 278 tpmtis_read_bytes(struct tpm_sc *sc, size_t count, uint8_t *buf) in tpmtis_read_bytes() 318 tpmtis_request_locality(struct tpm_sc *sc, int locality) in tpmtis_request_locality() 350 tpmtis_relinquish_locality(struct tpm_sc *sc) in tpmtis_relinquish_locality() 364 tpmtis_go_ready(struct tpm_sc *sc) in tpmtis_go_ready() [all …]
|
/freebsd/sys/dev/mii/ |
H A D | brgphy.c | 216 struct mii_softc *sc; in brgphy_attach() local 490 brgphy_status(struct mii_softc *sc) in brgphy_status() 655 brgphy_enable_loopback(struct mii_softc *sc) in brgphy_enable_loopback() 669 bcm5401_load_dspcode(struct mii_softc *sc) in bcm5401_load_dspcode() 696 bcm5411_load_dspcode(struct mii_softc *sc) in bcm5411_load_dspcode() 714 bcm54k2_load_dspcode(struct mii_softc *sc) in bcm54k2_load_dspcode() 749 brgphy_fixup_adc_bug(struct mii_softc *sc) in brgphy_fixup_adc_bug() 787 brgphy_fixup_ber_bug(struct mii_softc *sc) in brgphy_fixup_ber_bug() 810 brgphy_fixup_crc_bug(struct mii_softc *sc) in brgphy_fixup_crc_bug() 829 brgphy_fixup_jitter_bug(struct mii_softc *sc) in brgphy_fixup_jitter_bug() [all …]
|
H A D | rgephy.c | 115 struct mii_softc *sc; in rgephy_attach() local 149 rgephy_service(struct mii_softc *sc, struct mii_data *mii, int cmd) in rgephy_service() 278 rgephy_linkup(struct mii_softc *sc) in rgephy_linkup() 308 rgephy_status(struct mii_softc *sc) in rgephy_status() 411 rgephy_mii_phy_auto(struct mii_softc *sc, int media) in rgephy_mii_phy_auto() 434 rgephy_loop(struct mii_softc *sc) in rgephy_loop() 468 rgephy_load_dspcode(struct mii_softc *sc) in rgephy_load_dspcode() 520 rgephy_reset(struct mii_softc *sc) in rgephy_reset() 559 rgephy_disable_eee(struct mii_softc *sc) in rgephy_disable_eee()
|
/freebsd/sys/arm/ti/ |
H A D | ti_sdma.c | 215 struct ti_sdma_softc *sc = ti_sdma_sc; in ti_sdma_intr() local 317 struct ti_sdma_softc *sc = ti_sdma_sc; in ti_sdma_activate_channel() local 401 struct ti_sdma_softc *sc = ti_sdma_sc; in ti_sdma_deactivate_channel() local 456 struct ti_sdma_softc *sc = ti_sdma_sc; in ti_sdma_disable_channel_irq() local 515 struct ti_sdma_softc *sc = ti_sdma_sc; in ti_sdma_enable_channel_irq() local 581 struct ti_sdma_softc *sc = ti_sdma_sc; in ti_sdma_get_channel_status() local 626 struct ti_sdma_softc *sc = ti_sdma_sc; in ti_sdma_start_xfer() local 720 struct ti_sdma_softc *sc = ti_sdma_sc; in ti_sdma_start_xfer_packet() local 799 struct ti_sdma_softc *sc = ti_sdma_sc; in ti_sdma_stop_xfer() local 849 struct ti_sdma_softc *sc = ti_sdma_sc; in ti_sdma_set_xfer_endianess() local [all …]
|