max_blk_size 313 drivers/mmc/core/core.c if (mrq->data->blksz > host->max_blk_size || max_blk_size 443 drivers/mmc/core/host.c host->max_blk_size = 512; max_blk_size 163 drivers/mmc/core/sdio_io.c if (blksz > func->card->host->max_blk_size) max_blk_size 167 drivers/mmc/core/sdio_io.c blksz = min(func->max_blksize, func->card->host->max_blk_size); max_blk_size 191 drivers/mmc/core/sdio_io.c unsigned mval = func->card->host->max_blk_size; max_blk_size 1075 drivers/mmc/host/alcor.c mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; max_blk_size 491 drivers/mmc/host/android-goldfish.c mmc->max_blk_size = 2048; /* MMC_BLOCK_LENGTH is 11 bits (+1) */ max_blk_size 2262 drivers/mmc/host/atmel-mci.c mmc->max_blk_size = 4095; max_blk_size 2264 drivers/mmc/host/atmel-mci.c mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; max_blk_size 2265 drivers/mmc/host/atmel-mci.c mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; max_blk_size 2269 drivers/mmc/host/atmel-mci.c mmc->max_blk_size = 32768; max_blk_size 999 drivers/mmc/host/au1xmmc.c mmc->max_blk_size = 2048; max_blk_size 1319 drivers/mmc/host/bcm2835.c mmc->max_blk_size = 1024; max_blk_size 1054 drivers/mmc/host/cavium.c mmc->max_blk_size = 512; max_blk_size 1292 drivers/mmc/host/davinci_mmc.c mmc->max_blk_size = 4095; /* BLEN is 12 bits */ max_blk_size 1294 drivers/mmc/host/davinci_mmc.c mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; max_blk_size 1297 drivers/mmc/host/davinci_mmc.c dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); max_blk_size 2831 drivers/mmc/host/dw_mmc.c mmc->max_blk_size = 65535; max_blk_size 2837 drivers/mmc/host/dw_mmc.c mmc->max_blk_size = 65535; max_blk_size 2840 drivers/mmc/host/dw_mmc.c mmc->max_blk_size * mmc->max_blk_count; max_blk_size 2845 drivers/mmc/host/dw_mmc.c mmc->max_blk_size = 65535; /* BLKSIZ is 16 bits */ max_blk_size 2847 drivers/mmc/host/dw_mmc.c mmc->max_req_size = mmc->max_blk_size * max_blk_size 992 drivers/mmc/host/jz4740_mmc.c mmc->max_blk_size = (1 << 10) - 1; max_blk_size 994 drivers/mmc/host/jz4740_mmc.c mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; max_blk_size 1155 drivers/mmc/host/meson-gx-mmc.c mmc->max_segs = SD_EMMC_SRAM_DATA_BUF_LEN / mmc->max_blk_size; max_blk_size 1162 drivers/mmc/host/meson-gx-mmc.c mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; max_blk_size 554 drivers/mmc/host/meson-mx-sdio.c mmc->max_blk_size = FIELD_GET(MESON_MX_SDIO_EXT_DATA_RW_NUMBER_MASK, max_blk_size 556 drivers/mmc/host/meson-mx-sdio.c mmc->max_blk_size -= (4 * MESON_MX_SDIO_RESPONSE_CRC16_BITS); max_blk_size 557 drivers/mmc/host/meson-mx-sdio.c mmc->max_blk_size /= BITS_PER_BYTE; max_blk_size 1332 drivers/mmc/host/mmc_spi.c mmc->max_blk_size = MMC_SPI_BLOCKSIZE; max_blk_size 1994 drivers/mmc/host/mmci.c mmc->max_blk_size = 1 << variant->datactrl_blocksz; max_blk_size 2295 drivers/mmc/host/mtk-sd.c mmc->max_blk_size = 2048; max_blk_size 743 drivers/mmc/host/mvsdio.c mmc->max_blk_size = 2048; max_blk_size 747 drivers/mmc/host/mvsdio.c mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; max_blk_size 748 drivers/mmc/host/mvsdio.c mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; max_blk_size 1042 drivers/mmc/host/mxcmmc.c mmc->max_blk_size = 2048; max_blk_size 1044 drivers/mmc/host/mxcmmc.c mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; max_blk_size 652 drivers/mmc/host/mxs-mmc.c mmc->max_blk_size = 1 << 0xf; max_blk_size 1265 drivers/mmc/host/omap.c mmc->max_blk_size = 2048; /* BLEN is 11 bits (+1) */ max_blk_size 1267 drivers/mmc/host/omap.c mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; max_blk_size 1929 drivers/mmc/host/omap_hsmmc.c mmc->max_blk_size = 512; /* Block Length at max can be 1024 */ max_blk_size 1931 drivers/mmc/host/omap_hsmmc.c mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; max_blk_size 642 drivers/mmc/host/pxamci.c mmc->max_blk_size = cpu_is_pxa25x() ? 1023 : 2048; max_blk_size 1360 drivers/mmc/host/rtsx_pci_sdmmc.c mmc->max_blk_size = 512; max_blk_size 1326 drivers/mmc/host/rtsx_usb_sdmmc.c mmc->max_blk_size = 512; max_blk_size 1675 drivers/mmc/host/s3cmci.c mmc->max_blk_size = 4095; max_blk_size 1036 drivers/mmc/host/sdhci.c BUG_ON(data->blksz > host->mmc->max_blk_size); max_blk_size 4223 drivers/mmc/host/sdhci.c mmc->max_blk_size = 2; max_blk_size 4225 drivers/mmc/host/sdhci.c mmc->max_blk_size = (host->caps & SDHCI_MAX_BLOCK_MASK) >> max_blk_size 4227 drivers/mmc/host/sdhci.c if (mmc->max_blk_size >= 3) { max_blk_size 4230 drivers/mmc/host/sdhci.c mmc->max_blk_size = 0; max_blk_size 4234 drivers/mmc/host/sdhci.c mmc->max_blk_size = 512 << mmc->max_blk_size; max_blk_size 431 drivers/mmc/host/sdricoh_cs.c mmc->max_blk_size = 512; max_blk_size 1434 drivers/mmc/host/sh_mmcif.c mmc->max_blk_size = 512; max_blk_size 1436 drivers/mmc/host/sh_mmcif.c mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; max_blk_size 1386 drivers/mmc/host/sunxi-mmc.c mmc->max_blk_size = 4096; max_blk_size 976 drivers/mmc/host/tifm_sd.c mmc->max_blk_size = min(TIFM_MMCSD_MAX_BLOCK_SIZE, PAGE_SIZE); max_blk_size 977 drivers/mmc/host/tifm_sd.c mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; max_blk_size 1190 drivers/mmc/host/tmio_mmc_core.c mmc->max_blk_size = TMIO_MAX_BLK_SIZE; max_blk_size 1192 drivers/mmc/host/tmio_mmc_core.c (PAGE_SIZE / mmc->max_blk_size) * mmc->max_segs; max_blk_size 1194 drivers/mmc/host/tmio_mmc_core.c mmc->max_blk_size * mmc->max_blk_count, max_blk_size 1843 drivers/mmc/host/usdhi6rol0.c mmc->max_blk_size = 512; max_blk_size 1845 drivers/mmc/host/usdhi6rol0.c mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; max_blk_size 459 drivers/mmc/host/ushc.c mmc->max_blk_size = 512; max_blk_size 485 drivers/mmc/host/via-sdmmc.c BUG_ON(data->blksz > host->mmc->max_blk_size); max_blk_size 1040 drivers/mmc/host/via-sdmmc.c mmc->max_blk_size = VIA_CRDR_MAX_BLOCK_LENGTH; max_blk_size 1043 drivers/mmc/host/via-sdmmc.c mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; max_blk_size 2151 drivers/mmc/host/vub300.c mmc->max_blk_size = 512; max_blk_size 1237 drivers/mmc/host/wbsd.c mmc->max_blk_size = 4087; max_blk_size 182 drivers/mmc/host/wmt-sdmmc.c u32 max_blk_size; max_blk_size 741 drivers/mmc/host/wmt-sdmmc.c .max_blk_size = 2048, max_blk_size 796 drivers/mmc/host/wmt-sdmmc.c mmc->max_blk_size = wmt_caps->max_blk_size; max_blk_size 140 drivers/staging/greybus/sdio.c blksz = min_t(u16, le16_to_cpu(response.max_blk_size), data_max); max_blk_size 143 drivers/staging/greybus/sdio.c mmc->max_blk_size = rounddown_pow_of_two(blksz); max_blk_size 802 drivers/staging/greybus/sdio.c mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; max_blk_size 1433 include/linux/greybus/greybus_protocols.h __le16 max_blk_size; max_blk_size 383 include/linux/mmc/host.h unsigned int max_blk_size; /* maximum size of one mmc block */