Lines Matching defs:slave
168 static int i2c_command( unsigned char slave
250 /* write to an i2c slave */
269 RetVal = i2c_command( i2cdata.slave
289 RetVal = i2c_command( i2cdata.slave
308 RetVal = i2c_command( i2cdata.slave
343 *# PARAMETERS : slave = slave address of the I2C device
345 *# wlen = number of bytes to be written to slave
347 *# rlen = number of bytes to be read from slave
379 static int i2c_command( unsigned char slave
439 /* send slave address: xxxxxxx0B (last bit must be zero) */
440 if ( EI2CNOERRORS != i2c_outbyte( slave & WRITEADDRESS_MASK ) )
489 if ( EI2CNOERRORS != i2c_outbyte( slave | READADDRESS_MASK ) )
749 printk( KERN_INFO "I2C: with master/slave delay patch\n" );
1186 *# PARAMETERS : theSlave = slave address of the I2C device
1215 /* send slave address */
1256 *# PARAMETERS : theSlave = slave address of the I2C device
1287 /* send slave address */
1305 /* send slave address */
1345 int i2c_read( unsigned char slave, unsigned char* rbuf, unsigned char rlen )
1347 return ( i2c_command( slave, NULL, 0, rbuf, rlen ) );
1363 int i2c_write( unsigned char slave, unsigned char* wbuf, unsigned char wlen )
1365 return ( i2c_command( slave, wbuf, wlen, NULL, 0 ) );
1381 int i2c_writeread( unsigned char slave
1388 return ( i2c_command( slave, wbuf, wlen, rbuf, rlen ) );