DIO_PORT0_DATA_OFFSET
writel(s->state, dev->mmio + DIO_PORT0_DATA_OFFSET);
data[1] = readl(dev->mmio + DIO_PORT0_DATA_OFFSET);