Home
last modified time | relevance | path

Searched refs:tb_ctl (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/thunderbolt/
Dctl.h19 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 *ctl, u64 route, u32 port, bool unplug);
[all …]
Dctl.c25 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 *ctl, struct tb_cfg_request *req, in tb_cfg_request()
[all …]
Dxdomain.c94 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 *ctl = tb->ctl; in tb_xdp_handle_request()
Ddma_port.c88 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()
/Linux-v5.10/include/linux/
Dthunderbolt.h76 struct tb_ctl *ctl;