• Home
  • Raw
  • Download

Lines Matching refs:ip

26 	int (*init)(struct lima_ip *ip);
27 void (*fini)(struct lima_ip *ip);
28 int (*resume)(struct lima_ip *ip);
29 void (*suspend)(struct lima_ip *ip);
79 const char *lima_ip_name(struct lima_ip *ip) in lima_ip_name() argument
81 return lima_ip_desc[ip->id].name; in lima_ip_name()
211 struct lima_ip *ip = dev->ip + index; in lima_init_ip() local
220 ip->dev = dev; in lima_init_ip()
221 ip->id = index; in lima_init_ip()
222 ip->iomem = dev->iomem + offset; in lima_init_ip()
228 ip->irq = err; in lima_init_ip()
231 err = desc->init(ip); in lima_init_ip()
233 ip->present = true; in lima_init_ip()
244 struct lima_ip *ip = ldev->ip + index; in lima_fini_ip() local
246 if (ip->present) in lima_fini_ip()
247 desc->fini(ip); in lima_fini_ip()
253 struct lima_ip *ip = ldev->ip + index; in lima_resume_ip() local
256 if (ip->present) in lima_resume_ip()
257 ret = desc->resume(ip); in lima_resume_ip()
265 struct lima_ip *ip = ldev->ip + index; in lima_suspend_ip() local
267 if (ip->present) in lima_suspend_ip()
268 desc->suspend(ip); in lima_suspend_ip()
282 pipe->l2_cache[pipe->num_l2_cache++] = dev->ip + lima_ip_l2_cache0; in lima_init_gp_pipe()
283 pipe->mmu[pipe->num_mmu++] = dev->ip + lima_ip_gpmmu; in lima_init_gp_pipe()
284 pipe->processor[pipe->num_processor++] = dev->ip + lima_ip_gp; in lima_init_gp_pipe()
315 struct lima_ip *pp = dev->ip + lima_ip_pp0 + i; in lima_init_pp_pipe()
316 struct lima_ip *ppmmu = dev->ip + lima_ip_ppmmu0 + i; in lima_init_pp_pipe()
320 l2_cache = dev->ip + lima_ip_l2_cache0; in lima_init_pp_pipe()
322 l2_cache = dev->ip + lima_ip_l2_cache1 + (i >> 2); in lima_init_pp_pipe()
332 if (dev->ip[lima_ip_bcast].present) { in lima_init_pp_pipe()
333 pipe->bcast_processor = dev->ip + lima_ip_pp_bcast; in lima_init_pp_pipe()
334 pipe->bcast_mmu = dev->ip + lima_ip_ppmmu_bcast; in lima_init_pp_pipe()