Lines Matching refs:ip

27 	int (*init)(struct lima_ip *ip);
28 void (*fini)(struct lima_ip *ip);
29 int (*resume)(struct lima_ip *ip);
30 void (*suspend)(struct lima_ip *ip);
80 const char *lima_ip_name(struct lima_ip *ip) in lima_ip_name() argument
82 return lima_ip_desc[ip->id].name; in lima_ip_name()
212 struct lima_ip *ip = dev->ip + index; in lima_init_ip() local
221 ip->dev = dev; in lima_init_ip()
222 ip->id = index; in lima_init_ip()
223 ip->iomem = dev->iomem + offset; in lima_init_ip()
229 ip->irq = err; in lima_init_ip()
232 err = desc->init(ip); in lima_init_ip()
234 ip->present = true; in lima_init_ip()
245 struct lima_ip *ip = ldev->ip + index; in lima_fini_ip() local
247 if (ip->present) in lima_fini_ip()
248 desc->fini(ip); in lima_fini_ip()
254 struct lima_ip *ip = ldev->ip + index; in lima_resume_ip() local
257 if (ip->present) in lima_resume_ip()
258 ret = desc->resume(ip); in lima_resume_ip()
266 struct lima_ip *ip = ldev->ip + index; in lima_suspend_ip() local
268 if (ip->present) in lima_suspend_ip()
269 desc->suspend(ip); in lima_suspend_ip()
283 pipe->l2_cache[pipe->num_l2_cache++] = dev->ip + lima_ip_l2_cache0; in lima_init_gp_pipe()
284 pipe->mmu[pipe->num_mmu++] = dev->ip + lima_ip_gpmmu; in lima_init_gp_pipe()
285 pipe->processor[pipe->num_processor++] = dev->ip + lima_ip_gp; in lima_init_gp_pipe()
316 struct lima_ip *pp = dev->ip + lima_ip_pp0 + i; in lima_init_pp_pipe()
317 struct lima_ip *ppmmu = dev->ip + lima_ip_ppmmu0 + i; in lima_init_pp_pipe()
321 l2_cache = dev->ip + lima_ip_l2_cache0; in lima_init_pp_pipe()
323 l2_cache = dev->ip + lima_ip_l2_cache1 + (i >> 2); in lima_init_pp_pipe()
333 if (dev->ip[lima_ip_bcast].present) { in lima_init_pp_pipe()
334 pipe->bcast_processor = dev->ip + lima_ip_pp_bcast; in lima_init_pp_pipe()
335 pipe->bcast_mmu = dev->ip + lima_ip_ppmmu_bcast; in lima_init_pp_pipe()