/Linux-v6.6/drivers/i3c/master/mipi-i3c-hci/ |
D | dat.h | 19 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);
|
D | hci.h | 33 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 …]
|
D | ext_caps.c | 24 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 …]
|
D | dat_v1.c | 52 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()
|
D | core.c | 121 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 …]
|
D | pio.c | 139 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 …]
|
D | cmd.h | 54 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);
|
D | cmd_v2.c | 66 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()
|
D | cmd_v1.c | 122 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()
|
D | dma.c | 165 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 …]
|
D | ext_caps.h | 17 int i3c_hci_parse_ext_caps(struct i3c_hci *hci);
|
D | dct.h | 13 void i3c_hci_dct_get_val(struct i3c_hci *hci, unsigned int dct_idx,
|
D | dct_v1.c | 20 void i3c_hci_dct_get_val(struct i3c_hci *hci, unsigned int dct_idx, in i3c_hci_dct_get_val()
|
D | ibi.h | 30 i3c_hci_addr_to_dev(struct i3c_hci *hci, unsigned int addr) in i3c_hci_addr_to_dev()
|