Lines Matching defs:bops
181 #define AC_READ(ac, reg) ((ac)->bops->read((ac)->dev, reg))
182 #define AC_WRITE(ac, reg, val) ((ac)->bops->write((ac)->dev, reg, val))
209 const struct adxl34x_bus_ops *bops;
242 ac->bops->read_block(ac->dev, DATAX0, DATAZ1 - DATAX0 + 1, buf);
693 const struct adxl34x_bus_ops *bops)
729 ac->bops = bops;
734 revid = ac->bops->read(dev, DEVID);
754 input_dev->id.bustype = bops->bustype;
811 ac->bops->write(dev, POWER_CTL, 0);