Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/mmc/host/
Dandroid-goldfish.c493 mmc->max_req_size = BUFFER_SIZE; in goldfish_mmc_probe()
494 mmc->max_seg_size = mmc->max_req_size; in goldfish_mmc_probe()
Dmmci_stm32_sdmmc.c117 host->mmc->max_seg_size = host->mmc->max_req_size; in sdmmc_idma_setup()
Dmeson-mx-sdio.c558 mmc->max_req_size = MESON_MX_SDIO_BOUNCE_REQ_SIZE; in meson_mx_mmc_add_host()
559 mmc->max_seg_size = mmc->max_req_size; in meson_mx_mmc_add_host()
Dsdhci.c3665 if (mmc->max_req_size < bounce_size) in sdhci_allocate_bounce_buffer()
3666 bounce_size = mmc->max_req_size; in sdhci_allocate_bounce_buffer()
3701 mmc->max_req_size = bounce_size; in sdhci_allocate_bounce_buffer()
4178 mmc->max_req_size = 524288; in sdhci_setup_host()
4189 unsigned int max_req_size = (1 << IO_TLB_SHIFT) * in sdhci_setup_host() local
4191 mmc->max_req_size = min(mmc->max_req_size, in sdhci_setup_host()
4192 max_req_size); in sdhci_setup_host()
4209 mmc->max_seg_size = mmc->max_req_size; in sdhci_setup_host()
Dwbsd.c1225 mmc->max_req_size = 65536; in wbsd_alloc_mmc()
1231 mmc->max_seg_size = mmc->max_req_size; in wbsd_alloc_mmc()
1243 mmc->max_blk_count = mmc->max_req_size; in wbsd_alloc_mmc()
Dmeson-gx-mmc.c1162 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
1163 mmc->max_seg_size = mmc->max_req_size; in meson_mmc_probe()
1184 host->bounce_buf_size = mmc->max_req_size; in meson_mmc_probe()
Datmel-mci.c2264 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2268 mmc->max_req_size = 32768 * 512; in atmci_init_slot()
2541 host->buf_size = host->slot[0]->mmc->max_req_size; in atmci_probe()
2549 if (host->slot[1]->mmc->max_req_size > host->buf_size) in atmci_probe()
2551 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.c2833 mmc->max_req_size = mmc->max_seg_size * host->ring_size; in dw_mci_init_slot()
2834 mmc->max_blk_count = mmc->max_req_size / 512; in dw_mci_init_slot()
2839 mmc->max_req_size = in dw_mci_init_slot()
2841 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
2847 mmc->max_req_size = mmc->max_blk_size * in dw_mci_init_slot()
2849 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
Dsh_mmcif.c1435 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in sh_mmcif_probe()
1436 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in sh_mmcif_probe()
1437 mmc->max_seg_size = mmc->max_req_size; in sh_mmcif_probe()
Djz4740_mmc.c994 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
997 mmc->max_seg_size = mmc->max_req_size; in jz4740_mmc_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.c1844 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in usdhi6_probe()
1845 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in usdhi6_probe()
1854 mmc->max_seg_size = mmc->max_req_size; in usdhi6_probe()
Dushc.c458 mmc->max_req_size = 512*511; in ushc_probe()
Dtmio_mmc_core.c1193 mmc->max_req_size = min_t(size_t, in tmio_mmc_host_probe()
1196 mmc->max_seg_size = mmc->max_req_size; in tmio_mmc_host_probe()
Ddavinci_mmc.c1294 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1298 dev_dbg(mmc_dev(host->mmc), "max_req_size=%d\n", mmc->max_req_size); in davinci_mmcsd_probe()
Dmmci.c1983 mmc->max_req_size = (1 << variant->datalength_bits) - 1; in mmci_probe()
1989 mmc->max_seg_size = mmc->max_req_size; in mmci_probe()
2000 mmc->max_blk_count = mmc->max_req_size >> variant->datactrl_blocksz; in mmci_probe()
Dsunxi-mmc.c1389 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
1441 mmc->max_req_size >> 10, in sunxi_mmc_probe()
Dbcm2835.c1317 mmc->max_req_size = min_t(size_t, 524288, dma_max_mapping_size(dev)); in bcm2835_add_host()
1318 mmc->max_seg_size = mmc->max_req_size; in bcm2835_add_host()
Dmxs-mmc.c654 mmc->max_req_size = (ssp_is_old(ssp)) ? 0xffff : 0xffffffff; in mxs_mmc_probe()
/Linux-v5.4/drivers/mmc/core/
Dmmc_test.c1079 size = min(size, test->card->host->max_req_size); in mmc_test_multi_write()
1100 size = min(size, test->card->host->max_req_size); in mmc_test_multi_read()
1224 size = min(size, test->card->host->max_req_size); in mmc_test_align_multi_write()
1251 size = min(size, test->card->host->max_req_size); in mmc_test_align_multi_read()
1349 size = min(size, test->card->host->max_req_size); in mmc_test_multi_write_high()
1371 size = min(size, test->card->host->max_req_size); in mmc_test_multi_read_high()
1565 if (t->max_tfr > test->card->host->max_req_size) in mmc_test_area_init()
1566 t->max_tfr = test->card->host->max_req_size; in mmc_test_area_init()
Dhost.c445 host->max_req_size = PAGE_SIZE; in mmc_alloc_host()
Dqueue.c372 min(host->max_blk_count, host->max_req_size / 512)); in mmc_setup_queue()
/Linux-v5.4/include/linux/mmc/
Dhost.h381 unsigned int max_req_size; /* maximum number of bytes in one req */ member
/Linux-v5.4/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