Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.h10 s32 txgbe_init_hw(struct txgbe_hw *hw);
11 s32 txgbe_start_hw(struct txgbe_hw *hw);
12 s32 txgbe_stop_hw(struct txgbe_hw *hw);
13 s32 txgbe_start_hw_gen2(struct txgbe_hw *hw);
14 s32 txgbe_clear_hw_cntrs(struct txgbe_hw *hw);
25 s32 txgbe_init_rx_addrs(struct txgbe_hw *hw);
34 s32 txgbe_fc_enable(struct txgbe_hw *hw);
36 void txgbe_fc_autoneg(struct txgbe_hw *hw);
37 s32 txgbe_setup_fc(struct txgbe_hw *hw);
54 s32 txgbe_clear_vfta(struct txgbe_hw *hw);
[all …]
H A Dtxgbe_type.h209 struct txgbe_hw;
442 s32 (*init_hw)(struct txgbe_hw *hw);
443 s32 (*reset_hw)(struct txgbe_hw *hw);
444 s32 (*start_hw)(struct txgbe_hw *hw);
445 s32 (*stop_hw)(struct txgbe_hw *hw);
453 s32 (*setup_sfp)(struct txgbe_hw *hw);
515 s32 (*setup_fc)(struct txgbe_hw *hw);
563 s32 (*identify)(struct txgbe_hw *hw);
565 s32 (*init)(struct txgbe_hw *hw);
566 s32 (*reset)(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_eeprom.h42 s32 txgbe_init_eeprom_params(struct txgbe_hw *hw);
43 s32 txgbe_calc_eeprom_checksum(struct txgbe_hw *hw);
45 s32 txgbe_update_eeprom_checksum(struct txgbe_hw *hw);
46 s32 txgbe_get_eeprom_semaphore(struct txgbe_hw *hw);
47 void txgbe_release_eeprom_semaphore(struct txgbe_hw *hw);
49 s32 txgbe_ee_read16(struct txgbe_hw *hw, u32 offset, u16 *data);
50 s32 txgbe_ee_readw_sw(struct txgbe_hw *hw, u32 offset, u16 *data);
53 s32 txgbe_ee_read32(struct txgbe_hw *hw, u32 addr, u32 *data);
56 s32 txgbe_ee_write16(struct txgbe_hw *hw, u32 offset, u16 data);
57 s32 txgbe_ee_writew_sw(struct txgbe_hw *hw, u32 offset, u16 data);
[all …]
H A Dtxgbe_phy.h328 s32 txgbe_get_phy_id(struct txgbe_hw *hw);
329 s32 txgbe_identify_phy(struct txgbe_hw *hw);
330 s32 txgbe_reset_phy(struct txgbe_hw *hw);
339 s32 txgbe_setup_phy_link(struct txgbe_hw *hw);
340 s32 txgbe_setup_phy_link_speed(struct txgbe_hw *hw,
346 s32 txgbe_check_reset_blocked(struct txgbe_hw *hw);
349 s32 txgbe_check_phy_link_tnx(struct txgbe_hw *hw,
352 s32 txgbe_setup_phy_link_tnx(struct txgbe_hw *hw);
354 s32 txgbe_identify_module(struct txgbe_hw *hw);
355 s32 txgbe_identify_sfp_module(struct txgbe_hw *hw);
[all …]
H A Dtxgbe_mbx.h80 s32 txgbe_read_mbx(struct txgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
81 s32 txgbe_write_mbx(struct txgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id);
82 s32 txgbe_check_for_msg(struct txgbe_hw *hw, u16 mbx_id);
83 s32 txgbe_check_for_ack(struct txgbe_hw *hw, u16 mbx_id);
84 s32 txgbe_check_for_rst(struct txgbe_hw *hw, u16 mbx_id);
85 void txgbe_init_mbx_params_pf(struct txgbe_hw *hw);
87 s32 txgbe_read_mbx_pf(struct txgbe_hw *hw, u32 *msg, u16 size, u16 vf_number);
88 s32 txgbe_write_mbx_pf(struct txgbe_hw *hw, u32 *msg, u16 size, u16 vf_number);
89 s32 txgbe_check_for_msg_pf(struct txgbe_hw *hw, u16 vf_number);
90 s32 txgbe_check_for_ack_pf(struct txgbe_hw *hw, u16 vf_number);
[all …]
H A Dtxgbe_mbx.c18 s32 txgbe_read_mbx(struct txgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in txgbe_read_mbx()
44 s32 txgbe_write_mbx(struct txgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in txgbe_write_mbx()
68 s32 txgbe_check_for_msg(struct txgbe_hw *hw, u16 mbx_id) in txgbe_check_for_msg()
88 s32 txgbe_check_for_ack(struct txgbe_hw *hw, u16 mbx_id) in txgbe_check_for_ack()
108 s32 txgbe_check_for_rst(struct txgbe_hw *hw, u16 mbx_id) in txgbe_check_for_rst()
121 STATIC s32 txgbe_check_for_bit_pf(struct txgbe_hw *hw, u32 mask, s32 index) in txgbe_check_for_bit_pf()
141 s32 txgbe_check_for_msg_pf(struct txgbe_hw *hw, u16 vf_number) in txgbe_check_for_msg_pf()
165 s32 txgbe_check_for_ack_pf(struct txgbe_hw *hw, u16 vf_number) in txgbe_check_for_ack_pf()
189 s32 txgbe_check_for_rst_pf(struct txgbe_hw *hw, u16 vf_number) in txgbe_check_for_rst_pf()
215 STATIC s32 txgbe_obtain_mbx_lock_pf(struct txgbe_hw *hw, u16 vf_number) in txgbe_obtain_mbx_lock_pf()
[all …]
H A Dtxgbe_dcb_hw.h9 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map);
12 s32 txgbe_dcb_config_tc_stats_raptor(struct txgbe_hw *hw,
16 s32 txgbe_dcb_config_tx_desc_arbiter_raptor(struct txgbe_hw *hw, u16 *refill,
18 s32 txgbe_dcb_config_tx_data_arbiter_raptor(struct txgbe_hw *hw, u16 *refill,
21 s32 txgbe_dcb_config_rx_arbiter_raptor(struct txgbe_hw *hw, u16 *refill,
H A Dtxgbe_eeprom.c16 s32 txgbe_init_eeprom_params(struct txgbe_hw *hw) in txgbe_init_eeprom_params()
73 s32 txgbe_get_eeprom_semaphore(struct txgbe_hw *hw) in txgbe_get_eeprom_semaphore()
177 s32 txgbe_ee_read16(struct txgbe_hw *hw, u32 offset, in txgbe_ee_read16()
204 s32 txgbe_ee_readw_buffer(struct txgbe_hw *hw, in txgbe_ee_readw_buffer()
235 s32 txgbe_ee_readw_sw(struct txgbe_hw *hw, u32 offset, in txgbe_ee_readw_sw()
286 s32 txgbe_ee_read_buffer(struct txgbe_hw *hw, in txgbe_ee_read_buffer()
321 s32 txgbe_ee_write16(struct txgbe_hw *hw, u32 offset, in txgbe_ee_write16()
350 s32 txgbe_ee_writew_buffer(struct txgbe_hw *hw, in txgbe_ee_writew_buffer()
432 s32 txgbe_ee_write_buffer(struct txgbe_hw *hw, in txgbe_ee_write_buffer()
466 s32 txgbe_calc_eeprom_checksum(struct txgbe_hw *hw) in txgbe_calc_eeprom_checksum()
[all …]
H A Dtxgbe_hw.c86 s32 txgbe_setup_fc(struct txgbe_hw *hw) in txgbe_setup_fc()
242 s32 txgbe_start_hw(struct txgbe_hw *hw) in txgbe_start_hw()
292 s32 txgbe_start_hw_gen2(struct txgbe_hw *hw) in txgbe_start_hw_gen2()
319 s32 txgbe_init_hw(struct txgbe_hw *hw) in txgbe_init_hw()
519 s32 txgbe_stop_hw(struct txgbe_hw *hw) in txgbe_stop_hw()
941 s32 txgbe_fc_enable(struct txgbe_hw *hw) in txgbe_fc_enable()
1207 void txgbe_fc_autoneg(struct txgbe_hw *hw) in txgbe_fc_autoneg()
1876 s32 txgbe_clear_vfta(struct txgbe_hw *hw) in txgbe_clear_vfta()
2306 void txgbe_enable_rx(struct txgbe_hw *hw) in txgbe_enable_rx()
3459 txgbe_reset_misc(struct txgbe_hw *hw) in txgbe_reset_misc()
[all …]
H A Dtxgbe_mng.h168 s32 txgbe_hic_sr_read(struct txgbe_hw *hw, u32 addr, u8 *buf, int len);
169 s32 txgbe_hic_sr_write(struct txgbe_hw *hw, u32 addr, u8 *buf, int len);
171 s32 txgbe_hic_set_drv_ver(struct txgbe_hw *hw, u8 maj, u8 min, u8 build,
173 s32 txgbe_hic_reset(struct txgbe_hw *hw);
174 bool txgbe_mng_present(struct txgbe_hw *hw);
175 bool txgbe_mng_enabled(struct txgbe_hw *hw);
H A Dtxgbe_phy.c10 static void txgbe_i2c_start(struct txgbe_hw *hw);
11 static void txgbe_i2c_stop(struct txgbe_hw *hw);
57 static s32 txgbe_read_phy_if(struct txgbe_hw *hw) in txgbe_read_phy_if()
86 s32 txgbe_identify_phy(struct txgbe_hw *hw) in txgbe_identify_phy()
168 s32 txgbe_get_phy_id(struct txgbe_hw *hw) in txgbe_get_phy_id()
227 txgbe_reset_extphy(struct txgbe_hw *hw) in txgbe_reset_extphy()
272 s32 txgbe_reset_phy(struct txgbe_hw *hw) in txgbe_reset_phy()
435 s32 txgbe_setup_phy_link(struct txgbe_hw *hw) in txgbe_setup_phy_link()
1678 txgbe_set_link_to_kx(struct txgbe_hw *hw, in txgbe_set_link_to_kx()
1877 txgbe_set_link_to_sfi(struct txgbe_hw *hw, in txgbe_set_link_to_sfi()
[all …]
H A Dtxgbe_mng.c42 txgbe_hic_unlocked(struct txgbe_hw *hw, u32 *buffer, u32 length, u32 timeout) in txgbe_hic_unlocked()
106 txgbe_host_interface_command(struct txgbe_hw *hw, u32 *buffer, in txgbe_host_interface_command()
188 s32 txgbe_hic_sr_read(struct txgbe_hw *hw, u32 addr, u8 *buf, int len) in txgbe_hic_sr_read()
231 s32 txgbe_hic_sr_write(struct txgbe_hw *hw, u32 addr, u8 *buf, int len) in txgbe_hic_sr_write()
279 s32 txgbe_hic_set_drv_ver(struct txgbe_hw *hw, u8 maj, u8 min, in txgbe_hic_set_drv_ver()
334 txgbe_hic_reset(struct txgbe_hw *hw) in txgbe_hic_reset()
376 txgbe_mng_present(struct txgbe_hw *hw) in txgbe_mng_present()
391 txgbe_mng_enabled(struct txgbe_hw *hw) in txgbe_mng_enabled()
H A Dtxgbe_dcb_hw.c20 s32 txgbe_dcb_config_rx_arbiter_raptor(struct txgbe_hw *hw, u16 *refill, in txgbe_dcb_config_rx_arbiter_raptor()
83 s32 txgbe_dcb_config_tx_desc_arbiter_raptor(struct txgbe_hw *hw, u16 *refill, in txgbe_dcb_config_tx_desc_arbiter_raptor()
130 s32 txgbe_dcb_config_tx_data_arbiter_raptor(struct txgbe_hw *hw, u16 *refill, in txgbe_dcb_config_tx_data_arbiter_raptor()
191 s32 txgbe_dcb_config_pfc_raptor(struct txgbe_hw *hw, u8 pfc_en, u8 *map) in txgbe_dcb_config_pfc_raptor()
264 s32 txgbe_dcb_config_tc_stats_raptor(struct txgbe_hw *hw, in txgbe_dcb_config_tc_stats_raptor()
H A Dtxgbe_dcb.h95 int txgbe_dcb_pfc_enable(struct txgbe_hw *hw, u8 tc_num);
98 s32 txgbe_dcb_calculate_tc_credits_cee(struct txgbe_hw *hw,
103 s32 txgbe_dcb_config_pfc(struct txgbe_hw *hw, u8 pfc_en, u8 *map);
H A Dtxgbe_dcb.c17 txgbe_dcb_pfc_enable(struct txgbe_hw *hw, uint8_t tc_num) in txgbe_dcb_pfc_enable()
161 s32 txgbe_dcb_calculate_tc_credits_cee(struct txgbe_hw *hw, in txgbe_dcb_calculate_tc_credits_cee()
354 s32 txgbe_dcb_config_pfc(struct txgbe_hw *hw, u8 pfc_en, u8 *map) in txgbe_dcb_config_pfc()
H A Dmeson.build8 'txgbe_hw.c',
H A Dtxgbe_regs.h1759 rd32(struct txgbe_hw *hw, u32 reg) in rd32()
1767 wr32(struct txgbe_hw *hw, u32 reg, u32 val) in wr32()
1775 rd32m(struct txgbe_hw *hw, u32 reg, u32 mask) in rd32m()
1783 wr32m(struct txgbe_hw *hw, u32 reg, u32 mask, u32 field) in wr32m()
1791 rd64(struct txgbe_hw *hw, u32 reg) in rd64()
1799 wr64(struct txgbe_hw *hw, u32 reg, u64 val) in wr64()
1807 po32m(struct txgbe_hw *hw, u32 reg, u32 mask, u32 expect, u32 *actual, in po32m()
1856 rd32_epcs(struct txgbe_hw *hw, u32 addr) in rd32_epcs()
1865 wr32_epcs(struct txgbe_hw *hw, u32 addr, u32 data) in wr32_epcs()
1872 rd32_ephy(struct txgbe_hw *hw, u32 addr) in rd32_ephy()
[all …]
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_regs_group.h10 struct txgbe_hw;
19 txgbe_read_regs(struct txgbe_hw *hw, const struct reg_info *reg, in txgbe_read_regs()
47 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_read_regs_group()
H A Dtxgbe_pf.c72 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_pf_host_init()
164 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_add_tx_flow_control_drop_filter()
212 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_pf_host_configure()
304 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_set_rx_mode()
349 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_vf_reset_event()
372 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_vf_reset_msg()
407 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_disable_vf_mc_promisc()
424 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_vf_reset()
454 struct txgbe_hw *hw = TXGBE_DEV_HW(eth_dev); in txgbe_vf_set_mac_addr()
588 struct txgbe_hw *hw; in txgbe_get_vf_queues()
[all …]
H A Dtxgbe_ethdev.c294 txgbe_is_sfp(struct txgbe_hw *hw) in txgbe_is_sfp()
310 txgbe_pf_reset_hw(struct txgbe_hw *hw) in txgbe_pf_reset_hw()
332 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_enable_intr()
341 txgbe_disable_intr(struct txgbe_hw *hw) in txgbe_disable_intr()
753 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_vlan_filter_set()
1301 struct txgbe_hw *hw; in txgbe_set_vf_rate_limit()
2856 struct txgbe_hw *hw; in txgbe_dev_led_on()
2865 struct txgbe_hw *hw; in txgbe_dev_led_off()
2874 struct txgbe_hw *hw; in txgbe_flow_ctrl_get()
2923 struct txgbe_hw *hw; in txgbe_flow_ctrl_set()
[all …]
H A Dtxgbe_ethdev.h142 struct txgbe_hw hw;
234 void txgbe_dev_save_rx_queue(struct txgbe_hw *hw, uint16_t rx_queue_id);
235 void txgbe_dev_store_rx_queue(struct txgbe_hw *hw, uint16_t rx_queue_id);
236 void txgbe_dev_save_tx_queue(struct txgbe_hw *hw, uint16_t tx_queue_id);
237 void txgbe_dev_store_tx_queue(struct txgbe_hw *hw, uint16_t tx_queue_id);
281 void txgbe_set_ivar_map(struct txgbe_hw *hw, int8_t direction,
400 void txgbe_read_stats_registers(struct txgbe_hw *hw,
H A Dtxgbe_rxtx.c73 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_is_vf()
1900 struct txgbe_hw *hw = TXGBE_DEV_HW(dev); in txgbe_get_rx_port_offloads()
2179 struct txgbe_hw *hw; in txgbe_dev_tx_queue_setup()
2473 struct txgbe_hw *hw; in txgbe_dev_rx_queue_setup()
2771 struct txgbe_hw *hw; in txgbe_rss_disable()
2930 struct txgbe_hw *hw; in txgbe_vmdq_dcb_configure()
3597 struct txgbe_hw *hw; in txgbe_vmdq_rx_hw_configure()
3752 struct txgbe_hw *hw; in txgbe_config_vf_rss()
4133 struct txgbe_hw *hw; in txgbe_dev_rx_init()
4295 struct txgbe_hw *hw; in txgbe_dev_tx_init()
[all …]