/linux/include/linux/platform_data/ |
H A D | tmio.h | 59 unsigned int max_blk_count; member
|
/linux/drivers/mmc/core/ |
H A D | mmc_test.c | 1060 if (test->card->host->max_blk_count == 1) in mmc_test_multi_write() 1066 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_multi_write() 1081 if (test->card->host->max_blk_count == 1) in mmc_test_multi_read() 1087 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_multi_read() 1205 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_write() 1211 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_align_multi_write() 1232 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_read() 1238 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_align_multi_read() 1279 if (test->card->host->max_blk_count == 1) in mmc_test_multi_xfersize_write() 1293 if (test->card->host->max_blk_count == 1) in mmc_test_multi_xfersize_read() [all …]
|
H A D | sdio_io.c | 329 max_blocks = min(func->card->host->max_blk_count, 511u); in sdio_io_rw_ext_helper()
|
H A D | queue.c | 358 lim.max_hw_sectors = min(host->max_blk_count, host->max_req_size / 512); in mmc_alloc_disk()
|
/linux/drivers/mmc/host/ |
H A D | renesas_sdhi.h | 36 unsigned int max_blk_count; member
|
H A D | renesas_sdhi_internal_dmac.c | 104 .max_blk_count = UINT_MAX / TMIO_MAX_BLK_SIZE, 119 .max_blk_count = UINT_MAX / TMIO_MAX_BLK_SIZE, 135 .max_blk_count = UINT_MAX / TMIO_MAX_BLK_SIZE,
|
H A D | wmt-sdmmc.c | 795 mmc->max_blk_count = mmc->max_req_size / 512; in wmt_mci_probe() 831 mmc->max_blk_count * 16, in wmt_mci_probe() 868 dma_free_coherent(&pdev->dev, mmc->max_blk_count * 16, in wmt_mci_probe() 898 dma_free_coherent(&pdev->dev, priv->mmc->max_blk_count * 16, in wmt_mci_remove()
|
H A D | renesas_sdhi_core.c | 1126 mmc_data->max_blk_count = of_data->max_blk_count; in renesas_sdhi_probe() 1216 if (ver < SDHI_VER_GEN2_SDR104 && mmc_data->max_blk_count > U16_MAX) in renesas_sdhi_probe() 1217 mmc_data->max_blk_count = U16_MAX; in renesas_sdhi_probe()
|
H A D | tmio_mmc_core.c | 756 if (host->mmc->max_blk_count >= SZ_64K) in tmio_mmc_start_data() 1162 mmc->max_blk_count = pdata->max_blk_count ? : in tmio_mmc_host_probe() 1165 mmc->max_blk_size * mmc->max_blk_count, in tmio_mmc_host_probe()
|
H A D | mvsdio.c | 738 mmc->max_blk_count = 65535; in mvsd_probe() 741 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe() 742 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()
|
H A D | via-sdmmc.c | 489 BUG_ON(data->blocks > host->mmc->max_blk_count); in via_sdc_preparedata() 1048 mmc->max_blk_count = VIA_CRDR_MAX_BLOCK_COUNT; in via_init_mmc_host() 1050 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in via_init_mmc_host()
|
H A D | meson-gx-mmc.c | 1234 mmc->max_blk_count = SD_EMMC_SRAM_DATA_BUF_LEN / in meson_mmc_probe() 1237 mmc->max_blk_count = CMD_CFG_LENGTH_MASK; in meson_mmc_probe() 1241 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
|
H A D | alcor.c | 1075 mmc->max_blk_count = 240; in alcor_init_mmc() 1076 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in alcor_init_mmc()
|
H A D | loongson2-mmc.c | 943 mmc->max_blk_count = 4095; in loongson2_mmc_probe() 945 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in loongson2_mmc_probe()
|
H A D | ushc.c | 458 mmc->max_blk_count = 511; in ushc_probe()
|
H A D | davinci_mmc.c | 1281 mmc->max_blk_count = 65535; /* NBLK is 16 bits */ in davinci_mmcsd_probe() 1282 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
|
H A D | dw_mmc.c | 3046 mmc->max_blk_count = mmc->max_req_size / 512; in dw_mci_init_slot() 3050 mmc->max_blk_count = 65535; in dw_mci_init_slot() 3052 mmc->max_blk_size * mmc->max_blk_count; in dw_mci_init_slot() 3058 mmc->max_blk_count = 512; in dw_mci_init_slot() 3060 mmc->max_blk_count; in dw_mci_init_slot()
|
H A D | owl-mmc.c | 597 mmc->max_blk_count = 512; in owl_mmc_probe()
|
H A D | uniphier-sd.c | 705 tmio_data->max_blk_count = U16_MAX; in uniphier_sd_probe()
|
H A D | mxs-mmc.c | 641 mmc->max_blk_count = (ssp_is_old(ssp)) ? 0xff : 0xffffff; in mxs_mmc_probe()
|
H A D | moxart-mmc.c | 607 mmc->max_blk_count = mmc->max_req_size / 512; in moxart_probe()
|
H A D | meson-mx-sdio.c | 554 mmc->max_blk_count = in meson_mx_mmc_add_host()
|
H A D | atmel-mci.c | 2292 mmc->max_blk_count = 256; in atmci_init_slot() 2293 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot() 2299 mmc->max_blk_count = 512; in atmci_init_slot()
|
H A D | meson-mx-sdhc-mmc.c | 816 mmc->max_blk_count = FIELD_GET(MESON_SDHC_SEND_TOTAL_PACK, ~0); in meson_mx_sdhc_probe()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | sdio.c | 667 func->card->host->max_blk_count); in mt76s_init()
|