HomeSort by relevance Sort by last modified time
    Searched refs:i2c_handle (Results 1 - 3 of 3) sorted by null

  /device/google/contexthub/util/stm32_flash/
i2c.c 28 i2c_handle_t *i2c_handle = (i2c_handle_t *)handle; local
32 if (write(i2c_handle->fd, buffer, length+1) == (length+1))
50 i2c_handle_t *i2c_handle = (i2c_handle_t *)handle; local
52 if (read(i2c_handle->fd, data, length) == length)
70 i2c_handle_t *i2c_handle = (i2c_handle_t *)handle; local
83 if (ioctl(i2c_handle->fd, I2C_SLAVE, i2c_handle->addr) < 0) {
i2c.h 22 typedef struct i2c_handle struct
flash.c 73 i2c_handle_t i2c_handle; local
187 handle = &i2c_handle.handle;
188 i2c_handle.fd = fd;
189 i2c_handle.addr = addr;

Completed in 208 milliseconds