Home
last modified time | relevance | path

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

12

/drivers/mmc/core/
Dsdio_io.c163 if (blksz > func->card->host->max_blk_size) in sdio_set_block_size()
167 blksz = min(func->max_blksize, func->card->host->max_blk_size); in sdio_set_block_size()
191 unsigned mval = func->card->host->max_blk_size; in sdio_max_byte_size()
Dhost.c580 host->max_blk_size = 512; in mmc_alloc_host()
/drivers/mmc/host/
Dwmt-sdmmc.c182 u32 max_blk_size; member
741 .max_blk_size = 2048,
796 mmc->max_blk_size = wmt_caps->max_blk_size; in wmt_mci_probe()
Dmeson-mx-sdio.c556 mmc->max_blk_size = FIELD_GET(MESON_MX_SDIO_EXT_DATA_RW_NUMBER_MASK, in meson_mx_mmc_add_host()
558 mmc->max_blk_size -= (4 * MESON_MX_SDIO_RESPONSE_CRC16_BITS); in meson_mx_mmc_add_host()
559 mmc->max_blk_size /= BITS_PER_BYTE; in meson_mx_mmc_add_host()
Dmvsdio.c741 mmc->max_blk_size = 2048; 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()
Dtmio_mmc_core.c1174 mmc->max_blk_size = TMIO_MAX_BLK_SIZE; in tmio_mmc_host_probe()
1176 (PAGE_SIZE / mmc->max_blk_size) * mmc->max_segs; in tmio_mmc_host_probe()
1178 mmc->max_blk_size * mmc->max_blk_count, in tmio_mmc_host_probe()
Ddavinci_mmc.c1291 mmc->max_blk_size = 4095; /* BLEN is 12 bits */ in davinci_mmcsd_probe()
1293 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1296 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); in davinci_mmcsd_probe()
Dvia-sdmmc.c487 BUG_ON(data->blksz > host->mmc->max_blk_size); in via_sdc_preparedata()
1046 mmc->max_blk_size = VIA_CRDR_MAX_BLOCK_LENGTH; in via_init_mmc_host()
1049 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in via_init_mmc_host()
Dsdricoh_cs.c436 mmc->max_blk_size = 512; in sdricoh_init_mmc()
Djz4740_mmc.c1060 mmc->max_blk_size = (1 << 10) - 1; in jz4740_mmc_probe()
1062 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
Dsdhci.c1065 BUG_ON(data->blksz > host->mmc->max_blk_size); in sdhci_initialize_data()
4731 mmc->max_blk_size = 2; in sdhci_setup_host()
4733 mmc->max_blk_size = (host->caps & SDHCI_MAX_BLOCK_MASK) >> in sdhci_setup_host()
4735 if (mmc->max_blk_size >= 3) { in sdhci_setup_host()
4738 mmc->max_blk_size = 0; in sdhci_setup_host()
4742 mmc->max_blk_size = 512 << mmc->max_blk_size; in sdhci_setup_host()
Ddw_mmc.c2905 mmc->max_blk_size = 65535; in dw_mci_init_slot()
2911 mmc->max_blk_size = 65535; in dw_mci_init_slot()
2914 mmc->max_blk_size * mmc->max_blk_count; in dw_mci_init_slot()
2919 mmc->max_blk_size = 65535; /* BLKSIZ is 16 bits */ in dw_mci_init_slot()
2921 mmc->max_req_size = mmc->max_blk_size * in dw_mci_init_slot()
Datmel-mci.c2266 mmc->max_blk_size = 4095; in atmci_init_slot()
2268 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2269 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; in atmci_init_slot()
2273 mmc->max_blk_size = 32768; in atmci_init_slot()
Dmxcmmc.c1023 mmc->max_blk_size = 2048; in mxcmci_probe()
1025 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
Dtifm_sd.c982 mmc->max_blk_size = min(TIFM_MMCSD_MAX_BLOCK_SIZE, PAGE_SIZE); in tifm_sd_probe()
983 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe()
Dmeson-gx-mmc.c1239 mmc->max_blk_size; in meson_mmc_probe()
1245 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
Dushc.c459 mmc->max_blk_size = 512; in ushc_probe()
Dowl-mmc.c604 mmc->max_blk_size = 512; in owl_mmc_probe()
Dsh_mmcif.c1436 mmc->max_blk_size = 512; in sh_mmcif_probe()
1438 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in sh_mmcif_probe()
Domap.c1265 mmc->max_blk_size = 2048; /* BLEN 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()
Dmxs-mmc.c646 mmc->max_blk_size = 1 << 0xf; in mxs_mmc_probe()
Dpxamci.c642 mmc->max_blk_size = cpu_is_pxa25x() ? 1023 : 2048; in pxamci_probe()
Dmeson-mx-sdhc-mmc.c827 mmc->max_blk_size = MESON_SDHC_MAX_BLK_SIZE; in meson_mx_sdhc_probe()
Dusdhi6rol0.c1854 mmc->max_blk_size = 512; in usdhi6_probe()
1856 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in usdhi6_probe()
/drivers/staging/greybus/
Dsdio.c138 blksz = min_t(u16, le16_to_cpu(response.max_blk_size), data_max); in gb_sdio_get_caps()
141 mmc->max_blk_size = rounddown_pow_of_two(blksz); in gb_sdio_get_caps()
804 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in gb_sdio_probe()

12