Searched refs:i3c_master_controller (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/include/linux/i3c/ |
H A D | master.h | 33 struct i3c_master_controller; 50 struct i3c_master_controller *master; 459 int (*bus_init)(struct i3c_master_controller *master); 460 void (*bus_cleanup)(struct i3c_master_controller *master); 464 int (*do_daa)(struct i3c_master_controller *master); 465 bool (*supports_ccc_cmd)(struct i3c_master_controller *master, 467 int (*send_ccc_cmd)(struct i3c_master_controller *master, 483 int (*enable_hotjoin)(struct i3c_master_controller *master); 484 int (*disable_hotjoin)(struct i3c_master_controller *master); 485 int (*set_speed)(struct i3c_master_controller *master, enum i3c_open_drain_speed speed); [all …]
|
/openbmc/linux/drivers/i3c/ |
H A D | master.c | 96 static struct i3c_master_controller * 99 return container_of(i3cbus, struct i3c_master_controller, bus); in i3c_bus_to_i3c_master() 102 static struct i3c_master_controller *dev_to_i3cmaster(struct device *dev) in dev_to_i3cmaster() 104 return container_of(dev, struct i3c_master_controller, dev); in dev_to_i3cmaster() 111 struct i3c_master_controller *master; in dev_to_i3cbus() 123 struct i3c_master_controller *master; in dev_to_i3cdesc() 603 static int i3c_set_hotjoin(struct i3c_master_controller *master, bool enable) in i3c_set_hotjoin() 653 int i3c_master_enable_hotjoin(struct i3c_master_controller *master) in i3c_master_enable_hotjoin() 665 int i3c_master_disable_hotjoin(struct i3c_master_controller *master) in i3c_master_disable_hotjoin() 702 struct i3c_master_controller *master = dev_to_i3cmaster(dev); in i3c_masterdev_release() [all …]
|
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A 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 …]
|
H A D | hci.h | 34 struct i3c_master_controller master;
|
/openbmc/linux/drivers/i3c/master/ |
H A D | svc-i3c-master.c | 188 struct i3c_master_controller base; 309 to_svc_i3c_master(struct i3c_master_controller *master) in to_svc_i3c_master() 534 static int svc_i3c_master_set_speed(struct i3c_master_controller *m, in svc_i3c_master_set_speed() 582 static int svc_i3c_master_bus_init(struct i3c_master_controller *m) in svc_i3c_master_bus_init() 686 static void svc_i3c_master_bus_cleanup(struct i3c_master_controller *m) in svc_i3c_master_bus_cleanup() 728 struct i3c_master_controller *m = i3c_dev_get_master(dev); in svc_i3c_master_attach_i3c_dev() 757 struct i3c_master_controller *m = i3c_dev_get_master(dev); in svc_i3c_master_reattach_i3c_dev() 770 struct i3c_master_controller *m = i3c_dev_get_master(dev); in svc_i3c_master_detach_i3c_dev() 781 struct i3c_master_controller *m = i2c_dev_get_master(dev); in svc_i3c_master_attach_i2c_dev() 807 struct i3c_master_controller *m = i2c_dev_get_master(dev); in svc_i3c_master_detach_i2c_dev() [all …]
|
H A 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 …]
|
H A 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 …]
|
H A D | dw-i3c-master.h | 26 struct i3c_master_controller base;
|