Lines Matching refs:sg_len
82 unsigned int sg_len; member
162 unsigned int *sg_len; member
210 struct mmc_request *mrq, struct scatterlist *sg, unsigned sg_len, in mmc_test_prepare_mrq() argument
242 mrq->data->sg_len = sg_len; in mmc_test_prepare_mrq()
411 unsigned int *sg_len, int min_sg_len) in mmc_test_map_sg() argument
421 *sg_len = 0; in mmc_test_map_sg()
440 *sg_len += 1; in mmc_test_map_sg()
464 unsigned int *sg_len) in mmc_test_map_sg_max_scatter() argument
473 *sg_len = 0; in mmc_test_map_sg_max_scatter()
495 *sg_len += 1; in mmc_test_map_sg_max_scatter()
602 test->area.sg_len); in mmc_test_print_avg_rate()
849 mmc_test_prepare_mrq(test, mrq, sg, t->sg_len, dev_addr, in mmc_test_nonblock_transfer()
874 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_simple_transfer() argument
886 mmc_test_prepare_mrq(test, &mrq, sg, sg_len, dev_addr, in mmc_test_simple_transfer()
931 struct scatterlist *sg, unsigned sg_len, unsigned dev_addr, in mmc_test_transfer() argument
944 sg_copy_from_buffer(sg, sg_len, test->scratch, BUFFER_SIZE); in mmc_test_transfer()
951 ret = mmc_test_simple_transfer(test, sg, sg_len, dev_addr, in mmc_test_transfer()
991 sg_copy_to_buffer(sg, sg_len, test->scratch, BUFFER_SIZE); in mmc_test_transfer()
1393 unsigned int sg_len = 0; in mmc_test_area_map() local
1400 &t->sg_len); in mmc_test_area_map()
1403 t->max_seg_sz, &t->sg_len, min_sg_len); in mmc_test_area_map()
1412 &sg_len); in mmc_test_area_map()
1415 t->max_seg_sz, &sg_len, min_sg_len); in mmc_test_area_map()
1417 if (!err && sg_len != t->sg_len) in mmc_test_area_map()
1435 return mmc_test_simple_transfer(test, t->sg, t->sg_len, dev_addr, in mmc_test_area_transfer()
2163 rw->sg_len[i]); in mmc_test_rw_multiple_sg_len()
2251 unsigned int sg_len[] = {1, 1 << 3, 1 << 4, 1 << 5, 1 << 6, in mmc_test_profile_sglen_wr_blocking_perf() local
2254 .sg_len = sg_len, in mmc_test_profile_sglen_wr_blocking_perf()
2256 .len = ARRAY_SIZE(sg_len), in mmc_test_profile_sglen_wr_blocking_perf()
2270 unsigned int sg_len[] = {1, 1 << 3, 1 << 4, 1 << 5, 1 << 6, in mmc_test_profile_sglen_wr_nonblock_perf() local
2273 .sg_len = sg_len, in mmc_test_profile_sglen_wr_nonblock_perf()
2275 .len = ARRAY_SIZE(sg_len), in mmc_test_profile_sglen_wr_nonblock_perf()
2289 unsigned int sg_len[] = {1, 1 << 3, 1 << 4, 1 << 5, 1 << 6, in mmc_test_profile_sglen_r_blocking_perf() local
2292 .sg_len = sg_len, in mmc_test_profile_sglen_r_blocking_perf()
2294 .len = ARRAY_SIZE(sg_len), in mmc_test_profile_sglen_r_blocking_perf()
2308 unsigned int sg_len[] = {1, 1 << 3, 1 << 4, 1 << 5, 1 << 6, in mmc_test_profile_sglen_r_nonblock_perf() local
2311 .sg_len = sg_len, in mmc_test_profile_sglen_r_nonblock_perf()
2313 .len = ARRAY_SIZE(sg_len), in mmc_test_profile_sglen_r_nonblock_perf()
2381 mmc_test_prepare_mrq(test, mrq, t->sg, t->sg_len, dev_addr, t->blocks, in mmc_test_ongoing_transfer()