Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/thunderbolt/
Dctl.h18 struct tb_ctl;
23 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, event_cb cb, void *cb_data);
24 void tb_ctl_start(struct tb_ctl *ctl);
25 void tb_ctl_stop(struct tb_ctl *ctl);
26 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_error(struct tb_ctl *ctl, u64 route, u32 port,
[all …]
Dctl.c24 struct tb_ctl { struct
110 static int tb_cfg_request_enqueue(struct tb_ctl *ctl, in tb_cfg_request_enqueue()
130 struct tb_ctl *ctl = req->ctl; in tb_cfg_request_dequeue()
146 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg) in tb_cfg_request_find()
254 static void tb_cfg_print_error(struct tb_ctl *ctl, in tb_cfg_print_error()
307 static struct ctl_pkg *tb_ctl_pkg_alloc(struct tb_ctl *ctl) in tb_ctl_pkg_alloc()
339 static int tb_ctl_tx(struct tb_ctl *ctl, const void *data, size_t len, in tb_ctl_tx()
372 static bool tb_ctl_handle_event(struct tb_ctl *ctl, enum tb_cfg_pkg_type type, in tb_ctl_handle_event()
503 int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req, in tb_cfg_request()
569 struct tb_cfg_result tb_cfg_request_sync(struct tb_ctl *ctl, in tb_cfg_request_sync()
[all …]
Dxdomain.c96 static int __tb_xdomain_response(struct tb_ctl *ctl, const void *response, in __tb_xdomain_response()
133 static int __tb_xdomain_request(struct tb_ctl *ctl, const void *request, in __tb_xdomain_request()
228 static int tb_xdp_error_response(struct tb_ctl *ctl, u64 route, u8 sequence, in tb_xdp_error_response()
242 static int tb_xdp_properties_request(struct tb_ctl *ctl, u64 route, in tb_xdp_properties_request()
334 static int tb_xdp_properties_response(struct tb *tb, struct tb_ctl *ctl, in tb_xdp_properties_response()
389 static int tb_xdp_properties_changed_request(struct tb_ctl *ctl, u64 route, in tb_xdp_properties_changed_request()
413 tb_xdp_properties_changed_response(struct tb_ctl *ctl, u64 route, u8 sequence) in tb_xdp_properties_changed_response()
468 struct tb_ctl *ctl = tb->ctl; in tb_xdp_handle_request()
Ddma_port.c91 static int dma_port_read(struct tb_ctl *ctl, void *buffer, u64 route, in dma_port_read()
132 static int dma_port_write(struct tb_ctl *ctl, const void *buffer, u64 route, in dma_port_write()
/Linux-v4.19/include/linux/
Dthunderbolt.h79 struct tb_ctl *ctl;