Lines Matching refs:slave
50 u8 slave;
103 static int pms_i2c_stat(struct pms *dev, u8 slave)
118 outb(slave, dev->io);
141 static int pms_i2c_write(struct pms *dev, u16 slave, u16 sub, u16 data)
148 if ((dev->i2cinfo[i].slave == slave) &&
158 dev->i2cinfo[dev->i2c_count].slave = slave;
169 mvv_write(dev, 0x28, slave);
188 static int pms_i2c_read(struct pms *dev, int slave, int sub)
193 if (dev->i2cinfo[i].slave == slave && dev->i2cinfo[i].sub == sub)
200 static void pms_i2c_andor(struct pms *dev, int slave, int sub, int and, int or)
204 tmp = pms_i2c_read(dev, slave, sub);
206 pms_i2c_write(dev, slave, sub, tmp);