Lines Matching refs:offset

101 			   u32 words, u32 offset)  in host1x_job_add_gather()  argument
107 cur_gather->offset = offset; in host1x_job_add_gather()
120 struct host1x_bo *h, u32 offset) in host1x_syncpt_patch_offset() argument
125 patch_addr = host1x_bo_kmap(h, offset >> PAGE_SHIFT); in host1x_syncpt_patch_offset()
128 patch_addr + (offset & ~PAGE_MASK)); in host1x_syncpt_patch_offset()
129 host1x_bo_kunmap(h, offset >> PAGE_SHIFT, patch_addr); in host1x_syncpt_patch_offset()
158 trace_host1x_syncpt_wait_check(wait->bo, wait->offset, in do_waitchks()
168 host1x_syncpt_patch_offset(sp, patch, wait->offset); in do_waitchks()
238 reloc->target.offset) >> reloc->shift; in do_relocs()
245 if (last_page != reloc->cmdbuf.offset >> PAGE_SHIFT) { in do_relocs()
251 reloc->cmdbuf.offset >> PAGE_SHIFT); in do_relocs()
252 last_page = reloc->cmdbuf.offset >> PAGE_SHIFT; in do_relocs()
260 target = cmdbuf_page_addr + (reloc->cmdbuf.offset & ~PAGE_MASK); in do_relocs()
271 unsigned int offset) in check_reloc() argument
273 offset *= sizeof(u32); in check_reloc()
275 if (reloc->cmdbuf.bo != cmdbuf || reloc->cmdbuf.offset != offset) in check_reloc()
289 unsigned int offset; member
298 static int check_register(struct host1x_firewall *fw, unsigned long offset) in check_register() argument
300 if (fw->job->is_addr_reg(fw->dev, fw->class, offset)) { in check_register()
304 if (!check_reloc(fw->reloc, fw->cmdbuf, fw->offset)) in check_register()
330 fw->offset++; in check_mask()
355 fw->offset++; in check_incr()
376 fw->offset++; in check_nonincr()
386 (g->offset / sizeof(u32)); in validate()
394 fw->offset = 0; in validate()
397 u32 word = cmdbuf_base[fw->offset]; in validate()
404 fw->offset++; in validate()
456 size_t offset = 0; in copy_gathers() local
486 memcpy(job->gather_copy_mapped + offset, gather + g->offset, in copy_gathers()
492 g->offset = offset; in copy_gathers()
498 offset += g->words * sizeof(u32); in copy_gathers()