Searched refs:hci_xfer (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/i3c/master/mipi-i3c-hci/ |
| H A D | hci.h | 84 struct hci_xfer { struct 96 struct hci_xfer *next_xfer; argument 97 struct hci_xfer *next_data; 98 struct hci_xfer *next_resp; 111 static inline struct hci_xfer *hci_alloc_xfer(unsigned int n) in hci_alloc_xfer() 113 return kzalloc_objs(struct hci_xfer, n); in hci_alloc_xfer() 116 static inline void hci_free_xfer(struct hci_xfer *xfer, unsigned int n) in hci_free_xfer() 124 int (*queue_xfer)(struct i3c_hci *hci, struct hci_xfer *xfer, int n); 125 bool (*dequeue_xfer)(struct i3c_hci *hci, struct hci_xfer *xfer, int n); 126 int (*handle_error)(struct i3c_hci *hci, struct hci_xfer *xfer, int n); [all …]
|
| H A D | pio.c | 126 struct hci_xfer *curr_xfer, *xfer_queue; 127 struct hci_xfer *curr_rx, *rx_queue; 128 struct hci_xfer *curr_tx, *tx_queue; 129 struct hci_xfer *curr_resp, *resp_queue; 247 static void hci_pio_write_cmd(struct i3c_hci *hci, struct hci_xfer *xfer) in hci_pio_write_cmd() 267 struct hci_xfer *xfer = pio->curr_rx; in hci_pio_do_rx() 294 struct hci_xfer *xfer = pio->curr_rx; in hci_pio_do_trailing_rx() 335 struct hci_xfer *xfer = pio->curr_tx; in hci_pio_do_tx() 390 struct hci_xfer *xfer = pio->curr_xfer; in hci_pio_queue_data() 391 struct hci_xfer *prev_queue_tail; in hci_pio_queue_data() [all …]
|
| H A D | cmd.h | 55 int (*prep_ccc)(struct i3c_hci *hci, struct hci_xfer *xfer, 58 struct hci_xfer *xfer); 60 struct hci_xfer *xfer);
|
| H A D | dma.c | 133 struct hci_xfer **src_xfers; 428 struct hci_xfer *xfer_list, unsigned int n) in hci_dma_unmap_xfer() 430 struct hci_xfer *xfer; in hci_dma_unmap_xfer() 441 static struct i3c_dma *hci_dma_map_xfer(struct device *dev, struct hci_xfer *xfer) in hci_dma_map_xfer() 450 struct hci_xfer *xfer_list, int n) in hci_dma_map_xfer_list() 453 struct hci_xfer *xfer = xfer_list + i; in hci_dma_map_xfer_list() 469 struct hci_xfer *xfer_list, int n) in hci_dma_queue_xfer() 496 struct hci_xfer *xfer = xfer_list + i; in hci_dma_queue_xfer() 543 struct hci_xfer *xfer_list, int n) in hci_dma_dequeue_xfer() 573 struct hci_xfer *xfer = xfer_list + i; in hci_dma_dequeue_xfer() [all …]
|
| H A D | cmd_v2.c | 91 struct hci_xfer *xfer, in hci_cmd_v2_prep_private_xfer() 149 static int hci_cmd_v2_prep_ccc(struct i3c_hci *hci, struct hci_xfer *xfer, in hci_cmd_v2_prep_ccc() 217 struct hci_xfer *xfer) in hci_cmd_v2_prep_i3c_xfer() 228 struct hci_xfer *xfer) in hci_cmd_v2_prep_i2c_xfer() 239 struct hci_xfer *xfer; in hci_cmd_v2_daa()
|
| H A D | cmd_v1.c | 144 static void fill_data_bytes(struct hci_xfer *xfer, u8 *data, in fill_data_bytes() 169 struct hci_xfer *xfer, in hci_cmd_v1_prep_ccc() 220 struct hci_xfer *xfer) in hci_cmd_v1_prep_i3c_xfer() 255 struct hci_xfer *xfer) in hci_cmd_v1_prep_i2c_xfer() 290 struct hci_xfer *xfer; in hci_cmd_v1_daa()
|
| H A D | core.c | 249 int i3c_hci_process_xfer(struct i3c_hci *hci, struct hci_xfer *xfer, int n) in i3c_hci_process_xfer() 283 struct hci_xfer *xfer; in i3c_hci_send_ccc_cmd() 366 struct hci_xfer *xfer; in i3c_hci_i3c_xfers() 421 struct hci_xfer *xfer; in i3c_hci_i2c_xfers()
|