Lines Matching refs:data

93  * slave data structure.
155 int (*slave_read)(i2c_slave_t *i2c_slave, void *data, size_t size,
158 int (*slave_write)(i2c_slave_t *i2c_slave, const void *data, size_t size,
275 * slave data structure.
301 * @param[in] dsize The data word size in bytes
345 * @param[in] token Client-specific data that the driver returns unchanged.
402 * @param[in] data A address to store the recieved data
408 static inline int i2c_read(i2c_bus_t *i2c_bus, void *data, size_t size,
414 return i2c_bus->read(i2c_bus, data, size, end_with_repeat_start, cb, token);
420 * @param[in] data The address of the data to send
426 static inline int i2c_write(i2c_bus_t *i2c_bus, const void *data, size_t size,
432 return i2c_bus->write(i2c_bus, data, size, end_with_repeat_start, cb, token);
479 * an argument rather than the number of bytes. Note also that the data
484 * @param[in] data The address at which to store the read data
488 int i2c_kvslave_read(i2c_kvslave_t *i2c_kvslave, uint64_t start, void *data, int nregs);
494 * an argument rather than the number of bytes. Note also that the data
499 * @param[in] data An address whcih provides the data to be written
503 int i2c_kvslave_write(i2c_kvslave_t *i2c_kvslave, uint64_t start, const void *data, int nregs);
511 * @param[in] data A address to read the data to
517 static inline int i2c_slave_read(i2c_slave_t *i2c_slave, void *data, size_t size,
524 return i2c_slave->slave_read(i2c_slave, data, size, end_with_repeat_start,
531 * @param[in] data The address of the data to be written
537 static inline int i2c_slave_write(i2c_slave_t *i2c_slave, const void *data, int size,
544 return i2c_slave->slave_write(i2c_slave, data, size, end_with_repeat_start,
549 static inline void i2c_handle_irq_wrapper(void *data, ps_irq_acknowledge_fn_t ack, void *ack_data)
551 assert(data);
553 i2c_bus_t *bus = data;