Searched refs:max_blk_size (Results 1 - 36 of 36) sorted by relevance

/linux-4.1.27/drivers/mmc/host/
H A Dwmt-sdmmc.c185 u32 max_blk_size; member in struct:wmt_mci_caps
744 .max_blk_size = 2048,
799 mmc->max_blk_size = wmt_caps->max_blk_size; wmt_mci_probe()
H A Dmvsdio.c740 mmc->max_blk_size = 2048; mvsd_probe()
744 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; mvsd_probe()
745 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; mvsd_probe()
H A Ddavinci_mmc.c1339 mmc->max_blk_size = 4095; /* BLEN is 12 bits */ davinci_mmcsd_probe()
1341 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; davinci_mmcsd_probe()
1344 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); davinci_mmcsd_probe()
H A Dtmio_mmc_pio.c1121 mmc->max_blk_size = 512; tmio_mmc_host_probe()
1122 mmc->max_blk_count = (PAGE_CACHE_SIZE / mmc->max_blk_size) * tmio_mmc_host_probe()
1124 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; tmio_mmc_host_probe()
H A Dvia-sdmmc.c488 BUG_ON(data->blksz > host->mmc->max_blk_size); via_sdc_preparedata()
1053 mmc->max_blk_size = VIA_CRDR_MAX_BLOCK_LENGTH; via_init_mmc_host()
1056 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; via_init_mmc_host()
H A Dsdhci.c770 BUG_ON(data->blksz > host->mmc->max_blk_size); sdhci_prepare_data()
3386 mmc->max_blk_size = 2; sdhci_add_host()
3388 mmc->max_blk_size = (caps[0] & SDHCI_MAX_BLOCK_MASK) >> sdhci_add_host()
3390 if (mmc->max_blk_size >= 3) { sdhci_add_host()
3393 mmc->max_blk_size = 0; sdhci_add_host()
3397 mmc->max_blk_size = 512 << mmc->max_blk_size; sdhci_add_host()
H A Dandroid-goldfish.c507 mmc->max_blk_size = 2048; /* MMC_BLOCK_LENGTH is 11 bits (+1) */ goldfish_mmc_probe()
H A Dbfin_sdh.c554 mmc->max_blk_size = 1 << 11; sdh_probe()
H A Dsdricoh_cs.c448 mmc->max_blk_size = 512; sdricoh_init_mmc()
H A Dushc.c460 mmc->max_blk_size = 512; ushc_probe()
H A Djz4740_mmc.c1050 mmc->max_blk_size = (1 << 10) - 1; jz4740_mmc_probe()
1052 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; jz4740_mmc_probe()
H A Dmxcmmc.c1053 mmc->max_blk_size = 2048; mxcmci_probe()
1055 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; mxcmci_probe()
H A Domap.c1259 mmc->max_blk_size = 2048; /* BLEN is 11 bits (+1) */ mmc_omap_new_slot()
1261 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; mmc_omap_new_slot()
H A Dtifm_sd.c981 mmc->max_blk_size = min(TIFM_MMCSD_MAX_BLOCK_SIZE, PAGE_SIZE); tifm_sd_probe()
982 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; tifm_sd_probe()
H A Ddw_mmc.c2433 mmc->max_blk_size = host->pdata->blk_settings->max_blk_size; dw_mci_init_slot()
2441 mmc->max_blk_size = 65536; dw_mci_init_slot()
2447 mmc->max_blk_size = 65536; /* BLKSIZ is 16 bits */ dw_mci_init_slot()
2449 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; dw_mci_init_slot()
H A Datmel-mci.c2193 mmc->max_blk_size = 4095; atmci_init_slot()
2195 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; atmci_init_slot()
2196 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; atmci_init_slot()
2200 mmc->max_blk_size = 32768; atmci_init_slot()
H A Dmxs-mmc.c657 mmc->max_blk_size = 1 << 0xf; mxs_mmc_probe()
H A Dpxamci.c665 mmc->max_blk_size = cpu_is_pxa25x() ? 1023 : 2048; pxamci_probe()
H A Dsh_mmcif.c1426 mmc->max_blk_size = 512; sh_mmcif_probe()
1428 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; sh_mmcif_probe()
H A Dusdhi6rol0.c1785 mmc->max_blk_size = 512; usdhi6_probe()
1787 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; usdhi6_probe()
H A Domap_hsmmc.c2032 mmc->max_blk_size = 512; /* Block Length at max can be 1024 */ omap_hsmmc_probe()
2034 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; omap_hsmmc_probe()
H A Dau1xmmc.c997 mmc->max_blk_size = 2048; au1xmmc_probe()
H A Drtsx_pci_sdmmc.c1373 mmc->max_blk_size = 512; realtek_init_host()
H A Drtsx_usb_sdmmc.c1346 mmc->max_blk_size = 512; rtsx_usb_init_host()
H A Dsunxi-mmc.c1026 mmc->max_blk_size = 4096; sunxi_mmc_probe()
H A Dmmc_spi.c1343 mmc->max_blk_size = MMC_SPI_BLOCKSIZE; mmc_spi_probe()
H A Dmmci.c1668 mmc->max_blk_size = 1 << 11; mmci_probe()
H A Ds3cmci.c1733 mmc->max_blk_size = 4095; s3cmci_probe()
H A Dwbsd.c1254 mmc->max_blk_size = 4087; wbsd_alloc_mmc()
H A Dvub300.c2159 mmc->max_blk_size = 512; vub300_probe()
/linux-4.1.27/drivers/mmc/core/
H A Dsdio_io.c163 if (blksz > func->card->host->max_blk_size) sdio_set_block_size()
167 blksz = min(func->max_blksize, func->card->host->max_blk_size); sdio_set_block_size()
191 unsigned mval = func->card->host->max_blk_size; sdio_max_byte_size()
H A Dhost.c516 host->max_blk_size = 512; mmc_alloc_host()
H A Dcore.c232 BUG_ON(mrq->data->blksz > host->max_blk_size); mmc_start_request()
/linux-4.1.27/include/linux/mmc/
H A Ddw_mmc.h240 unsigned int max_blk_size; /* maximum size of one mmc block */ member in struct:block_settings
H A Dhost.h308 unsigned int max_blk_size; /* maximum size of one mmc block */ member in struct:mmc_host
/linux-4.1.27/drivers/dma/dw/
H A Dcore.c1505 unsigned int max_blk_size = 0; dw_dma_probe() local
1553 max_blk_size = dma_readl(dw, MAX_BLK_SIZE); dw_dma_probe()
1635 (4 << ((max_blk_size >> 4 * i) & 0xf)) - 1; dw_dma_probe()

Completed in 492 milliseconds