Home
last modified time | relevance | path

Searched refs:max_busy_timeout (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/mmc/core/
H A Dmmc_ops.c579 * If the max_busy_timeout of the host is specified, make sure it's in __mmc_switch()
585 if (!(host->caps & MMC_CAP_NEED_RSP_BUSY) && host->max_busy_timeout && in __mmc_switch()
586 (timeout_ms > host->max_busy_timeout)) in __mmc_switch()
845 * Make sure the host's max_busy_timeout fit the needed timeout for HPI. in mmc_send_hpi_cmd()
849 if (host->max_busy_timeout && busy_timeout_ms > host->max_busy_timeout) in mmc_send_hpi_cmd()
H A Dcore.c49 /* The max erase timeout, used when host->max_busy_timeout isn't specified */
1732 * the erase operation does not exceed the max_busy_timeout, we should in mmc_do_erase()
1739 card->host->max_busy_timeout && in mmc_do_erase()
1740 busy_timeout > card->host->max_busy_timeout) { in mmc_do_erase()
1955 unsigned int max_busy_timeout = host->max_busy_timeout ? in mmc_do_calc_max_discard() local
1956 host->max_busy_timeout : MMC_ERASE_TIMEOUT_MS; in mmc_do_calc_max_discard()
1970 * We should not only use 'host->max_busy_timeout' as the limitation in mmc_do_calc_max_discard()
1976 * matter what size of 'host->max_busy_timeout', but if the in mmc_do_calc_max_discard()
1977 * 'host->max_busy_timeout' i in mmc_do_calc_max_discard()
[all...]
H A Dmmc.c1946 * If the max_busy_timeout of the host is specified, validate it against in mmc_sleep()
1953 if (!(host->caps & MMC_CAP_NEED_RSP_BUSY) && host->max_busy_timeout && in mmc_sleep()
1954 (timeout_ms > host->max_busy_timeout)) { in mmc_sleep()
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Dmmci.c1244 if (cmd->busy_timeout > host->mmc->max_busy_timeout) in mmci_start_command()
1245 clks = (unsigned long long)host->mmc->max_busy_timeout * host->cclk; in mmci_start_command()
1725 u32 max_busy_timeout = 0; in mmci_set_max_busy_timeout() local
1731 max_busy_timeout = U32_MAX / DIV_ROUND_UP(mmc->actual_clock, in mmci_set_max_busy_timeout()
1734 mmc->max_busy_timeout = max_busy_timeout; in mmci_set_max_busy_timeout()
H A Dbcm2835.c1276 mmc->max_busy_timeout = ~0 / (mmc->f_max / 1000); in bcm2835_add_host()
1278 dev_dbg(dev, "f_max %d, f_min %d, max_busy_timeout %d\n", in bcm2835_add_host()
1279 mmc->f_max, mmc->f_min, mmc->max_busy_timeout); in bcm2835_add_host()
H A Dcb710-mmc.c717 mmc->max_busy_timeout = CB710_MMC_REQ_TIMEOUT_MS; in cb710_mmc_init()
H A Dmeson-mx-sdhc-mmc.c828 mmc->max_busy_timeout = 30 * MSEC_PER_SEC; in meson_mx_sdhc_probe()
H A Dsdhci.c2337 host->mmc->max_busy_timeout = in sdhci_set_ios()
2341 host->mmc->max_busy_timeout /= host->timeout_clk; in sdhci_set_ios()
4408 mmc->max_busy_timeout = host->ops->get_max_timeout_count ? in sdhci_setup_host()
4410 mmc->max_busy_timeout /= host->timeout_clk; in sdhci_setup_host()
4415 mmc->max_busy_timeout = 0; in sdhci_setup_host()
H A Djz4740_mmc.c1061 mmc->max_busy_timeout = JZ_MMC_REQ_TIMEOUT_MS; in jz4740_mmc_probe()
H A Dtifm_sd.c969 mmc->max_busy_timeout = TIFM_MMCSD_REQ_TIMEOUT_MS; in tifm_sd_probe()
H A Dusdhi6rol0.c1775 mmc->max_busy_timeout = USDHI6_REQ_TIMEOUT_MS; in usdhi6_probe()
H A Dsh_mmcif.c1431 mmc->max_busy_timeout = 10000; in sh_mmcif_probe()
/kernel/linux/linux-6.6/drivers/mmc/core/
H A Dcore.c50 /* The max erase timeout, used when host->max_busy_timeout isn't specified */
1883 unsigned int max_busy_timeout = host->max_busy_timeout ? in mmc_do_calc_max_discard() local
1884 host->max_busy_timeout : MMC_ERASE_TIMEOUT_MS; in mmc_do_calc_max_discard()
1898 * We should not only use 'host->max_busy_timeout' as the limitation in mmc_do_calc_max_discard()
1904 * matter what size of 'host->max_busy_timeout', but if the in mmc_do_calc_max_discard()
1905 * 'host->max_busy_timeout' is large enough for more discard sectors, in mmc_do_calc_max_discard()
1907 * get a balance value. In cases when the 'host->max_busy_timeout' in mmc_do_calc_max_discard()
1915 if (qty + x > min_qty && timeout > max_busy_timeout) in mmc_do_calc_max_discard()
1977 mmc_hostname(host), max_discard, host->max_busy_timeout in mmc_calc_max_discard()
[all...]
H A Dmmc_ops.c562 * If the max_busy_timeout of the host is specified, make sure it's in mmc_prepare_busy_cmd()
568 if (!(host->caps & MMC_CAP_NEED_RSP_BUSY) && host->max_busy_timeout && in mmc_prepare_busy_cmd()
569 (timeout_ms > host->max_busy_timeout)) { in mmc_prepare_busy_cmd()
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dmmci.c1352 if (cmd->busy_timeout > host->mmc->max_busy_timeout) in mmci_start_command()
1353 clks = (unsigned long long)host->mmc->max_busy_timeout * host->cclk; in mmci_start_command()
1887 u32 max_busy_timeout = 0; in mmci_set_max_busy_timeout() local
1893 max_busy_timeout = U32_MAX / DIV_ROUND_UP(mmc->actual_clock, in mmci_set_max_busy_timeout()
1896 mmc->max_busy_timeout = max_busy_timeout; in mmci_set_max_busy_timeout()
H A Dbcm2835.c1268 mmc->max_busy_timeout = ~0 / (mmc->f_max / 1000); in bcm2835_add_host()
1270 dev_dbg(dev, "f_max %d, f_min %d, max_busy_timeout %d\n", in bcm2835_add_host()
1271 mmc->f_max, mmc->f_min, mmc->max_busy_timeout); in bcm2835_add_host()
H A Dcb710-mmc.c717 mmc->max_busy_timeout = CB710_MMC_REQ_TIMEOUT_MS; in cb710_mmc_init()
H A Dmeson-mx-sdhc-mmc.c832 mmc->max_busy_timeout = 30 * MSEC_PER_SEC; in meson_mx_sdhc_probe()
H A Dsdhci.c2362 mmc->max_busy_timeout = in sdhci_set_ios()
2366 mmc->max_busy_timeout /= host->timeout_clk; in sdhci_set_ios()
4455 mmc->max_busy_timeout = host->ops->get_max_timeout_count ? in sdhci_setup_host()
4457 mmc->max_busy_timeout /= host->timeout_clk; in sdhci_setup_host()
4462 mmc->max_busy_timeout = 0; in sdhci_setup_host()
H A Dtmio_mmc_core.c936 host->mmc->max_busy_timeout = host->get_timeout_cycles(host) / in tmio_mmc_max_busy_timeout()
H A Dtifm_sd.c961 mmc->max_busy_timeout = TIFM_MMCSD_REQ_TIMEOUT_MS; in tifm_sd_probe()
H A Djz4740_mmc.c1108 mmc->max_busy_timeout = JZ_MMC_REQ_TIMEOUT_MS; in jz4740_mmc_probe()
H A Dusdhi6rol0.c1785 mmc->max_busy_timeout = USDHI6_REQ_TIMEOUT_MS; in usdhi6_probe()
/kernel/linux/linux-5.10/include/linux/mmc/
H A Dhost.h389 unsigned int max_busy_timeout; /* max busy timeout in ms */ member
/kernel/linux/linux-6.6/include/linux/mmc/
H A Dhost.h442 unsigned int max_busy_timeout; /* max busy timeout in ms */ member

Completed in 51 milliseconds

12