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

/linux-4.1.27/drivers/mmc/card/
H A Dmmc_test.c1056 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 Dqueue.c227 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 Dblock.c1398 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 Dscm.c133 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 Dmvsdio.c741 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 Dwmt-sdmmc.c802 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 Dtifm_sd.c979 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 Dvia-sdmmc.c489 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 Dandroid-goldfish.c508 mmc->max_blk_count = 2048; /* MMC_BLOCK_COUNT is 11 bits (+1) */ goldfish_mmc_probe()
H A Dbfin_sdh.c555 mmc->max_blk_count = 1 << 11; sdh_probe()
H A Dushc.c461 mmc->max_blk_count = 511; ushc_probe()
H A Ddavinci_mmc.c1340 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 Djz4740_mmc.c1051 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 Dmxcmmc.c1054 mmc->max_blk_count = 65535; mxcmci_probe()
1055 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; mxcmci_probe()
H A Domap.c1260 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 Dtmio_mmc_pio.c1122 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 Ddw_mmc.c2434 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 Dmxs-mmc.c658 mmc->max_blk_count = (ssp_is_old(ssp)) ? 0xff : 0xffffff; mxs_mmc_probe()
H A Dpxamci.c670 mmc->max_blk_count = 65535; pxamci_probe()
H A Datmel-mci.c2194 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 Domap_hsmmc.c2033 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 Dau1xmmc.c998 mmc->max_blk_count = 512; au1xmmc_probe()
H A Drtsx_pci_sdmmc.c1374 mmc->max_blk_count = 65535; realtek_init_host()
H A Drtsx_usb_sdmmc.c1347 mmc->max_blk_count = 65535; rtsx_usb_init_host()
H A Dsunxi-mmc.c1025 mmc->max_blk_count = 8192; sunxi_mmc_probe()
H A Dmmc_spi.c1346 mmc->max_blk_count = MMC_SPI_BLOCKSATONCE; mmc_spi_probe()
H A Dmmci.c1674 mmc->max_blk_count = mmc->max_req_size >> 11; mmci_probe()
H A Ds3cmci.c1732 mmc->max_blk_count = 4095; s3cmci_probe()
H A Dsh_mmcif.c1428 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; sh_mmcif_probe()
H A Dusdhi6rol0.c1787 mmc->max_blk_count = mmc->max_req_size / mmc->max_blk_size; usdhi6_probe()
H A Dwbsd.c1260 mmc->max_blk_count = mmc->max_req_size; wbsd_alloc_mmc()
H A Dvub300.c2158 mmc->max_blk_count = 511; vub300_probe()
H A Dsdhci.c3402 mmc->max_blk_count = (host->quirks & SDHCI_QUIRK_NO_MULTIBLOCK) ? 1 : 65535; sdhci_add_host()
/linux-4.1.27/include/linux/mmc/
H A Ddw_mmc.h241 unsigned int max_blk_count; /* maximum number of blocks in one req*/ member in struct:block_settings
H A Dhost.h309 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 Dhost.c517 host->max_blk_count = PAGE_CACHE_SIZE / 512; mmc_alloc_host()
H A Dsdio_io.c314 max_blocks = min(func->card->host->max_blk_count, 511u); sdio_io_rw_ext_helper()
H A Dcore.c233 BUG_ON(mrq->data->blocks > host->max_blk_count); mmc_start_request()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dbcmsdh.c1057 max_blocks = min_t(uint, host->max_blk_count, 511u); brcmf_sdiod_probe()

Completed in 429 milliseconds