Home
last modified time | relevance | path

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

/linux/include/linux/i3c/
H A Dmaster.h33 struct i3c_master_controller;
51 struct i3c_master_controller *master;
456 int (*bus_init)(struct i3c_master_controller *master);
457 void (*bus_cleanup)(struct i3c_master_controller *master);
461 int (*do_daa)(struct i3c_master_controller *master);
462 bool (*supports_ccc_cmd)(struct i3c_master_controller *master,
464 int (*send_ccc_cmd)(struct i3c_master_controller *master,
480 int (*enable_hotjoin)(struct i3c_master_controller *master);
481 int (*disable_hotjoin)(struct i3c_master_controller *master);
482 int (*set_speed)(struct i3c_master_controller *master, enum i3c_open_drain_speed speed);
[all …]
/linux/drivers/i3c/
H A Dmaster.c97 static struct i3c_master_controller *
100 return container_of(i3cbus, struct i3c_master_controller, bus); in i3c_bus_to_i3c_master()
103 static struct i3c_master_controller *dev_to_i3cmaster(struct device *dev) in dev_to_i3cmaster()
105 return container_of(dev, struct i3c_master_controller, dev); in dev_to_i3cmaster()
112 struct i3c_master_controller *master; in dev_to_i3cbus()
124 struct i3c_master_controller *master; in dev_to_i3cdesc()
562 static int i3c_set_hotjoin(struct i3c_master_controller *master, bool enable) in i3c_set_hotjoin()
612 int i3c_master_enable_hotjoin(struct i3c_master_controller *master) in i3c_master_enable_hotjoin()
624 int i3c_master_disable_hotjoin(struct i3c_master_controller *master) in i3c_master_disable_hotjoin()
661 struct i3c_master_controller *master = dev_to_i3cmaster(dev); in i3c_masterdev_release()
[all …]
/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dcore.c115 static inline struct i3c_hci *to_i3c_hci(struct i3c_master_controller *m) in to_i3c_hci()
120 static int i3c_hci_bus_init(struct i3c_master_controller *m) in i3c_hci_bus_init()
159 static void i3c_hci_bus_cleanup(struct i3c_master_controller *m) in i3c_hci_bus_cleanup()
190 static int i3c_hci_send_ccc_cmd(struct i3c_master_controller *m, in i3c_hci_send_ccc_cmd()
268 static int i3c_hci_daa(struct i3c_master_controller *m) in i3c_hci_daa()
309 struct i3c_master_controller *m = i3c_dev_get_master(dev); in i3c_hci_priv_xfers()
374 struct i3c_master_controller *m = i2c_dev_get_master(dev); in i3c_hci_i2c_xfers()
425 struct i3c_master_controller *m = i3c_dev_get_master(dev); in i3c_hci_attach_i3c_dev()
450 struct i3c_master_controller *m = i3c_dev_get_master(dev); in i3c_hci_reattach_i3c_dev()
464 struct i3c_master_controller *m = i3c_dev_get_master(dev); in i3c_hci_detach_i3c_dev()
[all …]
H A Dhci.h39 struct i3c_master_controller master;
/linux/drivers/i3c/master/
H A Dsvc-i3c-master.c190 struct i3c_master_controller base;
311 to_svc_i3c_master(struct i3c_master_controller *master) in to_svc_i3c_master()
536 static int svc_i3c_master_set_speed(struct i3c_master_controller *m, in svc_i3c_master_set_speed()
584 static int svc_i3c_master_bus_init(struct i3c_master_controller *m) in svc_i3c_master_bus_init()
699 static void svc_i3c_master_bus_cleanup(struct i3c_master_controller *m) in svc_i3c_master_bus_cleanup()
741 struct i3c_master_controller *m = i3c_dev_get_master(dev); in svc_i3c_master_attach_i3c_dev()
770 struct i3c_master_controller *m = i3c_dev_get_master(dev); in svc_i3c_master_reattach_i3c_dev()
783 struct i3c_master_controller *m = i3c_dev_get_master(dev); in svc_i3c_master_detach_i3c_dev()
794 struct i3c_master_controller *m = i2c_dev_get_master(dev); in svc_i3c_master_attach_i2c_dev()
820 struct i3c_master_controller *m = i2c_dev_get_master(dev); in svc_i3c_master_detach_i2c_dev()
[all …]
H A Ddw-i3c-master.c254 static bool dw_i3c_master_supports_ccc_cmd(struct i3c_master_controller *m, in dw_i3c_master_supports_ccc_cmd()
292 to_dw_i3c_master(struct i3c_master_controller *master) in to_dw_i3c_master()
648 static int dw_i3c_master_bus_init(struct i3c_master_controller *m) in dw_i3c_master_bus_init()
707 static void dw_i3c_master_bus_cleanup(struct i3c_master_controller *m) in dw_i3c_master_bus_cleanup()
797 static int dw_i3c_master_send_ccc_cmd(struct i3c_master_controller *m, in dw_i3c_master_send_ccc_cmd()
824 static int dw_i3c_master_daa(struct i3c_master_controller *m) in dw_i3c_master_daa()
912 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_priv_xfers()
997 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_reattach_i3c_dev()
1027 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_attach_i3c_dev()
1055 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_detach_i3c_dev()
[all …]
H A Di3c-master-cdns.c400 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 Ddw-i3c-master.h27 struct i3c_master_controller base;