Lines Matching refs:dst_offset
256 int block, dst_offset, len, remain, ret, x1, x2, y1, y2; in gm12u320_copy_fb_to_blocks() local
287 dst_offset = (y1 * GM12U320_REAL_WIDTH + x1) * 3; in gm12u320_copy_fb_to_blocks()
288 block = dst_offset / DATA_BLOCK_CONTENT_SIZE; in gm12u320_copy_fb_to_blocks()
289 dst_offset %= DATA_BLOCK_CONTENT_SIZE; in gm12u320_copy_fb_to_blocks()
291 if ((dst_offset + len) > DATA_BLOCK_CONTENT_SIZE) { in gm12u320_copy_fb_to_blocks()
292 remain = dst_offset + len - DATA_BLOCK_CONTENT_SIZE; in gm12u320_copy_fb_to_blocks()
293 len = DATA_BLOCK_CONTENT_SIZE - dst_offset; in gm12u320_copy_fb_to_blocks()
296 dst_offset += DATA_BLOCK_HEADER_SIZE; in gm12u320_copy_fb_to_blocks()
300 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks()
305 dst_offset = DATA_BLOCK_HEADER_SIZE; in gm12u320_copy_fb_to_blocks()
307 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks()