Lines Matching refs:block_addr
63 int block_addr = 0; in ZTEST() local
67 ret = sdmmc_read_blocks(&card, buf, block_addr, 1); in ZTEST()
70 ret = sdmmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
74 block_addr = sector_count / 2; in ZTEST()
76 ret = sdmmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
80 block_addr = sector_count; in ZTEST()
81 ret = sdmmc_read_blocks(&card, buf, block_addr, 1); in ZTEST()
84 block_addr = sector_count - 2; in ZTEST()
85 ret = sdmmc_read_blocks(&card, buf, block_addr, 2); in ZTEST()
89 block_addr = 3; in ZTEST()
91 block_addr, SECTOR_COUNT - 1); in ZTEST()
99 int block_addr = 0; in ZTEST() local
103 ret = sdmmc_write_blocks(&card, buf, block_addr, 1); in ZTEST()
106 ret = sdmmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
110 block_addr = sector_count / 2; in ZTEST()
112 ret = sdmmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
116 block_addr = sector_count; in ZTEST()
117 ret = sdmmc_write_blocks(&card, buf, block_addr, 1); in ZTEST()
120 block_addr = sector_count - 2; in ZTEST()
121 ret = sdmmc_write_blocks(&card, buf, block_addr, 2); in ZTEST()
125 block_addr = 3; in ZTEST()
127 block_addr, SECTOR_COUNT - 1); in ZTEST()
135 int block_addr = 0; in ZTEST() local
140 ret = sdmmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
143 ret = sdmmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT / 2); in ZTEST()
153 ret = sdmmc_write_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
157 ret = sdmmc_read_blocks(&card, buf, block_addr, SECTOR_COUNT); in ZTEST()
162 block_addr = (sector_count / 3); in ZTEST()
166 block_addr, SECTOR_COUNT - 1); in ZTEST()
172 block_addr, (SECTOR_COUNT - 1)); in ZTEST()