Home
last modified time | relevance | path

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

/drivers/mmc/host/
Dsdhci.c884 unsigned int target_timeout; in sdhci_target_timeout() local
888 target_timeout = cmd->busy_timeout * 1000; in sdhci_target_timeout()
890 target_timeout = DIV_ROUND_UP(data->timeout_ns, 1000); in sdhci_target_timeout()
901 target_timeout++; in sdhci_target_timeout()
902 target_timeout += val; in sdhci_target_timeout()
906 return target_timeout; in sdhci_target_timeout()
918 u64 target_timeout; in sdhci_calc_sw_timeout() local
921 target_timeout = sdhci_target_timeout(host, cmd, data); in sdhci_calc_sw_timeout()
922 target_timeout *= NSEC_PER_USEC; in sdhci_calc_sw_timeout()
932 host->data_timeout = data->blocks * target_timeout + in sdhci_calc_sw_timeout()
[all …]