Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/mmc/host/
Dmmci_stm32_sdmmc.c92 host->mmc->max_req_size, in sdmmc_idma_validate_data()
185 host->mmc->max_req_size = SZ_1M; in sdmmc_idma_setup()
188 host->mmc->max_seg_size = host->mmc->max_req_size; in sdmmc_idma_setup()
Dlitex_mmc.c424 data->bytes_xfered = min(len, mmc->max_req_size); in litex_mmc_request()
560 host->buf_size = mmc->max_req_size * 2; in litex_mmc_probe()
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()
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()
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()
Dmeson-gx-mmc.c1296 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
1297 mmc->max_seg_size = mmc->max_req_size; in meson_mmc_probe()
1318 host->bounce_buf_size = mmc->max_req_size; in meson_mmc_probe()
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()
2548 host->buf_size = host->slot[0]->mmc->max_req_size; in atmci_probe()
2556 if (host->slot[1]->mmc->max_req_size > host->buf_size) in atmci_probe()
2558 host->slot[1]->mmc->max_req_size; in atmci_probe()
Dwmt-sdmmc.c795 mmc->max_req_size = (16*512*mmc->max_segs); in wmt_mci_probe()
796 mmc->max_blk_count = mmc->max_req_size / 512; in wmt_mci_probe()
Dsh_mmcif.c1439 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in sh_mmcif_probe()
1440 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in sh_mmcif_probe()
1441 mmc->max_seg_size = mmc->max_req_size; in sh_mmcif_probe()
Ddw_mmc.c2957 mmc->max_req_size = mmc->max_seg_size * host->ring_size; in dw_mci_init_slot()
2958 mmc->max_blk_count = mmc->max_req_size / 512; in dw_mci_init_slot()
2963 mmc->max_req_size = in dw_mci_init_slot()
2965 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
2971 mmc->max_req_size = mmc->max_blk_size * in dw_mci_init_slot()
2973 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
Djz4740_mmc.c1067 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
1070 mmc->max_seg_size = mmc->max_req_size; in jz4740_mmc_probe()
Dsdhci.c4194 if (mmc->max_req_size < bounce_size) in sdhci_allocate_bounce_buffer()
4195 bounce_size = mmc->max_req_size; in sdhci_allocate_bounce_buffer()
4234 mmc->max_req_size = bounce_size; in sdhci_allocate_bounce_buffer()
4726 mmc->max_req_size = 524288; in sdhci_setup_host()
4736 mmc->max_req_size = min_t(size_t, mmc->max_req_size, in sdhci_setup_host()
4755 mmc->max_seg_size = mmc->max_req_size; in sdhci_setup_host()
Dtmio_mmc_core.c1177 mmc->max_req_size = min_t(size_t, in tmio_mmc_host_probe()
1180 mmc->max_seg_size = mmc->max_req_size; in tmio_mmc_host_probe()
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()
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()
Dushc.c458 mmc->max_req_size = 512*511; in ushc_probe()
Ddavinci_mmc.c1291 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1295 dev_dbg(mmc_dev(host->mmc), "max_req_size=%d\n", mmc->max_req_size); in davinci_mmcsd_probe()
Dowl-mmc.c607 mmc->max_req_size = 262144; in owl_mmc_probe()
Dsunxi-mmc.c1425 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
1477 mmc->max_req_size >> 10, in sunxi_mmc_probe()
/linux-6.1.9/drivers/mmc/core/
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()
Dqueue.c361 min(host->max_blk_count, host->max_req_size / 512)); in mmc_setup_queue()
Dhost.c578 host->max_req_size = PAGE_SIZE; in mmc_alloc_host()
/linux-6.1.9/drivers/staging/greybus/
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-6.1.9/include/linux/mmc/
Dhost.h433 unsigned int max_req_size; /* maximum number of bytes in one req */ member
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dsdio.c652 host_max_cap = min_t(u32, func->card->host->max_req_size, in mt76s_init()

12