/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | ctl.h | 19 struct tb_ctl; 24 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, int timeout_msec, event_cb cb, 26 void tb_ctl_start(struct tb_ctl *ctl); 27 void tb_ctl_stop(struct tb_ctl *ctl); 28 void tb_ctl_free(struct tb_ctl *ctl); 47 struct tb_ctl *ctl; 78 struct tb_ctl *ctl; 103 int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req, 106 struct tb_cfg_result tb_cfg_request_sync(struct tb_ctl *ctl, 125 int tb_cfg_ack_notification(struct tb_ctl *ct [all...] |
H A D | ctl.c | 23 * struct tb_ctl - Thunderbolt control channel 36 struct tb_ctl { struct 123 static int tb_cfg_request_enqueue(struct tb_ctl *ctl, in tb_cfg_request_enqueue() 143 struct tb_ctl *ctl = req->ctl; in tb_cfg_request_dequeue() 159 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) in tb_cfg_request_find() 263 static void tb_cfg_print_error(struct tb_ctl *ctl, in tb_cfg_print_error() 319 static struct ctl_pkg *tb_ctl_pkg_alloc(struct tb_ctl *ctl) in tb_ctl_pkg_alloc() 351 static int tb_ctl_tx(struct tb_ctl *ctl, const void *data, size_t len, in tb_ctl_tx() 384 static bool tb_ctl_handle_event(struct tb_ctl *ctl, enum tb_cfg_pkg_type type, in tb_ctl_handle_event() 523 int tb_cfg_request(struct tb_ctl *ct [all...] |
H A D | xdomain.c | 135 static int __tb_xdomain_response(struct tb_ctl *ctl, const void *response, in __tb_xdomain_response() 172 static int __tb_xdomain_request(struct tb_ctl *ctl, const void *request, in __tb_xdomain_request() 263 static int tb_xdp_uuid_request(struct tb_ctl *ctl, u64 route, int retry, in tb_xdp_uuid_request() 292 static int tb_xdp_uuid_response(struct tb_ctl *ctl, u64 route, u8 sequence, in tb_xdp_uuid_response() 309 static int tb_xdp_error_response(struct tb_ctl *ctl, u64 route, u8 sequence, in tb_xdp_error_response() 323 static int tb_xdp_properties_request(struct tb_ctl *ctl, u64 route, in tb_xdp_properties_request() 414 static int tb_xdp_properties_response(struct tb *tb, struct tb_ctl *ctl, in tb_xdp_properties_response() 468 static int tb_xdp_properties_changed_request(struct tb_ctl *ctl, u64 route, in tb_xdp_properties_changed_request() 492 tb_xdp_properties_changed_response(struct tb_ctl *ctl, u64 route, u8 sequence) in tb_xdp_properties_changed_response() 503 static int tb_xdp_link_state_status_request(struct tb_ctl *ct [all...] |
H A D | dma_port.c | 88 static int dma_port_read(struct tb_ctl *ctl, void *buffer, u64 route, in dma_port_read() 129 static int dma_port_write(struct tb_ctl *ctl, const void *buffer, u64 route, in dma_port_write()
|
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | ctl.h | 19 struct tb_ctl; 24 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, event_cb cb, void *cb_data); 25 void tb_ctl_start(struct tb_ctl *ctl); 26 void tb_ctl_stop(struct tb_ctl *ctl); 27 void tb_ctl_free(struct tb_ctl *ctl); 48 struct tb_ctl *ctl; 79 struct tb_ctl *ctl; 104 int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req, 107 struct tb_cfg_result tb_cfg_request_sync(struct tb_ctl *ctl, 126 int tb_cfg_ack_plug(struct tb_ctl *ct [all...] |
H A D | ctl.c | 25 struct tb_ctl { struct 111 static int tb_cfg_request_enqueue(struct tb_ctl *ctl, in tb_cfg_request_enqueue() 131 struct tb_ctl *ctl = req->ctl; in tb_cfg_request_dequeue() 147 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) in tb_cfg_request_find() 222 struct tb_ctl *ctl = response->ctl; in decode_error() 260 static void tb_cfg_print_error(struct tb_ctl *ctl, in tb_cfg_print_error() 316 static struct ctl_pkg *tb_ctl_pkg_alloc(struct tb_ctl *ctl) in tb_ctl_pkg_alloc() 348 static int tb_ctl_tx(struct tb_ctl *ctl, const void *data, size_t len, in tb_ctl_tx() 381 static bool tb_ctl_handle_event(struct tb_ctl *ctl, enum tb_cfg_pkg_type type, in tb_ctl_handle_event() 512 int tb_cfg_request(struct tb_ctl *ct [all...] |
H A D | xdomain.c | 94 static int __tb_xdomain_response(struct tb_ctl *ctl, const void *response, in __tb_xdomain_response() 131 static int __tb_xdomain_request(struct tb_ctl *ctl, const void *request, in __tb_xdomain_request() 226 static int tb_xdp_uuid_request(struct tb_ctl *ctl, u64 route, int retry, in tb_xdp_uuid_request() 253 static int tb_xdp_uuid_response(struct tb_ctl *ctl, u64 route, u8 sequence, in tb_xdp_uuid_response() 270 static int tb_xdp_error_response(struct tb_ctl *ctl, u64 route, u8 sequence, in tb_xdp_error_response() 284 static int tb_xdp_properties_request(struct tb_ctl *ctl, u64 route, in tb_xdp_properties_request() 376 static int tb_xdp_properties_response(struct tb *tb, struct tb_ctl *ctl, in tb_xdp_properties_response() 431 static int tb_xdp_properties_changed_request(struct tb_ctl *ctl, u64 route, in tb_xdp_properties_changed_request() 455 tb_xdp_properties_changed_response(struct tb_ctl *ctl, u64 route, u8 sequence) in tb_xdp_properties_changed_response() 559 struct tb_ctl *ct in tb_xdp_handle_request() [all...] |
H A D | dma_port.c | 88 static int dma_port_read(struct tb_ctl *ctl, void *buffer, u64 route, in dma_port_read() 129 static int dma_port_write(struct tb_ctl *ctl, const void *buffer, u64 route, in dma_port_write()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | thunderbolt.h | 76 struct tb_ctl *ctl;
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | thunderbolt.h | 79 struct tb_ctl *ctl;
|