Home
last modified time | relevance | path

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

12

/linux/drivers/mmc/core/
A Dmmc_test.c1069 size = min(size, test->card->host->max_req_size); in mmc_test_multi_write()
1090 size = min(size, test->card->host->max_req_size); in mmc_test_multi_read()
1214 size = min(size, test->card->host->max_req_size); in mmc_test_align_multi_write()
1241 size = min(size, test->card->host->max_req_size); in mmc_test_align_multi_read()
1339 size = min(size, test->card->host->max_req_size); in mmc_test_multi_write_high()
1361 size = min(size, test->card->host->max_req_size); in mmc_test_multi_read_high()
1571 if (t->max_tfr > test->card->host->max_req_size) in mmc_test_area_init()
1572 t->max_tfr = test->card->host->max_req_size; in mmc_test_area_init()
A Dqueue.c360 min(host->max_blk_count, host->max_req_size / 512)); in mmc_setup_queue()
A Dhost.c578 host->max_req_size = PAGE_SIZE; in mmc_alloc_host()
/linux/drivers/mmc/host/
A Dmeson-mx-sdio.c551 mmc->max_req_size = MESON_MX_SDIO_BOUNCE_REQ_SIZE; in meson_mx_mmc_add_host()
552 mmc->max_seg_size = mmc->max_req_size; in meson_mx_mmc_add_host()
A Dmeson-gx-mmc.c1249 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
1250 mmc->max_seg_size = mmc->max_req_size; in meson_mmc_probe()
1271 host->bounce_buf_size = mmc->max_req_size; in meson_mmc_probe()
A 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()
A 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()
A Datmel-mci.c2270 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2274 mmc->max_req_size = 32768 * 512; in atmci_init_slot()
2546 host->buf_size = host->slot[0]->mmc->max_req_size; in atmci_probe()
2554 if (host->slot[1]->mmc->max_req_size > host->buf_size) in atmci_probe()
2556 host->slot[1]->mmc->max_req_size; in atmci_probe()
A Ddw_mmc.c2902 mmc->max_req_size = mmc->max_seg_size * host->ring_size; in dw_mci_init_slot()
2903 mmc->max_blk_count = mmc->max_req_size / 512; in dw_mci_init_slot()
2908 mmc->max_req_size = in dw_mci_init_slot()
2910 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
2916 mmc->max_req_size = mmc->max_blk_size * in dw_mci_init_slot()
2918 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
A 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()
A 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()
A Djz4740_mmc.c1032 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
1035 mmc->max_seg_size = mmc->max_req_size; in jz4740_mmc_probe()
A Dsdhci.c4095 if (mmc->max_req_size < bounce_size) in sdhci_allocate_bounce_buffer()
4096 bounce_size = mmc->max_req_size; in sdhci_allocate_bounce_buffer()
4135 mmc->max_req_size = bounce_size; in sdhci_allocate_bounce_buffer()
4627 mmc->max_req_size = 524288; in sdhci_setup_host()
4637 mmc->max_req_size = min_t(size_t, mmc->max_req_size, in sdhci_setup_host()
4656 mmc->max_seg_size = mmc->max_req_size; in sdhci_setup_host()
A Dtmio_mmc_core.c1167 mmc->max_req_size = min_t(size_t, in tmio_mmc_host_probe()
1170 mmc->max_seg_size = mmc->max_req_size; in tmio_mmc_host_probe()
A Dmxcmmc.c1025 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
1026 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe()
A Dusdhi6rol0.c1853 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in usdhi6_probe()
1854 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in usdhi6_probe()
1863 mmc->max_seg_size = mmc->max_req_size; in usdhi6_probe()
A Dmmci_stm32_sdmmc.c142 host->mmc->max_seg_size = host->mmc->max_req_size; in sdmmc_idma_setup()
A 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()
A Dushc.c458 mmc->max_req_size = 512*511; in ushc_probe()
A Dmmci.c2187 mmc->max_req_size = (1 << variant->datalength_bits) - 1; in mmci_probe()
2193 mmc->max_seg_size = mmc->max_req_size; in mmci_probe()
2204 mmc->max_blk_count = mmc->max_req_size >> variant->datactrl_blocksz; in mmci_probe()
A Dsunxi-mmc.c1415 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
1467 mmc->max_req_size >> 10, in sunxi_mmc_probe()
A 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()
A Dowl-mmc.c607 mmc->max_req_size = 262144; in owl_mmc_probe()
/linux/drivers/staging/greybus/
A Dsdio.c804 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in gb_sdio_probe()
805 mmc->max_seg_size = mmc->max_req_size; in gb_sdio_probe()
/linux/include/linux/mmc/
A Dhost.h414 unsigned int max_req_size; /* maximum number of bytes in one req */ member

Completed in 77 milliseconds

12