Home
last modified time | relevance | path

Searched refs:i3c_dev_desc (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/include/linux/i3c/
Dmaster.h112 struct i3c_dev_desc *dev;
206 struct i3c_dev_desc { struct
230 struct i3c_dev_desc *desc; argument
332 struct i3c_dev_desc *cur_master;
432 int (*attach_i3c_dev)(struct i3c_dev_desc *dev);
433 int (*reattach_i3c_dev)(struct i3c_dev_desc *dev, u8 old_dyn_addr);
434 void (*detach_i3c_dev)(struct i3c_dev_desc *dev);
440 int (*priv_xfers)(struct i3c_dev_desc *dev,
447 int (*request_ibi)(struct i3c_dev_desc *dev,
449 void (*free_ibi)(struct i3c_dev_desc *dev);
[all …]
/linux-5.19.10/drivers/i3c/
Dinternals.h18 int i3c_dev_do_priv_xfers_locked(struct i3c_dev_desc *dev,
21 int i3c_dev_disable_ibi_locked(struct i3c_dev_desc *dev);
22 int i3c_dev_enable_ibi_locked(struct i3c_dev_desc *dev);
23 int i3c_dev_request_ibi_locked(struct i3c_dev_desc *dev,
25 void i3c_dev_free_ibi_locked(struct i3c_dev_desc *dev);
Dmaster.c119 static struct i3c_dev_desc *dev_to_i3cdesc(struct device *dev) in dev_to_i3cdesc()
136 struct i3c_dev_desc *desc; in bcr_show()
153 struct i3c_dev_desc *desc; in dcr_show()
170 struct i3c_dev_desc *desc; in pid_show()
187 struct i3c_dev_desc *desc; in dynamic_address_show()
208 struct i3c_dev_desc *desc; in hdrcap_show()
730 static void i3c_master_free_i3c_dev(struct i3c_dev_desc *dev) in i3c_master_free_i3c_dev()
735 static struct i3c_dev_desc *
739 struct i3c_dev_desc *dev; in i3c_master_alloc_i3c_dev()
898 struct i3c_dev_desc *i3cdev; in i3c_master_defslvs_locked()
[all …]
/linux-5.19.10/drivers/i3c/master/mipi-i3c-hci/
Dibi.h29 static inline struct i3c_dev_desc *
33 struct i3c_dev_desc *dev; in i3c_hci_addr_to_dev()
Dhci.h115 int (*request_ibi)(struct i3c_hci *hci, struct i3c_dev_desc *dev,
117 void (*free_ibi)(struct i3c_hci *hci, struct i3c_dev_desc *dev);
118 void (*recycle_ibi_slot)(struct i3c_hci *hci, struct i3c_dev_desc *dev,
Dcore.c271 static int i3c_hci_priv_xfers(struct i3c_dev_desc *dev, in i3c_hci_priv_xfers()
377 static int i3c_hci_attach_i3c_dev(struct i3c_dev_desc *dev) in i3c_hci_attach_i3c_dev()
402 static int i3c_hci_reattach_i3c_dev(struct i3c_dev_desc *dev, u8 old_dyn_addr) in i3c_hci_reattach_i3c_dev()
416 static void i3c_hci_detach_i3c_dev(struct i3c_dev_desc *dev) in i3c_hci_detach_i3c_dev()
472 static int i3c_hci_request_ibi(struct i3c_dev_desc *dev, in i3c_hci_request_ibi()
487 static void i3c_hci_free_ibi(struct i3c_dev_desc *dev) in i3c_hci_free_ibi()
495 static int i3c_hci_enable_ibi(struct i3c_dev_desc *dev) in i3c_hci_enable_ibi()
505 static int i3c_hci_disable_ibi(struct i3c_dev_desc *dev) in i3c_hci_disable_ibi()
515 static void i3c_hci_recycle_ibi_slot(struct i3c_dev_desc *dev, in i3c_hci_recycle_ibi_slot()
Dcmd.h56 void (*prep_i3c_xfer)(struct i3c_hci *hci, struct i3c_dev_desc *dev,
Ddma.c541 static int hci_dma_request_ibi(struct i3c_hci *hci, struct i3c_dev_desc *dev, in hci_dma_request_ibi()
562 static void hci_dma_free_ibi(struct i3c_hci *hci, struct i3c_dev_desc *dev) in hci_dma_free_ibi()
573 struct i3c_dev_desc *dev, in hci_dma_recycle_ibi_slot()
584 struct i3c_dev_desc *dev; in hci_dma_process_ibi()
Dpio.c809 struct i3c_dev_desc *dev; in hci_pio_prep_new_ibi()
941 static int hci_pio_request_ibi(struct i3c_hci *hci, struct i3c_dev_desc *dev, in hci_pio_request_ibi()
962 static void hci_pio_free_ibi(struct i3c_hci *hci, struct i3c_dev_desc *dev) in hci_pio_free_ibi()
973 struct i3c_dev_desc *dev, in hci_pio_recycle_ibi_slot()
Dcmd_v2.c218 struct i3c_dev_desc *dev, in hci_cmd_v2_prep_i3c_xfer()
Dcmd_v1.c223 struct i3c_dev_desc *dev, in hci_cmd_v1_prep_i3c_xfer()
/linux-5.19.10/drivers/i3c/master/
Dsvc-i3c-master.c178 struct i3c_dev_desc *descs[SVC_I3C_MAX_DEVS];
193 struct i3c_dev_desc **slots;
290 static struct i3c_dev_desc *
320 struct i3c_dev_desc *dev) in svc_i3c_master_handle_ibi()
375 struct i3c_dev_desc *dev; in svc_i3c_master_ibi_work()
619 static int svc_i3c_master_attach_i3c_dev(struct i3c_dev_desc *dev) in svc_i3c_master_attach_i3c_dev()
647 static int svc_i3c_master_reattach_i3c_dev(struct i3c_dev_desc *dev, in svc_i3c_master_reattach_i3c_dev()
660 static void svc_i3c_master_detach_i3c_dev(struct i3c_dev_desc *dev) in svc_i3c_master_detach_i3c_dev()
835 struct i3c_dev_desc *dev; in svc_i3c_update_ibirules()
1260 static int svc_i3c_master_priv_xfers(struct i3c_dev_desc *dev, in svc_i3c_master_priv_xfers()
[all …]
Di3c-master-cdns.c405 struct i3c_dev_desc **slots;
734 static int cdns_i3c_master_priv_xfers(struct i3c_dev_desc *dev, in cdns_i3c_master_priv_xfers()
898 static void cdns_i3c_master_upd_i3c_addr(struct i3c_dev_desc *dev) in cdns_i3c_master_upd_i3c_addr()
940 static int cdns_i3c_master_reattach_i3c_dev(struct i3c_dev_desc *dev, in cdns_i3c_master_reattach_i3c_dev()
948 static int cdns_i3c_master_attach_i3c_dev(struct i3c_dev_desc *dev) in cdns_i3c_master_attach_i3c_dev()
980 static void cdns_i3c_master_detach_i3c_dev(struct i3c_dev_desc *dev) in cdns_i3c_master_detach_i3c_dev()
1068 struct i3c_dev_desc *dev; in cdns_i3c_master_upd_i3c_scl_lim()
1312 struct i3c_dev_desc *dev; in cdns_i3c_master_handle_ibi()
1409 static int cdns_i3c_master_disable_ibi(struct i3c_dev_desc *dev) in cdns_i3c_master_disable_ibi()
1434 static int cdns_i3c_master_enable_ibi(struct i3c_dev_desc *dev) in cdns_i3c_master_enable_ibi()
[all …]
Ddw-i3c-master.c826 static int dw_i3c_master_priv_xfers(struct i3c_dev_desc *dev, in dw_i3c_master_priv_xfers()
895 static int dw_i3c_master_reattach_i3c_dev(struct i3c_dev_desc *dev, in dw_i3c_master_reattach_i3c_dev()
927 static int dw_i3c_master_attach_i3c_dev(struct i3c_dev_desc *dev) in dw_i3c_master_attach_i3c_dev()
954 static void dw_i3c_master_detach_i3c_dev(struct i3c_dev_desc *dev) in dw_i3c_master_detach_i3c_dev()