Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mmc/card/
Dmmc_test.c1029 if (test->card->host->max_blk_count == 1) in mmc_test_multi_write()
1035 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_multi_write()
1050 if (test->card->host->max_blk_count == 1) in mmc_test_multi_read()
1056 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_multi_read()
1174 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_write()
1180 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_align_multi_write()
1201 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_read()
1207 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_align_multi_read()
1248 if (test->card->host->max_blk_count == 1) in mmc_test_multi_xfersize_write()
1262 if (test->card->host->max_blk_count == 1) in mmc_test_multi_xfersize_read()
[all …]
Dqueue.c225 if (bouncesz > (host->max_blk_count * 512)) in mmc_init_queue()
226 bouncesz = host->max_blk_count * 512; in mmc_init_queue()
275 min(host->max_blk_count, host->max_req_size / 512)); in mmc_init_queue()
Dblock.c1501 if (brq->data.blocks > card->host->max_blk_count) in mmc_blk_rw_rq_prep()
1502 brq->data.blocks = card->host->max_blk_count; in mmc_blk_rw_rq_prep()
1649 unsigned int max_blk_count, max_phys_segs; in mmc_blk_prep_packed_list() local
1674 max_blk_count = min(card->host->max_blk_count, in mmc_blk_prep_packed_list()
1676 if (unlikely(max_blk_count > 0xffff)) in mmc_blk_prep_packed_list()
1677 max_blk_count = 0xffff; in mmc_blk_prep_packed_list()
1718 if (req_sectors > max_blk_count) in mmc_blk_prep_packed_list()
/linux-4.4.14/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.4.14/include/linux/mmc/
Ddw_mmc.h254 unsigned int max_blk_count; /* maximum number of blocks in one req*/ member
Dhost.h301 unsigned int max_blk_count; /* maximum number of blocks in one req */ member
/linux-4.4.14/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()
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()
Ddw_mmc.c2592 mmc->max_blk_count = mmc->max_req_size / 512; in dw_mci_init_slot()
2596 mmc->max_blk_count = 65535; in dw_mci_init_slot()
2598 mmc->max_blk_size * mmc->max_blk_count; in dw_mci_init_slot()
2604 mmc->max_blk_count = 512; in dw_mci_init_slot()
2606 mmc->max_blk_count; in dw_mci_init_slot()
Dtmio_mmc_pio.c1125 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()
Dmxcmmc.c1050 mmc->max_blk_count = 65535; in mxcmci_probe()
1051 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()
Dmxs-mmc.c658 mmc->max_blk_count = (ssp_is_old(ssp)) ? 0xff : 0xffffff; in mxs_mmc_probe()
Domap.c1261 mmc->max_blk_count = 2048; /* NBLK 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()
Datmel-mci.c2193 mmc->max_blk_count = 256; in atmci_init_slot()
2194 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2200 mmc->max_blk_count = 512; in atmci_init_slot()
Dpxamci.c691 mmc->max_blk_count = 65535; in pxamci_probe()
Dsunxi-mmc.c1058 mmc->max_blk_count = 8192; in sunxi_mmc_probe()
Domap_hsmmc.c2118 mmc->max_blk_count = 0xFFFF; /* No. of Blocks is 16 bits */ in omap_hsmmc_probe()
2119 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in omap_hsmmc_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.c1517 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()
Dmtk-sd.c1552 mmc->max_blk_count = mmc->max_req_size / 512; in msdc_drv_probe()
Dusdhi6rol0.c1793 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.c3372 mmc->max_blk_count = (host->quirks & SDHCI_QUIRK_NO_MULTIBLOCK) ? 1 : 65535; in sdhci_add_host()
/linux-4.4.14/drivers/mmc/core/
Dhost.c365 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.c273 BUG_ON(mrq->data->blocks > host->max_blk_count); in mmc_start_request()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c1067 max_blocks = min_t(uint, host->max_blk_count, 511u); in brcmf_sdiod_probe()