Home
last modified time | relevance | path

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

/linux-4.4.14/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.c364 host->max_blk_size = 512; in mmc_alloc_host()
Dcore.c272 BUG_ON(mrq->data->blksz > host->max_blk_size); in mmc_start_request()
/linux-4.4.14/include/linux/mmc/
Ddw_mmc.h253 unsigned int max_blk_size; /* maximum size of one mmc block */ member
Dhost.h300 unsigned int max_blk_size; /* maximum size of one mmc block */ member
/linux-4.4.14/drivers/mmc/host/
Dwmt-sdmmc.c185 u32 max_blk_size; member
744 .max_blk_size = 2048,
799 mmc->max_blk_size = wmt_caps->max_blk_size; in wmt_mci_probe()
Dmvsdio.c740 mmc->max_blk_size = 2048; in mvsd_probe()
744 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()
745 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()
Dtmio_mmc_pio.c1124 mmc->max_blk_size = 512; in tmio_mmc_host_probe()
1125 mmc->max_blk_count = (PAGE_CACHE_SIZE / mmc->max_blk_size) * in tmio_mmc_host_probe()
1127 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in tmio_mmc_host_probe()
Ddavinci_mmc.c1339 mmc->max_blk_size = 4095; /* BLEN is 12 bits */ in davinci_mmcsd_probe()
1341 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1344 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); in davinci_mmcsd_probe()
Dvia-sdmmc.c488 BUG_ON(data->blksz > host->mmc->max_blk_size); in via_sdc_preparedata()
1053 mmc->max_blk_size = VIA_CRDR_MAX_BLOCK_LENGTH; in via_init_mmc_host()
1056 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in via_init_mmc_host()
Dsdhci.c755 BUG_ON(data->blksz > host->mmc->max_blk_size); in sdhci_prepare_data()
3356 mmc->max_blk_size = 2; in sdhci_add_host()
3358 mmc->max_blk_size = (caps[0] & SDHCI_MAX_BLOCK_MASK) >> in sdhci_add_host()
3360 if (mmc->max_blk_size >= 3) { in sdhci_add_host()
3363 mmc->max_blk_size = 0; in sdhci_add_host()
3367 mmc->max_blk_size = 512 << mmc->max_blk_size; in sdhci_add_host()
Dsdricoh_cs.c448 mmc->max_blk_size = 512; in sdricoh_init_mmc()
Dandroid-goldfish.c507 mmc->max_blk_size = 2048; /* MMC_BLOCK_LENGTH is 11 bits (+1) */ in goldfish_mmc_probe()
Djz4740_mmc.c1050 mmc->max_blk_size = (1 << 10) - 1; in jz4740_mmc_probe()
1052 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
Dushc.c460 mmc->max_blk_size = 512; in ushc_probe()
Ddw_mmc.c2589 mmc->max_blk_size = 65536; in dw_mci_init_slot()
2595 mmc->max_blk_size = 65536; in dw_mci_init_slot()
2598 mmc->max_blk_size * mmc->max_blk_count; in dw_mci_init_slot()
2603 mmc->max_blk_size = 65536; /* BLKSIZ is 16 bits */ in dw_mci_init_slot()
2605 mmc->max_req_size = mmc->max_blk_size * in dw_mci_init_slot()
Dmxcmmc.c1049 mmc->max_blk_size = 2048; in mxcmci_probe()
1051 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.c2192 mmc->max_blk_size = 4095; in atmci_init_slot()
2194 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2195 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; in atmci_init_slot()
2199 mmc->max_blk_size = 32768; in atmci_init_slot()
Dbfin_sdh.c554 mmc->max_blk_size = 1 << 11; in sdh_probe()
Dmxs-mmc.c657 mmc->max_blk_size = 1 << 0xf; in mxs_mmc_probe()
Domap.c1260 mmc->max_blk_size = 2048; /* BLEN is 11 bits (+1) */ in mmc_omap_new_slot()
1262 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mmc_omap_new_slot()
Dsh_mmcif.c1515 mmc->max_blk_size = 512; in sh_mmcif_probe()
1517 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in sh_mmcif_probe()
Dpxamci.c686 mmc->max_blk_size = cpu_is_pxa25x() ? 1023 : 2048; in pxamci_probe()
Dusdhi6rol0.c1791 mmc->max_blk_size = 512; in usdhi6_probe()
1793 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in usdhi6_probe()
Dsunxi-mmc.c1059 mmc->max_blk_size = 4096; in sunxi_mmc_probe()
Domap_hsmmc.c2117 mmc->max_blk_size = 512; /* Block Length at max can be 1024 */ in omap_hsmmc_probe()
2119 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in omap_hsmmc_probe()
Dmmc_spi.c1343 mmc->max_blk_size = MMC_SPI_BLOCKSIZE; in mmc_spi_probe()
Dau1xmmc.c997 mmc->max_blk_size = 2048; in au1xmmc_probe()
Dwbsd.c1254 mmc->max_blk_size = 4087; in wbsd_alloc_mmc()
Drtsx_usb_sdmmc.c1346 mmc->max_blk_size = 512; in rtsx_usb_init_host()
Drtsx_pci_sdmmc.c1373 mmc->max_blk_size = 512; in realtek_init_host()
Dmmci.c1668 mmc->max_blk_size = 1 << 11; in mmci_probe()
Ds3cmci.c1733 mmc->max_blk_size = 4095; in s3cmci_probe()
Dmtk-sd.c1550 mmc->max_blk_size = 2048; in msdc_drv_probe()
Dvub300.c2159 mmc->max_blk_size = 512; in vub300_probe()
/linux-4.4.14/drivers/dma/dw/
Dcore.c1504 unsigned int max_blk_size = 0; in dw_dma_probe() local
1540 max_blk_size = dma_readl(dw, MAX_BLK_SIZE); in dw_dma_probe()
1633 (4 << ((max_blk_size >> 4 * i) & 0xf)) - 1; in dw_dma_probe()