Lines Matching refs:assert
38 assert(ret == 0); in emmc_device_state()
39 assert((cmd.resp_data[0] & STATUS_SWITCH_ERROR) == 0); in emmc_device_state()
56 assert(ret == 0); in emmc_set_ext_csd()
74 assert(ret == 0); in emmc_set_ios()
90 assert(ret == 0); in emmc_enumerate()
100 assert(ret == 0); in emmc_enumerate()
111 assert(ret == 0); in emmc_enumerate()
119 assert(ret == 0); in emmc_enumerate()
127 assert(ret == 0); in emmc_enumerate()
136 assert(ret == 0); in emmc_enumerate()
151 assert((ops != 0) && in emmc_read_blocks()
158 assert(ret == 0); in emmc_read_blocks()
167 assert(ret == 0); in emmc_read_blocks()
183 assert(ret == 0); in emmc_read_blocks()
186 assert(ret == 0); in emmc_read_blocks()
196 assert(ret == 0); in emmc_read_blocks()
209 assert((ops != 0) && in emmc_write_blocks()
216 assert(ret == 0); in emmc_write_blocks()
225 assert(ret == 0); in emmc_write_blocks()
242 assert(ret == 0); in emmc_write_blocks()
245 assert(ret == 0); in emmc_write_blocks()
255 assert(ret == 0); in emmc_write_blocks()
268 assert(ops != 0); in emmc_erase_blocks()
269 assert((size != 0) && ((size % EMMC_BLOCK_SIZE) == 0)); in emmc_erase_blocks()
276 assert(ret == 0); in emmc_erase_blocks()
283 assert(ret == 0); in emmc_erase_blocks()
289 assert(ret == 0); in emmc_erase_blocks()
346 assert((ops_ptr != 0) && in emmc_init()