| /f-stack/dpdk/drivers/net/atlantic/hw_atl/ |
| H A D | hw_atl_llh.h | 13 struct aq_hw_s; 31 u32 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw); 35 u32 hw_atl_rpb_rx_dma_drop_pkt_cnt_get(struct aq_hw_s *aq_hw); 104 u32 hw_atl_reg_glb_mif_id_get(struct aq_hw_s *aq_hw); 109 void hw_atl_itr_irq_auto_masklsw_set(struct aq_hw_s *aq_hw, 127 void hw_atl_itr_irq_msk_clearlsw_set(struct aq_hw_s *aq_hw, 141 u32 hw_atl_itr_irq_statuslsw_get(struct aq_hw_s *aq_hw); 144 u32 hw_atl_itr_res_irq_get(struct aq_hw_s *aq_hw); 217 u32 hw_atl_reg_gen_irq_status_get(struct aq_hw_s *aq_hw); 387 u32 hw_atl_rpf_rss_key_wr_en_get(struct aq_hw_s *aq_hw); [all …]
|
| H A D | hw_atl_llh.c | 40 u32 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw) in hw_atl_glb_soft_res_get() 47 u32 hw_atl_reg_glb_mif_id_get(struct aq_hw_s *aq_hw) in hw_atl_reg_glb_mif_id_get() 53 u32 hw_atl_rpb_rx_dma_drop_pkt_cnt_get(struct aq_hw_s *aq_hw) in hw_atl_rpb_rx_dma_drop_pkt_cnt_get() 99 void hw_atl_itr_irq_auto_masklsw_set(struct aq_hw_s *aq_hw, in hw_atl_itr_irq_auto_masklsw_set() 291 u32 hw_atl_itr_irq_statuslsw_get(struct aq_hw_s *aq_hw) in hw_atl_itr_irq_statuslsw_get() 296 u32 hw_atl_itr_res_irq_get(struct aq_hw_s *aq_hw) in hw_atl_itr_res_irq_get() 444 u32 hw_atl_reg_gen_irq_status_get(struct aq_hw_s *aq_hw) in hw_atl_reg_gen_irq_status_get() 769 u32 hw_atl_rpf_rss_key_wr_en_get(struct aq_hw_s *aq_hw) in hw_atl_rpf_rss_key_wr_en_get() 802 u32 hw_atl_rpf_rss_redir_wr_en_get(struct aq_hw_s *aq_hw) in hw_atl_rpf_rss_redir_wr_en_get() 1239 u32 hw_atl_rpb_tps_tx_tc_mode_get(struct aq_hw_s *aq_hw) in hw_atl_rpb_tps_tx_tc_mode_get() [all …]
|
| H A D | hw_atl_b0.h | 11 int hw_atl_b0_hw_reset(struct aq_hw_s *self); 12 int hw_atl_b0_hw_init(struct aq_hw_s *self, u8 *mac_addr); 14 int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc); 21 int hw_atl_b0_hw_start(struct aq_hw_s *self); 27 int hw_atl_b0_hw_ring_tx_stop(struct aq_hw_s *self, int index); 28 int hw_atl_b0_hw_ring_rx_stop(struct aq_hw_s *self, int index); 33 int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self, 35 int hw_atl_b0_hw_rss_set(struct aq_hw_s *self, 38 int hw_atl_b0_hw_irq_enable(struct aq_hw_s *self, u64 mask); 39 int hw_atl_b0_hw_irq_disable(struct aq_hw_s *self, u64 mask); [all …]
|
| H A D | hw_atl_b0.c | 16 int hw_atl_b0_hw_reset(struct aq_hw_s *self) in hw_atl_b0_hw_reset() 29 int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc) in hw_atl_b0_set_fc() 35 static int hw_atl_b0_hw_qos_set(struct aq_hw_s *self) in hw_atl_b0_hw_qos_set() 117 int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_hash_set() 149 int hw_atl_b0_hw_rss_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_set() 186 static int hw_atl_b0_hw_offload_set(struct aq_hw_s *self) in hw_atl_b0_hw_offload_set() 232 int hw_atl_b0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_b0_hw_init_tx_path() 256 int hw_atl_b0_hw_init_rx_path(struct aq_hw_s *self) in hw_atl_b0_hw_init_rx_path() 328 int hw_atl_b0_hw_init(struct aq_hw_s *self, u8 *mac_addr) in hw_atl_b0_hw_init() 403 int hw_atl_b0_hw_start(struct aq_hw_s *self) in hw_atl_b0_hw_start() [all …]
|
| H A D | hw_atl_utils_fw2x.c | 59 static int aq_fw2x_set_state(struct aq_hw_s *self, 62 static int aq_fw2x_init(struct aq_hw_s *self) in aq_fw2x_init() 83 static int aq_fw2x_deinit(struct aq_hw_s *self) in aq_fw2x_deinit() 163 static int aq_fw2x_set_state(struct aq_hw_s *self, in aq_fw2x_set_state() 185 static int aq_fw2x_update_link_status(struct aq_hw_s *self) in aq_fw2x_update_link_status() 213 int aq_fw2x_get_mac_permanent(struct aq_hw_s *self, u8 *mac) in aq_fw2x_get_mac_permanent() 265 static int aq_fw2x_update_stats(struct aq_hw_s *self) in aq_fw2x_update_stats() 295 static int aq_fw2x_get_temp(struct aq_hw_s *self, int *temp) in aq_fw2x_get_temp() 429 static int aq_fw2x_set_power(struct aq_hw_s *self, in aq_fw2x_set_power() 506 static int aq_fw2x_set_flow_control(struct aq_hw_s *self) in aq_fw2x_set_flow_control() [all …]
|
| H A D | hw_atl_utils.c | 52 static int hw_atl_utils_mpi_set_state(struct aq_hw_s *self, 233 int hw_atl_utils_soft_reset(struct aq_hw_s *self) in hw_atl_utils_soft_reset() 383 static int hw_atl_utils_init_ucp(struct aq_hw_s *self) in hw_atl_utils_init_ucp() 445 int hw_atl_utils_fw_rpc_wait(struct aq_hw_s *self, in hw_atl_utils_fw_rpc_wait() 508 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self, in hw_atl_utils_mpi_read_mbox() 517 void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self, in hw_atl_utils_mpi_read_stats() 552 int hw_atl_utils_mpi_set_state(struct aq_hw_s *self, in hw_atl_utils_mpi_set_state() 743 static int hw_atl_fw1x_deinit(struct aq_hw_s *self) in hw_atl_fw1x_deinit() 750 int hw_atl_utils_update_stats(struct aq_hw_s *self) in hw_atl_utils_update_stats() 833 int hw_atl_utils_hw_get_regs(struct aq_hw_s *self, in hw_atl_utils_hw_get_regs() [all …]
|
| H A D | hw_atl_utils.h | 598 struct aq_hw_s; 604 int hw_atl_utils_soft_reset(struct aq_hw_s *self); 608 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self, 611 void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self, 614 void hw_atl_utils_mpi_set(struct aq_hw_s *self, 618 int hw_atl_utils_mpi_get_link_status(struct aq_hw_s *self); 624 int hw_atl_utils_hw_get_regs(struct aq_hw_s *self, 627 int hw_atl_utils_hw_set_power(struct aq_hw_s *self, 630 int hw_atl_utils_hw_deinit(struct aq_hw_s *self); 634 int hw_atl_utils_update_stats(struct aq_hw_s *self); [all …]
|
| /f-stack/dpdk/drivers/net/atlantic/ |
| H A D | atl_types.h | 117 struct aq_hw_s { struct 148 int (*init)(struct aq_hw_s *self); argument 150 int (*deinit)(struct aq_hw_s *self); 152 int (*reset)(struct aq_hw_s *self); 158 int (*set_state)(struct aq_hw_s *self, 161 int (*update_link_status)(struct aq_hw_s *self); 163 int (*update_stats)(struct aq_hw_s *self); 168 int (*get_temp)(struct aq_hw_s *self, int *temp); 178 int (*set_flow_control)(struct aq_hw_s *self); 180 int (*led_control)(struct aq_hw_s *self, u32 mode); [all …]
|
| H A D | atl_hw_regs.h | 46 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, 48 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift); 49 u32 aq_hw_read_reg(struct aq_hw_s *hw, u32 reg); 50 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value); 51 int aq_hw_err_from_flags(struct aq_hw_s *hw);
|
| H A D | atl_hw_regs.c | 13 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, in aq_hw_write_reg_bit() 29 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift) in aq_hw_read_reg_bit() 34 u32 aq_hw_read_reg(struct aq_hw_s *hw, u32 reg) in aq_hw_read_reg() 39 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value) in aq_hw_write_reg() 44 int aq_hw_err_from_flags(struct aq_hw_s *hw) in aq_hw_err_from_flags()
|
| H A D | atl_ethdev.c | 338 atl_reset_hw(struct aq_hw_s *hw) in atl_reset_hw() 346 struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(dev->data->dev_private); in atl_enable_intr() 352 atl_disable_intr(struct aq_hw_s *hw) in atl_disable_intr() 480 struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(dev->data->dev_private); in atl_dev_start() 608 struct aq_hw_s *hw = in atl_dev_stop() 696 struct aq_hw_s *hw; in atl_dev_close() 940 struct aq_hw_s *hw = &adapter->hw; in atl_dev_stats_get() 972 struct aq_hw_s *hw = &adapter->hw; in atl_dev_stats_reset() 990 struct aq_hw_s *hw = &adapter->hw; in atl_dev_xstats_get_count() 1028 struct aq_hw_s *hw = &adapter->hw; in atl_dev_xstats_get() [all …]
|
| H A D | atl_rxtx.c | 309 struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private); in atl_tx_init() 340 struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private); in atl_rx_init() 446 struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(dev->data->dev_private); in atl_rx_queue_start() 478 struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(dev->data->dev_private); in atl_rx_queue_stop() 534 struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(dev->data->dev_private); in atl_tx_queue_start() 555 struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(dev->data->dev_private); in atl_tx_queue_stop() 767 struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(dev->data->dev_private); in atl_rx_enable_intr() 923 struct aq_hw_s *hw = ATL_DEV_PRIVATE_TO_HW(adapter); in atl_recv_pkts() 1222 atl_xmit_pkt(struct aq_hw_s *hw, struct atl_tx_queue *txq, in atl_xmit_pkt() 1314 struct aq_hw_s *hw = NULL; in atl_xmit_pkts()
|
| H A D | atl_ethdev.h | 48 struct aq_hw_s hw;
|