Lines Matching refs:num_unpins
31 unsigned int num_unpins = num_relocs; in host1x_job_alloc() local
39 num_unpins += num_cmdbufs; in host1x_job_alloc()
44 (u64)num_unpins * sizeof(struct host1x_job_unpin_data) + in host1x_job_alloc()
46 (u64)num_unpins * sizeof(dma_addr_t) + in host1x_job_alloc()
47 (u64)num_unpins * sizeof(u32 *); in host1x_job_alloc()
64 job->unpins = num_unpins ? mem : NULL; in host1x_job_alloc()
65 mem += num_unpins * sizeof(struct host1x_job_unpin_data); in host1x_job_alloc()
68 job->addr_phys = num_unpins ? mem : NULL; in host1x_job_alloc()
144 job->num_unpins = 0; in pin_job()
194 job->addr_phys[job->num_unpins] = map->phys; in pin_job()
195 job->unpins[job->num_unpins].map = map; in pin_job()
196 job->num_unpins++; in pin_job()
257 job->addr_phys[job->num_unpins] = map->phys; in pin_job()
258 job->unpins[job->num_unpins].map = map; in pin_job()
259 job->num_unpins++; in pin_job()
652 for (i = 0; i < job->num_unpins; i++) { in host1x_job_unpin()
665 job->num_unpins = 0; in host1x_job_unpin()
683 dev_dbg(dev, " NUM_HANDLES %d\n", job->num_unpins); in host1x_job_dump()