Lines Matching full:slave

248  * Send start condition to the slave addressed by 'slave'
251 iicbus_start(device_t bus, u_char slave, int timeout) in iicbus_start() argument
259 if (!(error = IICBUS_START(device_get_parent(bus), slave, timeout))) in iicbus_start()
260 sc->started = slave; in iicbus_start()
270 * Send start condition to the slave addressed by 'slave'
273 iicbus_repeated_start(device_t bus, u_char slave, int timeout) in iicbus_repeated_start() argument
281 if (!(error = IICBUS_REPEATED_START(device_get_parent(bus), slave, timeout))) in iicbus_repeated_start()
282 sc->started = slave; in iicbus_repeated_start()
314 * Write a block of data to the slave previously started by
322 /* a slave must have been started for writing */ in iicbus_write()
332 * Read a block of data from the slave previously started by
340 /* a slave must have been started for reading */ in iicbus_read()
350 * Write a byte to the slave previously started by iicbus_start() call
359 /* a slave must have been started for writing */ in iicbus_write_byte()
369 * Read a byte from the slave previously started by iicbus_start() call
377 /* a slave must have been started for reading */ in iicbus_read_byte()
387 * Write a block of data to slave ; start/stop protocol managed
390 iicbus_block_write(device_t bus, u_char slave, char *buf, int len, int *sent) in iicbus_block_write() argument
392 u_char addr = slave & ~LSB; in iicbus_block_write()
408 * Read a block of data from slave ; start/stop protocol managed
411 iicbus_block_read(device_t bus, u_char slave, char *buf, int len, int *read) in iicbus_block_read() argument
413 u_char addr = slave | LSB; in iicbus_block_read()
483 addr = msgs[i].slave; in iicbus_transfer_gen()
533 msgs[0].slave = slaveaddr; in iicdev_readfrom()
538 msgs[1].slave = slaveaddr; in iicdev_readfrom()
581 msg.slave = iicbus_get_addr(slavedev); in iicdev_writeto()