Lines Matching refs:blksz

211 	unsigned dev_addr, unsigned blocks, unsigned blksz, int write)  in mmc_test_prepare_mrq()  argument
238 mrq->data->blksz = blksz; in mmc_test_prepare_mrq()
290 u8 *buffer, unsigned addr, unsigned blksz, int write) in mmc_test_buffer_transfer() argument
303 sg_init_one(&sg, buffer, blksz); in mmc_test_buffer_transfer()
305 mmc_test_prepare_mrq(test, &mrq, &sg, 1, addr, 1, blksz, write); in mmc_test_buffer_transfer()
710 mrq->data->blocks * mrq->data->blksz) in mmc_test_check_result()
741 if (!ret && mrq->data->bytes_xfered > mrq->data->blksz) in mmc_test_check_broken_result()
875 unsigned blocks, unsigned blksz, int write) in mmc_test_simple_transfer() argument
887 blocks, blksz, write); in mmc_test_simple_transfer()
900 unsigned blocks, unsigned blksz, int write) in mmc_test_broken_transfer() argument
913 sg_init_one(&sg, test->buffer, blocks * blksz); in mmc_test_broken_transfer()
915 mmc_test_prepare_mrq(test, &mrq, &sg, 1, 0, blocks, blksz, write); in mmc_test_broken_transfer()
932 unsigned blocks, unsigned blksz, int write) in mmc_test_transfer() argument
938 for (i = 0; i < blocks * blksz; i++) in mmc_test_transfer()
947 ret = mmc_test_set_blksize(test, blksz); in mmc_test_transfer()
952 blocks, blksz, write); in mmc_test_transfer()
963 sectors = (blocks * blksz + 511) / 512; in mmc_test_transfer()
964 if ((sectors * 512) == (blocks * blksz)) in mmc_test_transfer()
980 for (i = 0; i < blocks * blksz; i++) { in mmc_test_transfer()
993 for (i = 0; i < blocks * blksz; i++) { in mmc_test_transfer()