Home
last modified time | relevance | path

Searched refs:max_req_size (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v4.19/drivers/mmc/host/
Dandroid-goldfish.c497 mmc->max_req_size = BUFFER_SIZE; in goldfish_mmc_probe()
498 mmc->max_seg_size = mmc->max_req_size; in goldfish_mmc_probe()
Dtmio_mmc_core.c1268 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in tmio_mmc_host_probe()
1278 if (mmc->max_req_size > max_size) in tmio_mmc_host_probe()
1279 mmc->max_req_size = max_size; in tmio_mmc_host_probe()
1281 mmc->max_seg_size = mmc->max_req_size; in tmio_mmc_host_probe()
Dmeson-mx-sdio.c561 mmc->max_req_size = MESON_MX_SDIO_BOUNCE_REQ_SIZE; in meson_mx_mmc_add_host()
562 mmc->max_seg_size = mmc->max_req_size; in meson_mx_mmc_add_host()
Dsdhci.c3429 if (mmc->max_req_size < bounce_size) in sdhci_allocate_bounce_buffer()
3430 bounce_size = mmc->max_req_size; in sdhci_allocate_bounce_buffer()
3465 mmc->max_req_size = bounce_size; in sdhci_allocate_bounce_buffer()
3933 mmc->max_req_size = 524288; in sdhci_setup_host()
3944 unsigned int max_req_size = (1 << IO_TLB_SHIFT) * in sdhci_setup_host() local
3946 mmc->max_req_size = min(mmc->max_req_size, in sdhci_setup_host()
3947 max_req_size); in sdhci_setup_host()
3964 mmc->max_seg_size = mmc->max_req_size; in sdhci_setup_host()
Dwbsd.c1230 mmc->max_req_size = 65536; in wbsd_alloc_mmc()
1236 mmc->max_seg_size = mmc->max_req_size; in wbsd_alloc_mmc()
1248 mmc->max_blk_count = mmc->max_req_size; in wbsd_alloc_mmc()
Dmeson-gx-mmc.c1294 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
1296 mmc->max_seg_size = mmc->max_req_size; in meson_mmc_probe()
1299 host->bounce_buf_size = mmc->max_req_size; in meson_mmc_probe()
Datmel-mci.c2305 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2309 mmc->max_req_size = 32768 * 512; in atmci_init_slot()
2578 host->buf_size = host->slot[0]->mmc->max_req_size; in atmci_probe()
2586 if (host->slot[1]->mmc->max_req_size > host->buf_size) in atmci_probe()
2588 host->slot[1]->mmc->max_req_size; in atmci_probe()
Dwmt-sdmmc.c802 mmc->max_req_size = (16*512*mmc->max_segs); in wmt_mci_probe()
803 mmc->max_blk_count = mmc->max_req_size / 512; in wmt_mci_probe()
Ddw_mmc.c2860 mmc->max_req_size = mmc->max_seg_size * host->ring_size; in dw_mci_init_slot()
2861 mmc->max_blk_count = mmc->max_req_size / 512; in dw_mci_init_slot()
2866 mmc->max_req_size = in dw_mci_init_slot()
2868 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
2874 mmc->max_req_size = mmc->max_blk_size * in dw_mci_init_slot()
2876 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
Dsh_mmcif.c1440 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in sh_mmcif_probe()
1441 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in sh_mmcif_probe()
1442 mmc->max_seg_size = mmc->max_req_size; in sh_mmcif_probe()
Djz4740_mmc.c1090 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
1093 mmc->max_seg_size = mmc->max_req_size; in jz4740_mmc_probe()
Dmmci.c1719 mmc->max_req_size = (1 << variant->datalength_bits) - 1; in mmci_probe()
1725 mmc->max_seg_size = mmc->max_req_size; in mmci_probe()
1736 mmc->max_blk_count = mmc->max_req_size >> 11; in mmci_probe()
Dmxcmmc.c1061 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
1062 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe()
Dusdhi6rol0.c1850 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in usdhi6_probe()
1851 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in usdhi6_probe()
1860 mmc->max_seg_size = mmc->max_req_size; in usdhi6_probe()
Dushc.c462 mmc->max_req_size = 512*511; in ushc_probe()
Ddavinci_mmc.c1307 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1311 dev_dbg(mmc_dev(host->mmc), "max_req_size=%d\n", mmc->max_req_size); in davinci_mmcsd_probe()
Domap.c1263 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mmc_omap_new_slot()
1264 mmc->max_seg_size = mmc->max_req_size; in mmc_omap_new_slot()
Dbcm2835.c1313 mmc->max_req_size = 524288; in bcm2835_add_host()
1314 mmc->max_seg_size = mmc->max_req_size; in bcm2835_add_host()
Dsunxi-mmc.c1383 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
1411 mmc->max_req_size >> 10, in sunxi_mmc_probe()
Dmxs-mmc.c669 mmc->max_req_size = (ssp_is_old(ssp)) ? 0xffff : 0xffffffff; in mxs_mmc_probe()
/Linux-v4.19/drivers/mmc/core/
Dmmc_test.c1083 size = min(size, test->card->host->max_req_size); in mmc_test_multi_write()
1104 size = min(size, test->card->host->max_req_size); in mmc_test_multi_read()
1228 size = min(size, test->card->host->max_req_size); in mmc_test_align_multi_write()
1255 size = min(size, test->card->host->max_req_size); in mmc_test_align_multi_read()
1353 size = min(size, test->card->host->max_req_size); in mmc_test_multi_write_high()
1375 size = min(size, test->card->host->max_req_size); in mmc_test_multi_read_high()
1569 if (t->max_tfr > test->card->host->max_req_size) in mmc_test_area_init()
1570 t->max_tfr = test->card->host->max_req_size; in mmc_test_area_init()
Dhost.c406 host->max_req_size = PAGE_SIZE; in mmc_alloc_host()
Dqueue.c369 min(host->max_blk_count, host->max_req_size / 512)); in mmc_setup_queue()
/Linux-v4.19/include/linux/mmc/
Dhost.h379 unsigned int max_req_size; /* maximum number of bytes in one req */ member
/Linux-v4.19/drivers/staging/greybus/
Dsdio.c802 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in gb_sdio_probe()
803 mmc->max_seg_size = mmc->max_req_size; in gb_sdio_probe()

12