Searched refs:p2wi (Results 1 – 2 of 2) sorted by relevance
84 struct p2wi { struct96 struct p2wi *p2wi = dev_id; in p2wi_interrupt() argument99 status = readl(p2wi->regs + P2WI_INTS); in p2wi_interrupt()100 p2wi->status = status; in p2wi_interrupt()105 writel(status, p2wi->regs + P2WI_INTS); in p2wi_interrupt()107 complete(&p2wi->complete); in p2wi_interrupt()121 struct p2wi *p2wi = i2c_get_adapdata(adap); in p2wi_smbus_xfer() local124 if (p2wi->slave_addr >= 0 && addr != p2wi->slave_addr) { in p2wi_smbus_xfer()132 writel(command, p2wi->regs + P2WI_DADDR0); in p2wi_smbus_xfer()137 writel(data->byte, p2wi->regs + P2WI_DATA0); in p2wi_smbus_xfer()[all …]
106 obj-$(CONFIG_I2C_SUN6I_P2WI) += i2c-sun6i-p2wi.o