Lines Matching refs:tmp_buf
265 void *tmp_buf; in mmc_read_and_flush() local
286 tmp_buf = get_sector_buf(); in mmc_read_and_flush()
291 tmp_buf = buffer; in mmc_read_and_flush()
295 start, sectors, tmp_buf); in mmc_read_and_flush()
297 flush_cache((ulong)tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush()
300 memcpy(buffer, tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush()
308 void *tmp_buf; in mmc_write() local
322 tmp_buf = get_sector_buf(); in mmc_write()
328 memcpy(tmp_buf, buffer, sectors * part->info.blksz); in mmc_write()
330 tmp_buf = buffer; in mmc_write()
334 start, sectors, tmp_buf); in mmc_write()
397 u8 *tmp_buf; in mmc_byte_io() local
417 tmp_buf = get_sector_buf(); in mmc_byte_io()
431 1, tmp_buf); in mmc_byte_io()
442 tmp_buf += (start_offset % part->info.blksz); in mmc_byte_io()
443 memcpy(buffer, (void *)tmp_buf, residue); in mmc_byte_io()
448 1, tmp_buf); in mmc_byte_io()
455 memcpy((void *)tmp_buf + in mmc_byte_io()
460 start_sector, 1, tmp_buf); in mmc_byte_io()