Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/i3c/
Dmaster.h25 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 …]
/Linux-v5.4/drivers/i3c/
Dmaster.c94 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()
514 struct i3c_master_controller *master = dev_to_i3cmaster(dev); in i3c_masterdev_release()
533 struct i3c_master_controller *master = i3c_bus_to_i3c_master(i3cbus); in i3c_bus_set_mode()
574 static struct i3c_master_controller *
577 return container_of(adap, struct i3c_master_controller, i2c); in i2c_adapter_to_i3c_master()
[all …]
/Linux-v5.4/drivers/i3c/master/
Di3c-master-cdns.c393 struct i3c_master_controller base;
414 to_cdns_i3c_master(struct i3c_master_controller *master) in to_cdns_i3c_master()
443 static bool cdns_i3c_master_supports_ccc_cmd(struct i3c_master_controller *m, in cdns_i3c_master_supports_ccc_cmd()
686 static int cdns_i3c_master_send_ccc_cmd(struct i3c_master_controller *m, in cdns_i3c_master_send_ccc_cmd()
730 struct i3c_master_controller *m = i3c_dev_get_master(dev); in cdns_i3c_master_priv_xfers()
810 struct i3c_master_controller *m = i2c_dev_get_master(dev); in cdns_i3c_master_i2c_xfers()
892 struct i3c_master_controller *m = i3c_dev_get_master(dev); in cdns_i3c_master_upd_i3c_addr()
942 struct i3c_master_controller *m = i3c_dev_get_master(dev); in cdns_i3c_master_attach_i3c_dev()
974 struct i3c_master_controller *m = i3c_dev_get_master(dev); in cdns_i3c_master_detach_i3c_dev()
989 struct i3c_master_controller *m = i2c_dev_get_master(dev); in cdns_i3c_master_attach_i2c_dev()
[all …]
Ddw-i3c-master.c228 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()
914 struct i3c_master_controller *m = i3c_dev_get_master(dev); in dw_i3c_master_attach_i3c_dev()
[all …]