Lines Matching defs:adapter
79 void igc_reset(struct igc_adapter *adapter) in igc_reset()
132 static void igc_power_up_link(struct igc_adapter *adapter) in igc_power_up_link()
149 static void igc_release_hw_control(struct igc_adapter *adapter) in igc_release_hw_control()
171 static void igc_get_hw_control(struct igc_adapter *adapter) in igc_get_hw_control()
298 static void igc_free_all_tx_resources(struct igc_adapter *adapter) in igc_free_all_tx_resources()
310 static void igc_clean_all_tx_rings(struct igc_adapter *adapter) in igc_clean_all_tx_rings()
335 static void igc_disable_all_tx_rings_hw(struct igc_adapter *adapter) in igc_disable_all_tx_rings_hw()
390 static int igc_setup_all_tx_resources(struct igc_adapter *adapter) in igc_setup_all_tx_resources()
480 static void igc_clean_all_rx_rings(struct igc_adapter *adapter) in igc_clean_all_rx_rings()
520 static void igc_free_all_rx_resources(struct igc_adapter *adapter) in igc_free_all_rx_resources()
590 static int igc_setup_all_rx_resources(struct igc_adapter *adapter) in igc_setup_all_rx_resources()
608 static struct xsk_buff_pool *igc_get_xsk_pool(struct igc_adapter *adapter, in igc_get_xsk_pool()
625 static void igc_configure_rx_ring(struct igc_adapter *adapter, in igc_configure_rx_ring()
710 static void igc_configure_rx(struct igc_adapter *adapter) in igc_configure_rx()
728 static void igc_configure_tx_ring(struct igc_adapter *adapter, in igc_configure_tx_ring()
766 static void igc_configure_tx(struct igc_adapter *adapter) in igc_configure_tx()
778 static void igc_setup_mrqc(struct igc_adapter *adapter) in igc_setup_mrqc()
835 static void igc_setup_rctl(struct igc_adapter *adapter) in igc_setup_rctl()
882 static void igc_setup_tctl(struct igc_adapter *adapter) in igc_setup_tctl()
912 static void igc_set_mac_filter_hw(struct igc_adapter *adapter, int index, in igc_set_mac_filter_hw()
950 static void igc_clear_mac_filter_hw(struct igc_adapter *adapter, int index) in igc_clear_mac_filter_hw()
965 static void igc_set_default_mac_filter(struct igc_adapter *adapter) in igc_set_default_mac_filter()
984 struct igc_adapter *adapter = netdev_priv(netdev); in igc_set_mac() local
1011 struct igc_adapter *adapter = netdev_priv(netdev); in igc_write_mc_addr_list() local
1041 struct igc_adapter *adapter = netdev_priv(ring->netdev); in igc_tx_launchtime() local
1547 static bool igc_request_tx_tstamp(struct igc_adapter *adapter, struct sk_buff *skb, u32 *flags) in igc_request_tx_tstamp()
1570 struct igc_adapter *adapter = netdev_priv(tx_ring->netdev); in igc_xmit_frame_ring() local
1687 static inline struct igc_ring *igc_tx_queue_mapping(struct igc_adapter *adapter, in igc_tx_queue_mapping()
1701 struct igc_adapter *adapter = netdev_priv(netdev); in igc_xmit_frame() local
1834 struct igc_adapter *adapter = netdev_priv(netdev); in igc_vlan_mode() local
1850 static void igc_restore_vlan(struct igc_adapter *adapter) in igc_restore_vlan()
2168 struct igc_adapter *adapter = rx_ring->q_vector->adapter; in igc_rx_offset() local
2447 static struct igc_ring *igc_xdp_get_tx_ring(struct igc_adapter *adapter, in igc_xdp_get_tx_ring()
2461 static int igc_xdp_xmit_back(struct igc_adapter *adapter, struct xdp_buff *xdp) in igc_xdp_xmit_back()
2484 static int __igc_xdp_run_prog(struct igc_adapter *adapter, in __igc_xdp_run_prog()
2514 static struct sk_buff *igc_xdp_run_prog(struct igc_adapter *adapter, in igc_xdp_run_prog()
2543 static void igc_finalize_xdp(struct igc_adapter *adapter, int status) in igc_finalize_xdp()
2579 struct igc_adapter *adapter = q_vector->adapter; in igc_clean_rx_irq() local
2768 struct igc_adapter *adapter = q_vector->adapter; in igc_clean_rx_irq_zc() local
2952 struct igc_adapter *adapter = q_vector->adapter; in igc_clean_tx_irq() local
3121 static int igc_find_mac_filter(struct igc_adapter *adapter, in igc_find_mac_filter()
3149 static int igc_get_avail_mac_filter_slot(struct igc_adapter *adapter) in igc_get_avail_mac_filter_slot()
3177 static int igc_add_mac_filter(struct igc_adapter *adapter, in igc_add_mac_filter()
3207 static void igc_del_mac_filter(struct igc_adapter *adapter, in igc_del_mac_filter()
3243 static int igc_add_vlan_prio_filter(struct igc_adapter *adapter, int prio, in igc_add_vlan_prio_filter()
3272 static void igc_del_vlan_prio_filter(struct igc_adapter *adapter, int prio) in igc_del_vlan_prio_filter()
3288 static int igc_get_avail_etype_filter_slot(struct igc_adapter *adapter) in igc_get_avail_etype_filter_slot()
3313 static int igc_add_etype_filter(struct igc_adapter *adapter, u16 etype, in igc_add_etype_filter()
3344 static int igc_find_etype_filter(struct igc_adapter *adapter, u16 etype) in igc_find_etype_filter()
3364 static void igc_del_etype_filter(struct igc_adapter *adapter, u16 etype) in igc_del_etype_filter()
3379 static int igc_flex_filter_select(struct igc_adapter *adapter, in igc_flex_filter_select()
3420 static int igc_write_flex_filter_ll(struct igc_adapter *adapter, in igc_write_flex_filter_ll()
3538 static int igc_find_avail_flex_filter_slot(struct igc_adapter *adapter) in igc_find_avail_flex_filter_slot()
3560 static bool igc_flex_filter_in_use(struct igc_adapter *adapter) in igc_flex_filter_in_use()
3577 static int igc_add_flex_filter(struct igc_adapter *adapter, in igc_add_flex_filter()
3653 static void igc_del_flex_filter(struct igc_adapter *adapter, in igc_del_flex_filter()
3684 static int igc_enable_nfc_rule(struct igc_adapter *adapter, in igc_enable_nfc_rule()
3726 static void igc_disable_nfc_rule(struct igc_adapter *adapter, in igc_disable_nfc_rule()
3762 struct igc_nfc_rule *igc_get_nfc_rule(struct igc_adapter *adapter, in igc_get_nfc_rule()
3786 void igc_del_nfc_rule(struct igc_adapter *adapter, struct igc_nfc_rule *rule) in igc_del_nfc_rule()
3796 static void igc_flush_nfc_rules(struct igc_adapter *adapter) in igc_flush_nfc_rules()
3819 int igc_add_nfc_rule(struct igc_adapter *adapter, struct igc_nfc_rule *rule) in igc_add_nfc_rule()
3840 static void igc_restore_nfc_rules(struct igc_adapter *adapter) in igc_restore_nfc_rules()
3854 struct igc_adapter *adapter = netdev_priv(netdev); in igc_uc_sync() local
3861 struct igc_adapter *adapter = netdev_priv(netdev); in igc_uc_unsync() local
3878 struct igc_adapter *adapter = netdev_priv(netdev); in igc_set_rx_mode() local
3922 static void igc_configure(struct igc_adapter *adapter) in igc_configure()
3985 struct igc_adapter *adapter = q_vector->adapter; in igc_assign_vector() local
4026 static void igc_configure_msix(struct igc_adapter *adapter) in igc_configure_msix()
4067 static void igc_irq_enable(struct igc_adapter *adapter) in igc_irq_enable()
4090 static void igc_irq_disable(struct igc_adapter *adapter) in igc_irq_disable()
4119 void igc_set_flag_queue_pairs(struct igc_adapter *adapter, in igc_set_flag_queue_pairs()
4132 unsigned int igc_get_max_rss_queues(struct igc_adapter *adapter) in igc_get_max_rss_queues()
4137 static void igc_init_queue_configuration(struct igc_adapter *adapter) in igc_init_queue_configuration()
4155 static void igc_reset_q_vector(struct igc_adapter *adapter, int v_idx) in igc_reset_q_vector()
4181 static void igc_free_q_vector(struct igc_adapter *adapter, int v_idx) in igc_free_q_vector()
4202 static void igc_free_q_vectors(struct igc_adapter *adapter) in igc_free_q_vectors()
4285 struct igc_adapter *adapter = q_vector->adapter; in igc_set_itr() local
4347 static void igc_reset_interrupt_capability(struct igc_adapter *adapter) in igc_reset_interrupt_capability()
4371 static void igc_set_interrupt_capability(struct igc_adapter *adapter, in igc_set_interrupt_capability()
4449 struct igc_adapter *adapter = q_vector->adapter; in igc_update_ring_itr() local
4511 struct igc_adapter *adapter = q_vector->adapter; in igc_ring_irq_enable() local
4544 static void igc_cache_ring_register(struct igc_adapter *adapter) in igc_cache_ring_register()
4611 static int igc_alloc_q_vector(struct igc_adapter *adapter, in igc_alloc_q_vector()
4715 static int igc_alloc_q_vectors(struct igc_adapter *adapter) in igc_alloc_q_vectors()
4774 static int igc_init_interrupt_scheme(struct igc_adapter *adapter, bool msix) in igc_init_interrupt_scheme()
4804 static int igc_sw_init(struct igc_adapter *adapter) in igc_sw_init()
4857 void igc_up(struct igc_adapter *adapter) in igc_up()
4890 void igc_update_stats(struct igc_adapter *adapter) in igc_update_stats()
5057 void igc_down(struct igc_adapter *adapter) in igc_down()
5123 void igc_reinit_locked(struct igc_adapter *adapter) in igc_reinit_locked()
5134 struct igc_adapter *adapter; in igc_reset_task() local
5163 struct igc_adapter *adapter = netdev_priv(netdev); in igc_change_mtu() local
5204 struct igc_adapter *adapter = netdev_priv(netdev); in igc_tx_timeout() local
5225 struct igc_adapter *adapter = netdev_priv(netdev); in igc_get_stats64() local
5252 struct igc_adapter *adapter = netdev_priv(netdev); in igc_set_features() local
5305 static void igc_tsync_interrupt(struct igc_adapter *adapter) in igc_tsync_interrupt()
5387 struct igc_adapter *adapter = data; in igc_msix_other() local
5450 static int igc_request_msix(struct igc_adapter *adapter) in igc_request_msix()
5516 static void igc_clear_interrupt_scheme(struct igc_adapter *adapter) in igc_clear_interrupt_scheme()
5527 struct igc_adapter *adapter = from_timer(adapter, t, phy_info_timer); in igc_update_phy_info() local
5536 bool igc_has_link(struct igc_adapter *adapter) in igc_has_link()
5569 struct igc_adapter *adapter = from_timer(adapter, t, watchdog_timer); in igc_watchdog() local
5576 struct igc_adapter *adapter = container_of(work, in igc_watchdog_task() local
5753 struct igc_adapter *adapter = data; in igc_intr_msi() local
5790 struct igc_adapter *adapter = data; in igc_intr() local
5829 static void igc_free_irq(struct igc_adapter *adapter) in igc_free_irq()
5851 static int igc_request_irq(struct igc_adapter *adapter) in igc_request_irq()
5912 struct igc_adapter *adapter = netdev_priv(netdev); in __igc_open() local
6012 struct igc_adapter *adapter = netdev_priv(netdev); in __igc_close() local
6060 static int igc_save_launchtime_params(struct igc_adapter *adapter, int queue, in igc_save_launchtime_params()
6083 static bool validate_schedule(struct igc_adapter *adapter, in validate_schedule()
6136 static int igc_tsn_enable_launchtime(struct igc_adapter *adapter, in igc_tsn_enable_launchtime()
6152 static int igc_qbv_clear_schedule(struct igc_adapter *adapter) in igc_qbv_clear_schedule()
6187 static int igc_tsn_clear_schedule(struct igc_adapter *adapter) in igc_tsn_clear_schedule()
6214 static int igc_save_qbv_schedule(struct igc_adapter *adapter, in igc_save_qbv_schedule()
6339 static int igc_tsn_enable_qbv_scheduling(struct igc_adapter *adapter, in igc_tsn_enable_qbv_scheduling()
6355 static int igc_save_cbs_params(struct igc_adapter *adapter, int queue, in igc_save_cbs_params()
6402 static int igc_tsn_enable_cbs(struct igc_adapter *adapter, in igc_tsn_enable_cbs()
6423 static int igc_tc_query_caps(struct igc_adapter *adapter, in igc_tc_query_caps()
6449 struct igc_adapter *adapter = netdev_priv(dev); in igc_setup_tc() local
6472 struct igc_adapter *adapter = netdev_priv(dev); in igc_bpf() local
6488 struct igc_adapter *adapter = netdev_priv(dev); in igc_xdp_xmit() local
6528 static void igc_trigger_rxtxq_interrupt(struct igc_adapter *adapter, in igc_trigger_rxtxq_interrupt()
6540 struct igc_adapter *adapter = netdev_priv(dev); in igc_xsk_wakeup() local
6587 struct igc_adapter *adapter = hw->back; in igc_read_pci_cfg() local
6594 struct igc_adapter *adapter = hw->back; in igc_write_pci_cfg() local
6601 struct igc_adapter *adapter = hw->back; in igc_read_pcie_cap_reg() local
6613 struct igc_adapter *adapter = hw->back; in igc_write_pcie_cap_reg() local
6702 struct igc_adapter *adapter = container_of(timer, struct igc_adapter, in igc_qbv_scheduling_timer() local
6741 struct igc_adapter *adapter; in igc_probe() local
6993 struct igc_adapter *adapter = netdev_priv(netdev); in igc_remove() local
7032 struct igc_adapter *adapter = netdev_priv(netdev); in __igc_shutdown() local
7105 struct igc_adapter *adapter = netdev_priv(netdev); in igc_deliver_wake_packet() local
7137 struct igc_adapter *adapter = netdev_priv(netdev); in igc_resume() local
7199 struct igc_adapter *adapter = netdev_priv(netdev); in igc_runtime_idle() local
7232 struct igc_adapter *adapter = netdev_priv(netdev); in igc_io_error_detected() local
7257 struct igc_adapter *adapter = netdev_priv(netdev); in igc_io_slot_reset() local
7296 struct igc_adapter *adapter = netdev_priv(netdev); in igc_io_resume() local
7345 int igc_reinit_queues(struct igc_adapter *adapter) in igc_reinit_queues()
7374 struct igc_adapter *adapter = hw->back; in igc_get_hw_dev() local
7399 struct igc_adapter *adapter = ring->q_vector->adapter; in igc_enable_rx_ring() local
7417 struct igc_adapter *adapter = ring->q_vector->adapter; in igc_enable_tx_ring() local