Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci.c882 unsigned int target_timeout; in sdhci_target_timeout() local
886 target_timeout = cmd->busy_timeout * 1000; in sdhci_target_timeout()
888 target_timeout = DIV_ROUND_UP(data->timeout_ns, 1000); in sdhci_target_timeout()
899 target_timeout++; in sdhci_target_timeout()
900 target_timeout += val; in sdhci_target_timeout()
904 return target_timeout; in sdhci_target_timeout()
916 u64 target_timeout; in sdhci_calc_sw_timeout() local
919 target_timeout = sdhci_target_timeout(host, cmd, data); in sdhci_calc_sw_timeout()
920 target_timeout *= NSEC_PER_USEC; in sdhci_calc_sw_timeout()
930 host->data_timeout = data->blocks * target_timeout + in sdhci_calc_sw_timeout()
[all …]