Searched refs:max_blk_count (Results 1 – 25 of 34) sorted by relevance
12
1054 if (test->card->host->max_blk_count == 1) in mmc_test_multi_write()1060 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_multi_write()1080 if (test->card->host->max_blk_count == 1) in mmc_test_multi_read()1086 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_multi_read()1208 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_write()1214 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_align_multi_write()1235 if (test->card->host->max_blk_count == 1) in mmc_test_align_multi_read()1241 size = min(size, test->card->host->max_blk_count * 512); in mmc_test_align_multi_read()1290 if (test->card->host->max_blk_count == 1) in mmc_test_multi_xfersize_write()1308 if (test->card->host->max_blk_count == 1) in mmc_test_multi_xfersize_read()[all …]
199 if (bouncesz > (host->max_blk_count * 512)) in mmc_init_queue()200 bouncesz = host->max_blk_count * 512; in mmc_init_queue()249 min(host->max_blk_count, host->max_req_size / 512)); in mmc_init_queue()
1178 if (brq->data.blocks > card->host->max_blk_count) in mmc_blk_rw_rq_prep()1179 brq->data.blocks = card->host->max_blk_count; in mmc_blk_rw_rq_prep()
210 unsigned int max_blk_count; /* maximum number of blocks in one req*/ member
266 unsigned int max_blk_count; /* maximum number of blocks in one req */ member
745 mmc->max_blk_count = 65535; in mvsd_probe()748 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()749 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()
1801 mmc->max_blk_count = host->pdata->blk_settings->max_blk_count; in dw_mci_init_slot()1809 mmc->max_blk_count = host->ring_size; in dw_mci_init_slot()1811 mmc->max_req_size = mmc->max_seg_size * mmc->max_blk_count; in dw_mci_init_slot()1815 mmc->max_blk_count = 512; in dw_mci_init_slot()1816 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in dw_mci_init_slot()
979 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()
489 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()
877 mmc->max_blk_count = (1 << 15) - 1; in jz4740_mmc_probe()878 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
911 mmc->max_blk_count = (PAGE_CACHE_SIZE / mmc->max_blk_size) * in tmio_mmc_host_probe()913 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in tmio_mmc_host_probe()
877 mmc->max_blk_count = 65535; in mxcmci_probe()878 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
461 mmc->max_blk_count = 511; in ushc_probe()
475 mmc->max_blk_count = 1 << 11; in sdh_probe()
1369 mmc->max_blk_count = 65535; /* NBLK is 16 bits */ in davinci_mmcsd_probe()1370 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1342 mmc->max_blk_count = 2048; /* NBLK is 11 bits (+1) */ in mmc_omap_new_slot()1343 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mmc_omap_new_slot()
760 mmc->max_blk_count = (ssp_is_old()) ? 0xff : 0xffffff; in mxs_mmc_probe()
619 mmc->max_blk_count = 65535; in pxamci_probe()
1910 mmc->max_blk_count = 0xFFFF; /* No. of Blocks is 16 bits */ in omap_hsmmc_probe()1911 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in omap_hsmmc_probe()
957 mmc->max_blk_count = MCI_BLKATONCE; in at91_mci_probe()
1372 mmc->max_blk_count = MMC_SPI_BLOCKSATONCE; in mmc_spi_probe()
973 mmc->max_blk_count = 65535; in imxmci_probe()
998 mmc->max_blk_count = 512; in au1xmmc_probe()
346 host->max_blk_count = PAGE_CACHE_SIZE / 512; in mmc_alloc_host()
316 max_blocks = min(func->card->host->max_blk_count, in sdio_io_rw_ext_helper()