Lines Matching refs:tmp_buf
696 void *tmp_buf = denali->buf; in denali_read_page_raw() local
701 ret = denali_data_xfer(denali, tmp_buf, size, page, 1, 0); in denali_read_page_raw()
716 memcpy(buf, tmp_buf + pos, len); in denali_read_page_raw()
720 memcpy(buf, tmp_buf + writesize + oob_skip, in denali_read_page_raw()
731 memcpy(oob, tmp_buf + writesize, oob_skip); in denali_read_page_raw()
744 memcpy(oob, tmp_buf + pos, len); in denali_read_page_raw()
748 memcpy(oob, tmp_buf + writesize + oob_skip, in denali_read_page_raw()
756 memcpy(oob, tmp_buf + size - len, len); in denali_read_page_raw()
827 void *tmp_buf = denali->buf; in denali_write_page_raw() local
837 memset(tmp_buf, 0xff, size); in denali_write_page_raw()
850 memcpy(tmp_buf + pos, buf, len); in denali_write_page_raw()
854 memcpy(tmp_buf + writesize + oob_skip, buf, in denali_write_page_raw()
865 memcpy(tmp_buf + writesize, oob, oob_skip); in denali_write_page_raw()
878 memcpy(tmp_buf + pos, oob, len); in denali_write_page_raw()
882 memcpy(tmp_buf + writesize + oob_skip, oob, in denali_write_page_raw()
890 memcpy(tmp_buf + size - len, oob, len); in denali_write_page_raw()
893 return denali_data_xfer(denali, tmp_buf, size, page, 1, 1); in denali_write_page_raw()