Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.h10 u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw);
11 int ixgbe_init_hw_generic(struct ixgbe_hw *hw);
12 int ixgbe_start_hw_generic(struct ixgbe_hw *hw);
13 int ixgbe_start_hw_gen2(struct ixgbe_hw *hw);
14 int ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw);
15 int ixgbe_read_pba_string_generic(struct ixgbe_hw *hw, u8 *pba_num,
17 int ixgbe_get_mac_addr_generic(struct ixgbe_hw *hw, u8 *mac_addr);
20 int ixgbe_get_bus_info_generic(struct ixgbe_hw *hw);
21 void ixgbe_set_lan_id_multi_port_pcie(struct ixgbe_hw *hw);
22 int ixgbe_stop_adapter_generic(struct ixgbe_hw *hw);
[all …]
H A Dixgbe_mbx.h114 struct ixgbe_hw;
116 int ixgbe_read_mbx(struct ixgbe_hw *, u32 *, u16, u16);
117 int ixgbe_write_mbx(struct ixgbe_hw *, u32 *, u16, u16);
118 int ixgbe_check_for_msg(struct ixgbe_hw *, u16);
119 int ixgbe_check_for_ack(struct ixgbe_hw *, u16);
120 int ixgbe_check_for_rst(struct ixgbe_hw *, u16);
122 void ixgbe_init_mbx_params_pf(struct ixgbe_hw *);
126 int (*init_params)(struct ixgbe_hw *hw);
127 int (*read)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number);
128 int (*write)(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 vf_number);
[all …]
H A Dixgbe_x550.h11 int ixgbe_set_fw_drv_ver_x550(struct ixgbe_hw *hw, u8 maj, u8 min,
14 void ixgbe_set_source_address_pruning_x550(struct ixgbe_hw *hw,
17 void ixgbe_set_ethertype_anti_spoofing_x550(struct ixgbe_hw *hw,
20 void ixgbe_enable_mdd_x550(struct ixgbe_hw *hw);
21 void ixgbe_disable_mdd_x550(struct ixgbe_hw *hw);
22 void ixgbe_restore_mdd_vf_x550(struct ixgbe_hw *hw, u32 vf);
23 void ixgbe_handle_mdd_x550(struct ixgbe_hw *hw, unsigned long *vf_bitmap);
H A Dixgbe_e610.c58 static int ixgbe_aci_send_cmd_execute(struct ixgbe_hw *hw, in ixgbe_aci_send_cmd_execute()
210 int ixgbe_aci_send_cmd(struct ixgbe_hw *hw, struct libie_aq_desc *desc, in ixgbe_aci_send_cmd()
265 bool ixgbe_aci_check_event_pending(struct ixgbe_hw *hw) in ixgbe_aci_check_event_pending()
286 int ixgbe_aci_get_event(struct ixgbe_hw *hw, struct ixgbe_aci_event *e, in ixgbe_aci_get_event()
354 static int ixgbe_aci_get_fw_ver(struct ixgbe_hw *hw) in ixgbe_aci_get_fw_ver()
396 static int ixgbe_aci_req_res(struct ixgbe_hw *hw, enum libie_aq_res_id res, in ixgbe_aci_req_res()
436 static int ixgbe_aci_release_res(struct ixgbe_hw *hw, enum libie_aq_res_id res, in ixgbe_aci_release_res()
468 int ixgbe_acquire_res(struct ixgbe_hw *hw, enum libie_aq_res_id res, in ixgbe_acquire_res()
517 void ixgbe_release_res(struct ixgbe_hw *hw, enum libie_aq_res_id res) in ixgbe_release_res()
548 static bool ixgbe_parse_e610_caps(struct ixgbe_hw *hw, in ixgbe_parse_e610_caps()
[all …]
H A Dixgbe_82598.c19 static int ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
22 static int ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
35 static void ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw) in ixgbe_set_pcie_completion_timeout()
70 static int ixgbe_get_invariants_82598(struct ixgbe_hw *hw) in ixgbe_get_invariants_82598()
97 static int ixgbe_init_phy_ops_82598(struct ixgbe_hw *hw) in ixgbe_init_phy_ops_82598()
152 static int ixgbe_start_hw_82598(struct ixgbe_hw *hw) in ixgbe_start_hw_82598()
174 static int ixgbe_get_link_capabilities_82598(struct ixgbe_hw *hw, in ixgbe_get_link_capabilities_82598()
229 static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw) in ixgbe_get_media_type_82598()
275 static int ixgbe_fc_enable_82598(struct ixgbe_hw *hw) in ixgbe_fc_enable_82598()
415 static int ixgbe_start_mac_link_82598(struct ixgbe_hw *hw, in ixgbe_start_mac_link_82598()
[all …]
H A Dixgbe_dcb_82598.h49 int ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *, u8 pfc_en);
52 int ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
55 int ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
58 int ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill,
61 int ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
H A Dixgbe_dcb.h127 int ixgbe_dcb_calculate_tc_credits(struct ixgbe_hw *,
131 int ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max);
132 int ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, u16 *refill, u16 *max,
134 int ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *tc_prio);
135 int ixgbe_dcb_hw_config(struct ixgbe_hw *, struct ixgbe_dcb_config *);
137 void ixgbe_dcb_read_rtrup2tc(struct ixgbe_hw *hw, u8 *map);
H A Dixgbe_dcb_82599.h73 int ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc);
76 int ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
80 int ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
83 int ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, u16 *refill,
87 int ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill,
H A Dixgbe_dcb_82598.c18 int ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, in ixgbe_dcb_config_rx_arbiter_82598()
76 int ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, in ixgbe_dcb_config_tx_desc_arbiter_82598()
122 int ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, in ixgbe_dcb_config_tx_data_arbiter_82598()
166 int ixgbe_dcb_config_pfc_82598(struct ixgbe_hw *hw, u8 pfc_en) in ixgbe_dcb_config_pfc_82598()
219 static int ixgbe_dcb_config_tc_stats_82598(struct ixgbe_hw *hw) in ixgbe_dcb_config_tc_stats_82598()
255 int ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82598()
H A Dixgbe_ptp.c164 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_setup_sdp_X540()
244 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_setup_sdp_X550()
334 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_read_X550()
371 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_read_82599()
455 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_adjfine_82599()
496 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_adjfine_X550()
556 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_gettimex()
664 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_check_pps_event()
720 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_rx_hang()
762 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_clear_tx_timestamp()
[all …]
H A Dixgbe_fw_update.c43 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_send_package_data()
76 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_check_component_response()
168 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_send_component_table()
244 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_write_one_nvm_block()
342 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_erase_nvm_module()
376 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_switch_flash_banks()
516 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_pending_updates()
563 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_cancel_pending_update()
633 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_flash_pldm_image()
H A Dixgbe_sriov.c28 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_alloc_vf_macvlans()
54 struct ixgbe_hw *hw = &adapter->hw; in __ixgbe_enable_sriov()
208 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_disable_sriov()
372 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_vf_multicasts()
413 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_restore_vf_multicasts()
447 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_vf_vlan()
479 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_vf_lpe()
564 static void ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) in ixgbe_set_vmolr()
577 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_clear_vmvir()
584 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_clear_vf_vlans()
[all …]
H A Dixgbe_dcb_82599.c20 int ixgbe_dcb_config_rx_arbiter_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_rx_arbiter_82599()
79 int ixgbe_dcb_config_tx_desc_arbiter_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_desc_arbiter_82599()
131 int ixgbe_dcb_config_tx_data_arbiter_82599(struct ixgbe_hw *hw, in ixgbe_dcb_config_tx_data_arbiter_82599()
190 int ixgbe_dcb_config_pfc_82599(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_config_pfc_82599()
275 static int ixgbe_dcb_config_tc_stats_82599(struct ixgbe_hw *hw) in ixgbe_dcb_config_tc_stats_82599()
333 int ixgbe_dcb_hw_config_82599(struct ixgbe_hw *hw, u8 pfc_en, u16 *refill, in ixgbe_dcb_hw_config_82599()
H A Dixgbe_dcb.c62 int ixgbe_dcb_calculate_tc_credits(struct ixgbe_hw *hw, in ixgbe_dcb_calculate_tc_credits()
250 int ixgbe_dcb_hw_config(struct ixgbe_hw *hw, in ixgbe_dcb_hw_config()
286 int ixgbe_dcb_hw_pfc_config(struct ixgbe_hw *hw, u8 pfc_en, u8 *prio_tc) in ixgbe_dcb_hw_pfc_config()
303 int ixgbe_dcb_hw_ets(struct ixgbe_hw *hw, struct ieee_ets *ets, int max_frame) in ixgbe_dcb_hw_ets()
336 int ixgbe_dcb_hw_ets_config(struct ixgbe_hw *hw, in ixgbe_dcb_hw_ets_config()
367 static void ixgbe_dcb_read_rtrup2tc_82599(struct ixgbe_hw *hw, u8 *map) in ixgbe_dcb_read_rtrup2tc_82599()
377 void ixgbe_dcb_read_rtrup2tc(struct ixgbe_hw *hw, u8 *map) in ixgbe_dcb_read_rtrup2tc()
H A Dixgbe_main.c184 static bool ixgbe_check_cfg_remove(struct ixgbe_hw *hw, struct pci_dev *pdev);
222 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_parent_bus_info()
255 static bool ixgbe_pcie_from_parent(struct ixgbe_hw *hw) in ixgbe_pcie_from_parent()
269 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_check_minimum_link()
296 static void ixgbe_remove_adapter(struct ixgbe_hw *hw) in ixgbe_remove_adapter()
308 static u32 ixgbe_check_remove(struct ixgbe_hw *hw, u32 reg) in ixgbe_check_remove()
349 u32 ixgbe_read_reg(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_reg()
383 static bool ixgbe_check_cfg_remove(struct ixgbe_hw *hw, struct pci_dev *pdev) in ixgbe_check_cfg_remove()
395 u16 ixgbe_read_pci_cfg_word(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_pci_cfg_word()
410 static u32 ixgbe_read_pci_cfg_dword(struct ixgbe_hw *hw, u32 reg) in ixgbe_read_pci_cfg_dword()
[all …]
H A Dixgbe_ipsec.c21 static void ixgbe_ipsec_set_tx_sa(struct ixgbe_hw *hw, u16 idx, in ixgbe_ipsec_set_tx_sa()
49 static void ixgbe_ipsec_set_rx_item(struct ixgbe_hw *hw, u16 idx, in ixgbe_ipsec_set_rx_item()
73 static void ixgbe_ipsec_set_rx_sa(struct ixgbe_hw *hw, u16 idx, __be32 spi, in ixgbe_ipsec_set_rx_sa()
103 static void ixgbe_ipsec_set_rx_ip(struct ixgbe_hw *hw, u16 idx, __be32 addr[]) in ixgbe_ipsec_set_rx_ip()
122 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_clear_hw_tables()
148 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_stop_data()
221 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_stop_engine()
263 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_start_engine()
306 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_restore()
484 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ipsec_check_mgmt_ip()
[all …]
H A Dixgbe.h534 struct ixgbe_hw *hw;
748 struct ixgbe_hw hw;
993 int ixgbe_reinit_fdir_tables_82599(struct ixgbe_hw *hw);
994 int ixgbe_init_fdir_signature_82599(struct ixgbe_hw *hw, u32 fdirctrl);
995 int ixgbe_init_fdir_perfect_82599(struct ixgbe_hw *hw, u32 fdirctrl);
996 int ixgbe_fdir_add_signature_filter_82599(struct ixgbe_hw *hw,
1000 int ixgbe_fdir_set_input_mask_82599(struct ixgbe_hw *hw,
1002 int ixgbe_fdir_write_perfect_filter_82599(struct ixgbe_hw *hw,
1005 int ixgbe_fdir_erase_perfect_filter_82599(struct ixgbe_hw *hw,
1106 int ixgbe_negotiate_fc(struct ixgbe_hw *hw, u32 adv_reg, u32 lp_reg,
H A Dixgbe_ethtool.c147 static void ixgbe_set_supported_10gtypes(struct ixgbe_hw *hw, in ixgbe_set_supported_10gtypes()
180 static void ixgbe_set_advertising_10gtypes(struct ixgbe_hw *hw, in ixgbe_set_advertising_10gtypes()
217 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_link_ksettings()
464 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_link_ksettings()
551 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_pauseparam()
573 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_pauseparam_finalize()
589 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_pauseparam()
622 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_set_pauseparam_e610()
674 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_regs()
1056 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_get_eeprom()
[all …]
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.h17 struct ixgbe_hw;
20 s32 (*init_hw)(struct ixgbe_hw *);
21 s32 (*reset_hw)(struct ixgbe_hw *);
22 s32 (*start_hw)(struct ixgbe_hw *);
23 s32 (*clear_hw_cntrs)(struct ixgbe_hw *);
24 enum ixgbe_media_type (*get_media_type)(struct ixgbe_hw *);
25 s32 (*get_mac_addr)(struct ixgbe_hw *, u8 *);
26 s32 (*stop_adapter)(struct ixgbe_hw *);
27 s32 (*get_bus_info)(struct ixgbe_hw *);
28 s32 (*negotiate_api_version)(struct ixgbe_hw *hw, int api);
[all …]
H A Dvf.c13 static inline s32 ixgbevf_write_msg_read_ack(struct ixgbe_hw *hw, u32 *msg, in ixgbevf_write_msg_read_ack()
33 static s32 ixgbevf_start_hw_vf(struct ixgbe_hw *hw) in ixgbevf_start_hw_vf()
48 static s32 ixgbevf_init_hw_vf(struct ixgbe_hw *hw) in ixgbevf_init_hw_vf()
64 static s32 ixgbevf_reset_hw_vf(struct ixgbe_hw *hw) in ixgbevf_reset_hw_vf()
132 static s32 ixgbevf_hv_reset_hw_vf(struct ixgbe_hw *hw) in ixgbevf_hv_reset_hw_vf()
158 static s32 ixgbevf_stop_hw_vf(struct ixgbe_hw *hw) in ixgbevf_stop_hw_vf()
212 static s32 ixgbevf_mta_vector(struct ixgbe_hw *hw, u8 *mc_addr) in ixgbevf_mta_vector()
243 static s32 ixgbevf_get_mac_addr_vf(struct ixgbe_hw *hw, u8 *mac_addr) in ixgbevf_get_mac_addr_vf()
250 static s32 ixgbevf_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_set_uc_addr_vf()
281 static s32 ixgbevf_hv_set_uc_addr_vf(struct ixgbe_hw *hw, u32 index, u8 *addr) in ixgbevf_hv_set_uc_addr_vf()
[all …]
H A Dixgbevf_main.c119 static void ixgbevf_remove_adapter(struct ixgbe_hw *hw) in ixgbevf_remove_adapter()
131 static void ixgbevf_check_remove(struct ixgbe_hw *hw, u32 reg) in ixgbevf_check_remove()
150 u32 ixgbevf_read_reg(struct ixgbe_hw *hw, u32 reg) in ixgbevf_read_reg()
174 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_set_ivar()
202 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_get_tx_pending()
372 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_clean_tx_irq()
919 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_irq_enable_queues()
1330 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_write_eitr()
1506 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_msix_other()
1652 struct ixgbe_hw *hw = &adapter->hw; in ixgbevf_irq_disable()
[all …]
H A Dixgbevf.h347 struct ixgbe_hw hw;
486 s32 ixgbevf_poll_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size);
487 s32 ixgbevf_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size);
H A Dmbx.h124 struct ixgbe_hw;
/linux/drivers/net/ethernet/intel/ixgbe/devlink/
H A Ddevlink.c36 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_info_orom_ver()
72 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_info_eetrack()
101 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_info_fw_api()
110 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_info_fw_build()
184 static int ixgbe_set_ctx_dev_caps(struct ixgbe_hw *hw, in ixgbe_set_ctx_dev_caps()
317 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_devlink_info_get()
397 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_devlink_reload_empr_start()
454 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_devlink_reload_empr_finish()
H A Dregion.c12 static int ixgbe_devlink_parse_region(struct ixgbe_hw *hw, in ixgbe_devlink_parse_region()
51 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_devlink_nvm_snapshot()
129 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_devlink_devcaps_snapshot()
173 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_devlink_nvm_read()

12