Lines Matching refs:reloc
149 struct host1x_reloc *reloc = &job->relocs[i]; in pin_job() local
152 reloc->target.bo = host1x_bo_get(reloc->target.bo); in pin_job()
153 if (!reloc->target.bo) { in pin_job()
175 sgt = host1x_bo_pin(dev, reloc->target.bo, phys); in pin_job()
186 switch (reloc->flags & mask) { in pin_job()
214 job->unpins[job->num_unpins].bo = reloc->target.bo; in pin_job()
321 struct host1x_reloc *reloc = &job->relocs[i]; in do_relocs() local
323 reloc->target.offset) >> reloc->shift; in do_relocs()
327 if (cmdbuf != reloc->cmdbuf.bo) in do_relocs()
332 reloc->cmdbuf.offset / sizeof(u32) + in do_relocs()
346 target = cmdbuf_addr + reloc->cmdbuf.offset; in do_relocs()
357 static bool check_reloc(struct host1x_reloc *reloc, struct host1x_bo *cmdbuf, in check_reloc() argument
362 if (reloc->cmdbuf.bo != cmdbuf || reloc->cmdbuf.offset != offset) in check_reloc()
366 if (reloc->shift) in check_reloc()
377 struct host1x_reloc *reloc; member
398 if (!check_reloc(fw->reloc, fw->cmdbuf, fw->offset)) in check_register()
402 fw->reloc++; in check_register()
568 fw.reloc = job->relocs; in copy_gathers()