Lines Matching refs:tmp_buf
262 void *tmp_buf; in mmc_read_and_flush() local
283 tmp_buf = get_sector_buf(); in mmc_read_and_flush()
288 tmp_buf = buffer; in mmc_read_and_flush()
292 start, sectors, tmp_buf); in mmc_read_and_flush()
294 flush_cache((ulong)tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush()
297 memcpy(buffer, tmp_buf, sectors * part->info.blksz); in mmc_read_and_flush()
305 void *tmp_buf; in mmc_write() local
319 tmp_buf = get_sector_buf(); in mmc_write()
325 memcpy(tmp_buf, buffer, sectors * part->info.blksz); in mmc_write()
327 tmp_buf = buffer; in mmc_write()
331 start, sectors, tmp_buf); in mmc_write()
391 u8 *tmp_buf; in mmc_byte_io() local
408 tmp_buf = get_sector_buf(); in mmc_byte_io()
422 1, tmp_buf); in mmc_byte_io()
433 tmp_buf += (start_offset % part->info.blksz); in mmc_byte_io()
434 memcpy(buffer, (void *)tmp_buf, residue); in mmc_byte_io()
439 1, tmp_buf); in mmc_byte_io()
446 memcpy((void *)tmp_buf + in mmc_byte_io()
451 start_sector, 1, tmp_buf); in mmc_byte_io()