| /dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_api.h | 12 s32 ixgbe_init_shared_code(struct ixgbe_hw *hw); 23 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw); 24 s32 ixgbe_init_hw(struct ixgbe_hw *hw); 25 s32 ixgbe_reset_hw(struct ixgbe_hw *hw); 26 s32 ixgbe_start_hw(struct ixgbe_hw *hw); 31 s32 ixgbe_get_bus_info(struct ixgbe_hw *hw); 34 s32 ixgbe_stop_adapter(struct ixgbe_hw *hw); 39 s32 ixgbe_reset_phy(struct ixgbe_hw *hw); 96 s32 ixgbe_enable_mc(struct ixgbe_hw *hw); 104 s32 ixgbe_fc_enable(struct ixgbe_hw *hw); [all …]
|
| H A D | ixgbe_common.h | 23 s32 ixgbe_init_ops_generic(struct ixgbe_hw *hw); 24 s32 ixgbe_init_hw_generic(struct ixgbe_hw *hw); 25 s32 ixgbe_start_hw_generic(struct ixgbe_hw *hw); 27 s32 ixgbe_clear_hw_cntrs_generic(struct ixgbe_hw *hw); 39 s32 ixgbe_get_bus_info_generic(struct ixgbe_hw *hw); 77 s32 ixgbe_enable_mc_generic(struct ixgbe_hw *hw); 78 s32 ixgbe_disable_mc_generic(struct ixgbe_hw *hw); 83 s32 ixgbe_fc_enable_generic(struct ixgbe_hw *hw); 86 s32 ixgbe_setup_fc_generic(struct ixgbe_hw *hw); 88 s32 ixgbe_validate_mac_addr(u8 *mac_addr); [all …]
|
| H A D | ixgbe_x550.h | 10 s32 ixgbe_dmac_config_X550(struct ixgbe_hw *hw); 11 s32 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw); 12 s32 ixgbe_dmac_update_tcs_X550(struct ixgbe_hw *hw); 14 s32 ixgbe_get_bus_info_X550em(struct ixgbe_hw *hw); 20 s32 ixgbe_update_flash_X550(struct ixgbe_hw *hw); 41 s32 ixgbe_get_phy_token(struct ixgbe_hw *); 42 s32 ixgbe_put_phy_token(struct ixgbe_hw *); 56 s32 ixgbe_reset_hw_X550em(struct ixgbe_hw *hw); 58 s32 ixgbe_setup_kr_x550em(struct ixgbe_hw *hw); 59 s32 ixgbe_init_ext_t_x550em(struct ixgbe_hw *hw); [all …]
|
| H A D | ixgbe_phy.h | 128 s32 ixgbe_init_phy_ops_generic(struct ixgbe_hw *hw); 131 s32 ixgbe_get_phy_id(struct ixgbe_hw *hw); 132 s32 ixgbe_identify_phy_generic(struct ixgbe_hw *hw); 133 s32 ixgbe_reset_phy_generic(struct ixgbe_hw *hw); 143 s32 ixgbe_setup_phy_link_generic(struct ixgbe_hw *hw); 150 s32 ixgbe_check_reset_blocked(struct ixgbe_hw *hw); 153 s32 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, 156 s32 ixgbe_setup_phy_link_tnx(struct ixgbe_hw *hw); 162 s32 ixgbe_reset_phy_nl(struct ixgbe_hw *hw); 164 s32 ixgbe_identify_module_generic(struct ixgbe_hw *hw); [all …]
|
| H A D | ixgbe_x540.h | 10 s32 ixgbe_get_link_capabilities_X540(struct ixgbe_hw *hw, 15 s32 ixgbe_reset_hw_X540(struct ixgbe_hw *hw); 16 s32 ixgbe_start_hw_X540(struct ixgbe_hw *hw); 19 s32 ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw); 20 s32 ixgbe_read_eerd_X540(struct ixgbe_hw *hw, u16 offset, u16 *data); 26 s32 ixgbe_update_eeprom_checksum_X540(struct ixgbe_hw *hw); 28 s32 ixgbe_calc_eeprom_checksum_X540(struct ixgbe_hw *hw); 29 s32 ixgbe_update_flash_X540(struct ixgbe_hw *hw); 31 s32 ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask); 35 s32 ixgbe_blink_led_start_X540(struct ixgbe_hw *hw, u32 index); [all …]
|
| H A D | ixgbe_api.c | 57 s32 status; in ixgbe_init_shared_code() 108 s32 ixgbe_set_mac_type(struct ixgbe_hw *hw) in ixgbe_set_mac_type() 110 s32 ret_val = IXGBE_SUCCESS; in ixgbe_set_mac_type() 230 s32 ixgbe_init_hw(struct ixgbe_hw *hw) in ixgbe_init_hw() 243 s32 ixgbe_reset_hw(struct ixgbe_hw *hw) in ixgbe_reset_hw() 259 s32 ixgbe_start_hw(struct ixgbe_hw *hw) in ixgbe_start_hw() 473 s32 status = IXGBE_SUCCESS; in ixgbe_identify_phy() 487 s32 ixgbe_reset_phy(struct ixgbe_hw *hw) in ixgbe_reset_phy() 489 s32 status = IXGBE_SUCCESS; in ixgbe_reset_phy() 510 s32 status = IXGBE_SUCCESS; in ixgbe_get_phy_firmware_version() [all …]
|
| /dpdk/drivers/net/igc/base/ |
| H A D | igc_phy.h | 13 s32 igc_null_set_page(struct igc_hw *hw, u16 data); 19 s32 igc_check_polarity_m88(struct igc_hw *hw); 20 s32 igc_check_polarity_igp(struct igc_hw *hw); 21 s32 igc_check_polarity_ife(struct igc_hw *hw); 23 s32 igc_phy_setup_autoneg(struct igc_hw *hw); 24 s32 igc_copper_link_autoneg(struct igc_hw *hw); 31 s32 igc_get_cable_length_m88(struct igc_hw *hw); 35 s32 igc_get_phy_id(struct igc_hw *hw); 36 s32 igc_get_phy_info_igp(struct igc_hw *hw); 37 s32 igc_get_phy_info_m88(struct igc_hw *hw); [all …]
|
| H A D | igc_api.h | 22 s32 igc_set_i2c_bb(struct igc_hw *hw); 44 s32 igc_set_mac_type(struct igc_hw *hw); 55 s32 igc_reset_hw(struct igc_hw *hw); 56 s32 igc_init_hw(struct igc_hw *hw); 57 s32 igc_setup_link(struct igc_hw *hw); 65 s32 igc_setup_led(struct igc_hw *hw); 66 s32 igc_cleanup_led(struct igc_hw *hw); 68 s32 igc_blink_led(struct igc_hw *hw); 69 s32 igc_led_on(struct igc_hw *hw); 70 s32 igc_led_off(struct igc_hw *hw); [all …]
|
| H A D | igc_mac.h | 11 s32 igc_null_ops_generic(struct igc_hw *hw); 17 s32 igc_blink_led_generic(struct igc_hw *hw); 21 s32 igc_cleanup_led_generic(struct igc_hw *hw); 26 s32 igc_force_mac_fc_generic(struct igc_hw *hw); 27 s32 igc_get_auto_rd_done_generic(struct igc_hw *hw); 37 s32 igc_id_led_init_generic(struct igc_hw *hw); 38 s32 igc_led_on_generic(struct igc_hw *hw); 39 s32 igc_led_off_generic(struct igc_hw *hw); 42 s32 igc_set_default_fc_generic(struct igc_hw *hw); 45 s32 igc_setup_led_generic(struct igc_hw *hw); [all …]
|
| H A D | igc_nvm.h | 31 s32 igc_null_read_nvm(struct igc_hw *hw, u16 a, u16 b, u16 *c); 33 s32 igc_null_led_default(struct igc_hw *hw, u16 *data); 35 s32 igc_acquire_nvm_generic(struct igc_hw *hw); 37 s32 igc_poll_eerd_eewr_done(struct igc_hw *hw, int ee_reg); 38 s32 igc_read_mac_addr_generic(struct igc_hw *hw); 43 s32 igc_read_pba_raw(struct igc_hw *hw, u16 *eeprom_buf, 46 s32 igc_write_pba_raw(struct igc_hw *hw, u16 *eeprom_buf, 51 s32 igc_read_nvm_microwire(struct igc_hw *hw, u16 offset, 56 s32 igc_validate_nvm_checksum_generic(struct igc_hw *hw); 57 s32 igc_write_nvm_microwire(struct igc_hw *hw, u16 offset, [all …]
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_hw.h | 11 s32 txgbe_init_hw(struct txgbe_hw *hw); 12 s32 txgbe_start_hw(struct txgbe_hw *hw); 13 s32 txgbe_stop_hw(struct txgbe_hw *hw); 14 s32 txgbe_start_hw_gen2(struct txgbe_hw *hw); 15 s32 txgbe_clear_hw_cntrs(struct txgbe_hw *hw); 26 s32 txgbe_init_rx_addrs(struct txgbe_hw *hw); 35 s32 txgbe_fc_enable(struct txgbe_hw *hw); 38 s32 txgbe_setup_fc(struct txgbe_hw *hw); 40 s32 txgbe_validate_mac_addr(u8 *mac_addr); 55 s32 txgbe_clear_vfta(struct txgbe_hw *hw); [all …]
|
| H A D | txgbe_dummy.h | 28 static inline s32 txgbe_bus_get_bus_info_dummy(struct txgbe_hw *TUP0) in txgbe_bus_get_bus_info_dummy() 36 static inline s32 txgbe_rom_init_params_dummy(struct txgbe_hw *TUP0) in txgbe_rom_init_params_dummy() 105 static inline s32 txgbe_mac_init_hw_dummy(struct txgbe_hw *TUP0) in txgbe_mac_init_hw_dummy() 109 static inline s32 txgbe_mac_reset_hw_dummy(struct txgbe_hw *TUP0) in txgbe_mac_reset_hw_dummy() 113 static inline s32 txgbe_mac_start_hw_dummy(struct txgbe_hw *TUP0) in txgbe_mac_start_hw_dummy() 117 static inline s32 txgbe_mac_stop_hw_dummy(struct txgbe_hw *TUP0) in txgbe_mac_stop_hw_dummy() 149 static inline s32 txgbe_mac_setup_sfp_dummy(struct txgbe_hw *TUP0) in txgbe_mac_setup_sfp_dummy() 321 static inline s32 txgbe_mac_setup_fc_dummy(struct txgbe_hw *TUP0) in txgbe_mac_setup_fc_dummy() 377 static inline s32 txgbe_phy_identify_dummy(struct txgbe_hw *TUP0) in txgbe_phy_identify_dummy() 385 static inline s32 txgbe_phy_init_dummy(struct txgbe_hw *TUP0) in txgbe_phy_init_dummy() [all …]
|
| H A D | txgbe_type.h | 513 s32 (*init_hw)(struct txgbe_hw *hw); 514 s32 (*reset_hw)(struct txgbe_hw *hw); 515 s32 (*start_hw)(struct txgbe_hw *hw); 516 s32 (*stop_hw)(struct txgbe_hw *hw); 524 s32 (*setup_sfp)(struct txgbe_hw *hw); 585 s32 (*fc_enable)(struct txgbe_hw *hw); 586 s32 (*setup_fc)(struct txgbe_hw *hw); 617 s32 mc_filter_type; 638 s32 (*identify)(struct txgbe_hw *hw); 640 s32 (*init)(struct txgbe_hw *hw); [all …]
|
| H A D | txgbe_mbx.c | 22 s32 ret_val = TXGBE_ERR_MBX; in txgbe_read_mbx() 46 s32 ret_val = 0; in txgbe_write_mbx() 68 s32 ret_val = TXGBE_ERR_MBX; in txgbe_check_for_msg() 86 s32 ret_val = TXGBE_ERR_MBX; in txgbe_check_for_ack() 104 s32 ret_val = TXGBE_ERR_MBX; in txgbe_check_for_rst() 183 s32 ret_val = TXGBE_ERR_MBX; in txgbe_read_posted_mbx() 361 s32 ret_val; in txgbe_write_mbx_vf() 401 s32 ret_val = 0; in txgbe_read_mbx_vf() 450 STATIC s32 txgbe_check_for_bit_pf(struct txgbe_hw *hw, u32 mask, s32 index) in txgbe_check_for_bit_pf() 568 s32 ret_val; in txgbe_write_mbx_pf() [all …]
|
| H A D | txgbe_mbx.h | 90 s32 txgbe_read_mbx(struct txgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id); 91 s32 txgbe_write_mbx(struct txgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id); 94 s32 txgbe_check_for_msg(struct txgbe_hw *hw, u16 mbx_id); 95 s32 txgbe_check_for_ack(struct txgbe_hw *hw, u16 mbx_id); 96 s32 txgbe_check_for_rst(struct txgbe_hw *hw, u16 mbx_id); 102 s32 txgbe_check_for_msg_pf(struct txgbe_hw *hw, u16 vf_number); 103 s32 txgbe_check_for_ack_pf(struct txgbe_hw *hw, u16 vf_number); 104 s32 txgbe_check_for_rst_pf(struct txgbe_hw *hw, u16 vf_number); 108 s32 txgbe_check_for_msg_vf(struct txgbe_hw *hw, u16 mbx_id); 109 s32 txgbe_check_for_ack_vf(struct txgbe_hw *hw, u16 mbx_id); [all …]
|
| /dpdk/drivers/net/e1000/base/ |
| H A D | e1000_phy.h | 13 s32 e1000_null_set_page(struct e1000_hw *hw, u16 data); 19 s32 e1000_check_polarity_m88(struct e1000_hw *hw); 20 s32 e1000_check_polarity_igp(struct e1000_hw *hw); 21 s32 e1000_check_polarity_ife(struct e1000_hw *hw); 23 s32 e1000_phy_setup_autoneg(struct e1000_hw *hw); 24 s32 e1000_copper_link_autoneg(struct e1000_hw *hw); 31 s32 e1000_get_cable_length_m88(struct e1000_hw *hw); 35 s32 e1000_get_phy_id(struct e1000_hw *hw); 36 s32 e1000_get_phy_info_igp(struct e1000_hw *hw); 37 s32 e1000_get_phy_info_m88(struct e1000_hw *hw); [all …]
|
| H A D | e1000_api.h | 24 s32 e1000_set_mac_type(struct e1000_hw *hw); 30 s32 e1000_get_bus_info(struct e1000_hw *hw); 35 s32 e1000_reset_hw(struct e1000_hw *hw); 36 s32 e1000_init_hw(struct e1000_hw *hw); 37 s32 e1000_setup_link(struct e1000_hw *hw); 45 s32 e1000_setup_led(struct e1000_hw *hw); 46 s32 e1000_cleanup_led(struct e1000_hw *hw); 48 s32 e1000_blink_led(struct e1000_hw *hw); 49 s32 e1000_led_on(struct e1000_hw *hw); 50 s32 e1000_led_off(struct e1000_hw *hw); [all …]
|
| H A D | e1000_mac.h | 11 s32 e1000_null_ops_generic(struct e1000_hw *hw); 17 s32 e1000_blink_led_generic(struct e1000_hw *hw); 21 s32 e1000_cleanup_led_generic(struct e1000_hw *hw); 26 s32 e1000_force_mac_fc_generic(struct e1000_hw *hw); 27 s32 e1000_get_auto_rd_done_generic(struct e1000_hw *hw); 37 s32 e1000_id_led_init_generic(struct e1000_hw *hw); 38 s32 e1000_led_on_generic(struct e1000_hw *hw); 39 s32 e1000_led_off_generic(struct e1000_hw *hw); 43 s32 e1000_set_default_fc_generic(struct e1000_hw *hw); 46 s32 e1000_setup_led_generic(struct e1000_hw *hw); [all …]
|
| H A D | e1000_nvm.h | 31 s32 e1000_null_read_nvm(struct e1000_hw *hw, u16 a, u16 b, u16 *c); 33 s32 e1000_null_led_default(struct e1000_hw *hw, u16 *data); 35 s32 e1000_acquire_nvm_generic(struct e1000_hw *hw); 37 s32 e1000_poll_eerd_eewr_done(struct e1000_hw *hw, int ee_reg); 38 s32 e1000_read_mac_addr_generic(struct e1000_hw *hw); 43 s32 e1000_read_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, 46 s32 e1000_write_pba_raw(struct e1000_hw *hw, u16 *eeprom_buf, 51 s32 e1000_read_nvm_microwire(struct e1000_hw *hw, u16 offset, 56 s32 e1000_validate_nvm_checksum_generic(struct e1000_hw *hw); 57 s32 e1000_write_nvm_microwire(struct e1000_hw *hw, u16 offset, [all …]
|
| H A D | e1000_mbx.c | 51 s32 ret_val = -E1000_ERR_MBX; in e1000_read_mbx() 77 s32 ret_val = E1000_SUCCESS; in e1000_write_mbx() 100 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_msg() 120 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_ack() 140 s32 ret_val = -E1000_ERR_MBX; in e1000_check_for_rst() 225 s32 ret_val = -E1000_ERR_MBX; in e1000_read_posted_mbx() 254 s32 ret_val = -E1000_ERR_MBX; in e1000_write_posted_mbx() 439 s32 ret_val; in e1000_write_mbx_vf() 481 s32 ret_val = E1000_SUCCESS; in e1000_read_mbx_vf() 663 s32 ret_val; in e1000_write_mbx_pf() [all …]
|
| /dpdk/drivers/net/ngbe/base/ |
| H A D | ngbe_hw.h | 18 s32 ngbe_init_hw(struct ngbe_hw *hw); 19 s32 ngbe_start_hw(struct ngbe_hw *hw); 20 s32 ngbe_reset_hw_em(struct ngbe_hw *hw); 21 s32 ngbe_stop_hw(struct ngbe_hw *hw); 22 s32 ngbe_clear_hw_cntrs(struct ngbe_hw *hw); 42 s32 ngbe_init_rx_addrs(struct ngbe_hw *hw); 50 s32 ngbe_setup_fc_em(struct ngbe_hw *hw); 51 s32 ngbe_fc_enable(struct ngbe_hw *hw); 54 s32 ngbe_validate_mac_addr(u8 *mac_addr); 67 s32 ngbe_clear_vfta(struct ngbe_hw *hw); [all …]
|
| H A D | ngbe_dummy.h | 32 static inline s32 ngbe_rom_init_params_dummy(struct ngbe_hw *TUP0) in ngbe_rom_init_params_dummy() 57 static inline s32 ngbe_mac_init_hw_dummy(struct ngbe_hw *TUP0) in ngbe_mac_init_hw_dummy() 61 static inline s32 ngbe_mac_reset_hw_dummy(struct ngbe_hw *TUP0) in ngbe_mac_reset_hw_dummy() 65 static inline s32 ngbe_mac_start_hw_dummy(struct ngbe_hw *TUP0) in ngbe_mac_start_hw_dummy() 69 static inline s32 ngbe_mac_stop_hw_dummy(struct ngbe_hw *TUP0) in ngbe_mac_stop_hw_dummy() 156 static inline s32 ngbe_mac_clear_vfta_dummy(struct ngbe_hw *TUP0) in ngbe_mac_clear_vfta_dummy() 178 static inline s32 ngbe_mac_fc_enable_dummy(struct ngbe_hw *TUP0) in ngbe_mac_fc_enable_dummy() 182 static inline s32 ngbe_mac_setup_fc_dummy(struct ngbe_hw *TUP0) in ngbe_mac_setup_fc_dummy() 198 static inline s32 ngbe_phy_identify_dummy(struct ngbe_hw *TUP0) in ngbe_phy_identify_dummy() 202 static inline s32 ngbe_phy_init_hw_dummy(struct ngbe_hw *TUP0) in ngbe_phy_init_hw_dummy() [all …]
|
| H A D | ngbe_type.h | 264 s32 (*init_hw)(struct ngbe_hw *hw); 265 s32 (*reset_hw)(struct ngbe_hw *hw); 266 s32 (*start_hw)(struct ngbe_hw *hw); 267 s32 (*stop_hw)(struct ngbe_hw *hw); 301 s32 (*clear_vfta)(struct ngbe_hw *hw); 312 s32 (*fc_enable)(struct ngbe_hw *hw); 313 s32 (*setup_fc)(struct ngbe_hw *hw); 326 s32 mc_filter_type; 343 s32 (*identify)(struct ngbe_hw *hw); 344 s32 (*init_hw)(struct ngbe_hw *hw); [all …]
|
| H A D | ngbe_mbx.c | 22 s32 ret_val = NGBE_ERR_MBX; in ngbe_read_mbx() 46 s32 ret_val = 0; in ngbe_write_mbx() 68 s32 ret_val = NGBE_ERR_MBX; in ngbe_check_for_msg() 86 s32 ret_val = NGBE_ERR_MBX; in ngbe_check_for_ack() 104 s32 ret_val = NGBE_ERR_MBX; in ngbe_check_for_rst() 115 s32 ret_val = NGBE_ERR_MBX; in ngbe_check_for_bit_pf() 134 s32 ret_val = NGBE_ERR_MBX; in ngbe_check_for_msg_pf() 154 s32 ret_val = NGBE_ERR_MBX; in ngbe_check_for_ack_pf() 175 s32 ret_val = NGBE_ERR_MBX; in ngbe_check_for_rst_pf() 224 s32 ret_val; in ngbe_write_mbx_pf() [all …]
|
| /dpdk/drivers/net/fm10k/base/ |
| H A D | fm10k_api.h | 11 s32 fm10k_set_mac_type(struct fm10k_hw *hw); 12 s32 fm10k_reset_hw(struct fm10k_hw *hw); 13 s32 fm10k_init_hw(struct fm10k_hw *hw); 14 s32 fm10k_stop_hw(struct fm10k_hw *hw); 15 s32 fm10k_start_hw(struct fm10k_hw *hw); 16 s32 fm10k_init_shared_code(struct fm10k_hw *hw); 17 s32 fm10k_get_bus_info(struct fm10k_hw *hw); 22 s32 fm10k_read_mac_addr(struct fm10k_hw *hw); 25 s32 fm10k_configure_dglort_map(struct fm10k_hw *hw, 29 s32 fm10k_update_uc_addr(struct fm10k_hw *hw, u16 lport, [all …]
|