/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc.h | 201 struct igc_adapter { struct 340 void igc_up(struct igc_adapter *adapter); argument 341 void igc_down(struct igc_adapter *adapter); 348 unsigned int igc_get_max_rss_queues(struct igc_adapter *adapter); 349 void igc_set_flag_queue_pairs(struct igc_adapter *adapter, 351 int igc_reinit_queues(struct igc_adapter *adapter); 352 void igc_write_rss_indir_tbl(struct igc_adapter *adapter); 353 bool igc_has_link(struct igc_adapter *adapter); 354 void igc_reset(struct igc_adapter *adapter); 355 void igc_update_stats(struct igc_adapter *adapter); [all …]
|
H A D | igc_ptp.c | 25 void igc_ptp_read(struct igc_adapter *adapter, struct timespec64 *ts) in igc_ptp_read() 38 static void igc_ptp_write_i225(struct igc_adapter *adapter, in igc_ptp_write_i225() 49 struct igc_adapter *igc = container_of(ptp, struct igc_adapter, in igc_ptp_adjfine_i225() 75 struct igc_adapter *igc = container_of(ptp, struct igc_adapter, in igc_ptp_adjtime_i225() 95 struct igc_adapter *igc = container_of(ptp, struct igc_adapter, in igc_ptp_gettimex64_i225() 115 struct igc_adapter *igc = container_of(ptp, struct igc_adapter, in igc_ptp_settime_i225() 144 static void igc_pin_perout(struct igc_adapter *igc, int chan, int pin, int freq) in igc_pin_perout() 210 static void igc_pin_extts(struct igc_adapter *igc, int chan, int pin) in igc_pin_extts() 249 struct igc_adapter *igc = in igc_ptp_feature_enable_i225() 250 container_of(ptp, struct igc_adapter, ptp_caps); in igc_ptp_feature_enable_i225() [all …]
|
H A D | igc_tsn.c | 8 static bool is_any_launchtime(struct igc_adapter *adapter) in is_any_launchtime() 22 static bool is_cbs_enabled(struct igc_adapter *adapter) in is_cbs_enabled() 36 static unsigned int igc_tsn_new_flags(struct igc_adapter *adapter) in igc_tsn_new_flags() 55 static bool igc_tsn_is_tx_mode_in_tsn(struct igc_adapter *adapter) in igc_tsn_is_tx_mode_in_tsn() 62 void igc_tsn_adjust_txtime_offset(struct igc_adapter *adapter) in igc_tsn_adjust_txtime_offset() 91 static void igc_tsn_restore_retx_default(struct igc_adapter *adapter) in igc_tsn_restore_retx_default() 100 bool igc_tsn_is_taprio_activated_by_user(struct igc_adapter *adapter) in igc_tsn_is_taprio_activated_by_user() 108 static void igc_tsn_tx_arb(struct igc_adapter *adapter, u16 *queue_per_tc) in igc_tsn_tx_arb() 131 static int igc_tsn_disable_offload(struct igc_adapter *adapter) in igc_tsn_disable_offload() 180 static void igc_tsn_set_retx_qbvfullthreshold(struct igc_adapter *adapter) in igc_tsn_set_retx_qbvfullthreshold() [all …]
|
H A D | igc_tsn.h | 7 int igc_tsn_offload_apply(struct igc_adapter *adapter); 8 int igc_tsn_reset(struct igc_adapter *adapter); 9 void igc_tsn_adjust_txtime_offset(struct igc_adapter *adapter); 10 bool igc_tsn_is_taprio_activated_by_user(struct igc_adapter *adapter);
|
H A D | igc_leds.c | 49 static void igc_led_select(struct igc_adapter *adapter, int led, in igc_led_select() 74 static void igc_led_set(struct igc_adapter *adapter, int led, u32 mode, in igc_led_set() 101 static u32 igc_led_get(struct igc_adapter *adapter, int led) in igc_led_get() 121 struct igc_adapter *adapter = netdev_priv(ldev->netdev); in igc_led_brightness_set_blocking() 166 struct igc_adapter *adapter = netdev_priv(ldev->netdev); in igc_led_hw_control_set() 198 struct igc_adapter *adapter = netdev_priv(ldev->netdev); in igc_led_hw_control_get() 231 static void igc_led_get_name(struct igc_adapter *adapter, int index, char *buf, in igc_led_get_name() 242 struct igc_adapter *adapter = netdev_priv(netdev); in igc_setup_ldev() 263 int igc_led_setup(struct igc_adapter *adapter) in igc_led_setup() 293 void igc_led_free(struct igc_adapter *adapter) in igc_led_free()
|
H A D | igc_main.c | 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() [all …]
|
H A D | igc_xdp.h | 7 int igc_xdp_set_prog(struct igc_adapter *adapter, struct bpf_prog *prog, 9 int igc_xdp_setup_pool(struct igc_adapter *adapter, struct xsk_buff_pool *pool, 12 static inline bool igc_xdp_is_enabled(struct igc_adapter *adapter) in igc_xdp_is_enabled()
|
H A D | igc_ethtool.c | 21 .sizeof_stat = sizeof_field(struct igc_adapter, _stat), \ 22 .stat_offset = offsetof(struct igc_adapter, _stat) \ 117 ((((struct igc_adapter *)netdev_priv(netdev))->num_rx_queues * \ 119 (((struct igc_adapter *)netdev_priv(netdev))->num_tx_queues * \ 134 struct igc_adapter *adapter = netdev_priv(netdev); in igc_ethtool_get_drvinfo() 170 struct igc_adapter *adapter = netdev_priv(netdev); in igc_ethtool_get_regs() 352 struct igc_adapter *adapter = netdev_priv(netdev); in igc_ethtool_get_wol() 384 struct igc_adapter *adapter = netdev_priv(netdev); in igc_ethtool_set_wol() 412 struct igc_adapter *adapter = netdev_priv(netdev); in igc_ethtool_get_msglevel() 419 struct igc_adapter *adapter = netdev_priv(netdev); in igc_ethtool_set_msglevel() [all …]
|
H A D | igc_diag.h | 4 bool igc_reg_test(struct igc_adapter *adapter, u64 *data); 5 bool igc_eeprom_test(struct igc_adapter *adapter, u64 *data); 6 bool igc_link_test(struct igc_adapter *adapter, u64 *data);
|
H A D | igc_diag.c | 35 static bool reg_pattern_test(struct igc_adapter *adapter, u64 *data, int reg, in reg_pattern_test() 61 static bool reg_set_and_check(struct igc_adapter *adapter, u64 *data, int reg, in reg_set_and_check() 82 bool igc_reg_test(struct igc_adapter *adapter, u64 *data) in igc_reg_test() 155 bool igc_eeprom_test(struct igc_adapter *adapter, u64 *data) in igc_eeprom_test() 169 bool igc_link_test(struct igc_adapter *adapter, u64 *data) in igc_link_test()
|
H A D | igc_xdp.c | 10 int igc_xdp_set_prog(struct igc_adapter *adapter, struct bpf_prog *prog, in igc_xdp_set_prog() 43 static int igc_xdp_enable_pool(struct igc_adapter *adapter, in igc_xdp_enable_pool() 105 static int igc_xdp_disable_pool(struct igc_adapter *adapter, u16 queue_id) in igc_xdp_disable_pool() 146 int igc_xdp_setup_pool(struct igc_adapter *adapter, struct xsk_buff_pool *pool, in igc_xdp_setup_pool()
|
H A D | igc_dump.c | 112 void igc_rings_dump(struct igc_adapter *adapter) in igc_rings_dump() 306 void igc_regs_dump(struct igc_adapter *adapter) in igc_regs_dump()
|