Home
last modified time | relevance | path

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

123

/linux-6.15/include/linux/platform_data/
H A Dtmio.h59 unsigned int max_blk_count; member
/linux-6.15/drivers/mmc/core/
H A Dmmc_test.c1060 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()
1205 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_write()
1232 if (test->card->host->max_blk_count == 1) 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()
1330 if (test->card->host->max_blk_count == 1) in mmc_test_multi_write_high()
1352 if (test->card->host->max_blk_count == 1) in mmc_test_multi_read_high()
1564 if (t->max_tfr >> 9 > test->card->host->max_blk_count) in mmc_test_area_init()
[all …]
H A Dsdio_io.c329 max_blocks = min(func->card->host->max_blk_count, 511u); in sdio_io_rw_ext_helper()
H A Dqueue.c358 lim.max_hw_sectors = min(host->max_blk_count, host->max_req_size / 512); in mmc_alloc_disk()
H A Dhost.c576 host->max_blk_count = PAGE_SIZE / 512; in mmc_alloc_host()
/linux-6.15/drivers/s390/cio/
H A 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()
/linux-6.15/drivers/mmc/host/
H A Drenesas_sdhi.h36 unsigned int max_blk_count; member
H A Drenesas_sdhi_internal_dmac.c104 .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 Dwmt-sdmmc.c795 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()
900 dma_free_coherent(&pdev->dev, priv->mmc->max_blk_count * 16, in wmt_mci_remove()
H A Drenesas_sdhi_core.c1094 mmc_data->max_blk_count = of_data->max_blk_count; in renesas_sdhi_probe()
1189 if (ver < SDHI_VER_GEN2_SDR104 && mmc_data->max_blk_count > U16_MAX) in renesas_sdhi_probe()
1190 mmc_data->max_blk_count = U16_MAX; in renesas_sdhi_probe()
H A Dtmio_mmc_core.c754 if (host->mmc->max_blk_count >= SZ_64K) in tmio_mmc_start_data()
1172 mmc->max_blk_count = pdata->max_blk_count ? : in tmio_mmc_host_probe()
1175 mmc->max_blk_size * mmc->max_blk_count, in tmio_mmc_host_probe()
H A 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()
H A Dtifm_sd.c973 mmc->max_blk_count = 2048; in tifm_sd_probe()
974 mmc->max_segs = mmc->max_blk_count; in tifm_sd_probe()
976 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe()
H A Dvia-sdmmc.c489 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 Dmeson-gx-mmc.c1234 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 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()
H A Drenesas_sdhi_sys_dmac.c72 .max_blk_count = UINT_MAX / TMIO_MAX_BLK_SIZE,
H A Djz4740_mmc.c1106 mmc->max_blk_count = (1 << 15) - 1; in jz4740_mmc_probe()
1107 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
H A Dmxcmmc.c1035 mmc->max_blk_count = 65535; in mxcmci_probe()
1036 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
H A Dushc.c460 mmc->max_blk_count = 511; in ushc_probe()
H A Ddavinci_mmc.c1284 mmc->max_blk_count = 65535; /* NBLK is 16 bits */ in davinci_mmcsd_probe()
1285 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
H A Ddw_mmc.c3046 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 Dowl-mmc.c603 mmc->max_blk_count = 512; in owl_mmc_probe()
/linux-6.15/drivers/staging/greybus/
H A 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()
/linux-6.15/include/linux/mmc/
H A Dhost.h477 unsigned int max_blk_count; /* maximum number of blocks in one req */ member

123