Searched refs:ahit (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/drivers/scsi/ufs/ |
D | ufs-sysfs.c | 123 static int ufshcd_ahit_to_us(u32 ahit) in ufshcd_ahit_to_us() argument 125 int timer = FIELD_GET(UFSHCI_AHIBERN8_TIMER_MASK, ahit); in ufshcd_ahit_to_us() 126 int scale = FIELD_GET(UFSHCI_AHIBERN8_SCALE_MASK, ahit); in ufshcd_ahit_to_us() 149 u32 ahit; in auto_hibern8_show() local 157 ahit = ufshcd_readl(hba, REG_AUTO_HIBERNATE_IDLE_TIMER); in auto_hibern8_show() 161 return scnprintf(buf, PAGE_SIZE, "%d\n", ufshcd_ahit_to_us(ahit)); in auto_hibern8_show()
|
D | ufshcd.h | 698 u32 ahit; member 842 return FIELD_GET(UFSHCI_AHIBERN8_TIMER_MASK, hba->ahit) ? true : false; in ufshcd_is_auto_hibern8_enabled() 1017 void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit);
|
D | cdns-pltfrm.c | 201 hba->ahit = 0; in cdns_ufs_link_startup_notify()
|
D | ufs-mediatek.c | 698 if (ufshcd_is_auto_hibern8_supported(hba) && hba->ahit) in ufs_mtk_setup_clk_gating() 700 hba->ahit); in ufs_mtk_setup_clk_gating()
|
D | ufshcd.c | 3989 void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit) in ufshcd_auto_hibern8_update() argument 3998 if (hba->ahit != ahit) { in ufshcd_auto_hibern8_update() 3999 hba->ahit = ahit; in ufshcd_auto_hibern8_update() 4022 ufshcd_writel(hba, hba->ahit, REG_AUTO_HIBERNATE_IDLE_TIMER); in ufshcd_auto_hibern8_enable() 9209 if (ufshcd_is_auto_hibern8_supported(hba) && !hba->ahit) { in ufshcd_init() 9210 hba->ahit = FIELD_PREP(UFSHCI_AHIBERN8_TIMER_MASK, 150) | in ufshcd_init()
|