Searched refs:ahit (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/scsi/ufs/ |
A D | ufs-sysfs.c | 130 static int ufshcd_ahit_to_us(u32 ahit) in ufshcd_ahit_to_us() argument 132 int timer = FIELD_GET(UFSHCI_AHIBERN8_TIMER_MASK, ahit); in ufshcd_ahit_to_us() 133 int scale = FIELD_GET(UFSHCI_AHIBERN8_SCALE_MASK, ahit); in ufshcd_ahit_to_us() 156 u32 ahit; in auto_hibern8_show() local 171 ahit = ufshcd_readl(hba, REG_AUTO_HIBERNATE_IDLE_TIMER); in auto_hibern8_show() 175 ret = sysfs_emit(buf, "%d\n", ufshcd_ahit_to_us(ahit)); in auto_hibern8_show()
|
A D | ufs-mediatek.c | 193 hba->ahit = 0; in ufs_mtk_hce_enable_notify() 867 if (ufshcd_is_auto_hibern8_supported(hba) && hba->ahit) in ufs_mtk_setup_clk_gating() 869 hba->ahit); in ufs_mtk_setup_clk_gating() 885 hba->ahit = FIELD_PREP(UFSHCI_AHIBERN8_TIMER_MASK, 10) | in ufs_mtk_post_link()
|
A D | ufshcd.h | 828 u32 ahit; member 987 return FIELD_GET(UFSHCI_AHIBERN8_TIMER_MASK, hba->ahit) ? true : false; in ufshcd_is_auto_hibern8_enabled() 1188 void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit);
|
A D | cdns-pltfrm.c | 205 hba->ahit = 0; in cdns_ufs_link_startup_notify()
|
A D | ufshcd.c | 4162 void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit) in ufshcd_auto_hibern8_update() argument 4171 if (hba->ahit != ahit) { in ufshcd_auto_hibern8_update() 4172 hba->ahit = ahit; in ufshcd_auto_hibern8_update() 4196 ufshcd_writel(hba, hba->ahit, REG_AUTO_HIBERNATE_IDLE_TIMER); in ufshcd_auto_hibern8_enable() 9657 if (ufshcd_is_auto_hibern8_supported(hba) && !hba->ahit) { in ufshcd_init() 9658 hba->ahit = FIELD_PREP(UFSHCI_AHIBERN8_TIMER_MASK, 150) | in ufshcd_init()
|
Completed in 32 milliseconds