Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl/
A Dhw_atl_llh.h17 struct aq_hw_s;
20 void hw_atl_ts_reset_set(struct aq_hw_s *aq_hw, u32 val);
26 u32 hw_atl_ts_power_down_get(struct aq_hw_s *aq_hw);
29 u32 hw_atl_ts_ready_get(struct aq_hw_s *aq_hw);
35 u32 hw_atl_ts_data_get(struct aq_hw_s *aq_hw);
53 u32 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw);
151 u32 hw_atl_itr_res_irq_get(struct aq_hw_s *aq_hw);
855 u32 hw_atl_sem_ram_get(struct aq_hw_s *self);
858 u32 hw_atl_sem_mdio_get(struct aq_hw_s *self);
867 u32 hw_atl_scrpad12_get(struct aq_hw_s *self);
[all …]
A Dhw_atl_llh.c16 void hw_atl_ts_reset_set(struct aq_hw_s *aq_hw, u32 val) in hw_atl_ts_reset_set()
32 u32 hw_atl_ts_power_down_get(struct aq_hw_s *aq_hw) in hw_atl_ts_power_down_get()
39 u32 hw_atl_ts_ready_get(struct aq_hw_s *aq_hw) in hw_atl_ts_ready_get()
53 u32 hw_atl_ts_data_get(struct aq_hw_s *aq_hw) in hw_atl_ts_data_get()
87 u32 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw) in hw_atl_glb_soft_res_get()
94 u32 hw_atl_reg_glb_mif_id_get(struct aq_hw_s *aq_hw) in hw_atl_reg_glb_mif_id_get()
323 u32 hw_atl_itr_res_irq_get(struct aq_hw_s *aq_hw) in hw_atl_itr_res_irq_get()
1762 u32 hw_atl_sem_ram_get(struct aq_hw_s *self) in hw_atl_sem_ram_get()
1767 u32 hw_atl_sem_mdio_get(struct aq_hw_s *self) in hw_atl_sem_mdio_get()
1788 u32 hw_atl_scrpad12_get(struct aq_hw_s *self) in hw_atl_scrpad12_get()
[all …]
A Dhw_atl_b0.h35 int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self,
37 int hw_atl_b0_hw_offload_set(struct aq_hw_s *self,
53 int hw_atl_b0_hw_ring_tx_head_update(struct aq_hw_s *self,
59 void hw_atl_b0_hw_init_rx_rss_ctrl1(struct aq_hw_s *self);
61 int hw_atl_b0_hw_mac_addr_set(struct aq_hw_s *self, const u8 *mac_addr);
63 int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc);
66 int hw_atl_b0_hw_start(struct aq_hw_s *self);
68 int hw_atl_b0_hw_irq_enable(struct aq_hw_s *self, u64 mask);
69 int hw_atl_b0_hw_irq_disable(struct aq_hw_s *self, u64 mask);
70 int hw_atl_b0_hw_irq_read(struct aq_hw_s *self, u64 *mask);
[all …]
A Dhw_atl_utils_fw2x.c86 static int aq_fw2x_set_state(struct aq_hw_s *self,
89 static u32 aq_fw2x_mbox_get(struct aq_hw_s *self);
90 static u32 aq_fw2x_rpc_get(struct aq_hw_s *self);
92 static u32 aq_fw2x_state_get(struct aq_hw_s *self);
93 static u32 aq_fw2x_state2_get(struct aq_hw_s *self);
95 static int aq_fw2x_init(struct aq_hw_s *self) in aq_fw2x_init()
115 static int aq_fw2x_deinit(struct aq_hw_s *self) in aq_fw2x_deinit()
221 static int aq_fw2x_set_state(struct aq_hw_s *self, in aq_fw2x_set_state()
579 static u32 aq_fw2x_mbox_get(struct aq_hw_s *self) in aq_fw2x_mbox_get()
584 static u32 aq_fw2x_rpc_get(struct aq_hw_s *self) in aq_fw2x_rpc_get()
[all …]
A Dhw_atl_utils.c62 static u32 hw_atl_utils_mif_cmd_get(struct aq_hw_s *self);
65 static u32 aq_fw1x_rpc_get(struct aq_hw_s *self);
240 int hw_atl_utils_soft_reset(struct aq_hw_s *self) in hw_atl_utils_soft_reset()
473 static int hw_atl_utils_init_ucp(struct aq_hw_s *self, in hw_atl_utils_init_ucp()
538 int hw_atl_utils_fw_rpc_wait(struct aq_hw_s *self, in hw_atl_utils_fw_rpc_wait()
615 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self, in hw_atl_utils_mpi_read_mbox()
859 static int hw_atl_fw1x_deinit(struct aq_hw_s *self) in hw_atl_fw1x_deinit()
867 int hw_atl_utils_update_stats(struct aq_hw_s *self) in hw_atl_utils_update_stats()
949 int hw_atl_utils_hw_get_regs(struct aq_hw_s *self, in hw_atl_utils_hw_get_regs()
962 u32 hw_atl_utils_get_fw_version(struct aq_hw_s *self) in hw_atl_utils_get_fw_version()
[all …]
A Dhw_atl_utils.h580 struct aq_hw_s;
587 int hw_atl_utils_soft_reset(struct aq_hw_s *self);
591 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self,
594 void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self,
597 void hw_atl_utils_mpi_set(struct aq_hw_s *self,
608 int hw_atl_utils_hw_get_regs(struct aq_hw_s *self,
612 int hw_atl_utils_hw_set_power(struct aq_hw_s *self,
615 int hw_atl_utils_hw_deinit(struct aq_hw_s *self);
617 u32 hw_atl_utils_get_fw_version(struct aq_hw_s *self);
619 int hw_atl_utils_update_stats(struct aq_hw_s *self);
[all …]
A Dhw_atl_b0.c115 static int hw_atl_b0_hw_reset(struct aq_hw_s *self) in hw_atl_b0_hw_reset()
130 int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc) in hw_atl_b0_set_fc()
137 static int hw_atl_b0_tc_ptp_set(struct aq_hw_s *self) in hw_atl_b0_tc_ptp_set()
152 static int hw_atl_b0_hw_qos_set(struct aq_hw_s *self) in hw_atl_b0_hw_qos_set()
209 int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_hash_set()
237 static int hw_atl_b0_hw_rss_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_set()
273 int hw_atl_b0_hw_offload_set(struct aq_hw_s *self, in hw_atl_b0_hw_offload_set()
645 int hw_atl_b0_hw_start(struct aq_hw_s *self) in hw_atl_b0_hw_start()
1199 static int hw_atl_b0_hw_stop(struct aq_hw_s *self) in hw_atl_b0_hw_stop()
1511 static int hw_atl_b0_hw_fl2_set(struct aq_hw_s *self, in hw_atl_b0_hw_fl2_set()
[all …]
A Dhw_atl_a0.c86 static int hw_atl_a0_hw_reset(struct aq_hw_s *self) in hw_atl_a0_hw_reset()
124 static int hw_atl_a0_hw_qos_set(struct aq_hw_s *self) in hw_atl_a0_hw_qos_set()
183 static int hw_atl_a0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_hash_set()
211 static int hw_atl_a0_hw_rss_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_set()
247 static int hw_atl_a0_hw_offload_set(struct aq_hw_s *self, in hw_atl_a0_hw_offload_set()
264 static int hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_tx_path()
283 static int hw_atl_a0_hw_init_rx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_rx_path()
421 static int hw_atl_a0_hw_start(struct aq_hw_s *self) in hw_atl_a0_hw_start()
437 static int hw_atl_a0_hw_ring_tx_xmit(struct aq_hw_s *self, in hw_atl_a0_hw_ring_tx_xmit()
867 static int hw_atl_a0_hw_stop(struct aq_hw_s *self) in hw_atl_a0_hw_stop()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A Daq_hw.h177 struct aq_hw_s { struct
226 int (*hw_prepare)(struct aq_hw_s *self,
229 int (*hw_reset)(struct aq_hw_s *self);
233 int (*hw_start)(struct aq_hw_s *self);
235 int (*hw_stop)(struct aq_hw_s *self);
289 int (*hw_rss_set)(struct aq_hw_s *self,
297 int (*hw_get_regs)(struct aq_hw_s *self,
346 int (*init)(struct aq_hw_s *self);
348 int (*deinit)(struct aq_hw_s *self);
350 int (*reset)(struct aq_hw_s *self);
[all …]
A Daq_hw_utils.h29 struct aq_hw_s;
31 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk,
33 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift);
34 u32 aq_hw_read_reg(struct aq_hw_s *hw, u32 reg);
35 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);
36 u64 aq_hw_read_reg64(struct aq_hw_s *hw, u32 reg);
37 void aq_hw_write_reg64(struct aq_hw_s *hw, u32 reg, u64 value);
38 int aq_hw_err_from_flags(struct aq_hw_s *hw);
39 int aq_hw_num_tcs(struct aq_hw_s *hw);
40 int aq_hw_q_per_tc(struct aq_hw_s *hw);
A Daq_phy.h20 bool aq_mdio_busy_wait(struct aq_hw_s *aq_hw);
22 u16 aq_mdio_read_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr);
24 void aq_mdio_write_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr, u16 data);
26 u16 aq_phy_read_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address);
28 void aq_phy_write_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address, u16 data);
30 bool aq_phy_init_phy_id(struct aq_hw_s *aq_hw);
32 bool aq_phy_init(struct aq_hw_s *aq_hw);
34 void aq_phy_disable_ptp(struct aq_hw_s *aq_hw);
A Daq_hw_utils.c19 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, in aq_hw_write_reg_bit()
35 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift) in aq_hw_read_reg_bit()
40 u32 aq_hw_read_reg(struct aq_hw_s *hw, u32 reg) in aq_hw_read_reg()
51 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value) in aq_hw_write_reg()
60 u64 aq_hw_read_reg64(struct aq_hw_s *hw, u32 reg) in aq_hw_read_reg64()
76 void aq_hw_write_reg64(struct aq_hw_s *hw, u32 reg, u64 value) in aq_hw_write_reg64()
84 int aq_hw_err_from_flags(struct aq_hw_s *hw) in aq_hw_err_from_flags()
101 int aq_hw_num_tcs(struct aq_hw_s *hw) in aq_hw_num_tcs()
115 int aq_hw_q_per_tc(struct aq_hw_s *hw) in aq_hw_q_per_tc()
A Daq_phy.c12 bool aq_mdio_busy_wait(struct aq_hw_s *aq_hw) in aq_mdio_busy_wait()
26 u16 aq_mdio_read_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr) in aq_mdio_read_word()
52 void aq_mdio_write_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr, u16 data) in aq_mdio_write_word()
78 u16 aq_phy_read_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address) in aq_phy_read_reg()
99 void aq_phy_write_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address, u16 data) in aq_phy_write_reg()
113 bool aq_phy_init_phy_id(struct aq_hw_s *aq_hw) in aq_phy_init_phy_id()
129 bool aq_phy_init(struct aq_hw_s *aq_hw) in aq_phy_init()
153 void aq_phy_disable_ptp(struct aq_hw_s *aq_hw) in aq_phy_disable_ptp()
A Daq_vec.h24 struct aq_hw_s;
38 struct aq_hw_s *aq_hw);
A Daq_macsec.c322 struct aq_hw_s *hw = nic->aq_hw; in aq_set_txsc()
498 struct aq_hw_s *hw = nic->aq_hw; in aq_clear_txsc()
551 struct aq_hw_s *hw = nic->aq_hw; in aq_update_txsa()
629 struct aq_hw_s *hw = nic->aq_hw; in aq_clear_txsa()
695 struct aq_hw_s *hw = nic->aq_hw; in aq_set_rxsc()
796 struct aq_hw_s *hw = nic->aq_hw; in aq_clear_rxsc()
866 struct aq_hw_s *hw = nic->aq_hw; in aq_update_rxsa()
959 struct aq_hw_s *hw = nic->aq_hw; in aq_clear_rxsa()
1005 struct aq_hw_s *hw = nic->aq_hw; in aq_mdo_get_dev_stats()
1025 struct aq_hw_s *hw = nic->aq_hw; in aq_mdo_get_tx_sc_stats()
[all …]
A Daq_filters.c334 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_add_del_fether()
563 static int aq_set_fl3l4(struct aq_hw_s *aq_hw, in aq_set_fl3l4()
577 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_add_del_fl3l4()
826 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_filters_vlans_update()
869 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_filters_vlan_offload_off()
A Daq_vec.c16 struct aq_hw_s *aq_hw;
184 struct aq_hw_s *aq_hw) in aq_vec_init()
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/macsec/
A Dmacsec_api.h53 int aq_mss_get_egress_ctlf_record(struct aq_hw_s *hw,
62 int aq_mss_set_egress_ctlf_record(struct aq_hw_s *hw,
71 int aq_mss_get_egress_class_record(struct aq_hw_s *hw,
80 int aq_mss_set_egress_class_record(struct aq_hw_s *hw,
89 int aq_mss_get_egress_sc_record(struct aq_hw_s *hw,
98 int aq_mss_set_egress_sc_record(struct aq_hw_s *hw,
107 int aq_mss_get_egress_sa_record(struct aq_hw_s *hw,
116 int aq_mss_set_egress_sa_record(struct aq_hw_s *hw,
179 int aq_mss_get_ingress_sc_record(struct aq_hw_s *hw,
188 int aq_mss_set_ingress_sc_record(struct aq_hw_s *hw,
[all …]
A Dmacsec_api.c30 static int aq_mss_mdio_sem_get(struct aq_hw_s *hw) in aq_mss_mdio_sem_get()
38 static void aq_mss_mdio_sem_put(struct aq_hw_s *hw) in aq_mss_mdio_sem_put()
262 set_ingress_prectlf_record(struct aq_hw_s *hw, in set_ingress_prectlf_record()
351 set_ingress_preclass_record(struct aq_hw_s *hw, in set_ingress_preclass_record()
449 get_ingress_preclass_record(struct aq_hw_s *hw, in get_ingress_preclass_record()
755 set_ingress_sakey_record(struct aq_hw_s *hw, in set_ingress_sakey_record()
868 set_ingress_postclass_record(struct aq_hw_s *hw, in set_ingress_postclass_record()
956 get_ingress_postclass_record(struct aq_hw_s *hw, in get_ingress_postclass_record()
1060 set_ingress_postctlf_record(struct aq_hw_s *hw, in set_ingress_postctlf_record()
1098 get_ingress_postctlf_record(struct aq_hw_s *hw, in get_ingress_postctlf_record()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
A Dhw_atl2_llh.h11 struct aq_hw_s;
14 void hw_atl2_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw,
19 void hw_atl2_rpf_redirection_table2_select_set(struct aq_hw_s *aq_hw,
26 void hw_atl2_rpf_new_enable_set(struct aq_hw_s *aq_hw, u32 enable);
32 void hw_atl2_rpfl2_bc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag);
42 void hw_atl2_tpb_tx_tc_q_rand_map_en_set(struct aq_hw_s *aq_hw,
61 u32 hw_atl2_get_hw_version(struct aq_hw_s *aq_hw);
63 void hw_atl2_init_launchtime(struct aq_hw_s *aq_hw);
88 u32 hw_atl2_mif_mcp_finished_read_get(struct aq_hw_s *aq_hw);
91 u32 hw_atl2_mif_mcp_boot_reg_get(struct aq_hw_s *aq_hw);
[all …]
A Dhw_atl2_llh.c10 void hw_atl2_rpf_redirection_table2_select_set(struct aq_hw_s *aq_hw, in hw_atl2_rpf_redirection_table2_select_set()
28 void hw_atl2_rpf_new_enable_set(struct aq_hw_s *aq_hw, u32 enable) in hw_atl2_rpf_new_enable_set()
44 void hw_atl2_rpfl2_bc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag) in hw_atl2_rpfl2_bc_flr_tag_set()
71 void hw_atl2_tpb_tx_tc_q_rand_map_en_set(struct aq_hw_s *aq_hw, in hw_atl2_tpb_tx_tc_q_rand_map_en_set()
88 void hw_atl2_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw, in hw_atl2_reg_tx_intr_moder_ctrl_set()
125 u32 hw_atl2_get_hw_version(struct aq_hw_s *aq_hw) in hw_atl2_get_hw_version()
130 void hw_atl2_init_launchtime(struct aq_hw_s *aq_hw) in hw_atl2_init_launchtime()
208 u32 hw_atl2_mif_mcp_finished_read_get(struct aq_hw_s *aq_hw) in hw_atl2_mif_mcp_finished_read_get()
215 u32 hw_atl2_mif_mcp_boot_reg_get(struct aq_hw_s *aq_hw) in hw_atl2_mif_mcp_boot_reg_get()
220 void hw_atl2_mif_mcp_boot_reg_set(struct aq_hw_s *aq_hw, u32 val) in hw_atl2_mif_mcp_boot_reg_set()
[all …]
A Dhw_atl2_utils_fw.c117 static int aq_a2_fw_init(struct aq_hw_s *self) in aq_a2_fw_init()
141 static int aq_a2_fw_deinit(struct aq_hw_s *self) in aq_a2_fw_deinit()
245 static void aq_a2_fw_upd_eee_rate_bits(struct aq_hw_s *self, in aq_a2_fw_upd_eee_rate_bits()
256 static int aq_a2_fw_set_state(struct aq_hw_s *self, in aq_a2_fw_set_state()
284 static int aq_a2_fw_update_link_status(struct aq_hw_s *self) in aq_a2_fw_update_link_status()
336 static void aq_a2_fill_a0_stats(struct aq_hw_s *self, in aq_a2_fill_a0_stats()
378 static void aq_a2_fill_b0_stats(struct aq_hw_s *self, in aq_a2_fill_b0_stats()
414 static int aq_a2_fw_update_stats(struct aq_hw_s *self) in aq_a2_fw_update_stats()
493 static int aq_a2_fw_renegotiate(struct aq_hw_s *self) in aq_a2_fw_renegotiate()
513 static int aq_a2_fw_set_flow_control(struct aq_hw_s *self) in aq_a2_fw_set_flow_control()
[all …]
A Dhw_atl2.c89 static u32 hw_atl2_sem_act_rslvr_get(struct aq_hw_s *self) in hw_atl2_sem_act_rslvr_get()
94 static int hw_atl2_hw_reset(struct aq_hw_s *self) in hw_atl2_hw_reset()
112 static int hw_atl2_hw_queue_to_tc_map_set(struct aq_hw_s *self) in hw_atl2_hw_queue_to_tc_map_set()
162 static int hw_atl2_hw_qos_set(struct aq_hw_s *self) in hw_atl2_hw_qos_set()
214 static int hw_atl2_hw_rss_set(struct aq_hw_s *self, in hw_atl2_hw_rss_set()
354 static int hw_atl2_hw_init_tx_path(struct aq_hw_s *self) in hw_atl2_hw_init_tx_path()
484 static int hw_atl2_hw_init_rx_path(struct aq_hw_s *self) in hw_atl2_hw_init_rx_path()
599 static int hw_atl2_hw_ring_rx_init(struct aq_hw_s *self, in hw_atl2_hw_ring_rx_init()
606 static int hw_atl2_hw_ring_tx_init(struct aq_hw_s *self, in hw_atl2_hw_ring_tx_init()
758 static int hw_atl2_hw_stop(struct aq_hw_s *self) in hw_atl2_hw_stop()
[all …]
A Dhw_atl2_utils.c33 int hw_atl2_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl2_utils_initfw()
55 static bool hw_atl2_mcp_boot_complete(struct aq_hw_s *self) in hw_atl2_mcp_boot_complete()
70 int hw_atl2_utils_soft_reset(struct aq_hw_s *self) in hw_atl2_utils_soft_reset()
A Dhw_atl2_utils.h625 int hw_atl2_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops);
627 int hw_atl2_utils_soft_reset(struct aq_hw_s *self);
629 u32 hw_atl2_utils_get_fw_version(struct aq_hw_s *self);
631 int hw_atl2_utils_get_action_resolve_table_caps(struct aq_hw_s *self,

Completed in 75 milliseconds

12