Home
last modified time | relevance | path

Searched refs:drto_clks (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/mmc/host/
Ddw_mmc-exynos.c587 u32 drto_clks; in dw_mci_exynos_get_drto_clks() local
589 drto_clks = mci_readl(host, TMOUT) >> 8; in dw_mci_exynos_get_drto_clks()
591 return (((drto_clks & 0x7) - 1) * 0xFFFFFF) + ((drto_clks & 0xFFFFF8)); in dw_mci_exynos_get_drto_clks()
Ddw_mmc.c2003 unsigned int drto_clks; in dw_mci_set_drto() local
2009 drto_clks = drv_data->get_drto_clks(host); in dw_mci_set_drto()
2011 drto_clks = mci_readl(host, TMOUT) >> 8; in dw_mci_set_drto()
2016 drto_ms = DIV_ROUND_UP_ULL((u64)MSEC_PER_SEC * drto_clks * drto_div, in dw_mci_set_drto()