Home
last modified time | relevance | path

Searched refs:aq_hw_s (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_llh.h16 struct aq_hw_s;
21 void hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem,
25 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore);
28 void hw_atl_glb_glb_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 glb_reg_res_dis);
31 void hw_atl_glb_soft_res_set(struct aq_hw_s *aq_hw, u32 soft_res);
34 u32 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw);
38 u32 hw_atl_rpb_rx_dma_drop_pkt_cnt_get(struct aq_hw_s *aq_hw);
41 u64 hw_atl_stats_rx_dma_good_octet_counter_get(struct aq_hw_s *aq_hw);
44 u64 hw_atl_stats_rx_dma_good_pkt_counter_get(struct aq_hw_s *aq_hw);
47 u64 hw_atl_stats_tx_dma_good_octet_counter_get(struct aq_hw_s *aq_hw);
[all …]
Dhw_atl_llh.c16 void hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, in hw_atl_reg_glb_cpu_sem_set()
22 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore) in hw_atl_reg_glb_cpu_sem_get()
27 void hw_atl_glb_glb_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 glb_reg_res_dis) in hw_atl_glb_glb_reg_res_dis_set()
35 void hw_atl_glb_soft_res_set(struct aq_hw_s *aq_hw, u32 soft_res) in hw_atl_glb_soft_res_set()
42 u32 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw) in hw_atl_glb_soft_res_get()
49 u32 hw_atl_reg_glb_mif_id_get(struct aq_hw_s *aq_hw) in hw_atl_reg_glb_mif_id_get()
55 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()
60 u64 hw_atl_stats_rx_dma_good_octet_counter_get(struct aq_hw_s *aq_hw) in hw_atl_stats_rx_dma_good_octet_counter_get()
65 u64 hw_atl_stats_rx_dma_good_pkt_counter_get(struct aq_hw_s *aq_hw) in hw_atl_stats_rx_dma_good_pkt_counter_get()
70 u64 hw_atl_stats_tx_dma_good_octet_counter_get(struct aq_hw_s *aq_hw) in hw_atl_stats_tx_dma_good_octet_counter_get()
[all …]
Dhw_atl_utils_fw2x.c68 static int aq_fw2x_set_link_speed(struct aq_hw_s *self, u32 speed);
69 static int aq_fw2x_set_state(struct aq_hw_s *self,
72 static u32 aq_fw2x_mbox_get(struct aq_hw_s *self);
73 static u32 aq_fw2x_rpc_get(struct aq_hw_s *self);
74 static u32 aq_fw2x_state2_get(struct aq_hw_s *self);
76 static int aq_fw2x_init(struct aq_hw_s *self) in aq_fw2x_init()
94 static int aq_fw2x_deinit(struct aq_hw_s *self) in aq_fw2x_deinit()
161 static int aq_fw2x_set_link_speed(struct aq_hw_s *self, u32 speed) in aq_fw2x_set_link_speed()
170 static void aq_fw2x_set_mpi_flow_control(struct aq_hw_s *self, u32 *mpi_state) in aq_fw2x_set_mpi_flow_control()
183 static void aq_fw2x_upd_eee_rate_bits(struct aq_hw_s *self, u32 *mpi_opts, in aq_fw2x_upd_eee_rate_bits()
[all …]
Dhw_atl_utils.h432 struct aq_hw_s;
437 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops);
439 int hw_atl_utils_soft_reset(struct aq_hw_s *self);
441 void hw_atl_utils_hw_chip_features_init(struct aq_hw_s *self, u32 *p);
443 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self,
446 void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self,
449 void hw_atl_utils_mpi_set(struct aq_hw_s *self,
453 int hw_atl_utils_mpi_get_link_status(struct aq_hw_s *self);
455 int hw_atl_utils_get_mac_permanent(struct aq_hw_s *self,
460 int hw_atl_utils_hw_get_regs(struct aq_hw_s *self,
[all …]
Dhw_atl_utils.c52 static int hw_atl_utils_mpi_set_state(struct aq_hw_s *self,
55 static u32 hw_atl_utils_get_mpi_mbox_tid(struct aq_hw_s *self);
56 static u32 hw_atl_utils_mpi_get_state(struct aq_hw_s *self);
57 static u32 hw_atl_utils_mif_cmd_get(struct aq_hw_s *self);
58 static u32 hw_atl_utils_mif_addr_get(struct aq_hw_s *self);
59 static u32 hw_atl_utils_rpc_state_get(struct aq_hw_s *self);
61 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl_utils_initfw()
93 static int hw_atl_utils_soft_reset_flb(struct aq_hw_s *self) in hw_atl_utils_soft_reset_flb()
169 static int hw_atl_utils_soft_reset_rbl(struct aq_hw_s *self) in hw_atl_utils_soft_reset_rbl()
238 int hw_atl_utils_soft_reset(struct aq_hw_s *self) in hw_atl_utils_soft_reset()
[all …]
Dhw_atl_b0.c89 static int hw_atl_b0_hw_reset(struct aq_hw_s *self) in hw_atl_b0_hw_reset()
104 static int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc) in hw_atl_b0_set_fc()
110 static int hw_atl_b0_hw_qos_set(struct aq_hw_s *self) in hw_atl_b0_hw_qos_set()
168 static int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_hash_set()
196 static int hw_atl_b0_hw_rss_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_set()
232 static int hw_atl_b0_hw_offload_set(struct aq_hw_s *self, in hw_atl_b0_hw_offload_set()
291 static int hw_atl_b0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_b0_hw_init_tx_path()
314 static int hw_atl_b0_hw_init_rx_path(struct aq_hw_s *self) in hw_atl_b0_hw_init_rx_path()
364 static int hw_atl_b0_hw_mac_addr_set(struct aq_hw_s *self, u8 *mac_addr) in hw_atl_b0_hw_mac_addr_set()
389 static int hw_atl_b0_hw_init(struct aq_hw_s *self, u8 *mac_addr) in hw_atl_b0_hw_init()
[all …]
Dhw_atl_a0.c82 static int hw_atl_a0_hw_reset(struct aq_hw_s *self) in hw_atl_a0_hw_reset()
120 static int hw_atl_a0_hw_qos_set(struct aq_hw_s *self) in hw_atl_a0_hw_qos_set()
179 static int hw_atl_a0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_hash_set()
207 static int hw_atl_a0_hw_rss_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_set()
243 static int hw_atl_a0_hw_offload_set(struct aq_hw_s *self, in hw_atl_a0_hw_offload_set()
260 static int hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_tx_path()
280 static int hw_atl_a0_hw_init_rx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_rx_path()
322 static int hw_atl_a0_hw_mac_addr_set(struct aq_hw_s *self, u8 *mac_addr) in hw_atl_a0_hw_mac_addr_set()
347 static int hw_atl_a0_hw_init(struct aq_hw_s *self, u8 *mac_addr) in hw_atl_a0_hw_init()
403 static int hw_atl_a0_hw_ring_tx_start(struct aq_hw_s *self, in hw_atl_a0_hw_ring_tx_start()
[all …]
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/
Daq_hw.h118 struct aq_hw_s { struct
147 int (*hw_ring_tx_xmit)(struct aq_hw_s *self, struct aq_ring_s *aq_ring, argument
150 int (*hw_ring_rx_receive)(struct aq_hw_s *self,
153 int (*hw_ring_rx_fill)(struct aq_hw_s *self, struct aq_ring_s *aq_ring,
156 int (*hw_ring_tx_head_update)(struct aq_hw_s *self,
159 int (*hw_set_mac_address)(struct aq_hw_s *self, u8 *mac_addr);
161 int (*hw_reset)(struct aq_hw_s *self);
163 int (*hw_init)(struct aq_hw_s *self, u8 *mac_addr);
165 int (*hw_start)(struct aq_hw_s *self);
167 int (*hw_stop)(struct aq_hw_s *self);
[all …]
Daq_hw_utils.h28 struct aq_hw_s;
30 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk,
32 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift);
33 u32 aq_hw_read_reg(struct aq_hw_s *hw, u32 reg);
34 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);
35 u64 aq_hw_read_reg64(struct aq_hw_s *hw, u32 reg);
36 int aq_hw_err_from_flags(struct aq_hw_s *hw);
Daq_hw_utils.c15 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, in aq_hw_write_reg_bit()
31 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift) in aq_hw_read_reg_bit()
36 u32 aq_hw_read_reg(struct aq_hw_s *hw, u32 reg) in aq_hw_read_reg()
48 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value) in aq_hw_write_reg()
57 u64 aq_hw_read_reg64(struct aq_hw_s *hw, u32 reg) in aq_hw_read_reg64()
65 int aq_hw_err_from_flags(struct aq_hw_s *hw) in aq_hw_err_from_flags()
Daq_vec.h17 struct aq_hw_s;
29 struct aq_hw_s *aq_hw);
Daq_filters.c326 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_add_del_fether()
555 static int aq_set_fl3l4(struct aq_hw_s *aq_hw, in aq_set_fl3l4()
569 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_add_del_fl3l4()
818 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_filters_vlans_update()
863 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_filters_vlan_offload_off()
Daq_vec.c20 struct aq_hw_s *aq_hw;
166 struct aq_hw_s *aq_hw) in aq_vec_init()
Daq_nic.h86 struct aq_hw_s *aq_hw;