/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_llh.h | 17 struct aq_hw_s; 20 void hw_atl_ts_reset_set(struct aq_hw_s *aq_hw, u32 val); 23 void hw_atl_ts_power_down_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); 32 u32 hw_atl_ts_ready_latch_high_get(struct aq_hw_s *aq_hw); 35 u32 hw_atl_ts_data_get(struct aq_hw_s *aq_hw); 40 void hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, 44 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore); 47 void hw_atl_glb_glb_reg_res_dis_set(struct aq_hw_s *aq_h [all...] |
H A D | hw_atl_b0.h | 35 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, 40 int hw_atl_b0_hw_ring_tx_start(struct aq_hw_s *self, struct aq_ring_s *ring); 41 int hw_atl_b0_hw_ring_rx_start(struct aq_hw_s *self, struct aq_ring_s *ring); 43 int hw_atl_b0_hw_ring_rx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 45 int hw_atl_b0_hw_ring_rx_fill(struct aq_hw_s *self, struct aq_ring_s *ring, 47 int hw_atl_b0_hw_ring_rx_receive(struct aq_hw_s *self, struct aq_ring_s *ring); 49 int hw_atl_b0_hw_ring_tx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 51 int hw_atl_b0_hw_ring_tx_xmit(struct aq_hw_s *self, struct aq_ring_s *ring, 53 int hw_atl_b0_hw_ring_tx_head_update(struct aq_hw_s *sel [all...] |
H A D | hw_atl_llh.c | 16 void hw_atl_ts_reset_set(struct aq_hw_s *aq_hw, u32 val) in hw_atl_ts_reset_set() 24 void hw_atl_ts_power_down_set(struct aq_hw_s *aq_hw, u32 val) in hw_atl_ts_power_down_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() 46 u32 hw_atl_ts_ready_latch_high_get(struct aq_hw_s *aq_hw) in hw_atl_ts_ready_latch_high_get() 53 u32 hw_atl_ts_data_get(struct aq_hw_s *aq_hw) in hw_atl_ts_data_get() 61 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() 67 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore) in hw_atl_reg_glb_cpu_sem_get() 72 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() 80 void hw_atl_glb_soft_res_set(struct aq_hw_s *aq_h [all...] |
H A D | hw_atl_utils_fw2x.c | 85 static int aq_fw2x_set_link_speed(struct aq_hw_s *self, u32 speed); 86 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); 91 static int aq_fw2x_settings_get(struct aq_hw_s *self, u32 *addr); 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() 179 static int aq_fw2x_set_link_speed(struct aq_hw_s *sel [all...] |
H A D | hw_atl_utils.c | 58 static int hw_atl_utils_mpi_set_state(struct aq_hw_s *self, 60 static u32 hw_atl_utils_get_mpi_mbox_tid(struct aq_hw_s *self); 61 static u32 hw_atl_utils_mpi_get_state(struct aq_hw_s *self); 62 static u32 hw_atl_utils_mif_cmd_get(struct aq_hw_s *self); 63 static u32 hw_atl_utils_mif_addr_get(struct aq_hw_s *self); 64 static u32 hw_atl_utils_rpc_state_get(struct aq_hw_s *self); 65 static u32 aq_fw1x_rpc_get(struct aq_hw_s *self); 67 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl_utils_initfw() 95 static int hw_atl_utils_soft_reset_flb(struct aq_hw_s *self) in hw_atl_utils_soft_reset_flb() 171 static int hw_atl_utils_soft_reset_rbl(struct aq_hw_s *sel [all...] |
H A D | hw_atl_utils.h | 580 struct aq_hw_s; 585 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops); 587 int hw_atl_utils_soft_reset(struct aq_hw_s *self); 589 void hw_atl_utils_hw_chip_features_init(struct aq_hw_s *self, u32 *p); 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, 601 int hw_atl_utils_mpi_get_link_status(struct aq_hw_s *self); 603 int hw_atl_utils_get_mac_permanent(struct aq_hw_s *self, 608 int hw_atl_utils_hw_get_regs(struct aq_hw_s *sel [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_llh.h | 17 struct aq_hw_s; 20 void hw_atl_ts_reset_set(struct aq_hw_s *aq_hw, u32 val); 23 void hw_atl_ts_power_down_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); 32 u32 hw_atl_ts_ready_latch_high_get(struct aq_hw_s *aq_hw); 35 u32 hw_atl_ts_data_get(struct aq_hw_s *aq_hw); 40 void hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, 44 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore); 47 void hw_atl_glb_glb_reg_res_dis_set(struct aq_hw_s *aq_h [all...] |
H A D | hw_atl_b0.h | 35 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, 40 int hw_atl_b0_hw_ring_tx_start(struct aq_hw_s *self, struct aq_ring_s *ring); 41 int hw_atl_b0_hw_ring_rx_start(struct aq_hw_s *self, struct aq_ring_s *ring); 43 int hw_atl_b0_hw_ring_rx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 45 int hw_atl_b0_hw_ring_rx_fill(struct aq_hw_s *self, struct aq_ring_s *ring, 47 int hw_atl_b0_hw_ring_rx_receive(struct aq_hw_s *self, struct aq_ring_s *ring); 49 int hw_atl_b0_hw_ring_tx_init(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 51 int hw_atl_b0_hw_ring_tx_xmit(struct aq_hw_s *self, struct aq_ring_s *ring, 53 int hw_atl_b0_hw_ring_tx_head_update(struct aq_hw_s *sel [all...] |
H A D | hw_atl_llh.c | 16 void hw_atl_ts_reset_set(struct aq_hw_s *aq_hw, u32 val) in hw_atl_ts_reset_set() 24 void hw_atl_ts_power_down_set(struct aq_hw_s *aq_hw, u32 val) in hw_atl_ts_power_down_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() 46 u32 hw_atl_ts_ready_latch_high_get(struct aq_hw_s *aq_hw) in hw_atl_ts_ready_latch_high_get() 53 u32 hw_atl_ts_data_get(struct aq_hw_s *aq_hw) in hw_atl_ts_data_get() 61 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() 67 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore) in hw_atl_reg_glb_cpu_sem_get() 72 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() 80 void hw_atl_glb_soft_res_set(struct aq_hw_s *aq_h [all...] |
H A D | hw_atl_utils_fw2x.c | 85 static int aq_fw2x_set_link_speed(struct aq_hw_s *self, u32 speed); 86 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); 91 static int aq_fw2x_settings_get(struct aq_hw_s *self, u32 *addr); 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() 179 static int aq_fw2x_set_link_speed(struct aq_hw_s *sel [all...] |
H A D | hw_atl_utils.c | 58 static int hw_atl_utils_mpi_set_state(struct aq_hw_s *self, 60 static u32 hw_atl_utils_get_mpi_mbox_tid(struct aq_hw_s *self); 61 static u32 hw_atl_utils_mpi_get_state(struct aq_hw_s *self); 62 static u32 hw_atl_utils_mif_cmd_get(struct aq_hw_s *self); 63 static u32 hw_atl_utils_mif_addr_get(struct aq_hw_s *self); 64 static u32 hw_atl_utils_rpc_state_get(struct aq_hw_s *self); 65 static u32 aq_fw1x_rpc_get(struct aq_hw_s *self); 67 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl_utils_initfw() 95 static int hw_atl_utils_soft_reset_flb(struct aq_hw_s *self) in hw_atl_utils_soft_reset_flb() 171 static int hw_atl_utils_soft_reset_rbl(struct aq_hw_s *sel [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_api.h | 53 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, 125 int aq_mss_get_egress_sakey_record(struct aq_hw_s *hw, 134 int aq_mss_set_egress_sakey_record(struct aq_hw_s *h [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_api.h | 53 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, 125 int aq_mss_get_egress_sakey_record(struct aq_hw_s *hw, 134 int aq_mss_set_egress_sakey_record(struct aq_hw_s *h [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2_llh.h | 11 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, 23 void hw_atl2_rpf_rss_hash_type_set(struct aq_hw_s *aq_hw, u32 rss_hash_type); 26 void hw_atl2_rpf_new_enable_set(struct aq_hw_s *aq_hw, u32 enable); 29 void hw_atl2_rpfl2_uc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter); 32 void hw_atl2_rpfl2_bc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag); 35 void hw_atl2_new_rpf_rss_redir_set(struct aq_hw_s *aq_hw, u32 tc, u32 index, 39 void hw_atl2_rpf_vlan_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter); 42 void hw_atl2_tpb_tx_tc_q_rand_map_en_set(struct aq_hw_s *aq_h [all...] |
H A D | hw_atl2_llh.c | 10 void hw_atl2_rpf_redirection_table2_select_set(struct aq_hw_s *aq_hw, in hw_atl2_rpf_redirection_table2_select_set() 18 void hw_atl2_rpf_rss_hash_type_set(struct aq_hw_s *aq_hw, u32 rss_hash_type) in hw_atl2_rpf_rss_hash_type_set() 28 void hw_atl2_rpf_new_enable_set(struct aq_hw_s *aq_hw, u32 enable) in hw_atl2_rpf_new_enable_set() 36 void hw_atl2_rpfl2_uc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter) in hw_atl2_rpfl2_uc_flr_tag_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() 52 void hw_atl2_new_rpf_rss_redir_set(struct aq_hw_s *aq_hw, u32 tc, u32 index, in hw_atl2_new_rpf_rss_redir_set() 61 void hw_atl2_rpf_vlan_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter) in hw_atl2_rpf_vlan_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() 80 void hw_atl2_tpb_tx_buf_clk_gate_en_set(struct aq_hw_s *aq_hw, u32 clk_gate_en) in hw_atl2_tpb_tx_buf_clk_gate_en_set() 88 void hw_atl2_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_h [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2_llh.h | 11 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, 23 void hw_atl2_rpf_rss_hash_type_set(struct aq_hw_s *aq_hw, u32 rss_hash_type); 26 void hw_atl2_rpf_new_enable_set(struct aq_hw_s *aq_hw, u32 enable); 29 void hw_atl2_rpfl2_uc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter); 32 void hw_atl2_rpfl2_bc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag); 35 void hw_atl2_new_rpf_rss_redir_set(struct aq_hw_s *aq_hw, u32 tc, u32 index, 39 void hw_atl2_rpf_vlan_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter); 42 void hw_atl2_tpb_tx_tc_q_rand_map_en_set(struct aq_hw_s *aq_h [all...] |
H A D | hw_atl2_llh.c | 10 void hw_atl2_rpf_redirection_table2_select_set(struct aq_hw_s *aq_hw, in hw_atl2_rpf_redirection_table2_select_set() 18 void hw_atl2_rpf_rss_hash_type_set(struct aq_hw_s *aq_hw, u32 rss_hash_type) in hw_atl2_rpf_rss_hash_type_set() 28 void hw_atl2_rpf_new_enable_set(struct aq_hw_s *aq_hw, u32 enable) in hw_atl2_rpf_new_enable_set() 36 void hw_atl2_rpfl2_uc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter) in hw_atl2_rpfl2_uc_flr_tag_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() 52 void hw_atl2_new_rpf_rss_redir_set(struct aq_hw_s *aq_hw, u32 tc, u32 index, in hw_atl2_new_rpf_rss_redir_set() 61 void hw_atl2_rpf_vlan_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter) in hw_atl2_rpf_vlan_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() 80 void hw_atl2_tpb_tx_buf_clk_gate_en_set(struct aq_hw_s *aq_hw, u32 clk_gate_en) in hw_atl2_tpb_tx_buf_clk_gate_en_set() 88 void hw_atl2_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_h [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_hw.h | 177 struct aq_hw_s { struct 210 int (*hw_ring_tx_xmit)(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 213 int (*hw_ring_rx_receive)(struct aq_hw_s *self, 216 int (*hw_ring_rx_fill)(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 219 int (*hw_ring_tx_head_update)(struct aq_hw_s *self, 222 int (*hw_set_mac_address)(struct aq_hw_s *self, u8 *mac_addr); 224 int (*hw_soft_reset)(struct aq_hw_s *self); 226 int (*hw_prepare)(struct aq_hw_s *self, 229 int (*hw_reset)(struct aq_hw_s *self); 231 int (*hw_init)(struct aq_hw_s *sel [all...] |
H A D | aq_hw_utils.h | 29 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 *h [all...] |
H A D | aq_phy.h | 20 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);
|
H A D | aq_hw_utils.c | 19 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_hw.h | 177 struct aq_hw_s { struct 210 int (*hw_ring_tx_xmit)(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 213 int (*hw_ring_rx_receive)(struct aq_hw_s *self, 216 int (*hw_ring_rx_fill)(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 219 int (*hw_ring_tx_head_update)(struct aq_hw_s *self, 222 int (*hw_set_mac_address)(struct aq_hw_s *self, const u8 *mac_addr); 224 int (*hw_soft_reset)(struct aq_hw_s *self); 226 int (*hw_prepare)(struct aq_hw_s *self, 229 int (*hw_reset)(struct aq_hw_s *self); 231 int (*hw_init)(struct aq_hw_s *sel [all...] |
H A D | aq_hw_utils.h | 29 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 *h [all...] |
H A D | aq_phy.h | 20 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);
|
H A D | aq_hw_utils.c | 19 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()
|