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; in lima_bcast_enable() local
29 static int lima_bcast_hw_init(struct lima_ip *ip) in lima_bcast_hw_init() argument
31 bcast_write(LIMA_BCAST_BROADCAST_MASK, ip->data.mask << 16); in lima_bcast_hw_init()
32 bcast_write(LIMA_BCAST_INTERRUPT_MASK, ip->data.mask); in lima_bcast_hw_init()
36 int lima_bcast_resume(struct lima_ip *ip) in lima_bcast_resume() argument
38 return lima_bcast_hw_init(ip); in lima_bcast_resume()
41 void lima_bcast_suspend(struct lima_ip *ip) in lima_bcast_suspend() argument
46 int lima_bcast_init(struct lima_ip *ip) in lima_bcast_init() argument
51 if (ip->dev->ip[i].present) in lima_bcast_init()
52 ip->data.mask |= 1 << (i - lima_ip_pp0); in lima_bcast_init()
55 return lima_bcast_hw_init(ip); in lima_bcast_init()
58 void lima_bcast_fini(struct lima_ip *ip) in lima_bcast_fini() argument