Lines Matching refs:ip
11 #define bcast_write(reg, data) writel(data, ip->iomem + reg)
12 #define bcast_read(reg) readl(ip->iomem + reg)
17 struct lima_ip *ip = dev->ip + lima_ip_bcast;
29 static int lima_bcast_hw_init(struct lima_ip *ip)
31 bcast_write(LIMA_BCAST_BROADCAST_MASK, ip->data.mask << 16);
32 bcast_write(LIMA_BCAST_INTERRUPT_MASK, ip->data.mask);
36 int lima_bcast_resume(struct lima_ip *ip)
38 return lima_bcast_hw_init(ip);
41 void lima_bcast_suspend(struct lima_ip *ip)
46 int lima_bcast_init(struct lima_ip *ip)
51 if (ip->dev->ip[i].present)
52 ip->data.mask |= 1 << (i - lima_ip_pp0);
55 return lima_bcast_hw_init(ip);
58 void lima_bcast_fini(struct lima_ip *ip)