Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/mmc/core/
Dsdio_io.c165 if (blksz > func->card->host->max_blk_size) in sdio_set_block_size()
169 blksz = min(func->max_blksize, func->card->host->max_blk_size); in sdio_set_block_size()
193 unsigned mval = func->card->host->max_blk_size; in sdio_max_byte_size()
Dhost.c407 host->max_blk_size = 512; in mmc_alloc_host()
/Linux-v4.19/drivers/mmc/host/
Dwmt-sdmmc.c186 u32 max_blk_size; member
745 .max_blk_size = 2048,
800 mmc->max_blk_size = wmt_caps->max_blk_size; in wmt_mci_probe()
Dmeson-mx-sdio.c566 mmc->max_blk_size = FIELD_GET(MESON_MX_SDIO_EXT_DATA_RW_NUMBER_MASK, in meson_mx_mmc_add_host()
568 mmc->max_blk_size -= (4 * MESON_MX_SDIO_RESPONSE_CRC16_BITS); in meson_mx_mmc_add_host()
569 mmc->max_blk_size /= BITS_PER_BYTE; in meson_mx_mmc_add_host()
Dmvsdio.c746 mmc->max_blk_size = 2048; in mvsd_probe()
750 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()
751 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()
Ddavinci_mmc.c1305 mmc->max_blk_size = 4095; /* BLEN is 12 bits */ in davinci_mmcsd_probe()
1307 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1310 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); in davinci_mmcsd_probe()
Dtmio_mmc_core.c1265 mmc->max_blk_size = 512; in tmio_mmc_host_probe()
1267 (PAGE_SIZE / mmc->max_blk_size) * mmc->max_segs; in tmio_mmc_host_probe()
1268 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in tmio_mmc_host_probe()
Dvia-sdmmc.c489 BUG_ON(data->blksz > host->mmc->max_blk_size); in via_sdc_preparedata()
1052 mmc->max_blk_size = VIA_CRDR_MAX_BLOCK_LENGTH; in via_init_mmc_host()
1055 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in via_init_mmc_host()
Dsdhci.c894 BUG_ON(data->blksz > host->mmc->max_blk_size); in sdhci_prepare_data()
3972 mmc->max_blk_size = 2; in sdhci_setup_host()
3974 mmc->max_blk_size = (host->caps & SDHCI_MAX_BLOCK_MASK) >> in sdhci_setup_host()
3976 if (mmc->max_blk_size >= 3) { in sdhci_setup_host()
3979 mmc->max_blk_size = 0; in sdhci_setup_host()
3983 mmc->max_blk_size = 512 << mmc->max_blk_size; in sdhci_setup_host()
Dandroid-goldfish.c495 mmc->max_blk_size = 2048; /* MMC_BLOCK_LENGTH is 11 bits (+1) */ in goldfish_mmc_probe()
Dsdricoh_cs.c445 mmc->max_blk_size = 512; in sdricoh_init_mmc()
Djz4740_mmc.c1088 mmc->max_blk_size = (1 << 10) - 1; in jz4740_mmc_probe()
1090 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
Ddw_mmc.c2858 mmc->max_blk_size = 65535; in dw_mci_init_slot()
2864 mmc->max_blk_size = 65535; in dw_mci_init_slot()
2867 mmc->max_blk_size * mmc->max_blk_count; in dw_mci_init_slot()
2872 mmc->max_blk_size = 65535; /* BLKSIZ is 16 bits */ in dw_mci_init_slot()
2874 mmc->max_req_size = mmc->max_blk_size * in dw_mci_init_slot()
Dmxcmmc.c1059 mmc->max_blk_size = 2048; in mxcmci_probe()
1061 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
Dtifm_sd.c981 mmc->max_blk_size = min(TIFM_MMCSD_MAX_BLOCK_SIZE, PAGE_SIZE); in tifm_sd_probe()
982 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe()
Datmel-mci.c2303 mmc->max_blk_size = 4095; in atmci_init_slot()
2305 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2306 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; in atmci_init_slot()
2310 mmc->max_blk_size = 32768; in atmci_init_slot()
Dushc.c463 mmc->max_blk_size = 512; in ushc_probe()
Domap.c1261 mmc->max_blk_size = 2048; /* BLEN is 11 bits (+1) */ in mmc_omap_new_slot()
1263 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mmc_omap_new_slot()
Dmxs-mmc.c667 mmc->max_blk_size = 1 << 0xf; in mxs_mmc_probe()
Dsh_mmcif.c1439 mmc->max_blk_size = 512; in sh_mmcif_probe()
1441 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in sh_mmcif_probe()
Dpxamci.c647 mmc->max_blk_size = cpu_is_pxa25x() ? 1023 : 2048; in pxamci_probe()
Dusdhi6rol0.c1849 mmc->max_blk_size = 512; in usdhi6_probe()
1851 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in usdhi6_probe()
Dcavium.c1052 mmc->max_blk_size = 512; in cvm_mmc_of_slot_probe()
/Linux-v4.19/drivers/staging/greybus/
Dsdio.c140 blksz = min_t(u16, le16_to_cpu(response.max_blk_size), data_max); in gb_sdio_get_caps()
143 mmc->max_blk_size = rounddown_pow_of_two(blksz); in gb_sdio_get_caps()
802 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in gb_sdio_probe()
/Linux-v4.19/include/linux/mmc/
Dhost.h380 unsigned int max_blk_size; /* maximum size of one mmc block */ member

12