Home
last modified time | relevance | path

Searched refs:max_blk_count (Results 1 – 39 of 39) sorted by relevance

/linux-4.1.27/drivers/mmc/card/
Dmmc_test.c1056 if (test->card->host->max_blk_count == 1) in mmc_test_multi_write()
1062 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_multi_write()
1082 if (test->card->host->max_blk_count == 1) in mmc_test_multi_read()
1088 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_multi_read()
1210 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_write()
1216 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_align_multi_write()
1237 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_read()
1243 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_align_multi_read()
1292 if (test->card->host->max_blk_count == 1) in mmc_test_multi_xfersize_write()
1310 if (test->card->host->max_blk_count == 1) in mmc_test_multi_xfersize_read()
[all …]
Dqueue.c227 if (bouncesz > (host->max_blk_count * 512)) in mmc_init_queue()
228 bouncesz = host->max_blk_count * 512; in mmc_init_queue()
277 min(host->max_blk_count, host->max_req_size / 512)); in mmc_init_queue()
Dblock.c1398 if (brq->data.blocks > card->host->max_blk_count) in mmc_blk_rw_rq_prep()
1399 brq->data.blocks = card->host->max_blk_count; in mmc_blk_rw_rq_prep()
1546 unsigned int max_blk_count, max_phys_segs; in mmc_blk_prep_packed_list() local
1571 max_blk_count = min(card->host->max_blk_count, in mmc_blk_prep_packed_list()
1573 if (unlikely(max_blk_count > 0xffff)) in mmc_blk_prep_packed_list()
1574 max_blk_count = 0xffff; in mmc_blk_prep_packed_list()
1615 if (req_sectors > max_blk_count) in mmc_blk_prep_packed_list()
/linux-4.1.27/drivers/s390/cio/
Dscm.c133 unsigned int size, unsigned int max_blk_count) in scmdev_setup() argument
136 scmdev->nr_max_block = max_blk_count; in scmdev_setup()
/linux-4.1.27/include/linux/mmc/
Ddw_mmc.h241 unsigned int max_blk_count; /* maximum number of blocks in one req*/ member
Dhost.h309 unsigned int max_blk_count; /* maximum number of blocks in one req */ member
/linux-4.1.27/drivers/mmc/host/
Dmvsdio.c741 mmc->max_blk_count = 65535; 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()
Dwmt-sdmmc.c802 mmc->max_blk_count = mmc->max_req_size / 512; in wmt_mci_probe()
840 mmc->max_blk_count * 16, in wmt_mci_probe()
899 dma_free_coherent(&pdev->dev, priv->mmc->max_blk_count * 16, in wmt_mci_remove()
Dtifm_sd.c979 mmc->max_blk_count = 2048; in tifm_sd_probe()
980 mmc->max_segs = mmc->max_blk_count; in tifm_sd_probe()
982 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe()
Dvia-sdmmc.c489 BUG_ON(data->blocks > host->mmc->max_blk_count); in via_sdc_preparedata()
1054 mmc->max_blk_count = VIA_CRDR_MAX_BLOCK_COUNT; in via_init_mmc_host()
1056 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in via_init_mmc_host()
Dandroid-goldfish.c508 mmc->max_blk_count = 2048; /* MMC_BLOCK_COUNT is 11 bits (+1) */ in goldfish_mmc_probe()
Ddw_mmc.c2434 mmc->max_blk_count = host->pdata->blk_settings->max_blk_count; in dw_mci_init_slot()
2444 mmc->max_blk_count = mmc->max_req_size / 512; in dw_mci_init_slot()
2448 mmc->max_blk_count = 512; in dw_mci_init_slot()
2449 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in dw_mci_init_slot()
Djz4740_mmc.c1051 mmc->max_blk_count = (1 << 15) - 1; in jz4740_mmc_probe()
1052 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
Dushc.c461 mmc->max_blk_count = 511; in ushc_probe()
Dtmio_mmc_pio.c1122 mmc->max_blk_count = (PAGE_CACHE_SIZE / mmc->max_blk_size) * in tmio_mmc_host_probe()
1124 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in tmio_mmc_host_probe()
Dmxcmmc.c1054 mmc->max_blk_count = 65535; in mxcmci_probe()
1055 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
Ddavinci_mmc.c1340 mmc->max_blk_count = 65535; /* NBLK is 16 bits */ in davinci_mmcsd_probe()
1341 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
Dbfin_sdh.c555 mmc->max_blk_count = 1 << 11; in sdh_probe()
Domap.c1260 mmc->max_blk_count = 2048; /* NBLK is 11 bits (+1) */ in mmc_omap_new_slot()
1261 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mmc_omap_new_slot()
Dmxs-mmc.c658 mmc->max_blk_count = (ssp_is_old(ssp)) ? 0xff : 0xffffff; in mxs_mmc_probe()
Datmel-mci.c2194 mmc->max_blk_count = 256; in atmci_init_slot()
2195 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2201 mmc->max_blk_count = 512; in atmci_init_slot()
Dpxamci.c670 mmc->max_blk_count = 65535; in pxamci_probe()
Domap_hsmmc.c2033 mmc->max_blk_count = 0xFFFF; /* No. of Blocks is 16 bits */ in omap_hsmmc_probe()
2034 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in omap_hsmmc_probe()
Dsunxi-mmc.c1025 mmc->max_blk_count = 8192; in sunxi_mmc_probe()
Dmmc_spi.c1346 mmc->max_blk_count = MMC_SPI_BLOCKSATONCE; in mmc_spi_probe()
Dau1xmmc.c998 mmc->max_blk_count = 512; in au1xmmc_probe()
Dwbsd.c1260 mmc->max_blk_count = mmc->max_req_size; in wbsd_alloc_mmc()
Drtsx_usb_sdmmc.c1347 mmc->max_blk_count = 65535; in rtsx_usb_init_host()
Drtsx_pci_sdmmc.c1374 mmc->max_blk_count = 65535; in realtek_init_host()
Dsh_mmcif.c1428 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in sh_mmcif_probe()
Dmmci.c1674 mmc->max_blk_count = mmc->max_req_size >> 11; in mmci_probe()
Ds3cmci.c1732 mmc->max_blk_count = 4095; in s3cmci_probe()
Dusdhi6rol0.c1787 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; in usdhi6_probe()
Dvub300.c2158 mmc->max_blk_count = 511; in vub300_probe()
Dsdhci.c3402 mmc->max_blk_count = (host->quirks & SDHCI_QUIRK_NO_MULTIBLOCK) ? 1 : 65535; in sdhci_add_host()
/linux-4.1.27/drivers/mmc/core/
Dhost.c517 host->max_blk_count = PAGE_CACHE_SIZE / 512; in mmc_alloc_host()
Dsdio_io.c314 max_blocks = min(func->card->host->max_blk_count, 511u); in sdio_io_rw_ext_helper()
Dcore.c233 BUG_ON(mrq->data->blocks > host->max_blk_count); in mmc_start_request()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c1057 max_blocks = min_t(uint, host->max_blk_count, 511u); in brcmf_sdiod_probe()