Lines Matching defs:timeout
195 static int mmc_spi_skip(struct mmc_spi_host *host, unsigned long timeout,
214 if (time_is_before_jiffies(start + timeout))
228 mmc_spi_wait_unbusy(struct mmc_spi_host *host, unsigned long timeout)
230 return mmc_spi_skip(host, timeout, sizeof(host->data->status), 0);
233 static int mmc_spi_readtoken(struct mmc_spi_host *host, unsigned long timeout)
235 return mmc_spi_skip(host, timeout, 1, 0xff);
673 unsigned long timeout)
762 return mmc_spi_wait_unbusy(host, timeout);
783 unsigned long timeout)
799 status = mmc_spi_readtoken(host, timeout);
893 unsigned long timeout;
907 timeout = data->timeout_ns +
909 timeout = usecs_to_jiffies((unsigned int)(timeout / 1000)) + 1;
957 status = mmc_spi_writeblock(host, t, timeout);
959 status = mmc_spi_readblock(host, t, timeout);
1042 tmp = mmc_spi_wait_unbusy(host, timeout);