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()
150 job->num_unpins = 0; in pin_job()
200 job->addr_phys[job->num_unpins] = map->phys; in pin_job()
201 job->unpins[job->num_unpins].map = map; in pin_job()
202 job->num_unpins++; in pin_job()
263 job->addr_phys[job->num_unpins] = map->phys; in pin_job()
264 job->unpins[job->num_unpins].map = map; in pin_job()
265 job->num_unpins++; in pin_job()
658 for (i = 0; i < job->num_unpins; i++) { in host1x_job_unpin()
671 job->num_unpins = 0; in host1x_job_unpin()
689 dev_dbg(dev, " NUM_HANDLES %d\n", job->num_unpins); in host1x_job_dump()