/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_llh.h | 19 struct aq_hw_s; 24 void reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, 28 u32 reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore); 31 void glb_glb_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 glb_reg_res_dis); 34 void glb_soft_res_set(struct aq_hw_s *aq_hw, u32 soft_res); 37 u32 glb_soft_res_get(struct aq_hw_s *aq_hw); 41 u32 rpb_rx_dma_drop_pkt_cnt_get(struct aq_hw_s *aq_hw); 44 u32 stats_rx_dma_good_octet_counterlsw_get(struct aq_hw_s *aq_hw); 47 u32 stats_rx_dma_good_pkt_counterlsw_get(struct aq_hw_s *aq_hw); 50 u32 stats_tx_dma_good_octet_counterlsw_get(struct aq_hw_s *aq_hw); [all …]
|
D | hw_atl_llh.c | 19 void reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, u32 semaphore) in reg_glb_cpu_sem_set() 24 u32 reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore) in reg_glb_cpu_sem_get() 29 void glb_glb_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 glb_reg_res_dis) in glb_glb_reg_res_dis_set() 37 void glb_soft_res_set(struct aq_hw_s *aq_hw, u32 soft_res) in glb_soft_res_set() 43 u32 glb_soft_res_get(struct aq_hw_s *aq_hw) in glb_soft_res_get() 50 u32 reg_rx_dma_stat_counter7get(struct aq_hw_s *aq_hw) in reg_rx_dma_stat_counter7get() 55 u32 reg_glb_mif_id_get(struct aq_hw_s *aq_hw) in reg_glb_mif_id_get() 61 u32 rpb_rx_dma_drop_pkt_cnt_get(struct aq_hw_s *aq_hw) in rpb_rx_dma_drop_pkt_cnt_get() 66 u32 stats_rx_dma_good_octet_counterlsw_get(struct aq_hw_s *aq_hw) in stats_rx_dma_good_octet_counterlsw_get() 71 u32 stats_rx_dma_good_pkt_counterlsw_get(struct aq_hw_s *aq_hw) in stats_rx_dma_good_pkt_counterlsw_get() [all …]
|
D | hw_atl_utils.h | 130 struct aq_hw_s base; 174 void hw_atl_utils_hw_chip_features_init(struct aq_hw_s *self, u32 *p); 176 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self, 179 void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self, 182 void hw_atl_utils_mpi_set(struct aq_hw_s *self, 186 int hw_atl_utils_mpi_set_speed(struct aq_hw_s *self, u32 speed, 189 int hw_atl_utils_mpi_get_link_status(struct aq_hw_s *self); 191 int hw_atl_utils_get_mac_permanent(struct aq_hw_s *self, 197 int hw_atl_utils_hw_get_regs(struct aq_hw_s *self, 201 int hw_atl_utils_hw_set_power(struct aq_hw_s *self, [all …]
|
D | hw_atl_a0.c | 20 static int hw_atl_a0_get_hw_caps(struct aq_hw_s *self, in hw_atl_a0_get_hw_caps() 38 static struct aq_hw_s *hw_atl_a0_create(struct aq_pci_func_s *aq_pci_func, in hw_atl_a0_create() 53 return (struct aq_hw_s *)self; in hw_atl_a0_create() 56 static void hw_atl_a0_destroy(struct aq_hw_s *self) in hw_atl_a0_destroy() 61 static int hw_atl_a0_hw_reset(struct aq_hw_s *self) in hw_atl_a0_hw_reset() 94 static int hw_atl_a0_hw_qos_set(struct aq_hw_s *self) in hw_atl_a0_hw_qos_set() 151 static int hw_atl_a0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_hash_set() 178 static int hw_atl_a0_hw_rss_set(struct aq_hw_s *self, in hw_atl_a0_hw_rss_set() 211 static int hw_atl_a0_hw_offload_set(struct aq_hw_s *self, in hw_atl_a0_hw_offload_set() 228 static int hw_atl_a0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_a0_hw_init_tx_path() [all …]
|
D | hw_atl_b0.c | 21 static int hw_atl_b0_get_hw_caps(struct aq_hw_s *self, in hw_atl_b0_get_hw_caps() 39 static struct aq_hw_s *hw_atl_b0_create(struct aq_pci_func_s *aq_pci_func, in hw_atl_b0_create() 54 return (struct aq_hw_s *)self; in hw_atl_b0_create() 57 static void hw_atl_b0_destroy(struct aq_hw_s *self) in hw_atl_b0_destroy() 62 static int hw_atl_b0_hw_reset(struct aq_hw_s *self) in hw_atl_b0_hw_reset() 95 static int hw_atl_b0_hw_qos_set(struct aq_hw_s *self) in hw_atl_b0_hw_qos_set() 152 static int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_hash_set() 179 static int hw_atl_b0_hw_rss_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_set() 212 static int hw_atl_b0_hw_offload_set(struct aq_hw_s *self, in hw_atl_b0_hw_offload_set() 256 static int hw_atl_b0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_b0_hw_init_tx_path() [all …]
|
D | hw_atl_utils.c | 35 static int hw_atl_utils_fw_downld_dwords(struct aq_hw_s *self, u32 a, in hw_atl_utils_fw_downld_dwords() 75 static int hw_atl_utils_fw_upload_dwords(struct aq_hw_s *self, u32 a, u32 *p, in hw_atl_utils_fw_upload_dwords() 121 static int hw_atl_utils_init_ucp(struct aq_hw_s *self, in hw_atl_utils_init_ucp() 168 static int hw_atl_utils_fw_rpc_call(struct aq_hw_s *self, unsigned int rpc_size) in hw_atl_utils_fw_rpc_call() 192 static int hw_atl_utils_fw_rpc_wait(struct aq_hw_s *self, in hw_atl_utils_fw_rpc_wait() 241 static int hw_atl_utils_mpi_create(struct aq_hw_s *self, in hw_atl_utils_mpi_create() 258 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self, in hw_atl_utils_mpi_read_mbox() 267 void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self, in hw_atl_utils_mpi_read_stats() 292 int hw_atl_utils_mpi_set_speed(struct aq_hw_s *self, u32 speed, in hw_atl_utils_mpi_set_speed() 303 void hw_atl_utils_mpi_set(struct aq_hw_s *self, in hw_atl_utils_mpi_set() [all …]
|
/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_hw.h | 67 struct aq_hw_s { struct 82 struct aq_hw_s *(*create)(struct aq_pci_func_s *aq_pci_func, argument 85 void (*destroy)(struct aq_hw_s *self); 87 int (*get_hw_caps)(struct aq_hw_s *self, 92 int (*hw_ring_tx_xmit)(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 95 int (*hw_ring_rx_receive)(struct aq_hw_s *self, 98 int (*hw_ring_rx_fill)(struct aq_hw_s *self, struct aq_ring_s *aq_ring, 101 int (*hw_ring_tx_head_update)(struct aq_hw_s *self, 104 int (*hw_get_mac_permanent)(struct aq_hw_s *self, 108 int (*hw_set_mac_address)(struct aq_hw_s *self, u8 *mac_addr); [all …]
|
D | aq_hw_utils.h | 38 struct aq_hw_s; 40 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, 42 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift); 43 u32 aq_hw_read_reg(struct aq_hw_s *hw, u32 reg); 44 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value); 45 int aq_hw_err_from_flags(struct aq_hw_s *hw);
|
D | aq_hw_utils.c | 17 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, in aq_hw_write_reg_bit() 33 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift) in aq_hw_read_reg_bit() 38 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() 53 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; 30 struct aq_hw_s *aq_hw);
|
D | aq_nic_internal.h | 19 struct aq_hw_s *aq_hw;
|
D | aq_vec.c | 24 struct aq_hw_s *aq_hw; 170 struct aq_hw_s *aq_hw) in aq_vec_init()
|