Searched refs:i3cbus (Results 1 – 1 of 1) sorted by relevance
96 i3c_bus_to_i3c_master(struct i3c_bus *i3cbus) in i3c_bus_to_i3c_master() argument98 return container_of(i3cbus, struct i3c_master_controller, bus); in i3c_bus_to_i3c_master()416 static void i3c_bus_cleanup(struct i3c_bus *i3cbus) in i3c_bus_cleanup() argument419 idr_remove(&i3c_bus_idr, i3cbus->id); in i3c_bus_cleanup()423 static int i3c_bus_init(struct i3c_bus *i3cbus, struct device_node *np) in i3c_bus_init() argument427 init_rwsem(&i3cbus->lock); in i3c_bus_init()428 INIT_LIST_HEAD(&i3cbus->devs.i2c); in i3c_bus_init()429 INIT_LIST_HEAD(&i3cbus->devs.i3c); in i3c_bus_init()430 i3c_bus_init_addrslots(i3cbus); in i3c_bus_init()431 i3cbus->mode = I3C_BUS_MODE_PURE; in i3c_bus_init()[all …]