/linux-4.1.27/drivers/mmc/card/ |
H A D | mmc_test.c | 1056 if (test->card->host->max_blk_count == 1) mmc_test_multi_write() 1062 size = min(size, test->card->host->max_blk_count * 512); mmc_test_multi_write() 1082 if (test->card->host->max_blk_count == 1) mmc_test_multi_read() 1088 size = min(size, test->card->host->max_blk_count * 512); mmc_test_multi_read() 1210 if (test->card->host->max_blk_count == 1) mmc_test_align_multi_write() 1216 size = min(size, test->card->host->max_blk_count * 512); mmc_test_align_multi_write() 1237 if (test->card->host->max_blk_count == 1) mmc_test_align_multi_read() 1243 size = min(size, test->card->host->max_blk_count * 512); mmc_test_align_multi_read() 1292 if (test->card->host->max_blk_count == 1) mmc_test_multi_xfersize_write() 1310 if (test->card->host->max_blk_count == 1) mmc_test_multi_xfersize_read() 1362 if (test->card->host->max_blk_count == 1) mmc_test_multi_write_high() 1368 size = min(size, test->card->host->max_blk_count * 512); mmc_test_multi_write_high() 1389 if (test->card->host->max_blk_count == 1) mmc_test_multi_read_high() 1395 size = min(size, test->card->host->max_blk_count * 512); mmc_test_multi_read_high() 1589 if (t->max_tfr >> 9 > test->card->host->max_blk_count) mmc_test_area_init() 1590 t->max_tfr = test->card->host->max_blk_count << 9; mmc_test_area_init()
|
H A D | queue.c | 227 if (bouncesz > (host->max_blk_count * 512)) mmc_init_queue() 228 bouncesz = host->max_blk_count * 512; mmc_init_queue() 277 min(host->max_blk_count, host->max_req_size / 512)); mmc_init_queue()
|
H A D | block.c | 1398 if (brq->data.blocks > card->host->max_blk_count) mmc_blk_rw_rq_prep() 1399 brq->data.blocks = card->host->max_blk_count; mmc_blk_rw_rq_prep() 1546 unsigned int max_blk_count, max_phys_segs; mmc_blk_prep_packed_list() local 1571 max_blk_count = min(card->host->max_blk_count, mmc_blk_prep_packed_list() 1573 if (unlikely(max_blk_count > 0xffff)) mmc_blk_prep_packed_list() 1574 max_blk_count = 0xffff; mmc_blk_prep_packed_list() 1615 if (req_sectors > max_blk_count) mmc_blk_prep_packed_list()
|
/linux-4.1.27/drivers/s390/cio/ |
H A D | scm.c | 133 unsigned int size, unsigned int max_blk_count) scmdev_setup() 136 scmdev->nr_max_block = max_blk_count; scmdev_setup() 132 scmdev_setup(struct scm_device *scmdev, struct sale *sale, unsigned int size, unsigned int max_blk_count) scmdev_setup() argument
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | mvsdio.c | 741 mmc->max_blk_count = 65535; 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 D | wmt-sdmmc.c | 802 mmc->max_blk_count = mmc->max_req_size / 512; wmt_mci_probe() 840 mmc->max_blk_count * 16, wmt_mci_probe() 899 dma_free_coherent(&pdev->dev, priv->mmc->max_blk_count * 16, wmt_mci_remove()
|
H A D | tifm_sd.c | 979 mmc->max_blk_count = 2048; tifm_sd_probe() 980 mmc->max_segs = mmc->max_blk_count; tifm_sd_probe() 982 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; tifm_sd_probe()
|
H A D | via-sdmmc.c | 489 BUG_ON(data->blocks > host->mmc->max_blk_count); via_sdc_preparedata() 1054 mmc->max_blk_count = VIA_CRDR_MAX_BLOCK_COUNT; via_init_mmc_host() 1056 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; via_init_mmc_host()
|
H A D | android-goldfish.c | 508 mmc->max_blk_count = 2048; /* MMC_BLOCK_COUNT is 11 bits (+1) */ goldfish_mmc_probe()
|
H A D | bfin_sdh.c | 555 mmc->max_blk_count = 1 << 11; sdh_probe()
|
H A D | ushc.c | 461 mmc->max_blk_count = 511; ushc_probe()
|
H A D | davinci_mmc.c | 1340 mmc->max_blk_count = 65535; /* NBLK is 16 bits */ davinci_mmcsd_probe() 1341 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; davinci_mmcsd_probe()
|
H A D | jz4740_mmc.c | 1051 mmc->max_blk_count = (1 << 15) - 1; jz4740_mmc_probe() 1052 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; jz4740_mmc_probe()
|
H A D | mxcmmc.c | 1054 mmc->max_blk_count = 65535; mxcmci_probe() 1055 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; mxcmci_probe()
|
H A D | omap.c | 1260 mmc->max_blk_count = 2048; /* NBLK 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 D | tmio_mmc_pio.c | 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 D | dw_mmc.c | 2434 mmc->max_blk_count = host->pdata->blk_settings->max_blk_count; dw_mci_init_slot() 2444 mmc->max_blk_count = mmc->max_req_size / 512; dw_mci_init_slot() 2448 mmc->max_blk_count = 512; dw_mci_init_slot() 2449 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; dw_mci_init_slot()
|
H A D | mxs-mmc.c | 658 mmc->max_blk_count = (ssp_is_old(ssp)) ? 0xff : 0xffffff; mxs_mmc_probe()
|
H A D | pxamci.c | 670 mmc->max_blk_count = 65535; pxamci_probe()
|
H A D | atmel-mci.c | 2194 mmc->max_blk_count = 256; atmci_init_slot() 2195 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; atmci_init_slot() 2201 mmc->max_blk_count = 512; atmci_init_slot()
|
H A D | omap_hsmmc.c | 2033 mmc->max_blk_count = 0xFFFF; /* No. of Blocks is 16 bits */ omap_hsmmc_probe() 2034 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; omap_hsmmc_probe()
|
H A D | au1xmmc.c | 998 mmc->max_blk_count = 512; au1xmmc_probe()
|
H A D | rtsx_pci_sdmmc.c | 1374 mmc->max_blk_count = 65535; realtek_init_host()
|
H A D | rtsx_usb_sdmmc.c | 1347 mmc->max_blk_count = 65535; rtsx_usb_init_host()
|
H A D | sunxi-mmc.c | 1025 mmc->max_blk_count = 8192; sunxi_mmc_probe()
|
H A D | mmc_spi.c | 1346 mmc->max_blk_count = MMC_SPI_BLOCKSATONCE; mmc_spi_probe()
|
H A D | mmci.c | 1674 mmc->max_blk_count = mmc->max_req_size >> 11; mmci_probe()
|
H A D | s3cmci.c | 1732 mmc->max_blk_count = 4095; s3cmci_probe()
|
H A D | sh_mmcif.c | 1428 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; sh_mmcif_probe()
|
H A D | usdhi6rol0.c | 1787 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; usdhi6_probe()
|
H A D | wbsd.c | 1260 mmc->max_blk_count = mmc->max_req_size; wbsd_alloc_mmc()
|
H A D | vub300.c | 2158 mmc->max_blk_count = 511; vub300_probe()
|
H A D | sdhci.c | 3402 mmc->max_blk_count = (host->quirks & SDHCI_QUIRK_NO_MULTIBLOCK) ? 1 : 65535; sdhci_add_host()
|
/linux-4.1.27/include/linux/mmc/ |
H A D | dw_mmc.h | 241 unsigned int max_blk_count; /* maximum number of blocks in one req*/ member in struct:block_settings
|
H A D | host.h | 309 unsigned int max_blk_count; /* maximum number of blocks in one req */ member in struct:mmc_host
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | host.c | 517 host->max_blk_count = PAGE_CACHE_SIZE / 512; mmc_alloc_host()
|
H A D | sdio_io.c | 314 max_blocks = min(func->card->host->max_blk_count, 511u); sdio_io_rw_ext_helper()
|
H A D | core.c | 233 BUG_ON(mrq->data->blocks > host->max_blk_count); mmc_start_request()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | bcmsdh.c | 1057 max_blocks = min_t(uint, host->max_blk_count, 511u); brcmf_sdiod_probe()
|