Home
last modified time | relevance | path

Searched refs:iflib_get_softc (Results 1 – 25 of 25) sorted by relevance

/freebsd/sys/dev/enetc/
H A Dif_enetc.c370 sc = iflib_get_softc(ctx); in enetc_attach_pre()
448 enetc_init_hw(iflib_get_softc(ctx)); in enetc_attach_post()
458 sc = iflib_get_softc(ctx); in enetc_detach()
489 sc = iflib_get_softc(ctx); in enetc_tx_queues_alloc()
520 sc = iflib_get_softc(ctx); in enetc_rx_queues_alloc()
547 sc = iflib_get_softc(ctx); in enetc_queues_free()
838 sc = iflib_get_softc(ctx); in enetc_setup_multicast()
876 sc = iflib_get_softc(ctx); in enetc_vlan_register()
897 sc = iflib_get_softc(ctx); in enetc_vlan_unregister()
920 sc = iflib_get_softc(ctx); in enetc_init()
[all …]
/freebsd/sys/dev/aq/
H A Daq_main.c337 softc = iflib_get_softc(ctx); in aq_if_attach_pre()
479 softc = iflib_get_softc(ctx); in aq_if_attach_post()
530 softc = iflib_get_softc(ctx); in aq_if_detach()
563 struct aq_dev *softc = iflib_get_softc(ctx); in aq_if_suspend()
578 struct aq_dev *softc = iflib_get_softc(ctx); in aq_if_resume()
633 softc = iflib_get_softc(ctx); in aq_if_tx_queues_alloc()
679 softc = iflib_get_softc(ctx); in aq_if_rx_queues_alloc()
723 softc = iflib_get_softc(ctx); in aq_if_queues_free()
756 softc = iflib_get_softc(ctx); in aq_if_init()
868 softc = iflib_get_softc(ctx); in aq_if_stop()
[all …]
H A Daq_media.c96 struct aq_dev *aq_dev = iflib_get_softc(if_getsoftc(ifp)); in aq_mediastatus()
110 struct aq_dev *aq_dev = iflib_get_softc(if_getsoftc(ifp)); in aq_mediachange()
H A Daq_irq.c340 struct aq_dev *aq_dev = iflib_get_softc(ctx); in aq_if_update_admin_status()
/freebsd/sys/dev/ixgbe/
H A Dif_ixv.c286 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixv_if_tx_queues_alloc()
346 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixv_if_rx_queues_alloc()
395 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixv_if_queues_free()
442 sc = iflib_get_softc(ctx); in ixv_if_attach_pre()
567 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixv_if_attach_post()
603 sc = iflib_get_softc(ctx); in ixv_if_detach()
616 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixv_if_mtu_set()
640 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixv_rss_query_status()
655 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixv_if_get_rss_key()
675 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixv_if_get_rss_hash()
[all …]
H A Dif_ix.c356 sc = iflib_get_softc(ctx); in ixgbe_device_iov_init()
537 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_if_tx_queues_alloc()
605 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_if_rx_queues_alloc()
651 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_if_queues_free()
851 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_initialize_receive_units()
978 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_initialize_transmit_units()
1115 sc = iflib_get_softc(ctx); in ixgbe_if_attach_pre()
1331 sc = iflib_get_softc(ctx); in ixgbe_if_attach_post()
1427 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_configure_wakeup()
1516 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_setup_interface()
[all …]
H A Dif_ix_mdio.c82 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_mdio_readreg_c22()
114 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_mdio_writereg_c22()
H A Dif_fdir.c55 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_reinit_fdir()
H A Dif_sriov.c786 sc = iflib_get_softc(ctx); in ixgbe_iov_recovery_task()
1401 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_process_vf_msg()
1612 struct ixgbe_softc *sc = iflib_get_softc(ctx); in ixgbe_handle_mbx()
1787 sc = iflib_get_softc(ctx); in ixgbe_if_vf_status()
1903 sc = iflib_get_softc(ctx); in ixgbe_if_iov_init()
1977 sc = iflib_get_softc(ctx); in ixgbe_if_iov_uninit()
2205 sc = iflib_get_softc(ctx); in ixgbe_if_iov_vf_add()
/freebsd/sys/dev/ixl/
H A Dif_ixl.c537 pf = iflib_get_softc(ctx); in ixl_if_attach_pre()
723 pf = iflib_get_softc(ctx); in ixl_if_attach_post()
887 struct ixl_pf *pf = iflib_get_softc(ctx); in ixl_if_detach()
975 struct ixl_pf *pf = iflib_get_softc(ctx); in ixl_if_init()
1077 struct ixl_pf *pf = iflib_get_softc(ctx); in ixl_if_stop()
1127 pf = iflib_get_softc(ctx); in ixl_if_led_func()
1183 struct ixl_pf *pf = iflib_get_softc(ctx); in ixl_if_msix_intr_assign()
1259 struct ixl_pf *pf = iflib_get_softc(ctx); in ixl_if_enable_intr()
1286 struct ixl_pf *pf = iflib_get_softc(ctx); in ixl_if_disable_intr()
1306 struct ixl_pf *pf = iflib_get_softc(ctx); in ixl_if_rx_queue_intr_enable()
[all …]
H A Dixl_pf_iov.c2263 struct ixl_pf *pf = iflib_get_softc(ctx); in ixl_if_iov_init()
2291 struct ixl_pf *pf = iflib_get_softc(ctx); in ixl_if_iov_uninit()
2369 struct ixl_pf *pf = iflib_get_softc(ctx); in ixl_if_iov_vf_add()
/freebsd/sys/dev/mgb/
H A Dif_mgb.c340 sc = iflib_get_softc(ctx); in mgb_attach_pre()
462 sc = iflib_get_softc(ctx); in mgb_attach_post()
476 sc = iflib_get_softc(ctx); in mgb_detach()
507 sc = iflib_get_softc(ctx); in mgb_media_change()
524 sc = iflib_get_softc(if_getsoftc(ifp)); in mgb_media_status()
542 sc = iflib_get_softc(ctx); in mgb_tx_queues_alloc()
566 sc = iflib_get_softc(ctx); in mgb_rx_queues_alloc()
587 sc = iflib_get_softc(ctx); in mgb_queues_free()
600 sc = iflib_get_softc(ctx); in mgb_init()
720 sc = iflib_get_softc(ctx); in mgb_stop()
[all …]
/freebsd/sys/dev/ice/
H A Dif_ice_iflib.c486 struct ice_softc *sc = (struct ice_softc *)iflib_get_softc(ctx); in ice_if_attach_pre()
789 struct ice_softc *sc = (struct ice_softc *)iflib_get_softc(ctx); in ice_if_attach_post()
972 struct ice_softc *sc = (struct ice_softc *)iflib_get_softc(ctx); in ice_if_detach()
1070 struct ice_softc *sc = (struct ice_softc *)iflib_get_softc(ctx); in ice_if_tx_queues_alloc()
1162 struct ice_softc *sc = (struct ice_softc *)iflib_get_softc(ctx); in ice_if_rx_queues_alloc()
1239 struct ice_softc *sc = (struct ice_softc *)iflib_get_softc(ctx); in ice_if_queues_free()
1641 struct ice_softc *sc = (struct ice_softc *)iflib_get_softc(ctx); in ice_if_msix_intr_assign()
1750 struct ice_softc *sc = (struct ice_softc *)iflib_get_softc(ctx); in ice_if_mtu_set()
1778 struct ice_softc *sc = (struct ice_softc *)iflib_get_softc(ctx); in ice_if_intr_enable()
1805 struct ice_softc *sc = (struct ice_softc *)iflib_get_softc(ctx); in ice_if_intr_disable()
[all …]
/freebsd/sys/dev/igc/
H A Dif_igc.c497 sc = iflib_get_softc(ctx); in igc_if_attach_pre()
742 struct igc_softc *sc = iflib_get_softc(ctx); in igc_if_attach_post()
780 struct igc_softc *sc = iflib_get_softc(ctx); in igc_if_detach()
816 struct igc_softc *sc = iflib_get_softc(ctx); in igc_if_suspend()
827 struct igc_softc *sc = iflib_get_softc(ctx); in igc_if_resume()
855 struct igc_softc *sc = iflib_get_softc(ctx); in igc_if_mtu_set()
884 struct igc_softc *sc = iflib_get_softc(ctx); in igc_if_init()
1169 struct igc_softc *sc = iflib_get_softc(ctx); in igc_if_rx_queue_intr_enable()
1179 struct igc_softc *sc = iflib_get_softc(ctx); in igc_if_tx_queue_intr_enable()
1242 struct igc_softc *sc = iflib_get_softc(ctx); in igc_handle_link()
[all …]
/freebsd/sys/dev/e1000/
H A Dif_igbv.c283 sc = iflib_get_softc(ctx); in igbv_mbx_retry_failed()
374 sc = iflib_get_softc(ctx); in igbv_queue_retry_failed()
493 sc = iflib_get_softc(ctx); in igbv_if_attach_pre()
511 sc = iflib_get_softc(ctx); in igbv_if_attach_post()
545 sc = iflib_get_softc(ctx); in igbv_if_update_admin_status()
750 sc = iflib_get_softc(ctx); in igbv_reset()
792 KASSERT(((struct e1000_softc *)iflib_get_softc(ctx))->vf_ifp, in igbv_initialize_transmit_unit()
801 KASSERT(((struct e1000_softc *)iflib_get_softc(ctx))->vf_ifp, in igbv_initialize_receive_unit()
813 sc = iflib_get_softc(ctx); in igbv_if_intr_enable()
833 sc = iflib_get_softc(ctx); in igbv_if_intr_disable()
H A Dif_em.c1088 sc = iflib_get_softc(ctx); in igb_device_attach()
1103 sc = iflib_get_softc(ctx); in igb_device_iov_init()
1117 sc = iflib_get_softc(ctx); in igb_device_iov_uninit()
1132 struct e1000_softc *sc = iflib_get_softc(ctx); in em_set_num_queues()
1278 sc = iflib_get_softc(ctx); in em_if_attach_pre()
1698 struct e1000_softc *sc = iflib_get_softc(ctx); in em_if_attach_post()
1759 struct e1000_softc *sc = iflib_get_softc(ctx); in em_if_detach()
1804 struct e1000_softc *sc = iflib_get_softc(ctx); in em_if_suspend()
1820 struct e1000_softc *sc = iflib_get_softc(ctx); in em_if_resume()
1862 struct e1000_softc *sc = iflib_get_softc(ctx); in em_if_mtu_set()
[all …]
H A Dif_igb_iov.c2008 sc = iflib_get_softc(ctx); in igb_if_vf_status()
2069 sc = iflib_get_softc(ctx); in igb_if_iov_init()
2107 sc = iflib_get_softc(ctx); in igb_if_iov_uninit()
2213 sc = iflib_get_softc(ctx); in igb_if_iov_vf_add()
/freebsd/sys/dev/axgbe/
H A Dif_axgbe_pci.c322 struct axgbe_if_softc *sc = iflib_get_softc(device_get_softc(dev)); in axgbe_miibus_readreg()
337 struct axgbe_if_softc *sc = iflib_get_softc(device_get_softc(dev)); in axgbe_miibus_writereg()
350 struct axgbe_if_softc *sc = iflib_get_softc(device_get_softc(dev)); in axgbe_miibus_statchg()
408 sc = iflib_get_softc(ctx); in axgbe_if_attach_pre()
603 struct axgbe_if_softc *sc = iflib_get_softc(ctx); in axgbe_set_counts()
767 struct axgbe_if_softc *sc = iflib_get_softc(ctx); in axgbe_alloc_channels()
1397 struct axgbe_if_softc *sc = iflib_get_softc(ctx); in axgbe_if_attach_post()
1523 struct axgbe_if_softc *sc = iflib_get_softc(ctx); in axgbe_interrupts_free()
1562 struct axgbe_if_softc *sc = iflib_get_softc(ctx); in axgbe_if_detach()
1648 struct axgbe_if_softc *sc = iflib_get_softc(ctx); in axgbe_if_init()
[all …]
/freebsd/sys/dev/enic/
H A Dif_enic.c349 softc = iflib_get_softc(ctx); in enic_attach_pre()
532 softc = iflib_get_softc(ctx); in enic_msix_intr_assign()
657 softc = iflib_get_softc(ctx); in enic_attach_post()
678 softc = iflib_get_softc(ctx); in enic_detach()
716 softc = iflib_get_softc(ctx); in enic_tx_queues_alloc()
796 softc = iflib_get_softc(ctx); in enic_rx_queues_alloc()
866 softc = iflib_get_softc(ctx); in enic_queues_free()
934 softc = iflib_get_softc(ctx); in enic_stop()
989 softc = iflib_get_softc(ctx); in enic_init()
1068 softc = iflib_get_softc(ctx); in enic_multi_set()
[all …]
/freebsd/sys/dev/vmware/vmxnet3/
H A Dif_vmx.c336 sc = iflib_get_softc(ctx); in vmxnet3_attach_pre()
473 sc = iflib_get_softc(ctx); in vmxnet3_msix_intr_assign()
548 sc = iflib_get_softc(ctx); in vmxnet3_attach_post()
572 sc = iflib_get_softc(ctx); in vmxnet3_detach()
786 sc = iflib_get_softc(ctx); in vmxnet3_tx_queues_alloc()
881 sc = iflib_get_softc(ctx); in vmxnet3_rx_queues_alloc()
945 sc = iflib_get_softc(ctx); in vmxnet3_queues_free()
1802 sc = iflib_get_softc(ctx); in vmxnet3_stop()
1937 sc = iflib_get_softc(ctx); in vmxnet3_init()
1959 vmxnet3_set_rxfilter(iflib_get_softc(ctx), in vmxnet3_multi_set()
[all …]
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dif_bnxt.c600 softc = iflib_get_softc(ctx); in bnxt_tx_queues_alloc()
708 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_queues_free()
742 softc = iflib_get_softc(ctx); in bnxt_rx_queues_alloc()
2562 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_attach_pre()
2973 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_attach_post()
3014 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_detach()
3305 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_init_hw()
3500 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_stop()
3512 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_if_led_func()
3535 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_if_led_supported()
[all …]
H A Dbnxt_sriov.c72 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_iov_vf_add()
151 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_iov_uninit()
900 struct bnxt_softc *softc = iflib_get_softc(ctx); in bnxt_iov_init()
/freebsd/sys/dev/iavf/
H A Diavf_iflib.h123 ((struct iavf_sc *)iflib_get_softc(_ctx))
/freebsd/sys/net/
H A Diflib.h433 void *iflib_get_softc(if_ctx_t ctx);
H A Diflib.c289 iflib_get_softc(if_ctx_t ctx) in iflib_get_softc() function