Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/mmc/host/
Dandroid-goldfish.c485 mmc->max_req_size = BUFFER_SIZE; in goldfish_mmc_probe()
486 mmc->max_seg_size = mmc->max_req_size; in goldfish_mmc_probe()
Dmeson-mx-sdio.c552 mmc->max_req_size = MESON_MX_SDIO_BOUNCE_REQ_SIZE; in meson_mx_mmc_add_host()
553 mmc->max_seg_size = mmc->max_req_size; in meson_mx_mmc_add_host()
Dmeson-mx-sdhc-mmc.c840 mmc->max_req_size = SZ_128K; in meson_mx_sdhc_probe()
841 mmc->max_seg_size = mmc->max_req_size; in meson_mx_sdhc_probe()
Dmeson-gx-mmc.c1241 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
1242 mmc->max_seg_size = mmc->max_req_size; in meson_mmc_probe()
1263 host->bounce_buf_size = mmc->max_req_size; in meson_mmc_probe()
Dwbsd.c1227 mmc->max_req_size = 65536; in wbsd_alloc_mmc()
1233 mmc->max_seg_size = mmc->max_req_size; in wbsd_alloc_mmc()
1245 mmc->max_blk_count = mmc->max_req_size; in wbsd_alloc_mmc()
Dsdhci.c4120 if (mmc->max_req_size < bounce_size) in sdhci_allocate_bounce_buffer()
4121 bounce_size = mmc->max_req_size; in sdhci_allocate_bounce_buffer()
4156 mmc->max_req_size = bounce_size; in sdhci_allocate_bounce_buffer()
4648 mmc->max_req_size = 524288; in sdhci_setup_host()
4659 unsigned int max_req_size = (1 << IO_TLB_SHIFT) * in sdhci_setup_host() local
4661 mmc->max_req_size = min(mmc->max_req_size, in sdhci_setup_host()
4662 max_req_size); in sdhci_setup_host()
4681 mmc->max_seg_size = mmc->max_req_size; in sdhci_setup_host()
Datmel-mci.c2271 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2275 mmc->max_req_size = 32768 * 512; in atmci_init_slot()
2549 host->buf_size = host->slot[0]->mmc->max_req_size; in atmci_probe()
2557 if (host->slot[1]->mmc->max_req_size > host->buf_size) in atmci_probe()
2559 host->slot[1]->mmc->max_req_size; in atmci_probe()
Dwmt-sdmmc.c798 mmc->max_req_size = (16*512*mmc->max_segs); in wmt_mci_probe()
799 mmc->max_blk_count = mmc->max_req_size / 512; in wmt_mci_probe()
Ddw_mmc.c2830 mmc->max_req_size = mmc->max_seg_size * host->ring_size; in dw_mci_init_slot()
2831 mmc->max_blk_count = mmc->max_req_size / 512; in dw_mci_init_slot()
2836 mmc->max_req_size = in dw_mci_init_slot()
2838 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
2844 mmc->max_req_size = mmc->max_blk_size * in dw_mci_init_slot()
2846 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
Dsh_mmcif.c1437 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in sh_mmcif_probe()
1438 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in sh_mmcif_probe()
1439 mmc->max_seg_size = mmc->max_req_size; in sh_mmcif_probe()
Djz4740_mmc.c1055 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
1058 mmc->max_seg_size = mmc->max_req_size; in jz4740_mmc_probe()
Dmmci_stm32_sdmmc.c142 host->mmc->max_seg_size = host->mmc->max_req_size; in sdmmc_idma_setup()
Dtmio_mmc_core.c1122 mmc->max_req_size = min_t(size_t, in tmio_mmc_host_probe()
1125 mmc->max_seg_size = mmc->max_req_size; in tmio_mmc_host_probe()
Dmxcmmc.c1044 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
1045 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe()
Dusdhi6rol0.c1843 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in usdhi6_probe()
1844 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in usdhi6_probe()
1853 mmc->max_seg_size = mmc->max_req_size; in usdhi6_probe()
Dushc.c458 mmc->max_req_size = 512*511; in ushc_probe()
Ddavinci_mmc.c1293 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1297 dev_dbg(mmc_dev(host->mmc), "max_req_size=%d\n", mmc->max_req_size); in davinci_mmcsd_probe()
Dowl-mmc.c609 mmc->max_req_size = 262144; in owl_mmc_probe()
Dsunxi-mmc.c1392 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
1444 mmc->max_req_size >> 10, in sunxi_mmc_probe()
Dbcm2835.c1316 mmc->max_req_size = min_t(size_t, 524288, dma_max_mapping_size(dev)); in bcm2835_add_host()
1317 mmc->max_seg_size = mmc->max_req_size; in bcm2835_add_host()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dmmc_test.c1084 size = min(size, test->card->host->max_req_size); in mmc_test_multi_write()
1105 size = min(size, test->card->host->max_req_size); in mmc_test_multi_read()
1229 size = min(size, test->card->host->max_req_size); in mmc_test_align_multi_write()
1256 size = min(size, test->card->host->max_req_size); in mmc_test_align_multi_read()
1354 size = min(size, test->card->host->max_req_size); in mmc_test_multi_write_high()
1376 size = min(size, test->card->host->max_req_size); in mmc_test_multi_read_high()
1586 if (t->max_tfr > test->card->host->max_req_size) in mmc_test_area_init()
1587 t->max_tfr = test->card->host->max_req_size; in mmc_test_area_init()
Dhost.c503 host->max_req_size = PAGE_SIZE; in mmc_alloc_host()
Dqueue.c380 min(host->max_blk_count, host->max_req_size / 512)); in mmc_setup_queue()
/kernel/linux/linux-5.10/include/linux/mmc/
Dhost.h386 unsigned int max_req_size; /* maximum number of bytes in one req */ member
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dsdio.c805 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in gb_sdio_probe()
806 mmc->max_seg_size = mmc->max_req_size; in gb_sdio_probe()

12