Searched refs:i3c_master_controller (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/include/linux/i3c/ ! |
D | master.h | 27 struct i3c_master_controller; 44 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 …]
|
/linux-6.6.21/drivers/i3c/ ! |
D | master.c | 95 static struct i3c_master_controller * 98 return container_of(i3cbus, struct i3c_master_controller, bus); in i3c_bus_to_i3c_master() 101 static struct i3c_master_controller *dev_to_i3cmaster(struct device *dev) in dev_to_i3cmaster() 103 return container_of(dev, struct i3c_master_controller, dev); in dev_to_i3cmaster() 110 struct i3c_master_controller *master; in dev_to_i3cbus() 122 struct i3c_master_controller *master; in dev_to_i3cdesc() 545 struct i3c_master_controller *master = dev_to_i3cmaster(dev); in i3c_masterdev_release() 564 struct i3c_master_controller *master = i3c_bus_to_i3c_master(i3cbus); in i3c_bus_set_mode() 605 static struct i3c_master_controller * 608 return container_of(adap, struct i3c_master_controller, i2c); in i2c_adapter_to_i3c_master() [all …]
|
/linux-6.6.21/drivers/i3c/master/mipi-i3c-hci/ ! |
D | core.c | 121 static inline struct i3c_hci *to_i3c_hci(struct i3c_master_controller *m) in to_i3c_hci() 126 static int i3c_hci_bus_init(struct i3c_master_controller *m) in i3c_hci_bus_init() 161 static void i3c_hci_bus_cleanup(struct i3c_master_controller *m) in i3c_hci_bus_cleanup() 191 static int i3c_hci_send_ccc_cmd(struct i3c_master_controller *m, in i3c_hci_send_ccc_cmd() 262 static int i3c_hci_daa(struct i3c_master_controller *m) in i3c_hci_daa() 275 struct i3c_master_controller *m = i3c_dev_get_master(dev); in i3c_hci_priv_xfers() 334 struct i3c_master_controller *m = i2c_dev_get_master(dev); in i3c_hci_i2c_xfers() 379 struct i3c_master_controller *m = i3c_dev_get_master(dev); in i3c_hci_attach_i3c_dev() 404 struct i3c_master_controller *m = i3c_dev_get_master(dev); in i3c_hci_reattach_i3c_dev() 418 struct i3c_master_controller *m = i3c_dev_get_master(dev); in i3c_hci_detach_i3c_dev() [all …]
|
D | hci.h | 34 struct i3c_master_controller master;
|
/linux-6.6.21/drivers/i3c/master/ ! |
D | svc-i3c-master.c | 182 struct i3c_master_controller base; 296 to_svc_i3c_master(struct i3c_master_controller *master) in to_svc_i3c_master() 506 static int svc_i3c_master_bus_init(struct i3c_master_controller *m) in svc_i3c_master_bus_init() 609 static void svc_i3c_master_bus_cleanup(struct i3c_master_controller *m) in svc_i3c_master_bus_cleanup() 651 struct i3c_master_controller *m = i3c_dev_get_master(dev); in svc_i3c_master_attach_i3c_dev() 680 struct i3c_master_controller *m = i3c_dev_get_master(dev); in svc_i3c_master_reattach_i3c_dev() 693 struct i3c_master_controller *m = i3c_dev_get_master(dev); in svc_i3c_master_detach_i3c_dev() 704 struct i3c_master_controller *m = i2c_dev_get_master(dev); in svc_i3c_master_attach_i2c_dev() 730 struct i3c_master_controller *m = i2c_dev_get_master(dev); in svc_i3c_master_detach_i2c_dev() 921 static int svc_i3c_master_do_daa(struct i3c_master_controller *m) in svc_i3c_master_do_daa() [all …]
|
D | dw-i3c-master.c | 252 static bool dw_i3c_master_supports_ccc_cmd(struct i3c_master_controller *m, in dw_i3c_master_supports_ccc_cmd() 290 to_dw_i3c_master(struct i3c_master_controller *master) in to_dw_i3c_master() 603 static int dw_i3c_master_bus_init(struct i3c_master_controller *m) in dw_i3c_master_bus_init() 673 static void dw_i3c_master_bus_cleanup(struct i3c_master_controller *m) in dw_i3c_master_bus_cleanup() 763 static int dw_i3c_master_send_ccc_cmd(struct i3c_master_controller *m, in dw_i3c_master_send_ccc_cmd() 780 static int dw_i3c_master_daa(struct i3c_master_controller *m) in dw_i3c_master_daa() 850 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_priv_xfers() 925 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_reattach_i3c_dev() 955 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_attach_i3c_dev() 983 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_detach_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 …]
|
D | dw-i3c-master.h | 26 struct i3c_master_controller base;
|