Searched refs:drto_clks (Results 1 – 2 of 2) sorted by relevance
587 u32 drto_clks; in dw_mci_exynos_get_drto_clks() local589 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()
2003 unsigned int drto_clks; in dw_mci_set_drto() local2009 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()