Home
last modified time | relevance | path

Searched refs:rtw89_read32 (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/drivers/net/wireless/realtek/rtw89/
Dmac.c51 return rtw89_read32(rtwdev, R_AX_INDIR_ACCESS_ENTRY); in rtw89_mac_mem_read()
60 r_val = rtw89_read32(rtwdev, R_AX_DMAC_FUNC_EN); in rtw89_mac_check_mac_en()
63 r_val = rtw89_read32(rtwdev, R_AX_CMAC_FUNC_EN); in rtw89_mac_check_mac_en()
66 r_val = rtw89_read32(rtwdev, R_AX_SYS_ISO_CTRL_EXTEND); in rtw89_mac_check_mac_en()
105 *val = rtw89_read32(rtwdev, R_AX_LTE_RDATA); in rtw89_mac_read_lte()
139 ret = read_poll_timeout_atomic(rtw89_read32, val, !(val & B_AX_WDE_DFI_ACTIVE), in dle_dfi_ctrl()
147 ctrl->out_data = rtw89_read32(rtwdev, data_reg); in dle_dfi_ctrl()
193 rtw89_read32(rtwdev, R_AX_HOST_DISPATCHER_ERR_IMR)); in dump_err_status_dispatcher()
195 rtw89_read32(rtwdev, R_AX_HOST_DISPATCHER_ERR_ISR)); in dump_err_status_dispatcher()
197 rtw89_read32(rtwdev, R_AX_CPU_DISPATCHER_ERR_IMR)); in dump_err_status_dispatcher()
[all …]
Ddebug.c164 data = rtw89_read32(rtwdev, addr); in rtw89_debug_priv_read_reg_get()
689 val = rtw89_read32(rtwdev, j + (k << 2)); in rtw89_debug_priv_mac_reg_dump_get()
758 val = rtw89_read32(rtwdev, i); in rtw89_debug_dump_mac_mem()
860 __ret = read_poll_timeout(rtw89_read32, __val32, \ in rtw89_debug_mac_dump_dle_dbg()
870 __data = rtw89_read32(rtwdev, __reg_data); \ in rtw89_debug_mac_dump_dle_dbg()
959 rtw89_read32(rtwdev, R_AX_DMAC_ERR_ISR)); in rtw89_debug_mac_dump_dmac_dbg()
961 rtw89_read32(rtwdev, R_AX_WDRLS_ERR_ISR)); in rtw89_debug_mac_dump_dmac_dbg()
963 rtw89_read32(rtwdev, R_AX_SEC_ERR_IMR_ISR)); in rtw89_debug_mac_dump_dmac_dbg()
965 rtw89_read32(rtwdev, R_AX_MPDU_TX_ERR_ISR)); in rtw89_debug_mac_dump_dmac_dbg()
967 rtw89_read32(rtwdev, R_AX_MPDU_RX_ERR_ISR)); in rtw89_debug_mac_dump_dmac_dbg()
[all …]
Dpci.c28 rtw89_read32(rtwdev, R_AX_PCIE_INIT_CFG1) | B_AX_RST_BDRAM); in rtw89_pci_rst_bdram_pcie()
30 ret = read_poll_timeout_atomic(rtw89_read32, val, !(val & B_AX_RST_BDRAM), in rtw89_pci_rst_bdram_pcie()
68 idx = rtw89_read32(rtwdev, addr_idx); in rtw89_pci_txbd_recalc()
127 idx = rtw89_read32(rtwdev, addr_idx); in rtw89_pci_rxbd_recalc()
620 reg_idx = rtw89_read32(rtwdev, bd_ring->addr.idx); in rtw89_pci_isr_rxd_unavail()
638 isrs->halt_c2h_isrs = rtw89_read32(rtwdev, R_AX_HISR0) & rtwpci->halt_c2h_intrs; in rtw89_pci_recognize_intrs()
639 isrs->isrs[0] = rtw89_read32(rtwdev, R_AX_PCIE_HISR00) & rtwpci->intrs[0]; in rtw89_pci_recognize_intrs()
640 isrs->isrs[1] = rtw89_read32(rtwdev, R_AX_PCIE_HISR10) & rtwpci->intrs[1]; in rtw89_pci_recognize_intrs()
652 isrs->ind_isrs = rtw89_read32(rtwdev, R_AX_PCIE_HISR00_V1) & rtwpci->ind_intrs; in rtw89_pci_recognize_intrs_v1()
654 rtw89_read32(rtwdev, R_AX_HISR0) & rtwpci->halt_c2h_intrs : 0; in rtw89_pci_recognize_intrs_v1()
[all …]
Dser.c503 *ptr = rtw89_read32(rtwdev, i); in ser_mac_mem_dump()
574 .ra = rtw89_read32(rtwdev, i), in rtw89_ser_fw_backtrace_dump()
575 .sp = rtw89_read32(rtwdev, i + 4), in rtw89_ser_fw_backtrace_dump()
Dfw.c488 val32 = rtw89_read32(rtwdev, R_AX_DBG_PORT_SEL); in rtw89_fw_prog_cnt_dump()
499 val32 = rtw89_read32(rtwdev, R_AX_WCPU_FW_CTRL); in rtw89_fw_dl_fail_dump()
2416 info->c2hreg[i] = rtw89_read32(rtwdev, c2h_reg[i]); in rtw89_fw_read_c2h_reg()
2464 rtw89_info(rtwdev, "FW status = 0x%x\n", rtw89_read32(rtwdev, R_AX_UDM0)); in rtw89_fw_st_dbg_dump()
2465 rtw89_info(rtwdev, "FW BADADDR = 0x%x\n", rtw89_read32(rtwdev, R_AX_UDM1)); in rtw89_fw_st_dbg_dump()
2466 rtw89_info(rtwdev, "FW EPC/RA = 0x%x\n", rtw89_read32(rtwdev, R_AX_UDM2)); in rtw89_fw_st_dbg_dump()
2467 rtw89_info(rtwdev, "FW MISC = 0x%x\n", rtw89_read32(rtwdev, R_AX_UDM3)); in rtw89_fw_st_dbg_dump()
2469 rtw89_read32(rtwdev, R_AX_HALT_C2H)); in rtw89_fw_st_dbg_dump()
2471 rtw89_read32(rtwdev, R_AX_SER_DBG_INFO)); in rtw89_fw_st_dbg_dump()
Defuse.c99 ret = read_poll_timeout_atomic(rtw89_read32, efuse_ctl, in rtw89_dump_physical_efuse_map_ddv()
Dphy.h371 return rtw89_read32(rtwdev, addr | RTW89_PHY_ADDR_OFFSET); in rtw89_phy_read32()
Dcore.h3608 static inline u32 rtw89_read32(struct rtw89_dev *rtwdev, u32 addr) in rtw89_read32() function
3651 val = rtw89_read32(rtwdev, addr); in rtw89_write32_set()
3678 val = rtw89_read32(rtwdev, addr); in rtw89_write32_clr()
3689 orig = rtw89_read32(rtwdev, addr); in rtw89_read32_mask()
3730 orig = rtw89_read32(rtwdev, addr); in rtw89_write32_mask()
Dmac.h896 *val = rtw89_read32(rtwdev, cr); in rtw89_mac_txpwr_read32()
Drtw8852c.c180 ret = read_poll_timeout(rtw89_read32, val32, val32 & B_AX_RDY_SYSPWR, in rtw8852c_pwr_on_func()
188 ret = read_poll_timeout(rtw89_read32, val32, !(val32 & B_AX_APFN_ONMAC), in rtw8852c_pwr_on_func()
329 ret = read_poll_timeout(rtw89_read32, val32, !(val32 & B_AX_APFM_OFFMAC), in rtw8852c_pwr_off_func()
Drtw8852a.c2030 val = rtw89_read32(rtwdev, R_AX_BT_STAST_HIGH); in rtw8852a_btc_update_bt_cnt()
2034 val = rtw89_read32(rtwdev, R_AX_BT_STAST_LOW); in rtw8852a_btc_update_bt_cnt()
Dcore.c3139 if (rtw89_read32(rtwdev, R_AX_GPIO0_7_FUNC_SEL) == RTW89_R32_DEAD) in rtw89_read_chip_ver()
Dcoex.c6630 val = rtw89_read32(rtwdev, R_AX_GNT_SW_CTRL); in _get_gnt()
6631 status = rtw89_read32(rtwdev, R_AX_GNT_VAL_V1); in _get_gnt()