Searched refs:i3c_master_controller (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/include/linux/i3c/ |
D | master.h | 25 struct i3c_master_controller; 43 struct i3c_master_controller *master; 431 int (*bus_init)(struct i3c_master_controller *master); 432 void (*bus_cleanup)(struct i3c_master_controller *master); 436 int (*do_daa)(struct i3c_master_controller *master); 437 bool (*supports_ccc_cmd)(struct i3c_master_controller *master, 439 int (*send_ccc_cmd)(struct i3c_master_controller *master, 483 struct i3c_master_controller { struct 520 int i3c_master_do_i2c_xfers(struct i3c_master_controller *master, 524 int i3c_master_disec_locked(struct i3c_master_controller *master, u8 addr, [all …]
|
/kernel/linux/linux-5.10/drivers/i3c/ |
D | master.c | 94 static struct i3c_master_controller * 97 return container_of(i3cbus, struct i3c_master_controller, bus); in i3c_bus_to_i3c_master() 100 static struct i3c_master_controller *dev_to_i3cmaster(struct device *dev) in dev_to_i3cmaster() 102 return container_of(dev, struct i3c_master_controller, dev); in dev_to_i3cmaster() 109 struct i3c_master_controller *master; in dev_to_i3cbus() 121 struct i3c_master_controller *master; in dev_to_i3cdesc() 536 struct i3c_master_controller *master = dev_to_i3cmaster(dev); in i3c_masterdev_release() 555 struct i3c_master_controller *master = i3c_bus_to_i3c_master(i3cbus); in i3c_bus_set_mode() 596 static struct i3c_master_controller * 599 return container_of(adap, struct i3c_master_controller, i2c); in i2c_adapter_to_i3c_master() [all …]
|
/kernel/linux/linux-5.10/drivers/i3c/master/ |
D | dw-i3c-master.c | 228 struct i3c_master_controller base; 258 static bool dw_i3c_master_supports_ccc_cmd(struct i3c_master_controller *m, in dw_i3c_master_supports_ccc_cmd() 296 to_dw_i3c_master(struct i3c_master_controller *master) in to_dw_i3c_master() 592 static int dw_i3c_master_bus_init(struct i3c_master_controller *m) in dw_i3c_master_bus_init() 654 static void dw_i3c_master_bus_cleanup(struct i3c_master_controller *m) in dw_i3c_master_bus_cleanup() 744 static int dw_i3c_master_send_ccc_cmd(struct i3c_master_controller *m, in dw_i3c_master_send_ccc_cmd() 761 static int dw_i3c_master_daa(struct i3c_master_controller *m) in dw_i3c_master_daa() 832 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_priv_xfers() 900 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_reattach_i3c_dev() 930 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_attach_i3c_dev() [all …]
|
D | i3c-master-cdns.c | 400 struct i3c_master_controller base; 422 to_cdns_i3c_master(struct i3c_master_controller *master) in to_cdns_i3c_master() 451 static bool cdns_i3c_master_supports_ccc_cmd(struct i3c_master_controller *m, in cdns_i3c_master_supports_ccc_cmd() 694 static int cdns_i3c_master_send_ccc_cmd(struct i3c_master_controller *m, in cdns_i3c_master_send_ccc_cmd() 738 struct i3c_master_controller *m = i3c_dev_get_master(dev); in cdns_i3c_master_priv_xfers() 818 struct i3c_master_controller *m = i2c_dev_get_master(dev); in cdns_i3c_master_i2c_xfers() 900 struct i3c_master_controller *m = i3c_dev_get_master(dev); in cdns_i3c_master_upd_i3c_addr() 950 struct i3c_master_controller *m = i3c_dev_get_master(dev); in cdns_i3c_master_attach_i3c_dev() 982 struct i3c_master_controller *m = i3c_dev_get_master(dev); in cdns_i3c_master_detach_i3c_dev() 997 struct i3c_master_controller *m = i2c_dev_get_master(dev); in cdns_i3c_master_attach_i2c_dev() [all …]
|