Lines Matching refs:block_addr

58 	int block_addr = 0;  in ZTEST()  local
62 ret = mmc_read_blocks(&card, buf, block_addr, 1); in ZTEST()
65 ret = mmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
69 block_addr = sector_count / 2; in ZTEST()
71 ret = mmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
75 block_addr = sector_count; in ZTEST()
76 ret = mmc_read_blocks(&card, buf, block_addr, 1); in ZTEST()
79 block_addr = sector_count - 2; in ZTEST()
80 ret = mmc_read_blocks(&card, buf, block_addr, 2); in ZTEST()
84 block_addr = 3; in ZTEST()
85 ret = mmc_read_blocks(&card, buf + MMC_UNALIGN_OFFSET, block_addr, SECTOR_COUNT - 1); in ZTEST()
93 int block_addr = 0; in ZTEST() local
97 ret = mmc_write_blocks(&card, buf, block_addr, 1); in ZTEST()
100 ret = mmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
104 block_addr = sector_count / 2; in ZTEST()
106 ret = mmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
110 block_addr = sector_count; in ZTEST()
111 ret = mmc_write_blocks(&card, buf, block_addr, 1); in ZTEST()
114 block_addr = sector_count - 2; in ZTEST()
115 ret = mmc_write_blocks(&card, buf, block_addr, 2); in ZTEST()
119 block_addr = 3; in ZTEST()
120 ret = mmc_write_blocks(&card, buf + MMC_UNALIGN_OFFSET, block_addr, SECTOR_COUNT - 1); in ZTEST()
128 int block_addr = 0; in ZTEST() local
133 ret = mmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
136 ret = mmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
145 ret = mmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
149 ret = mmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
153 block_addr = (sector_count / 3); in ZTEST()
156 ret = mmc_write_blocks(&card, buf + MMC_UNALIGN_OFFSET, block_addr, in ZTEST()
161 ret = mmc_read_blocks(&card, check_buf + MMC_UNALIGN_OFFSET, block_addr, in ZTEST()