Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/i3c/master/mipi-i3c-hci/
Ddat.h19 int (*init)(struct i3c_hci *hci);
20 void (*cleanup)(struct i3c_hci *hci);
21 int (*alloc_entry)(struct i3c_hci *hci);
22 void (*free_entry)(struct i3c_hci *hci, unsigned int dat_idx);
23 void (*set_dynamic_addr)(struct i3c_hci *hci, unsigned int dat_idx, u8 addr);
24 void (*set_static_addr)(struct i3c_hci *hci, unsigned int dat_idx, u8 addr);
25 void (*set_flags)(struct i3c_hci *hci, unsigned int dat_idx, u32 w0, u32 w1);
26 void (*clear_flags)(struct i3c_hci *hci, unsigned int dat_idx, u32 w0, u32 w1);
27 int (*get_index)(struct i3c_hci *hci, u8 address);
Dhci.h33 struct i3c_hci { struct
112 bool (*irq_handler)(struct i3c_hci *hci, unsigned int mask);
113 int (*queue_xfer)(struct i3c_hci *hci, struct hci_xfer *xfer, int n);
114 bool (*dequeue_xfer)(struct i3c_hci *hci, struct hci_xfer *xfer, int n);
115 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,
120 int (*init)(struct i3c_hci *hci);
121 void (*cleanup)(struct i3c_hci *hci);
140 void mipi_i3c_hci_resume(struct i3c_hci *hci);
[all …]
Dext_caps.c24 static int hci_extcap_hardware_id(struct i3c_hci *hci, void __iomem *base) in hci_extcap_hardware_id()
45 static int hci_extcap_master_config(struct i3c_hci *hci, void __iomem *base) in hci_extcap_master_config()
59 static int hci_extcap_multi_bus(struct i3c_hci *hci, void __iomem *base) in hci_extcap_multi_bus()
68 static int hci_extcap_xfer_modes(struct i3c_hci *hci, void __iomem *base) in hci_extcap_xfer_modes()
88 static int hci_extcap_xfer_rates(struct i3c_hci *hci, void __iomem *base) in hci_extcap_xfer_rates()
116 static int hci_extcap_auto_command(struct i3c_hci *hci, void __iomem *base) in hci_extcap_auto_command()
130 static int hci_extcap_debug(struct i3c_hci *hci, void __iomem *base) in hci_extcap_debug()
137 static int hci_extcap_scheduled_cmd(struct i3c_hci *hci, void __iomem *base) in hci_extcap_scheduled_cmd()
144 static int hci_extcap_non_curr_master(struct i3c_hci *hci, void __iomem *base) in hci_extcap_non_curr_master()
151 static int hci_extcap_ccc_resp_conf(struct i3c_hci *hci, void __iomem *base) in hci_extcap_ccc_resp_conf()
[all …]
Ddat_v1.c52 static int hci_dat_v1_init(struct i3c_hci *hci) in hci_dat_v1_init()
81 static void hci_dat_v1_cleanup(struct i3c_hci *hci) in hci_dat_v1_cleanup()
87 static int hci_dat_v1_alloc_entry(struct i3c_hci *hci) in hci_dat_v1_alloc_entry()
102 static void hci_dat_v1_free_entry(struct i3c_hci *hci, unsigned int dat_idx) in hci_dat_v1_free_entry()
109 static void hci_dat_v1_set_dynamic_addr(struct i3c_hci *hci, in hci_dat_v1_set_dynamic_addr()
121 static void hci_dat_v1_set_static_addr(struct i3c_hci *hci, in hci_dat_v1_set_static_addr()
132 static void hci_dat_v1_set_flags(struct i3c_hci *hci, unsigned int dat_idx, in hci_dat_v1_set_flags()
145 static void hci_dat_v1_clear_flags(struct i3c_hci *hci, unsigned int dat_idx, in hci_dat_v1_clear_flags()
158 static int hci_dat_v1_get_index(struct i3c_hci *hci, u8 dev_addr) in hci_dat_v1_get_index()
Dcore.c121 static inline struct i3c_hci *to_i3c_hci(struct i3c_master_controller *m) in to_i3c_hci()
123 return container_of(m, struct i3c_hci, master); in to_i3c_hci()
128 struct i3c_hci *hci = to_i3c_hci(m); in i3c_hci_bus_init()
163 struct i3c_hci *hci = to_i3c_hci(m); in i3c_hci_bus_cleanup()
173 void mipi_i3c_hci_resume(struct i3c_hci *hci) in mipi_i3c_hci_resume()
180 void mipi_i3c_hci_pio_reset(struct i3c_hci *hci) in mipi_i3c_hci_pio_reset()
186 void mipi_i3c_hci_dct_index_reset(struct i3c_hci *hci) in mipi_i3c_hci_dct_index_reset()
194 struct i3c_hci *hci = to_i3c_hci(m); in i3c_hci_send_ccc_cmd()
264 struct i3c_hci *hci = to_i3c_hci(m); in i3c_hci_daa()
276 struct i3c_hci *hci = to_i3c_hci(m); in i3c_hci_priv_xfers()
[all …]
Dpio.c139 static int hci_pio_init(struct i3c_hci *hci) in hci_pio_init()
209 static void hci_pio_cleanup(struct i3c_hci *hci) in hci_pio_cleanup()
227 static void hci_pio_write_cmd(struct i3c_hci *hci, struct hci_xfer *xfer) in hci_pio_write_cmd()
241 static bool hci_pio_do_rx(struct i3c_hci *hci, struct hci_pio_data *pio) in hci_pio_do_rx()
266 static void hci_pio_do_trailing_rx(struct i3c_hci *hci, in hci_pio_do_trailing_rx()
307 static bool hci_pio_do_tx(struct i3c_hci *hci, struct hci_pio_data *pio) in hci_pio_do_tx()
347 static bool hci_pio_process_rx(struct i3c_hci *hci, struct hci_pio_data *pio) in hci_pio_process_rx()
354 static bool hci_pio_process_tx(struct i3c_hci *hci, struct hci_pio_data *pio) in hci_pio_process_tx()
361 static void hci_pio_queue_data(struct i3c_hci *hci, struct hci_pio_data *pio) in hci_pio_queue_data()
394 static void hci_pio_push_to_next_rx(struct i3c_hci *hci, struct hci_xfer *xfer, in hci_pio_push_to_next_rx()
[all …]
Dcmd.h54 int (*prep_ccc)(struct i3c_hci *hci, struct hci_xfer *xfer,
56 void (*prep_i3c_xfer)(struct i3c_hci *hci, struct i3c_dev_desc *dev,
58 void (*prep_i2c_xfer)(struct i3c_hci *hci, struct i2c_dev_desc *dev,
60 int (*perform_daa)(struct i3c_hci *hci);
Dcmd_v2.c66 static unsigned int get_i3c_rate_idx(struct i3c_hci *hci) in get_i3c_rate_idx()
83 static unsigned int get_i2c_rate_idx(struct i3c_hci *hci) in get_i2c_rate_idx()
92 static void hci_cmd_v2_prep_private_xfer(struct i3c_hci *hci, in hci_cmd_v2_prep_private_xfer()
151 static int hci_cmd_v2_prep_ccc(struct i3c_hci *hci, struct hci_xfer *xfer, in hci_cmd_v2_prep_ccc()
217 static void hci_cmd_v2_prep_i3c_xfer(struct i3c_hci *hci, in hci_cmd_v2_prep_i3c_xfer()
228 static void hci_cmd_v2_prep_i2c_xfer(struct i3c_hci *hci, in hci_cmd_v2_prep_i2c_xfer()
239 static int hci_cmd_v2_daa(struct i3c_hci *hci) in hci_cmd_v2_daa()
Dcmd_v1.c122 static enum hci_cmd_mode get_i3c_mode(struct i3c_hci *hci) in get_i3c_mode()
139 static enum hci_cmd_mode get_i2c_mode(struct i3c_hci *hci) in get_i2c_mode()
172 static int hci_cmd_v1_prep_ccc(struct i3c_hci *hci, in hci_cmd_v1_prep_ccc()
222 static void hci_cmd_v1_prep_i3c_xfer(struct i3c_hci *hci, in hci_cmd_v1_prep_i3c_xfer()
257 static void hci_cmd_v1_prep_i2c_xfer(struct i3c_hci *hci, in hci_cmd_v1_prep_i2c_xfer()
292 static int hci_cmd_v1_daa(struct i3c_hci *hci) in hci_cmd_v1_daa()
Ddma.c165 static void hci_dma_cleanup(struct i3c_hci *hci) in hci_dma_cleanup()
208 static int hci_dma_init(struct i3c_hci *hci) in hci_dma_init()
340 static void hci_dma_unmap_xfer(struct i3c_hci *hci, in hci_dma_unmap_xfer()
354 static int hci_dma_queue_xfer(struct i3c_hci *hci, in hci_dma_queue_xfer()
439 static bool hci_dma_dequeue_xfer(struct i3c_hci *hci, in hci_dma_dequeue_xfer()
495 static void hci_dma_xfer_done(struct i3c_hci *hci, struct hci_rh_data *rh) in hci_dma_xfer_done()
541 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()
572 static void hci_dma_recycle_ibi_slot(struct i3c_hci *hci, in hci_dma_recycle_ibi_slot()
582 static void hci_dma_process_ibi(struct i3c_hci *hci, struct hci_rh_data *rh) in hci_dma_process_ibi()
[all …]
Dext_caps.h17 int i3c_hci_parse_ext_caps(struct i3c_hci *hci);
Ddct.h13 void i3c_hci_dct_get_val(struct i3c_hci *hci, unsigned int dct_idx,
Ddct_v1.c20 void i3c_hci_dct_get_val(struct i3c_hci *hci, unsigned int dct_idx, in i3c_hci_dct_get_val()
Dibi.h30 i3c_hci_addr_to_dev(struct i3c_hci *hci, unsigned int addr) in i3c_hci_addr_to_dev()