Home
last modified time | relevance | path

Searched refs:max_blk_count (Results 1 – 25 of 49) sorted by relevance

12

/drivers/mmc/core/
Dmmc_test.c1066 if (test->card->host->max_blk_count == 1) in mmc_test_multi_write()
1072 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_multi_write()
1087 if (test->card->host->max_blk_count == 1) in mmc_test_multi_read()
1093 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_multi_read()
1211 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_write()
1217 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_align_multi_write()
1238 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_read()
1244 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_align_multi_read()
1285 if (test->card->host->max_blk_count == 1) in mmc_test_multi_xfersize_write()
1299 if (test->card->host->max_blk_count == 1) in mmc_test_multi_xfersize_read()
[all …]
Dsdio_io.c329 max_blocks = min(func->card->host->max_blk_count, 511u); in sdio_io_rw_ext_helper()
Dhost.c580 host->max_blk_count = PAGE_SIZE / 512; in mmc_alloc_host()
Dqueue.c363 min(host->max_blk_count, host->max_req_size / 512)); in mmc_setup_queue()
/drivers/s390/cio/
Dscm.c135 unsigned int size, unsigned int max_blk_count) in scmdev_setup() argument
138 scmdev->nr_max_block = max_blk_count; in scmdev_setup()
/drivers/mmc/host/
Drenesas_sdhi.h32 unsigned int max_blk_count; member
Dwmt-sdmmc.c799 mmc->max_blk_count = mmc->max_req_size / 512; in wmt_mci_probe()
837 mmc->max_blk_count * 16, in wmt_mci_probe()
874 dma_free_coherent(&pdev->dev, mmc->max_blk_count * 16, in wmt_mci_probe()
907 dma_free_coherent(&pdev->dev, priv->mmc->max_blk_count * 16, in wmt_mci_remove()
Drenesas_sdhi_internal_dmac.c107 .max_blk_count = UINT_MAX / TMIO_MAX_BLK_SIZE,
126 .max_blk_count = UINT_MAX / TMIO_MAX_BLK_SIZE,
Drenesas_sdhi_core.c949 mmc_data->max_blk_count = of_data->max_blk_count; in renesas_sdhi_probe()
1023 if (ver < SDHI_VER_GEN2_SDR104 && mmc_data->max_blk_count > U16_MAX) in renesas_sdhi_probe()
1024 mmc_data->max_blk_count = U16_MAX; in renesas_sdhi_probe()
Dtmio_mmc_core.c750 if (host->mmc->max_blk_count >= SZ_64K) in tmio_mmc_start_data()
1175 mmc->max_blk_count = pdata->max_blk_count ? : in tmio_mmc_host_probe()
1178 mmc->max_blk_size * mmc->max_blk_count, in tmio_mmc_host_probe()
Dmvsdio.c742 mmc->max_blk_count = 65535; in mvsd_probe()
745 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()
746 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()
Dtifm_sd.c980 mmc->max_blk_count = 2048; in tifm_sd_probe()
981 mmc->max_segs = mmc->max_blk_count; in tifm_sd_probe()
983 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe()
Dmeson-gx-mmc.c1238 mmc->max_blk_count = SD_EMMC_SRAM_DATA_BUF_LEN / in meson_mmc_probe()
1241 mmc->max_blk_count = CMD_CFG_LENGTH_MASK; in meson_mmc_probe()
1245 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
Dvia-sdmmc.c488 BUG_ON(data->blocks > host->mmc->max_blk_count); in via_sdc_preparedata()
1047 mmc->max_blk_count = VIA_CRDR_MAX_BLOCK_COUNT; in via_init_mmc_host()
1049 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in via_init_mmc_host()
Dalcor.c1074 mmc->max_blk_count = 240; in alcor_init_mmc()
1075 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in alcor_init_mmc()
Djz4740_mmc.c1061 mmc->max_blk_count = (1 << 15) - 1; in jz4740_mmc_probe()
1062 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
Drenesas_sdhi_sys_dmac.c70 .max_blk_count = UINT_MAX / TMIO_MAX_BLK_SIZE,
Ddw_mmc.c2908 mmc->max_blk_count = mmc->max_req_size / 512; in dw_mci_init_slot()
2912 mmc->max_blk_count = 65535; in dw_mci_init_slot()
2914 mmc->max_blk_size * mmc->max_blk_count; in dw_mci_init_slot()
2920 mmc->max_blk_count = 512; in dw_mci_init_slot()
2922 mmc->max_blk_count; in dw_mci_init_slot()
Dmxcmmc.c1024 mmc->max_blk_count = 65535; in mxcmci_probe()
1025 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
Ddavinci_mmc.c1292 mmc->max_blk_count = 65535; /* NBLK is 16 bits */ in davinci_mmcsd_probe()
1293 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
Dushc.c460 mmc->max_blk_count = 511; in ushc_probe()
Duniphier-sd.c634 tmio_data->max_blk_count = U16_MAX; in uniphier_sd_probe()
Dowl-mmc.c603 mmc->max_blk_count = 512; in owl_mmc_probe()
Domap.c1266 mmc->max_blk_count = 2048; /* NBLK is 11 bits (+1) */ in mmc_omap_new_slot()
1267 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mmc_omap_new_slot()
/drivers/staging/greybus/
Dsdio.c142 mmc->max_blk_count = le16_to_cpu(response.max_blk_count); in gb_sdio_get_caps()
801 mmc->max_segs = host->mmc->max_blk_count; in gb_sdio_probe()
804 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in gb_sdio_probe()

12