Searched refs:slave_address (Results 1 – 2 of 2) sorted by relevance
/optee_os/core/drivers/ |
A D | ls_i2c.c | 239 static TEE_Result i2c_read(struct i2c_regs *regs, unsigned int slave_address, in i2c_read() argument 247 io_write8((vaddr_t)®s->ibdr, (slave_address << 0x1) | BIT(0)); in i2c_read() 296 static TEE_Result i2c_write(struct i2c_regs *regs, unsigned int slave_address, in i2c_write() argument 304 (slave_address << 0x1) & ~(BIT(0))); in i2c_write() 371 TEE_Result i2c_bus_xfer(vaddr_t base, unsigned int slave_address, in i2c_bus_xfer() argument 404 res = i2c_read(regs, slave_address, operation, in i2c_bus_xfer() 407 res = i2c_write(regs, slave_address, operation); in i2c_bus_xfer()
|
/optee_os/core/include/drivers/ |
A D | ls_i2c.h | 193 TEE_Result i2c_bus_xfer(vaddr_t base, uint32_t slave_address,
|
Completed in 6 milliseconds