Searched refs:ufshcd_readl (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/scsi/ufs/ |
D | ufshcd.c | 122 regs[pos / 4] = ufshcd_readl(hba, offset + pos); in ufshcd_dump_regs() 361 intr = ufshcd_readl(hba, REG_INTERRUPT_STATUS); in ufshcd_add_command_trace() 362 doorbell = ufshcd_readl(hba, REG_UTP_TRANSFER_REQ_DOOR_BELL); in ufshcd_add_command_trace() 564 while ((ufshcd_readl(hba, reg) & mask) != val) { in ufshcd_wait_for_register() 570 if ((ufshcd_readl(hba, reg) & mask) != val) in ufshcd_wait_for_register() 617 return ufshcd_readl(hba, REG_UFS_VERSION); in ufshcd_get_ufs_version() 629 return (ufshcd_readl(hba, REG_CONTROLLER_STATUS) & in ufshcd_is_device_present() 736 return ufshcd_readl(hba, REG_UIC_COMMAND_ARG_2) & in ufshcd_get_uic_cmd_result() 749 return ufshcd_readl(hba, REG_UIC_COMMAND_ARG_3); in ufshcd_get_dme_attr_val() 871 return (ufshcd_readl(hba, REG_CONTROLLER_ENABLE) & CONTROLLER_ENABLE) in ufshcd_is_hba_active() [all …]
|
D | cdns-pltfrm.c | 132 data = ufshcd_readl(hba, CDNS_UFS_REG_PHY_XCFGD1); in cdns_ufs_m31_16nm_phy_initialization()
|
D | ufshcd.h | 774 #define ufshcd_readl(hba, reg) \ macro 788 tmp = ufshcd_readl(hba, reg); in ufshcd_rmwl() 968 return ufshcd_readl(hba, REG_UFS_VERSION); in ufshcd_vops_get_ufs_hci_version()
|
D | ufs-qcom.c | 297 ufshcd_readl(hba, REG_UFS_CFG2) | REG_UFS_CFG2_CGC_EN_ALL, in ufs_qcom_enable_hw_clk_gating() 392 if (ufshcd_readl(hba, REG_UFS_SYS1CLK_1US) != core_clk_cycles_per_us) { in ufs_qcom_cfg_timers() 452 if (ufshcd_readl(hba, REG_UFS_TX_SYMBOL_CLK_NS_US) != in ufs_qcom_cfg_timers() 1356 reg = ufshcd_readl(hba, REG_UFS_CFG1); in ufs_qcom_print_hw_debug_reg_all() 1534 testbus[i] = ufshcd_readl(hba, UFS_TEST_BUS); in ufs_qcom_print_unipro_testbus()
|
D | ufs-qcom.h | 145 u32 ver = ufshcd_readl(hba, REG_UFS_HW_VERSION); in ufs_qcom_get_controller_revision()
|
D | ufs-hisi.c | 233 reg = ufshcd_readl(hba, REG_AUTO_HIBERNATE_IDLE_TIMER); in ufs_hisi_link_startup_pre_change()
|