Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/i3c/ !
Dmaster.c95 i3c_bus_to_i3c_master(struct i3c_bus *i3cbus) in i3c_bus_to_i3c_master() argument
97 return container_of(i3cbus, struct i3c_master_controller, bus); in i3c_bus_to_i3c_master()
415 static void i3c_bus_cleanup(struct i3c_bus *i3cbus) in i3c_bus_cleanup() argument
418 idr_remove(&i3c_bus_idr, i3cbus->id); in i3c_bus_cleanup()
422 static int i3c_bus_init(struct i3c_bus *i3cbus) in i3c_bus_init() argument
426 init_rwsem(&i3cbus->lock); in i3c_bus_init()
427 INIT_LIST_HEAD(&i3cbus->devs.i2c); in i3c_bus_init()
428 INIT_LIST_HEAD(&i3cbus->devs.i3c); in i3c_bus_init()
429 i3c_bus_init_addrslots(i3cbus); in i3c_bus_init()
430 i3cbus->mode = I3C_BUS_MODE_PURE; in i3c_bus_init()
[all …]