Lines Matching defs:test
179 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize()
190 static void mmc_test_prepare_sbc(struct mmc_test_card *test, in mmc_test_prepare_sbc()
210 static void mmc_test_prepare_mrq(struct mmc_test_card *test, in mmc_test_prepare_mrq()
259 static int mmc_test_wait_busy(struct mmc_test_card *test) in mmc_test_wait_busy()
290 static int mmc_test_buffer_transfer(struct mmc_test_card *test, in mmc_test_buffer_transfer()
534 static void mmc_test_save_transfer_result(struct mmc_test_card *test, in mmc_test_save_transfer_result()
559 static void mmc_test_print_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_rate()
583 static void mmc_test_print_avg_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_avg_rate()
627 static int __mmc_test_prepare(struct mmc_test_card *test, int write, int val) in __mmc_test_prepare()
651 static int mmc_test_prepare_write(struct mmc_test_card *test) in mmc_test_prepare_write()
656 static int mmc_test_prepare_read(struct mmc_test_card *test) in mmc_test_prepare_read()
661 static int mmc_test_cleanup(struct mmc_test_card *test) in mmc_test_cleanup()
673 static void mmc_test_prepare_broken_mrq(struct mmc_test_card *test, in mmc_test_prepare_broken_mrq()
692 static int mmc_test_check_result(struct mmc_test_card *test, in mmc_test_check_result()
723 static int mmc_test_check_broken_result(struct mmc_test_card *test, in mmc_test_check_broken_result()
791 static int mmc_test_start_areq(struct mmc_test_card *test, in mmc_test_start_areq()
826 static int mmc_test_nonblock_transfer(struct mmc_test_card *test, in mmc_test_nonblock_transfer()
874 static int mmc_test_simple_transfer(struct mmc_test_card *test, in mmc_test_simple_transfer()
900 static int mmc_test_broken_transfer(struct mmc_test_card *test, in mmc_test_broken_transfer()
931 static int mmc_test_transfer(struct mmc_test_card *test, in mmc_test_transfer()
1015 static int mmc_test_basic_write(struct mmc_test_card *test) in mmc_test_basic_write()
1029 static int mmc_test_basic_read(struct mmc_test_card *test) in mmc_test_basic_read()
1043 static int mmc_test_verify_write(struct mmc_test_card *test) in mmc_test_verify_write()
1052 static int mmc_test_verify_read(struct mmc_test_card *test) in mmc_test_verify_read()
1061 static int mmc_test_multi_write(struct mmc_test_card *test) in mmc_test_multi_write()
1082 static int mmc_test_multi_read(struct mmc_test_card *test) in mmc_test_multi_read()
1103 static int mmc_test_pow2_write(struct mmc_test_card *test) in mmc_test_pow2_write()
1121 static int mmc_test_pow2_read(struct mmc_test_card *test) in mmc_test_pow2_read()
1139 static int mmc_test_weird_write(struct mmc_test_card *test) in mmc_test_weird_write()
1157 static int mmc_test_weird_read(struct mmc_test_card *test) in mmc_test_weird_read()
1175 static int mmc_test_align_write(struct mmc_test_card *test) in mmc_test_align_write()
1190 static int mmc_test_align_read(struct mmc_test_card *test) in mmc_test_align_read()
1205 static int mmc_test_align_multi_write(struct mmc_test_card *test) in mmc_test_align_multi_write()
1232 static int mmc_test_align_multi_read(struct mmc_test_card *test) in mmc_test_align_multi_read()
1259 static int mmc_test_xfersize_write(struct mmc_test_card *test) in mmc_test_xfersize_write()
1270 static int mmc_test_xfersize_read(struct mmc_test_card *test) in mmc_test_xfersize_read()
1281 static int mmc_test_multi_xfersize_write(struct mmc_test_card *test) in mmc_test_multi_xfersize_write()
1295 static int mmc_test_multi_xfersize_read(struct mmc_test_card *test) in mmc_test_multi_xfersize_read()
1311 static int mmc_test_write_high(struct mmc_test_card *test) in mmc_test_write_high()
1321 static int mmc_test_read_high(struct mmc_test_card *test) in mmc_test_read_high()
1331 static int mmc_test_multi_write_high(struct mmc_test_card *test) in mmc_test_multi_write_high()
1353 static int mmc_test_multi_read_high(struct mmc_test_card *test) in mmc_test_multi_read_high()
1377 static int mmc_test_no_highmem(struct mmc_test_card *test) in mmc_test_no_highmem()
1389 static int mmc_test_area_map(struct mmc_test_card *test, unsigned long sz, in mmc_test_area_map()
1431 static int mmc_test_area_transfer(struct mmc_test_card *test, in mmc_test_area_transfer()
1443 static int mmc_test_area_io_seq(struct mmc_test_card *test, unsigned long sz, in mmc_test_area_io_seq()
1494 static int mmc_test_area_io(struct mmc_test_card *test, unsigned long sz, in mmc_test_area_io()
1505 static int mmc_test_area_fill(struct mmc_test_card *test) in mmc_test_area_fill()
1515 static int mmc_test_area_erase(struct mmc_test_card *test) in mmc_test_area_erase()
1529 static int mmc_test_area_cleanup(struct mmc_test_card *test) in mmc_test_area_cleanup()
1547 static int mmc_test_area_init(struct mmc_test_card *test, int erase, int fill) in mmc_test_area_init()
1626 static int mmc_test_area_prepare(struct mmc_test_card *test) in mmc_test_area_prepare()
1634 static int mmc_test_area_prepare_erase(struct mmc_test_card *test) in mmc_test_area_prepare_erase()
1642 static int mmc_test_area_prepare_fill(struct mmc_test_card *test) in mmc_test_area_prepare_fill()
1655 static int mmc_test_best_performance(struct mmc_test_card *test, int write, in mmc_test_best_performance()
1667 static int mmc_test_best_read_performance(struct mmc_test_card *test) in mmc_test_best_read_performance()
1675 static int mmc_test_best_write_performance(struct mmc_test_card *test) in mmc_test_best_write_performance()
1683 static int mmc_test_best_read_perf_max_scatter(struct mmc_test_card *test) in mmc_test_best_read_perf_max_scatter()
1691 static int mmc_test_best_write_perf_max_scatter(struct mmc_test_card *test) in mmc_test_best_write_perf_max_scatter()
1699 static int mmc_test_profile_read_perf(struct mmc_test_card *test) in mmc_test_profile_read_perf()
1720 static int mmc_test_profile_write_perf(struct mmc_test_card *test) in mmc_test_profile_write_perf()
1747 static int mmc_test_profile_trim_perf(struct mmc_test_card *test) in mmc_test_profile_trim_perf()
1780 static int mmc_test_seq_read_perf(struct mmc_test_card *test, unsigned long sz) in mmc_test_seq_read_perf()
1804 static int mmc_test_profile_seq_read_perf(struct mmc_test_card *test) in mmc_test_profile_seq_read_perf()
1819 static int mmc_test_seq_write_perf(struct mmc_test_card *test, unsigned long sz) in mmc_test_seq_write_perf()
1846 static int mmc_test_profile_seq_write_perf(struct mmc_test_card *test) in mmc_test_profile_seq_write_perf()
1864 static int mmc_test_profile_seq_trim_perf(struct mmc_test_card *test) in mmc_test_profile_seq_trim_perf()
1912 static int mmc_test_rnd_perf(struct mmc_test_card *test, int write, int print, in mmc_test_rnd_perf()
1947 static int mmc_test_random_perf(struct mmc_test_card *test, int write) in mmc_test_random_perf()
1985 static int mmc_test_random_read_perf(struct mmc_test_card *test) in mmc_test_random_read_perf()
1993 static int mmc_test_random_write_perf(struct mmc_test_card *test) in mmc_test_random_write_perf()
1998 static int mmc_test_seq_perf(struct mmc_test_card *test, int write, in mmc_test_seq_perf()
2045 static int mmc_test_large_seq_perf(struct mmc_test_card *test, int write) in mmc_test_large_seq_perf()
2071 static int mmc_test_large_seq_read_perf(struct mmc_test_card *test) in mmc_test_large_seq_read_perf()
2079 static int mmc_test_large_seq_write_perf(struct mmc_test_card *test) in mmc_test_large_seq_write_perf()
2084 static int mmc_test_rw_multiple(struct mmc_test_card *test, in mmc_test_rw_multiple()
2134 static int mmc_test_rw_multiple_size(struct mmc_test_card *test, in mmc_test_rw_multiple_size()
2156 static int mmc_test_rw_multiple_sg_len(struct mmc_test_card *test, in mmc_test_rw_multiple_sg_len()
2174 static int mmc_test_profile_mult_write_blocking_perf(struct mmc_test_card *test) in mmc_test_profile_mult_write_blocking_perf()
2193 static int mmc_test_profile_mult_write_nonblock_perf(struct mmc_test_card *test) in mmc_test_profile_mult_write_nonblock_perf()
2212 static int mmc_test_profile_mult_read_blocking_perf(struct mmc_test_card *test) in mmc_test_profile_mult_read_blocking_perf()
2231 static int mmc_test_profile_mult_read_nonblock_perf(struct mmc_test_card *test) in mmc_test_profile_mult_read_nonblock_perf()
2250 static int mmc_test_profile_sglen_wr_blocking_perf(struct mmc_test_card *test) in mmc_test_profile_sglen_wr_blocking_perf()
2269 static int mmc_test_profile_sglen_wr_nonblock_perf(struct mmc_test_card *test) in mmc_test_profile_sglen_wr_nonblock_perf()
2288 static int mmc_test_profile_sglen_r_blocking_perf(struct mmc_test_card *test) in mmc_test_profile_sglen_r_blocking_perf()
2307 static int mmc_test_profile_sglen_r_nonblock_perf(struct mmc_test_card *test) in mmc_test_profile_sglen_r_nonblock_perf()
2326 static int mmc_test_reset(struct mmc_test_card *test) in mmc_test_reset()
2348 static int mmc_test_send_status(struct mmc_test_card *test, in mmc_test_send_status()
2361 static int mmc_test_ongoing_transfer(struct mmc_test_card *test, in mmc_test_ongoing_transfer()
2475 static int __mmc_test_cmds_during_tfr(struct mmc_test_card *test, in __mmc_test_cmds_during_tfr()
2498 static int mmc_test_cmds_during_tfr(struct mmc_test_card *test, int use_sbc, in mmc_test_cmds_during_tfr()
2517 static int mmc_test_cmds_during_read(struct mmc_test_card *test) in mmc_test_cmds_during_read()
2525 static int mmc_test_cmds_during_write(struct mmc_test_card *test) in mmc_test_cmds_during_write()
2533 static int mmc_test_cmds_during_read_cmd23(struct mmc_test_card *test) in mmc_test_cmds_during_read_cmd23()
2541 static int mmc_test_cmds_during_write_cmd23(struct mmc_test_card *test) in mmc_test_cmds_during_write_cmd23()
2549 static int mmc_test_cmds_during_read_cmd23_nonblock(struct mmc_test_card *test) in mmc_test_cmds_during_read_cmd23_nonblock()
2557 static int mmc_test_cmds_during_write_cmd23_nonblock(struct mmc_test_card *test) in mmc_test_cmds_during_write_cmd23_nonblock()
2937 static void mmc_test_run(struct mmc_test_card *test, int testcase) in mmc_test_run()
3091 struct mmc_test_card *test; local