Lines Matching defs:test
178 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize()
189 static void mmc_test_prepare_sbc(struct mmc_test_card *test, in mmc_test_prepare_sbc()
209 static void mmc_test_prepare_mrq(struct mmc_test_card *test, in mmc_test_prepare_mrq()
258 static int mmc_test_wait_busy(struct mmc_test_card *test) in mmc_test_wait_busy()
289 static int mmc_test_buffer_transfer(struct mmc_test_card *test, in mmc_test_buffer_transfer()
533 static void mmc_test_save_transfer_result(struct mmc_test_card *test, in mmc_test_save_transfer_result()
558 static void mmc_test_print_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_rate()
582 static void mmc_test_print_avg_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_avg_rate()
626 static int __mmc_test_prepare(struct mmc_test_card *test, int write, int val) in __mmc_test_prepare()
650 static int mmc_test_prepare_write(struct mmc_test_card *test) in mmc_test_prepare_write()
655 static int mmc_test_prepare_read(struct mmc_test_card *test) in mmc_test_prepare_read()
660 static int mmc_test_cleanup(struct mmc_test_card *test) in mmc_test_cleanup()
672 static void mmc_test_prepare_broken_mrq(struct mmc_test_card *test, in mmc_test_prepare_broken_mrq()
691 static int mmc_test_check_result(struct mmc_test_card *test, in mmc_test_check_result()
722 static int mmc_test_check_broken_result(struct mmc_test_card *test, in mmc_test_check_broken_result()
790 static int mmc_test_start_areq(struct mmc_test_card *test, in mmc_test_start_areq()
825 static int mmc_test_nonblock_transfer(struct mmc_test_card *test, in mmc_test_nonblock_transfer()
873 static int mmc_test_simple_transfer(struct mmc_test_card *test, in mmc_test_simple_transfer()
899 static int mmc_test_broken_transfer(struct mmc_test_card *test, in mmc_test_broken_transfer()
930 static int mmc_test_transfer(struct mmc_test_card *test, in mmc_test_transfer()
1009 static int mmc_test_basic_write(struct mmc_test_card *test) in mmc_test_basic_write()
1023 static int mmc_test_basic_read(struct mmc_test_card *test) in mmc_test_basic_read()
1037 static int mmc_test_verify_write(struct mmc_test_card *test) in mmc_test_verify_write()
1046 static int mmc_test_verify_read(struct mmc_test_card *test) in mmc_test_verify_read()
1055 static int mmc_test_multi_write(struct mmc_test_card *test) in mmc_test_multi_write()
1076 static int mmc_test_multi_read(struct mmc_test_card *test) in mmc_test_multi_read()
1097 static int mmc_test_pow2_write(struct mmc_test_card *test) in mmc_test_pow2_write()
1115 static int mmc_test_pow2_read(struct mmc_test_card *test) in mmc_test_pow2_read()
1133 static int mmc_test_weird_write(struct mmc_test_card *test) in mmc_test_weird_write()
1151 static int mmc_test_weird_read(struct mmc_test_card *test) in mmc_test_weird_read()
1169 static int mmc_test_align_write(struct mmc_test_card *test) in mmc_test_align_write()
1184 static int mmc_test_align_read(struct mmc_test_card *test) in mmc_test_align_read()
1199 static int mmc_test_align_multi_write(struct mmc_test_card *test) in mmc_test_align_multi_write()
1226 static int mmc_test_align_multi_read(struct mmc_test_card *test) in mmc_test_align_multi_read()
1253 static int mmc_test_xfersize_write(struct mmc_test_card *test) in mmc_test_xfersize_write()
1264 static int mmc_test_xfersize_read(struct mmc_test_card *test) in mmc_test_xfersize_read()
1275 static int mmc_test_multi_xfersize_write(struct mmc_test_card *test) in mmc_test_multi_xfersize_write()
1289 static int mmc_test_multi_xfersize_read(struct mmc_test_card *test) in mmc_test_multi_xfersize_read()
1305 static int mmc_test_write_high(struct mmc_test_card *test) in mmc_test_write_high()
1315 static int mmc_test_read_high(struct mmc_test_card *test) in mmc_test_read_high()
1325 static int mmc_test_multi_write_high(struct mmc_test_card *test) in mmc_test_multi_write_high()
1347 static int mmc_test_multi_read_high(struct mmc_test_card *test) in mmc_test_multi_read_high()
1371 static int mmc_test_no_highmem(struct mmc_test_card *test) in mmc_test_no_highmem()
1383 static int mmc_test_area_map(struct mmc_test_card *test, unsigned long sz, in mmc_test_area_map()
1425 static int mmc_test_area_transfer(struct mmc_test_card *test, in mmc_test_area_transfer()
1437 static int mmc_test_area_io_seq(struct mmc_test_card *test, unsigned long sz, in mmc_test_area_io_seq()
1488 static int mmc_test_area_io(struct mmc_test_card *test, unsigned long sz, in mmc_test_area_io()
1499 static int mmc_test_area_fill(struct mmc_test_card *test) in mmc_test_area_fill()
1509 static int mmc_test_area_erase(struct mmc_test_card *test) in mmc_test_area_erase()
1523 static int mmc_test_area_cleanup(struct mmc_test_card *test) in mmc_test_area_cleanup()
1541 static int mmc_test_area_init(struct mmc_test_card *test, int erase, int fill) in mmc_test_area_init()
1620 static int mmc_test_area_prepare(struct mmc_test_card *test) in mmc_test_area_prepare()
1628 static int mmc_test_area_prepare_erase(struct mmc_test_card *test) in mmc_test_area_prepare_erase()
1636 static int mmc_test_area_prepare_fill(struct mmc_test_card *test) in mmc_test_area_prepare_fill()
1649 static int mmc_test_best_performance(struct mmc_test_card *test, int write, in mmc_test_best_performance()
1661 static int mmc_test_best_read_performance(struct mmc_test_card *test) in mmc_test_best_read_performance()
1669 static int mmc_test_best_write_performance(struct mmc_test_card *test) in mmc_test_best_write_performance()
1677 static int mmc_test_best_read_perf_max_scatter(struct mmc_test_card *test) in mmc_test_best_read_perf_max_scatter()
1685 static int mmc_test_best_write_perf_max_scatter(struct mmc_test_card *test) in mmc_test_best_write_perf_max_scatter()
1693 static int mmc_test_profile_read_perf(struct mmc_test_card *test) in mmc_test_profile_read_perf()
1714 static int mmc_test_profile_write_perf(struct mmc_test_card *test) in mmc_test_profile_write_perf()
1741 static int mmc_test_profile_trim_perf(struct mmc_test_card *test) in mmc_test_profile_trim_perf()
1774 static int mmc_test_seq_read_perf(struct mmc_test_card *test, unsigned long sz) in mmc_test_seq_read_perf()
1798 static int mmc_test_profile_seq_read_perf(struct mmc_test_card *test) in mmc_test_profile_seq_read_perf()
1813 static int mmc_test_seq_write_perf(struct mmc_test_card *test, unsigned long sz) in mmc_test_seq_write_perf()
1840 static int mmc_test_profile_seq_write_perf(struct mmc_test_card *test) in mmc_test_profile_seq_write_perf()
1858 static int mmc_test_profile_seq_trim_perf(struct mmc_test_card *test) in mmc_test_profile_seq_trim_perf()
1906 static int mmc_test_rnd_perf(struct mmc_test_card *test, int write, int print, in mmc_test_rnd_perf()
1941 static int mmc_test_random_perf(struct mmc_test_card *test, int write) in mmc_test_random_perf()
1979 static int mmc_test_random_read_perf(struct mmc_test_card *test) in mmc_test_random_read_perf()
1987 static int mmc_test_random_write_perf(struct mmc_test_card *test) in mmc_test_random_write_perf()
1992 static int mmc_test_seq_perf(struct mmc_test_card *test, int write, in mmc_test_seq_perf()
2039 static int mmc_test_large_seq_perf(struct mmc_test_card *test, int write) in mmc_test_large_seq_perf()
2065 static int mmc_test_large_seq_read_perf(struct mmc_test_card *test) in mmc_test_large_seq_read_perf()
2073 static int mmc_test_large_seq_write_perf(struct mmc_test_card *test) in mmc_test_large_seq_write_perf()
2078 static int mmc_test_rw_multiple(struct mmc_test_card *test, in mmc_test_rw_multiple()
2128 static int mmc_test_rw_multiple_size(struct mmc_test_card *test, in mmc_test_rw_multiple_size()
2150 static int mmc_test_rw_multiple_sg_len(struct mmc_test_card *test, in mmc_test_rw_multiple_sg_len()
2168 static int mmc_test_profile_mult_write_blocking_perf(struct mmc_test_card *test) in mmc_test_profile_mult_write_blocking_perf()
2187 static int mmc_test_profile_mult_write_nonblock_perf(struct mmc_test_card *test) in mmc_test_profile_mult_write_nonblock_perf()
2206 static int mmc_test_profile_mult_read_blocking_perf(struct mmc_test_card *test) in mmc_test_profile_mult_read_blocking_perf()
2225 static int mmc_test_profile_mult_read_nonblock_perf(struct mmc_test_card *test) in mmc_test_profile_mult_read_nonblock_perf()
2244 static int mmc_test_profile_sglen_wr_blocking_perf(struct mmc_test_card *test) in mmc_test_profile_sglen_wr_blocking_perf()
2263 static int mmc_test_profile_sglen_wr_nonblock_perf(struct mmc_test_card *test) in mmc_test_profile_sglen_wr_nonblock_perf()
2282 static int mmc_test_profile_sglen_r_blocking_perf(struct mmc_test_card *test) in mmc_test_profile_sglen_r_blocking_perf()
2301 static int mmc_test_profile_sglen_r_nonblock_perf(struct mmc_test_card *test) in mmc_test_profile_sglen_r_nonblock_perf()
2320 static int mmc_test_reset(struct mmc_test_card *test) in mmc_test_reset()
2341 static int mmc_test_send_status(struct mmc_test_card *test, in mmc_test_send_status()
2354 static int mmc_test_ongoing_transfer(struct mmc_test_card *test, in mmc_test_ongoing_transfer()
2468 static int __mmc_test_cmds_during_tfr(struct mmc_test_card *test, in __mmc_test_cmds_during_tfr()
2491 static int mmc_test_cmds_during_tfr(struct mmc_test_card *test, int use_sbc, in mmc_test_cmds_during_tfr()
2510 static int mmc_test_cmds_during_read(struct mmc_test_card *test) in mmc_test_cmds_during_read()
2518 static int mmc_test_cmds_during_write(struct mmc_test_card *test) in mmc_test_cmds_during_write()
2526 static int mmc_test_cmds_during_read_cmd23(struct mmc_test_card *test) in mmc_test_cmds_during_read_cmd23()
2534 static int mmc_test_cmds_during_write_cmd23(struct mmc_test_card *test) in mmc_test_cmds_during_write_cmd23()
2542 static int mmc_test_cmds_during_read_cmd23_nonblock(struct mmc_test_card *test) in mmc_test_cmds_during_read_cmd23_nonblock()
2550 static int mmc_test_cmds_during_write_cmd23_nonblock(struct mmc_test_card *test) in mmc_test_cmds_during_write_cmd23_nonblock()
2930 static void mmc_test_run(struct mmc_test_card *test, int testcase) in mmc_test_run()
3084 struct mmc_test_card *test; in mtf_test_write() local