Home
last modified time | relevance | path

Searched refs:bid (Results 1 – 2 of 2) sorted by relevance

/optee_os-3.20.0/core/drivers/
A Dimx_i2c.c327 i2c_io_read8(bid, I2DR); in i2c_read_data()
392 if (!i2c_bus[bid].va) in imx_i2c_read()
399 if (i2c_idle_bus(bid)) in imx_i2c_read()
415 if (!i2c_bus[bid].va) in imx_i2c_write()
422 if (i2c_idle_bus(bid)) in imx_i2c_write()
433 if (!i2c_bus[bid].va) in imx_i2c_probe()
457 if (!i2c_bus[bid].va) in imx_i2c_init()
460 io_write32(mux->base.va + mux->i2c[bid].scl_mux, I2C_MUX_VAL(bid)); in imx_i2c_init()
461 io_write32(mux->base.va + mux->i2c[bid].scl_cfg, I2C_CFG_VAL(bid)); in imx_i2c_init()
466 io_write32(mux->base.va + mux->i2c[bid].sda_mux, I2C_MUX_VAL(bid)); in imx_i2c_init()
[all …]
/optee_os-3.20.0/core/include/drivers/
A Dimx_i2c.h12 TEE_Result imx_i2c_write(uint8_t bid, uint8_t chip, const uint8_t *p, int l);
13 TEE_Result imx_i2c_read(uint8_t bid, uint8_t chip, uint8_t *p, int l);
14 TEE_Result imx_i2c_probe(uint8_t bid, uint8_t chip);
15 TEE_Result imx_i2c_init(uint8_t bid, int bps);

Completed in 5 milliseconds