Home
last modified time | relevance | path

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

12

/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.h11 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);
37 void txgbe_fc_autoneg(struct txgbe_hw *hw);
38 s32 txgbe_setup_fc(struct txgbe_hw *hw);
55 s32 txgbe_clear_vfta(struct txgbe_hw *hw);
[all …]
H A Dtxgbe_dummy.h28 static inline s32 txgbe_bus_get_bus_info_dummy(struct txgbe_hw *TUP0) in txgbe_bus_get_bus_info_dummy()
32 static inline void txgbe_bus_set_lan_id_dummy(struct txgbe_hw *TUP0) in txgbe_bus_set_lan_id_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()
385 static inline s32 txgbe_phy_init_dummy(struct txgbe_hw *TUP0) in txgbe_phy_init_dummy()
389 static inline s32 txgbe_phy_reset_dummy(struct txgbe_hw *TUP0) in txgbe_phy_reset_dummy()
[all …]
H A Dtxgbe_type.h279 struct txgbe_hw;
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);
586 s32 (*setup_fc)(struct txgbe_hw *hw);
638 s32 (*identify)(struct txgbe_hw *hw);
640 s32 (*init)(struct txgbe_hw *hw);
641 s32 (*reset)(struct txgbe_hw *hw);
[all …]
H A Dtxgbe_mbx.h94 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);
97 void txgbe_init_mbx_params_vf(struct txgbe_hw *hw);
98 void txgbe_init_mbx_params_pf(struct txgbe_hw *hw);
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 …]
H A Dtxgbe_eeprom.h46 s32 txgbe_init_eeprom_params(struct txgbe_hw *hw);
47 s32 txgbe_calc_eeprom_checksum(struct txgbe_hw *hw);
49 s32 txgbe_update_eeprom_checksum(struct txgbe_hw *hw);
50 s32 txgbe_get_eeprom_semaphore(struct txgbe_hw *hw);
51 void txgbe_release_eeprom_semaphore(struct txgbe_hw *hw);
53 s32 txgbe_ee_read16(struct txgbe_hw *hw, u32 offset, u16 *data);
54 s32 txgbe_ee_readw_sw(struct txgbe_hw *hw, u32 offset, u16 *data);
57 s32 txgbe_ee_read32(struct txgbe_hw *hw, u32 addr, u32 *data);
59 s32 txgbe_ee_write16(struct txgbe_hw *hw, u32 offset, u16 data);
60 s32 txgbe_ee_writew_sw(struct txgbe_hw *hw, u32 offset, u16 data);
[all …]
H A Dtxgbe_vf.h41 s32 txgbe_init_ops_vf(struct txgbe_hw *hw);
42 s32 txgbe_start_hw_vf(struct txgbe_hw *hw);
43 s32 txgbe_reset_hw_vf(struct txgbe_hw *hw);
44 s32 txgbe_stop_hw_vf(struct txgbe_hw *hw);
45 s32 txgbe_get_mac_addr_vf(struct txgbe_hw *hw, u8 *mac_addr);
46 s32 txgbe_check_mac_link_vf(struct txgbe_hw *hw, u32 *speed,
54 s32 txgbevf_update_xcast_mode(struct txgbe_hw *hw, int xcast_mode);
55 s32 txgbe_set_vfta_vf(struct txgbe_hw *hw, u32 vlan, u32 vind,
57 s32 txgbevf_rlpml_set_vf(struct txgbe_hw *hw, u16 max_size);
58 int txgbevf_negotiate_api_version(struct txgbe_hw *hw, int api);
[all …]
H A Dtxgbe_phy.h419 s32 txgbe_get_phy_id(struct txgbe_hw *hw);
420 s32 txgbe_identify_phy(struct txgbe_hw *hw);
421 s32 txgbe_reset_phy(struct txgbe_hw *hw);
430 s32 txgbe_setup_phy_link(struct txgbe_hw *hw);
441 s32 txgbe_check_phy_link_tnx(struct txgbe_hw *hw,
446 s32 txgbe_identify_module(struct txgbe_hw *hw);
464 u64 txgbe_autoc_read(struct txgbe_hw *hw);
466 void txgbe_bp_mode_set(struct txgbe_hw *hw);
467 void txgbe_set_phy_temp(struct txgbe_hw *hw);
468 void txgbe_bp_down_event(struct txgbe_hw *hw);
[all …]
H A Dtxgbe_mbx.c65 s32 txgbe_check_for_msg(struct txgbe_hw *hw, u16 mbx_id) in txgbe_check_for_msg()
83 s32 txgbe_check_for_ack(struct txgbe_hw *hw, u16 mbx_id) in txgbe_check_for_ack()
101 s32 txgbe_check_for_rst(struct txgbe_hw *hw, u16 mbx_id) in txgbe_check_for_rst()
119 STATIC s32 txgbe_poll_for_msg(struct txgbe_hw *hw, u16 mbx_id) in txgbe_poll_for_msg()
234 STATIC u32 txgbe_read_v2p_mailbox(struct txgbe_hw *hw) in txgbe_read_v2p_mailbox()
272 s32 txgbe_check_for_msg_vf(struct txgbe_hw *hw, u16 mbx_id) in txgbe_check_for_msg_vf()
293 s32 txgbe_check_for_ack_vf(struct txgbe_hw *hw, u16 mbx_id) in txgbe_check_for_ack_vf()
314 s32 txgbe_check_for_rst_vf(struct txgbe_hw *hw, u16 mbx_id) in txgbe_check_for_rst_vf()
335 STATIC s32 txgbe_obtain_mbx_lock_vf(struct txgbe_hw *hw) in txgbe_obtain_mbx_lock_vf()
431 void txgbe_init_mbx_params_vf(struct txgbe_hw *hw) in txgbe_init_mbx_params_vf()
[all …]
H A Dtxgbe_hw.c86 s32 txgbe_setup_fc(struct txgbe_hw *hw) in txgbe_setup_fc()
193 s32 txgbe_start_hw(struct txgbe_hw *hw) in txgbe_start_hw()
241 s32 txgbe_start_hw_gen2(struct txgbe_hw *hw) in txgbe_start_hw_gen2()
268 s32 txgbe_init_hw(struct txgbe_hw *hw) in txgbe_init_hw()
463 s32 txgbe_stop_hw(struct txgbe_hw *hw) in txgbe_stop_hw()
859 s32 txgbe_fc_enable(struct txgbe_hw *hw) in txgbe_fc_enable()
1122 void txgbe_fc_autoneg(struct txgbe_hw *hw) in txgbe_fc_autoneg()
1764 s32 txgbe_clear_vfta(struct txgbe_hw *hw) in txgbe_clear_vfta()
2182 void txgbe_enable_rx(struct txgbe_hw *hw) in txgbe_enable_rx()
3292 txgbe_reset_misc(struct txgbe_hw *hw) in txgbe_reset_misc()
[all …]
H A Dtxgbe_vf.c18 s32 txgbe_init_ops_vf(struct txgbe_hw *hw) in txgbe_init_ops_vf()
60 static void txgbe_virt_clr_reg(struct txgbe_hw *hw) in txgbe_virt_clr_reg()
87 s32 txgbe_start_hw_vf(struct txgbe_hw *hw) in txgbe_start_hw_vf()
102 s32 txgbe_reset_hw_vf(struct txgbe_hw *hw) in txgbe_reset_hw_vf()
181 s32 txgbe_stop_hw_vf(struct txgbe_hw *hw) in txgbe_stop_hw_vf()
221 STATIC s32 txgbe_mta_vector(struct txgbe_hw *hw, u8 *mc_addr) in txgbe_mta_vector()
388 s32 txgbe_set_vfta_vf(struct txgbe_hw *hw, u32 vlan, u32 vind, in txgbe_set_vfta_vf()
412 s32 txgbe_get_mac_addr_vf(struct txgbe_hw *hw, u8 *mac_addr) in txgbe_get_mac_addr_vf()
461 s32 txgbe_check_mac_link_vf(struct txgbe_hw *hw, u32 *speed, in txgbe_check_mac_link_vf()
553 s32 txgbevf_rlpml_set_vf(struct txgbe_hw *hw, u16 max_size) in txgbevf_rlpml_set_vf()
[all …]
H A Dtxgbe_dcb_hw.h10 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map);
13 s32 txgbe_dcb_config_tc_stats_raptor(struct txgbe_hw *hw,
17 s32 txgbe_dcb_config_tx_desc_arbiter_raptor(struct txgbe_hw *hw, u16 *refill,
19 s32 txgbe_dcb_config_tx_data_arbiter_raptor(struct txgbe_hw *hw, u16 *refill,
22 s32 txgbe_dcb_config_rx_arbiter_raptor(struct txgbe_hw *hw, u16 *refill,
H A Dtxgbe_mng.h174 s32 txgbe_hic_sr_read(struct txgbe_hw *hw, u32 addr, u8 *buf, int len);
175 s32 txgbe_hic_sr_write(struct txgbe_hw *hw, u32 addr, u8 *buf, int len);
176 s32 txgbe_close_notify(struct txgbe_hw *hw);
177 s32 txgbe_open_notify(struct txgbe_hw *hw);
179 s32 txgbe_hic_set_drv_ver(struct txgbe_hw *hw, u8 maj, u8 min, u8 build,
181 s32 txgbe_hic_reset(struct txgbe_hw *hw);
182 bool txgbe_mng_present(struct txgbe_hw *hw);
183 bool txgbe_mng_enabled(struct txgbe_hw *hw);
H A Dtxgbe_eeprom.c17 s32 txgbe_init_eeprom_params(struct txgbe_hw *hw) in txgbe_init_eeprom_params()
72 s32 txgbe_get_eeprom_semaphore(struct txgbe_hw *hw) in txgbe_get_eeprom_semaphore()
154 void txgbe_release_eeprom_semaphore(struct txgbe_hw *hw) in txgbe_release_eeprom_semaphore()
169 s32 txgbe_ee_read16(struct txgbe_hw *hw, u32 offset, in txgbe_ee_read16()
196 s32 txgbe_ee_readw_buffer(struct txgbe_hw *hw, in txgbe_ee_readw_buffer()
227 s32 txgbe_ee_readw_sw(struct txgbe_hw *hw, u32 offset, in txgbe_ee_readw_sw()
277 s32 txgbe_ee_write16(struct txgbe_hw *hw, u32 offset, in txgbe_ee_write16()
304 s32 txgbe_ee_writew_buffer(struct txgbe_hw *hw, in txgbe_ee_writew_buffer()
333 s32 txgbe_ee_writew_sw(struct txgbe_hw *hw, u32 offset, in txgbe_ee_writew_sw()
382 s32 txgbe_calc_eeprom_checksum(struct txgbe_hw *hw) in txgbe_calc_eeprom_checksum()
[all …]
H A Dtxgbe_phy.c12 static void txgbe_i2c_stop(struct txgbe_hw *hw);
15 u32 link_partner, struct txgbe_hw *hw);
99 s32 txgbe_identify_phy(struct txgbe_hw *hw) in txgbe_identify_phy()
175 s32 txgbe_get_phy_id(struct txgbe_hw *hw) in txgbe_get_phy_id()
230 txgbe_reset_extphy(struct txgbe_hw *hw) in txgbe_reset_extphy()
275 s32 txgbe_reset_phy(struct txgbe_hw *hw) in txgbe_reset_phy()
1698 txgbe_set_link_to_kx(struct txgbe_hw *hw, in txgbe_set_link_to_kx()
1913 txgbe_set_link_to_sfi(struct txgbe_hw *hw, in txgbe_set_link_to_sfi()
2153 u64 txgbe_autoc_read(struct txgbe_hw *hw) in txgbe_autoc_read()
2374 s32 txgbe_kr_handle(struct txgbe_hw *hw) in txgbe_kr_handle()
[all …]
H A Dtxgbe_mng.c43 txgbe_hic_unlocked(struct txgbe_hw *hw, u32 *buffer, u32 length, u32 timeout) in txgbe_hic_unlocked()
110 txgbe_host_interface_command(struct txgbe_hw *hw, u32 *buffer, in txgbe_host_interface_command()
190 s32 txgbe_hic_sr_read(struct txgbe_hw *hw, u32 addr, u8 *buf, int len) in txgbe_hic_sr_read()
233 s32 txgbe_hic_sr_write(struct txgbe_hw *hw, u32 addr, u8 *buf, int len) in txgbe_hic_sr_write()
266 s32 txgbe_close_notify(struct txgbe_hw *hw) in txgbe_close_notify()
296 s32 txgbe_open_notify(struct txgbe_hw *hw) in txgbe_open_notify()
341 s32 txgbe_hic_set_drv_ver(struct txgbe_hw *hw, u8 maj, u8 min, in txgbe_hic_set_drv_ver()
395 txgbe_hic_reset(struct txgbe_hw *hw) in txgbe_hic_reset()
435 txgbe_mng_present(struct txgbe_hw *hw) in txgbe_mng_present()
450 txgbe_mng_enabled(struct txgbe_hw *hw) in txgbe_mng_enabled()
H A Dtxgbe_dcb_hw.c21 s32 txgbe_dcb_config_rx_arbiter_raptor(struct txgbe_hw *hw, u16 *refill, in txgbe_dcb_config_rx_arbiter_raptor()
84 s32 txgbe_dcb_config_tx_desc_arbiter_raptor(struct txgbe_hw *hw, u16 *refill, in txgbe_dcb_config_tx_desc_arbiter_raptor()
131 s32 txgbe_dcb_config_tx_data_arbiter_raptor(struct txgbe_hw *hw, u16 *refill, in txgbe_dcb_config_tx_data_arbiter_raptor()
192 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map) in txgbe_dcb_config_pfc_raptor()
265 s32 txgbe_dcb_config_tc_stats_raptor(struct txgbe_hw *hw, in txgbe_dcb_config_tc_stats_raptor()
H A Dtxgbe_dcb.h96 int txgbe_dcb_pfc_enable(struct txgbe_hw *hw, u8 tc_num);
99 s32 txgbe_dcb_calculate_tc_credits_cee(struct txgbe_hw *hw,
104 s32 txgbe_dcb_config_pfc(struct txgbe_hw *hw, u8 pfc_en, u8 *map);
H A Dtxgbe_dcb.c18 txgbe_dcb_pfc_enable(struct txgbe_hw *hw, uint8_t tc_num) in txgbe_dcb_pfc_enable()
162 s32 txgbe_dcb_calculate_tc_credits_cee(struct txgbe_hw *hw, in txgbe_dcb_calculate_tc_credits_cee()
355 s32 txgbe_dcb_config_pfc(struct txgbe_hw *hw, u8 pfc_en, u8 *map) in txgbe_dcb_config_pfc()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev_vf.c126 txgbevf_negotiate_api(struct txgbe_hw *hw) in txgbevf_negotiate_api()
369 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbevf_update_stats()
480 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbevf_dev_info_get()
540 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbevf_intr_disable()
557 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbevf_intr_enable()
609 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbevf_dev_start()
711 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbevf_dev_stop()
752 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbevf_dev_close()
809 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbevf_set_vfta_all()
830 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbevf_vlan_filter_set()
[all …]
H A Dtxgbe_ethdev.c305 txgbe_is_sfp(struct txgbe_hw *hw) in txgbe_is_sfp()
321 txgbe_pf_reset_hw(struct txgbe_hw *hw) in txgbe_pf_reset_hw()
343 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_enable_intr()
352 txgbe_disable_intr(struct txgbe_hw *hw) in txgbe_disable_intr()
457 txgbe_swfw_lock_reset(struct txgbe_hw *hw) in txgbe_swfw_lock_reset()
1535 struct txgbe_hw *hw; in txgbe_set_vf_rate_limit()
3165 struct txgbe_hw *hw; in txgbe_dev_led_on()
3174 struct txgbe_hw *hw; in txgbe_dev_led_off()
3183 struct txgbe_hw *hw; in txgbe_flow_ctrl_get()
3232 struct txgbe_hw *hw; in txgbe_flow_ctrl_set()
[all …]
H A Dtxgbe_pf.c72 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_pf_host_init()
163 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_add_tx_flow_control_drop_filter()
211 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_pf_host_configure()
303 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_set_rx_mode()
348 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_vf_reset_event()
371 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_vf_reset_msg()
406 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_disable_vf_mc_promisc()
423 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_vf_reset()
453 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_vf_set_mac_addr()
587 struct txgbe_hw *hw; in txgbe_get_vf_queues()
[all …]
H A Dtxgbe_regs_group.h11 struct txgbe_hw;
20 txgbe_read_regs(struct txgbe_hw *hw, const struct reg_info *reg, in txgbe_read_regs()
48 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_read_regs_group()
H A Dtxgbe_fdir.c54 txgbe_fdir_enable(struct txgbe_hw *hw, uint32_t fdirctrl) in txgbe_fdir_enable()
171 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_fdir_set_input_mask()
266 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_fdir_set_flexbytes_offset()
298 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_set_fdir_flex_conf()
363 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_fdir_configure()
593 fdir_write_perfect_filter(struct txgbe_hw *hw, in fdir_write_perfect_filter()
662 fdir_add_signature_filter(struct txgbe_hw *hw, in fdir_add_signature_filter()
696 fdir_erase_filter_raptor(struct txgbe_hw *hw, uint32_t fdirhash) in fdir_erase_filter_raptor()
789 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_fdir_filter_program()
897 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_fdir_flush()
[all …]
H A Dtxgbe_ethdev.h347 struct txgbe_hw hw;
455 void txgbe_dev_save_rx_queue(struct txgbe_hw *hw, uint16_t rx_queue_id);
456 void txgbe_dev_store_rx_queue(struct txgbe_hw *hw, uint16_t rx_queue_id);
457 void txgbe_dev_save_tx_queue(struct txgbe_hw *hw, uint16_t tx_queue_id);
458 void txgbe_dev_store_tx_queue(struct txgbe_hw *hw, uint16_t tx_queue_id);
539 void txgbe_set_ivar_map(struct txgbe_hw *hw, int8_t direction,
707 void txgbe_read_stats_registers(struct txgbe_hw *hw,
H A Dtxgbe_rxtx.c2264 struct txgbe_hw *hw; in txgbe_dev_tx_queue_setup()
2562 struct txgbe_hw *hw; in txgbe_dev_rx_queue_setup()
2860 struct txgbe_hw *hw; in txgbe_rss_disable()
3074 struct txgbe_hw *hw; in txgbe_vmdq_dcb_configure()
3741 struct txgbe_hw *hw; in txgbe_vmdq_rx_hw_configure()
3896 struct txgbe_hw *hw; in txgbe_config_vf_rss()
4287 struct txgbe_hw *hw; in txgbe_dev_rx_init()
4444 struct txgbe_hw *hw; in txgbe_dev_tx_init()
4491 struct txgbe_hw *hw; in txgbe_dev_rxtx_start()
4804 struct txgbe_hw *hw; in txgbevf_dev_rx_init()
[all …]

12