/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_llh.h | 19 struct aq_hw_s; 24 void hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, 28 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore); 31 void hw_atl_glb_glb_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 glb_reg_res_dis); 34 void hw_atl_glb_soft_res_set(struct aq_hw_s *aq_hw, u32 soft_res); 37 u32 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw); 41 u32 hw_atl_rpb_rx_dma_drop_pkt_cnt_get(struct aq_hw_s *aq_hw); 44 u32 hw_atl_stats_rx_dma_good_octet_counterlsw_get(struct aq_hw_s *aq_hw); 47 u32 hw_atl_stats_rx_dma_good_pkt_counterlsw_get(struct aq_hw_s *aq_hw); 50 u32 hw_atl_stats_tx_dma_good_octet_counterlsw_get(struct aq_hw_s *aq_hw); [all …]
|
D | hw_atl_llh.c | 19 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() 25 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore) in hw_atl_reg_glb_cpu_sem_get() 30 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() 38 void hw_atl_glb_soft_res_set(struct aq_hw_s *aq_hw, u32 soft_res) in hw_atl_glb_soft_res_set() 45 u32 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw) in hw_atl_glb_soft_res_get() 52 u32 hw_atl_reg_rx_dma_stat_counter7get(struct aq_hw_s *aq_hw) in hw_atl_reg_rx_dma_stat_counter7get() 57 u32 hw_atl_reg_glb_mif_id_get(struct aq_hw_s *aq_hw) in hw_atl_reg_glb_mif_id_get() 63 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() 68 u32 hw_atl_stats_rx_dma_good_octet_counterlsw_get(struct aq_hw_s *aq_hw) in hw_atl_stats_rx_dma_good_octet_counterlsw_get() 73 u32 hw_atl_stats_rx_dma_good_pkt_counterlsw_get(struct aq_hw_s *aq_hw) in hw_atl_stats_rx_dma_good_pkt_counterlsw_get() [all …]
|
D | hw_atl_utils.h | 277 struct aq_hw_s; 282 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops); 284 int hw_atl_utils_soft_reset(struct aq_hw_s *self); 286 void hw_atl_utils_hw_chip_features_init(struct aq_hw_s *self, u32 *p); 288 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self, 291 void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self, 294 void hw_atl_utils_mpi_set(struct aq_hw_s *self, 298 int hw_atl_utils_mpi_get_link_status(struct aq_hw_s *self); 300 int hw_atl_utils_get_mac_permanent(struct aq_hw_s *self, 305 int hw_atl_utils_hw_get_regs(struct aq_hw_s *self, [all …]
|
D | hw_atl_utils_fw2x.c | 31 static int aq_fw2x_set_link_speed(struct aq_hw_s *self, u32 speed); 32 static int aq_fw2x_set_state(struct aq_hw_s *self, 35 static int aq_fw2x_init(struct aq_hw_s *self) in aq_fw2x_init() 46 static int aq_fw2x_deinit(struct aq_hw_s *self) in aq_fw2x_deinit() 81 static int aq_fw2x_set_link_speed(struct aq_hw_s *self, u32 speed) in aq_fw2x_set_link_speed() 90 static void aq_fw2x_set_mpi_flow_control(struct aq_hw_s *self, u32 *mpi_state) in aq_fw2x_set_mpi_flow_control() 103 static int aq_fw2x_set_state(struct aq_hw_s *self, in aq_fw2x_set_state() 125 static int aq_fw2x_update_link_status(struct aq_hw_s *self) in aq_fw2x_update_link_status() 152 static int aq_fw2x_get_mac_permanent(struct aq_hw_s *self, u8 *mac) in aq_fw2x_get_mac_permanent() 197 static int aq_fw2x_update_stats(struct aq_hw_s *self) in aq_fw2x_update_stats() [all …]
|
D | hw_atl_utils.c | 52 static int hw_atl_utils_mpi_set_state(struct aq_hw_s *self, 55 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl_utils_initfw() 87 static int hw_atl_utils_soft_reset_flb(struct aq_hw_s *self) in hw_atl_utils_soft_reset_flb() 163 static int hw_atl_utils_soft_reset_rbl(struct aq_hw_s *self) in hw_atl_utils_soft_reset_rbl() 232 int hw_atl_utils_soft_reset(struct aq_hw_s *self) in hw_atl_utils_soft_reset() 273 int hw_atl_utils_fw_downld_dwords(struct aq_hw_s *self, u32 a, in hw_atl_utils_fw_downld_dwords() 317 static int hw_atl_utils_fw_upload_dwords(struct aq_hw_s *self, u32 a, u32 *p, in hw_atl_utils_fw_upload_dwords() 363 static int hw_atl_utils_init_ucp(struct aq_hw_s *self, in hw_atl_utils_init_ucp() 402 static int hw_atl_utils_fw_rpc_call(struct aq_hw_s *self, unsigned int rpc_size) in hw_atl_utils_fw_rpc_call() 426 static int hw_atl_utils_fw_rpc_wait(struct aq_hw_s *self, in hw_atl_utils_fw_rpc_wait() [all …]
|
D | hw_atl_b0.c | 88 static int hw_atl_b0_hw_reset(struct aq_hw_s *self) in hw_atl_b0_hw_reset() 103 static int hw_atl_b0_hw_qos_set(struct aq_hw_s *self) in hw_atl_b0_hw_qos_set() 162 static int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_hash_set() 188 static int hw_atl_b0_hw_rss_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_set() 222 static int hw_atl_b0_hw_offload_set(struct aq_hw_s *self, in hw_atl_b0_hw_offload_set() 267 static int hw_atl_b0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_b0_hw_init_tx_path() 287 static int hw_atl_b0_hw_init_rx_path(struct aq_hw_s *self) in hw_atl_b0_hw_init_rx_path() 346 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() 371 static int hw_atl_b0_hw_init(struct aq_hw_s *self, u8 *mac_addr) in hw_atl_b0_hw_init() 435 static int hw_atl_b0_hw_ring_tx_start(struct aq_hw_s *self, in hw_atl_b0_hw_ring_tx_start() [all …]
|
D | hw_atl_a0.c | 85 static int hw_atl_a0_hw_reset(struct aq_hw_s *self) in hw_atl_a0_hw_reset() 118 static int hw_atl_a0_hw_qos_set(struct aq_hw_s *self) in hw_atl_a0_hw_qos_set() 177 static int hw_atl_a0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_hash_set() 203 static int hw_atl_a0_hw_rss_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_set() 237 static int hw_atl_a0_hw_offload_set(struct aq_hw_s *self, in hw_atl_a0_hw_offload_set() 254 static int hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_tx_path() 274 static int hw_atl_a0_hw_init_rx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_rx_path() 316 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() 341 static int hw_atl_a0_hw_init(struct aq_hw_s *self, u8 *mac_addr) in hw_atl_a0_hw_init() 397 static int hw_atl_a0_hw_ring_tx_start(struct aq_hw_s *self, in hw_atl_a0_hw_ring_tx_start() [all …]
|
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_hw.h | 108 struct aq_hw_s { struct 136 int (*hw_ring_tx_xmit)(struct aq_hw_s *self, struct aq_ring_s *aq_ring, argument 139 int (*hw_ring_rx_receive)(struct aq_hw_s *self, 142 int (*hw_ring_rx_fill)(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 145 int (*hw_ring_tx_head_update)(struct aq_hw_s *self, 148 int (*hw_set_mac_address)(struct aq_hw_s *self, u8 *mac_addr); 150 int (*hw_reset)(struct aq_hw_s *self); 152 int (*hw_init)(struct aq_hw_s *self, u8 *mac_addr); 154 int (*hw_start)(struct aq_hw_s *self); 156 int (*hw_stop)(struct aq_hw_s *self); [all …]
|
D | aq_hw_utils.h | 41 struct aq_hw_s; 43 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, 45 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift); 46 u32 aq_hw_read_reg(struct aq_hw_s *hw, u32 reg); 47 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value); 48 int aq_hw_err_from_flags(struct aq_hw_s *hw);
|
D | aq_hw_utils.c | 18 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, in aq_hw_write_reg_bit() 34 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift) in aq_hw_read_reg_bit() 39 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() 56 int aq_hw_err_from_flags(struct aq_hw_s *hw) in aq_hw_err_from_flags()
|
D | aq_vec.h | 20 struct aq_hw_s; 32 struct aq_hw_s *aq_hw);
|
D | aq_nic.h | 64 struct aq_hw_s *aq_hw;
|
D | aq_vec.c | 23 struct aq_hw_s *aq_hw; 168 struct aq_hw_s *aq_hw) in aq_vec_init()
|