Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
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 …]
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 …]
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 …]
Dhw_atl_a0.c274 aq_hw_write_reg(self, 0x00007040U, 0x00000000U); in hw_atl_a0_hw_init_tx_path()
854 aq_hw_write_reg(self, 0x00002A00U, 0x40000000U); in hw_atl_a0_hw_interrupt_moderation_set()
855 aq_hw_write_reg(self, 0x00002A00U, 0x8D000000U); in hw_atl_a0_hw_interrupt_moderation_set()
Dhw_atl_b0.c464 aq_hw_write_reg(self, 0x00007040U, ATL_HW_IS_CHIP_FEATURE(self, TPO2) ? in hw_atl_b0_hw_init_tx_path()
524 aq_hw_write_reg(self, 0x00005040U, ATL_HW_IS_CHIP_FEATURE(self, RPF2) ? in hw_atl_b0_hw_init_rx_path()
588 aq_hw_write_reg(self, HW_ATL_PCI_REG_CONTROL6_ADR, in hw_atl_b0_hw_init()
595 aq_hw_write_reg(self, HW_ATL_TX_DMA_TOTAL_REQ_LIMIT_ADR, 24); in hw_atl_b0_hw_init()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
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()
Dhw_atl2.c142 aq_hw_write_reg(self, in hw_atl2_hw_queue_to_tc_map_set()
151 aq_hw_write_reg(self, in hw_atl2_hw_queue_to_tc_map_set()
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/
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
Daq_hw_utils.h35 void aq_hw_write_reg(struct aq_hw_s *hw, u32 reg, u32 value);