Searched refs:bus_id (Results 1 – 3 of 3) sorted by relevance
/trusted-firmware-a/drivers/brcm/i2c/ |
A D | i2c.c | 62 uint32_t bus_id; member 133 if (bus_id > MAX_I2C) { in iproc_dump_i2c_regs() 466 info->bus_id = bus_id; in iproc_i2c_fill_info() 530 iproc_dump_i2c_regs(bus_id); in iproc_i2c_init() 551 if (bus_id > MAX_I2C) { in i2c_init() 556 iproc_i2c_init(bus_id, speed); in i2c_init() 605 iproc_dump_i2c_regs(bus_id); in i2c_probe() 720 int i2c_read(uint32_t bus_id, in i2c_read() argument 742 iproc_i2c_init(bus_id, i2c_get_bus_speed(bus_id)); in i2c_read() 792 int i2c_write(uint32_t bus_id, in i2c_write() argument [all …]
|
/trusted-firmware-a/include/drivers/brcm/i2c/ |
A D | i2c.h | 30 int i2c_probe(uint32_t bus_id, uint8_t devaddr); 45 int i2c_init(uint32_t bus_id, int speed); 60 int i2c_set_bus_speed(uint32_t bus_id, uint32_t speed); 74 uint32_t i2c_get_bus_speed(uint32_t bus_id); 91 int i2c_recv_byte(uint32_t bus_id, uint8_t devaddr, uint8_t *value); 108 int i2c_send_byte(uint32_t bus_id, uint8_t devaddr, uint8_t value); 128 int i2c_read(uint32_t bus_id, 153 int i2c_write(uint32_t bus_id,
|
/trusted-firmware-a/plat/rockchip/rk3399/drivers/pmu/ |
A D | pmu.c | 73 uint32_t bus_id = BIT(bus); in pmu_bus_idle_req() local 83 mmio_clrsetbits_32(PMU_BASE + PMU_BUS_IDLE_REQ, bus_id, bus_req); in pmu_bus_idle_req() 86 bus_state = mmio_read_32(PMU_BASE + PMU_BUS_IDLE_ST) & bus_id; in pmu_bus_idle_req() 87 bus_ack = mmio_read_32(PMU_BASE + PMU_BUS_IDLE_ACK) & bus_id; in pmu_bus_idle_req()
|
Completed in 19 milliseconds