Lines Matching refs:slave
19 * Dec 2004: Added support for PXA27x and slave device probing [Liam Girdwood]
20 * Feb 2005: Rework slave mode handling [RMK]
77 #define ICR_SSDIE (1 << 11) /* slave STOP detected int enable */
79 #define ICR_SADIE (1 << 13) /* slave address detected int enable */
87 #define ISR_SSD (1 << 4) /* slave stop detected */
92 #define ISR_SAD (1 << 9) /* slave address detected */
107 struct i2c_slave_client *slave;
251 dev_dbg(&i2c->adap.dev, "%s: called in slave mode\n", __func__);
428 dev_info(&i2c->adap.dev, "Enabling slave mode\n");
452 if (i2c->slave != NULL)
453 ret = i2c->slave->read(i2c->slave->data);
464 if (i2c->slave != NULL)
465 i2c->slave->write(i2c->slave->data, byte);
475 dev_dbg(&i2c->adap.dev, "SAD, mode is slave-%cx\n",
478 if (i2c->slave != NULL)
479 i2c->slave->event(i2c->slave->data,
483 * slave could interrupt in the middle of us generating a
512 if (i2c->slave != NULL)
513 i2c->slave->event(i2c->slave->data, I2C_SLAVE_EVENT_STOP);
520 * kick it off now that the slave has completed.
546 * slave could interrupt in the middle of us generating a
596 * Step 1: target slave address into IDBR
1060 i2c->slave = plat->slave;
1096 printk(KERN_INFO "I2C: %s: PXA I2C adapter, slave address %d\n",