Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c98 aq_hw_write_reg(self, 0x404, 0x40e1); in hw_atl_utils_soft_reset_flb()
103 aq_hw_write_reg(self, 0x53C, val | 0x10); in hw_atl_utils_soft_reset_flb()
106 aq_hw_write_reg(self, HW_ATL_GLB_SOFT_RES_ADR, (gsr & 0xBFFF) | 0x8000); in hw_atl_utils_soft_reset_flb()
109 aq_hw_write_reg(self, 0x404, 0x80e0); in hw_atl_utils_soft_reset_flb()
110 aq_hw_write_reg(self, 0x32a8, 0x0); in hw_atl_utils_soft_reset_flb()
111 aq_hw_write_reg(self, 0x520, 0x1); in hw_atl_utils_soft_reset_flb()
115 aq_hw_write_reg(self, 0x53C, val | 0x10); in hw_atl_utils_soft_reset_flb()
118 aq_hw_write_reg(self, 0x53C, val & ~0x10); in hw_atl_utils_soft_reset_flb()
120 aq_hw_write_reg(self, 0x404, 0x180e0); in hw_atl_utils_soft_reset_flb()
137 aq_hw_write_reg(self, 0x404, 0x80e0); in hw_atl_utils_soft_reset_flb()
[all …]
Dhw_atl_llh.c19 aq_hw_write_reg(aq_hw, HW_ATL_GLB_CPU_SEM_ADR(semaphore), glb_cpu_sem); in hw_atl_reg_glb_cpu_sem_set()
84 aq_hw_write_reg(aq_hw, HW_ATL_ITR_IAMRLSW_ADR, irq_auto_masklsw); in hw_atl_itr_irq_auto_masklsw_set()
252 aq_hw_write_reg(aq_hw, HW_ATL_ITR_IMCRLSW_ADR, irq_msk_clearlsw); in hw_atl_itr_irq_msk_clearlsw_set()
257 aq_hw_write_reg(aq_hw, HW_ATL_ITR_IMSRLSW_ADR, irq_msk_setlsw); in hw_atl_itr_irq_msk_setlsw_set()
270 aq_hw_write_reg(aq_hw, HW_ATL_ITR_ISCRLSW_ADR, irq_status_clearlsw); in hw_atl_itr_irq_status_clearlsw_set()
293 aq_hw_write_reg(aq_hw, HW_ATL_ITR_RSC_EN_ADR, enable); in hw_atl_itr_rsc_en_set()
438 aq_hw_write_reg(aq_hw, HW_ATL_GEN_INTR_MAP_ADR(regidx), gen_intr_map); in hw_atl_reg_gen_irq_map_set()
448 aq_hw_write_reg(aq_hw, HW_ATL_INTR_GLB_CTL_ADR, intr_glb_ctl); in hw_atl_reg_irq_glb_ctl_set()
453 aq_hw_write_reg(aq_hw, HW_ATL_INTR_THR_ADR(throttle), intr_thr); in hw_atl_reg_irq_thr_set()
460 aq_hw_write_reg(aq_hw, HW_ATL_RX_DMA_DESC_BASE_ADDRLSW_ADR(descriptor), in hw_atl_reg_rx_dma_desc_base_addresslswset()
[all …]
Dhw_atl_utils_fw2x.c165 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL_ADDR, val); in aq_fw2x_set_link_speed()
214 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_state); in aq_fw2x_set_state()
297 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_update_stats()
325 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_get_phy_temp()
371 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_set_sleep_proxy()
379 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_set_sleep_proxy()
413 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_set_wol_params()
421 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_set_wol_params()
453 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_set_eee_rate()
487 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_renegotiate()
[all …]
Dhw_atl_b0.c304 aq_hw_write_reg(self, 0x00007040U, IS_CHIP_FEATURE(TPO2) ? in hw_atl_b0_hw_init_tx_path()
352 aq_hw_write_reg(self, 0x00005040U, in hw_atl_b0_hw_init_rx_path()
417 aq_hw_write_reg(self, HW_ATL_PCI_REG_CONTROL6_ADR, in hw_atl_b0_hw_init()
424 aq_hw_write_reg(self, HW_ATL_TX_DMA_TOTAL_REQ_LIMIT_ADR, 24); in hw_atl_b0_hw_init()
Dhw_atl_a0.c270 aq_hw_write_reg(self, 0x00007040U, IS_CHIP_FEATURE(TPO2) ? in hw_atl_a0_hw_init_tx_path()
846 aq_hw_write_reg(self, 0x00002A00U, 0x40000000U); in hw_atl_a0_hw_interrupt_moderation_set()
847 aq_hw_write_reg(self, 0x00002A00U, 0x8D000000U); in hw_atl_a0_hw_interrupt_moderation_set()
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/
Daq_hw_utils.c25 aq_hw_write_reg(aq_hw, addr, reg_new); in aq_hw_write_reg_bit()
27 aq_hw_write_reg(aq_hw, addr, val); in aq_hw_write_reg_bit()
48 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value) in aq_hw_write_reg() function
Daq_hw_utils.h34 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);