Searched refs:cto_clks (Results 1 – 2 of 2) sorted by relevance
204 unsigned int cto_clks; in dwmci_get_cto() local208 cto_clks = dwmci_readl(host, DWMCI_TMOUT) & 0xff; in dwmci_get_cto()213 cto_ms = DIV_ROUND_UP_ULL((u64)MSEC_PER_SEC * cto_clks * cto_div, in dwmci_get_cto()
384 unsigned int cto_clks; in dw_mci_set_cto() local389 cto_clks = mci_readl(host, TMOUT) & 0xff; in dw_mci_set_cto()394 cto_ms = DIV_ROUND_UP_ULL((u64)MSEC_PER_SEC * cto_clks * cto_div, in dw_mci_set_cto()