Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils.c100 aq_hw_write_reg(self, 0x404, 0x40e1); in hw_atl_utils_soft_reset_flb()
105 aq_hw_write_reg(self, 0x53C, val | 0x10); in hw_atl_utils_soft_reset_flb()
108 aq_hw_write_reg(self, HW_ATL_GLB_SOFT_RES_ADR, (gsr & 0xBFFF) | 0x8000); in hw_atl_utils_soft_reset_flb()
111 aq_hw_write_reg(self, 0x404, 0x80e0); in hw_atl_utils_soft_reset_flb()
112 aq_hw_write_reg(self, 0x32a8, 0x0); in hw_atl_utils_soft_reset_flb()
113 aq_hw_write_reg(self, 0x520, 0x1); in hw_atl_utils_soft_reset_flb()
117 aq_hw_write_reg(self, 0x53C, val | 0x10); in hw_atl_utils_soft_reset_flb()
120 aq_hw_write_reg(self, 0x53C, val & ~0x10); in hw_atl_utils_soft_reset_flb()
122 aq_hw_write_reg(self, 0x404, 0x180e0); in hw_atl_utils_soft_reset_flb()
139 aq_hw_write_reg(self, 0x404, 0x80e0); in hw_atl_utils_soft_reset_flb()
[all …]
H A Dhw_atl_llh.c64 aq_hw_write_reg(aq_hw, HW_ATL_GLB_CPU_SEM_ADR(semaphore), glb_cpu_sem); in hw_atl_reg_glb_cpu_sem_set()
129 aq_hw_write_reg(aq_hw, HW_ATL_ITR_IAMRLSW_ADR, irq_auto_masklsw); in hw_atl_itr_irq_auto_masklsw_set()
297 aq_hw_write_reg(aq_hw, HW_ATL_ITR_IMCRLSW_ADR, irq_msk_clearlsw); in hw_atl_itr_irq_msk_clearlsw_set()
302 aq_hw_write_reg(aq_hw, HW_ATL_ITR_IMSRLSW_ADR, irq_msk_setlsw); in hw_atl_itr_irq_msk_setlsw_set()
315 aq_hw_write_reg(aq_hw, HW_ATL_ITR_ISCRLSW_ADR, irq_status_clearlsw); in hw_atl_itr_irq_status_clearlsw_set()
338 aq_hw_write_reg(aq_hw, HW_ATL_ITR_RSC_EN_ADR, enable); in hw_atl_itr_rsc_en_set()
483 aq_hw_write_reg(aq_hw, HW_ATL_GEN_INTR_MAP_ADR(regidx), gen_intr_map); in hw_atl_reg_gen_irq_map_set()
493 aq_hw_write_reg(aq_hw, HW_ATL_INTR_GLB_CTL_ADR, intr_glb_ctl); in hw_atl_reg_irq_glb_ctl_set()
498 aq_hw_write_reg(aq_hw, HW_ATL_INTR_THR_ADR(throttle), intr_thr); in hw_atl_reg_irq_thr_set()
505 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 …]
H A Dhw_atl_utils_fw2x.c183 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL_ADDR, val); in aq_fw2x_set_link_speed()
242 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_state); in aq_fw2x_set_state()
310 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_update_stats()
338 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, mpi_opts); in aq_fw2x_get_phy_temp()
368 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, in aq_fw2x_set_wol()
397 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, wol_bits); in aq_fw2x_set_wol()
435 aq_hw_write_reg(self, HW_ATL_FW2X_MPI_CONTROL2_ADDR, ctrl2); in aq_fw2x_send_fw_request()
458 aq_hw_write_reg(self, HW_ATL_FW3X_EXT_CONTROL_ADDR, ptp_opts); in aq_fw3x_enable_ptp()
463 aq_hw_write_reg(self, HW_ATL_FW3X_PTP_ADJ_LSW_ADDR, in aq_fw3x_adjust_ptp()
465 aq_hw_write_reg(self, HW_ATL_FW3X_PTP_ADJ_MSW_ADDR, in aq_fw3x_adjust_ptp()
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_llh.c92 aq_hw_write_reg(aq_hw, HW_ATL2_TX_INTR_MODERATION_CTL_ADR(queue), in hw_atl2_reg_tx_intr_moder_ctrl_set()
148 aq_hw_write_reg(aq_hw, in hw_atl2_rpf_act_rslvr_record_set()
151 aq_hw_write_reg(aq_hw, in hw_atl2_rpf_act_rslvr_record_set()
154 aq_hw_write_reg(aq_hw, in hw_atl2_rpf_act_rslvr_record_set()
185 aq_hw_write_reg(aq_hw, HW_ATL2_MIF_SHARED_BUFFER_IN_ADR(i), in hw_atl2_mif_shared_buf_write()
222 return aq_hw_write_reg(aq_hw, HW_ATL2_MIF_BOOT_REG_ADR, val); in hw_atl2_mif_mcp_boot_reg_set()
232 return aq_hw_write_reg(aq_hw, HW_ATL2_MCP_HOST_REQ_INT_CLR_ADR, in hw_atl2_mif_host_req_int_clr()
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_hw_utils.c29 aq_hw_write_reg(aq_hw, addr, reg_new); in aq_hw_write_reg_bit()
31 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
H A Daq_hw_utils.h35 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);