Lines Matching refs:max_tfr

78 	unsigned int max_tfr;  member
1405 unsigned long max_tfr; in mmc_test_area_io_seq() local
1408 max_tfr = t->max_segs * PAGE_SIZE; in mmc_test_area_io_seq()
1410 max_tfr = t->max_segs * t->max_seg_sz; in mmc_test_area_io_seq()
1411 if (sz > max_tfr) in mmc_test_area_io_seq()
1412 sz = max_tfr; in mmc_test_area_io_seq()
1457 return mmc_test_area_io(test, t->max_tfr, t->dev_addr, 1, 0, 0); in mmc_test_area_fill()
1516 t->max_tfr = t->max_sz; in mmc_test_area_init()
1517 if (t->max_tfr >> 9 > test->card->host->max_blk_count) in mmc_test_area_init()
1518 t->max_tfr = test->card->host->max_blk_count << 9; in mmc_test_area_init()
1519 if (t->max_tfr > test->card->host->max_req_size) in mmc_test_area_init()
1520 t->max_tfr = test->card->host->max_req_size; in mmc_test_area_init()
1521 if (t->max_tfr / t->max_seg_sz > t->max_segs) in mmc_test_area_init()
1522 t->max_tfr = t->max_segs * t->max_seg_sz; in mmc_test_area_init()
1530 t->mem = mmc_test_alloc_mem(min_sz, t->max_tfr, t->max_segs, in mmc_test_area_init()
1600 return mmc_test_area_io(test, t->max_tfr, t->dev_addr, write, in mmc_test_best_performance()
1646 for (sz = 512; sz < t->max_tfr; sz <<= 1) { in mmc_test_profile_read_perf()
1652 sz = t->max_tfr; in mmc_test_profile_read_perf()
1670 for (sz = 512; sz < t->max_tfr; sz <<= 1) { in mmc_test_profile_write_perf()
1679 sz = t->max_tfr; in mmc_test_profile_write_perf()
1750 for (sz = 512; sz < t->max_tfr; sz <<= 1) { in mmc_test_profile_seq_read_perf()
1755 sz = t->max_tfr; in mmc_test_profile_seq_read_perf()
1792 for (sz = 512; sz < t->max_tfr; sz <<= 1) { in mmc_test_profile_seq_write_perf()
1797 sz = t->max_tfr; in mmc_test_profile_seq_write_perf()
1894 for (sz = 512; sz < t->max_tfr; sz <<= 1) { in mmc_test_random_perf()
1911 sz = t->max_tfr; in mmc_test_random_perf()
1946 sz = t->max_tfr; in mmc_test_seq_perf()
1953 unsigned long max_tfr; in mmc_test_seq_perf() local
1956 max_tfr = t->max_segs * PAGE_SIZE; in mmc_test_seq_perf()
1958 max_tfr = t->max_segs * t->max_seg_sz; in mmc_test_seq_perf()
1959 if (sz > max_tfr) in mmc_test_seq_perf()
1960 sz = max_tfr; in mmc_test_seq_perf()
2036 if (reqsize > t->max_tfr) in mmc_test_rw_multiple()
2037 reqsize = t->max_tfr; in mmc_test_rw_multiple()