Home
last modified time | relevance | path

Searched refs:aq_hw_write_reg (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c92 aq_hw_write_reg(self, 0x404, 0x40e1); in hw_atl_utils_soft_reset_flb()
97 aq_hw_write_reg(self, 0x53C, val | 0x10); in hw_atl_utils_soft_reset_flb()
100 aq_hw_write_reg(self, HW_ATL_GLB_SOFT_RES_ADR, (gsr & 0xBFFF) | 0x8000); in hw_atl_utils_soft_reset_flb()
103 aq_hw_write_reg(self, 0x404, 0x80e0); in hw_atl_utils_soft_reset_flb()
104 aq_hw_write_reg(self, 0x32a8, 0x0); in hw_atl_utils_soft_reset_flb()
105 aq_hw_write_reg(self, 0x520, 0x1); in hw_atl_utils_soft_reset_flb()
109 aq_hw_write_reg(self, 0x53C, val | 0x10); in hw_atl_utils_soft_reset_flb()
112 aq_hw_write_reg(self, 0x53C, val & ~0x10); in hw_atl_utils_soft_reset_flb()
114 aq_hw_write_reg(self, 0x404, 0x180e0); in hw_atl_utils_soft_reset_flb()
131 aq_hw_write_reg(self, 0x404, 0x80e0); in hw_atl_utils_soft_reset_flb()
[all …]
Dhw_atl_llh.c22 aq_hw_write_reg(aq_hw, HW_ATL_GLB_CPU_SEM_ADR(semaphore), glb_cpu_sem); in hw_atl_reg_glb_cpu_sem_set()
112 aq_hw_write_reg(aq_hw, HW_ATL_ITR_IAMRLSW_ADR, irq_auto_masklsw); in hw_atl_itr_irq_auto_masklsw_set()
280 aq_hw_write_reg(aq_hw, HW_ATL_ITR_IMCRLSW_ADR, irq_msk_clearlsw); in hw_atl_itr_irq_msk_clearlsw_set()
285 aq_hw_write_reg(aq_hw, HW_ATL_ITR_IMSRLSW_ADR, irq_msk_setlsw); in hw_atl_itr_irq_msk_setlsw_set()
298 aq_hw_write_reg(aq_hw, HW_ATL_ITR_ISCRLSW_ADR, irq_status_clearlsw); in hw_atl_itr_irq_status_clearlsw_set()
451 aq_hw_write_reg(aq_hw, HW_ATL_GEN_INTR_MAP_ADR(regidx), gen_intr_map); in hw_atl_reg_gen_irq_map_set()
461 aq_hw_write_reg(aq_hw, HW_ATL_INTR_GLB_CTL_ADR, intr_glb_ctl); in hw_atl_reg_irq_glb_ctl_set()
466 aq_hw_write_reg(aq_hw, HW_ATL_INTR_THR_ADR(throttle), intr_thr); in hw_atl_reg_irq_thr_set()
473 aq_hw_write_reg(aq_hw, HW_ATL_RX_DMA_DESC_BASE_ADDRLSW_ADR(descriptor), in hw_atl_reg_rx_dma_desc_base_addresslswset()
481 aq_hw_write_reg(aq_hw, HW_ATL_RX_DMA_DESC_BASE_ADDRMSW_ADR(descriptor), in hw_atl_reg_rx_dma_desc_base_addressmswset()
[all …]
Dhw_atl_utils_fw2x.c85 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL_ADDR, val); in aq_fw2x_set_link_speed()
121 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_state); in aq_fw2x_set_state()
205 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_update_stats()
224 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_renegotiate()
235 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_state); in aq_fw2x_set_flow_control()
Dhw_atl_b0.c277 aq_hw_write_reg(self, 0x00007040U, IS_CHIP_FEATURE(TPO2) ? in hw_atl_b0_hw_init_tx_path()
334 aq_hw_write_reg(self, 0x00005040U, in hw_atl_b0_hw_init_rx_path()
399 aq_hw_write_reg(self, HW_ATL_PCI_REG_CONTROL6_ADR, in hw_atl_b0_hw_init()
406 aq_hw_write_reg(self, HW_ATL_TX_DMA_TOTAL_REQ_LIMIT_ADR, 24); in hw_atl_b0_hw_init()
Dhw_atl_a0.c264 aq_hw_write_reg(self, 0x00007040U, IS_CHIP_FEATURE(TPO2) ? in hw_atl_a0_hw_init_tx_path()
844 aq_hw_write_reg(self, 0x00002A00U, 0x40000000U); in hw_atl_a0_hw_interrupt_moderation_set()
845 aq_hw_write_reg(self, 0x00002A00U, 0x8D000000U); in hw_atl_a0_hw_interrupt_moderation_set()
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_hw_utils.c28 aq_hw_write_reg(aq_hw, addr, reg_new); in aq_hw_write_reg_bit()
30 aq_hw_write_reg(aq_hw, addr, val); in aq_hw_write_reg_bit()
51 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value) in aq_hw_write_reg() function
Daq_hw_utils.h47 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);