Lines Matching refs:dst_offset
253 int block, dst_offset, len, remain, ret, x1, x2, y1, y2; in gm12u320_copy_fb_to_blocks() local
284 dst_offset = (y1 * GM12U320_REAL_WIDTH + x1) * 3; in gm12u320_copy_fb_to_blocks()
285 block = dst_offset / DATA_BLOCK_CONTENT_SIZE; in gm12u320_copy_fb_to_blocks()
286 dst_offset %= DATA_BLOCK_CONTENT_SIZE; in gm12u320_copy_fb_to_blocks()
288 if ((dst_offset + len) > DATA_BLOCK_CONTENT_SIZE) { in gm12u320_copy_fb_to_blocks()
289 remain = dst_offset + len - DATA_BLOCK_CONTENT_SIZE; in gm12u320_copy_fb_to_blocks()
290 len = DATA_BLOCK_CONTENT_SIZE - dst_offset; in gm12u320_copy_fb_to_blocks()
293 dst_offset += DATA_BLOCK_HEADER_SIZE; in gm12u320_copy_fb_to_blocks()
297 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks()
302 dst_offset = DATA_BLOCK_HEADER_SIZE; in gm12u320_copy_fb_to_blocks()
304 gm12u320->data_buf[block] + dst_offset, in gm12u320_copy_fb_to_blocks()