Lines Matching refs:tmp_buf
313 void *tmp_buf; in mmc_read_and_flush() local
334 tmp_buf = get_sector_buf(); in mmc_read_and_flush()
339 tmp_buf = buffer; in mmc_read_and_flush()
343 start, sectors, tmp_buf); in mmc_read_and_flush()
345 flush_cache((ulong)tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush()
348 memcpy(buffer, tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush()
356 void *tmp_buf; in mmc_write() local
370 tmp_buf = get_sector_buf(); in mmc_write()
377 memcpy(tmp_buf, buffer, sectors * part->info.blksz); in mmc_write()
379 tmp_buf = buffer; in mmc_write()
383 start, sectors, tmp_buf); in mmc_write()
453 u8 *tmp_buf; in mmc_byte_io() local
473 tmp_buf = get_sector_buf(); in mmc_byte_io()
487 1, tmp_buf); in mmc_byte_io()
498 tmp_buf += (start_offset % part->info.blksz); in mmc_byte_io()
499 memcpy(buffer, (void *)tmp_buf, residue); in mmc_byte_io()
504 1, tmp_buf); in mmc_byte_io()
511 memcpy((void *)tmp_buf + in mmc_byte_io()
516 start_sector, 1, tmp_buf); in mmc_byte_io()