Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-xlp9xx.c287 u32 busy_timeout = XLP9XX_I2C_BUSY_TIMEOUT; in xlp9xx_i2c_check_bus_status() local
289 while (busy_timeout) { in xlp9xx_i2c_check_bus_status()
294 busy_timeout--; in xlp9xx_i2c_check_bus_status()
298 if (!busy_timeout) in xlp9xx_i2c_check_bus_status()
/drivers/mmc/host/
Dmmci.c273 .busy_timeout = true,
300 .busy_timeout = true,
1241 if (host->variant->busy_timeout && cmd->flags & MMC_RSP_BUSY) { in mmci_start_command()
1242 if (!cmd->busy_timeout) in mmci_start_command()
1243 cmd->busy_timeout = 10 * MSEC_PER_SEC; in mmci_start_command()
1245 if (cmd->busy_timeout > host->mmc->max_busy_timeout) in mmci_start_command()
1248 clks = (unsigned long long)cmd->busy_timeout * host->cclk; in mmci_start_command()
1376 if (host->variant->busy_timeout && busy_resp) in mmci_cmd_irq()
1394 } else if (host->variant->busy_timeout && busy_resp && in mmci_cmd_irq()
1731 if (host->variant->busy_timeout && mmc->actual_clock) in mmci_set_max_busy_timeout()
[all …]
Dsdricoh_cs.c182 timeout_us = cmd->busy_timeout ? cmd->busy_timeout * 1000 : in sdricoh_mmc_cmd()
Dowl-mmc.c244 timeout = msecs_to_jiffies(cmd->busy_timeout ? cmd->busy_timeout : in owl_mmc_send_cmd()
Dmeson-mx-sdio.c165 if (cmd->busy_timeout) in meson_mx_mmc_start_cmd()
166 timeout = msecs_to_jiffies(cmd->busy_timeout); in meson_mx_mmc_start_cmd()
Dmmci.h349 u8 busy_timeout:1; member
Dmvsdio.c235 timeout = cmd->busy_timeout ? cmd->busy_timeout : 5000; in mvsd_request()
Dmmc_spi.c318 timeout_ms = cmd->busy_timeout ? cmd->busy_timeout : in mmc_spi_response_get()
Dalcor.c300 if (!cmd->data && cmd->busy_timeout) in alcor_send_cmd()
301 timeout = cmd->busy_timeout; in alcor_send_cmd()
Dvia-sdmmc.c564 timeout_ms = cmd->busy_timeout ? cmd->busy_timeout : VIA_CMD_TIMEOUT_MS; in via_sdc_send_command()
Dbcm2835.c641 if (!cmd->data && cmd->busy_timeout > 9000) in bcm2835_send_command()
642 timeout = DIV_ROUND_UP(cmd->busy_timeout, 1000) * HZ + HZ; in bcm2835_send_command()
Drtsx_usb_sdmmc.c335 timeout = cmd->busy_timeout ? cmd->busy_timeout : 3000; in sd_send_cmd_get_rsp()
Drtsx_pci_sdmmc.c233 timeout = cmd->busy_timeout ? cmd->busy_timeout : 3000; in sd_send_cmd_get_rsp()
Dsdhci.c888 target_timeout = cmd->busy_timeout * 1000; in sdhci_target_timeout()
966 if (!data && !cmd->busy_timeout) in sdhci_calc_timeout()
1687 else if (!cmd->data && cmd->busy_timeout > 9000) in sdhci_send_command()
1688 timeout += DIV_ROUND_UP(cmd->busy_timeout, 1000) * HZ + HZ; in sdhci_send_command()
Datmel-mci.c814 unsigned int timeout_ms = cmd->busy_timeout ? cmd->busy_timeout : in atmci_send_command()
Dsdhci-tegra.c1295 if (cmd && cmd->busy_timeout >= 11 * MSEC_PER_SEC) in tegra_sdhci_set_timeout()
Dusdhi6rol0.c879 ticks = host->rate / 1000 * mrq->cmd->busy_timeout; in usdhi6_timeout_set()
Domap_hsmmc.c1366 timeout = req->cmd->busy_timeout * NSEC_PER_MSEC; in omap_hsmmc_prepare_data()
/drivers/mmc/core/
Dcore.c554 cmd.busy_timeout = MMC_CQE_RECOVERY_TIMEOUT; in mmc_cqe_recovery()
564 cmd.busy_timeout = MMC_CQE_RECOVERY_TIMEOUT; in mmc_cqe_recovery()
1612 unsigned int qty = 0, busy_timeout = 0; in mmc_do_erase() local
1680 busy_timeout = mmc_erase_timeout(card, arg, qty); in mmc_do_erase()
1681 use_r1b_resp = mmc_prepare_busy_cmd(card->host, &cmd, busy_timeout); in mmc_do_erase()
1702 err = mmc_poll_for_busy(card, busy_timeout, false, MMC_BUSY_ERASE); in mmc_do_erase()
Dmmc_ops.c546 cmd->busy_timeout = timeout_ms; in mmc_prepare_busy_cmd()
727 cmd.busy_timeout = 150; in mmc_send_abort_tuning()
Dblock.c1713 .busy_timeout = timeout, in mmc_blk_send_stop()
/drivers/staging/greybus/
Dsdio.c471 timeout_ms = cmd->busy_timeout ? cmd->busy_timeout : in gb_sdio_command()