Home
last modified time | relevance | path

Searched refs:tb_cfg_request (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Dctl.h54 * struct tb_cfg_request - Control channel request
77 struct tb_cfg_request { struct
87 bool (*match)(const struct tb_cfg_request *req,
89 bool (*copy)(struct tb_cfg_request *req, const struct ctl_pkg *pkg);
101 struct tb_cfg_request *tb_cfg_request_alloc(void);
102 void tb_cfg_request_get(struct tb_cfg_request *req);
103 void tb_cfg_request_put(struct tb_cfg_request *req);
104 int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req,
106 void tb_cfg_request_cancel(struct tb_cfg_request *re
[all...]
H A Dctl.c66 struct tb_cfg_request *tb_cfg_request_alloc(void) in tb_cfg_request_alloc()
68 struct tb_cfg_request *req; in tb_cfg_request_alloc()
83 void tb_cfg_request_get(struct tb_cfg_request *req) in tb_cfg_request_get()
92 struct tb_cfg_request *req = container_of(kref, typeof(*req), kref); in tb_cfg_request_destroy()
104 void tb_cfg_request_put(struct tb_cfg_request *req) in tb_cfg_request_put()
112 struct tb_cfg_request *req) in tb_cfg_request_enqueue()
129 static void tb_cfg_request_dequeue(struct tb_cfg_request *req) in tb_cfg_request_dequeue()
141 static bool tb_cfg_request_is_active(struct tb_cfg_request *req) in tb_cfg_request_is_active()
146 static struct tb_cfg_request *
149 struct tb_cfg_request *re in tb_cfg_request_find()
512 int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req, tb_cfg_request() function
[all...]
H A Ddma_port.c65 static bool dma_port_match(const struct tb_cfg_request *req, in dma_port_match()
82 static bool dma_port_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in dma_port_copy()
101 struct tb_cfg_request *req; in dma_port_read()
142 struct tb_cfg_request *req; in dma_port_write()
H A Dxdomain.c48 static bool tb_xdomain_match(const struct tb_cfg_request *req, in tb_xdomain_match()
81 static bool tb_xdomain_copy(struct tb_cfg_request *req, in tb_xdomain_copy()
97 struct tb_cfg_request *req; in __tb_xdomain_response()
109 return tb_cfg_request(ctl, req, response_ready, req); in __tb_xdomain_response()
136 struct tb_cfg_request *req; in __tb_xdomain_request()
H A Dicm.c255 static bool icm_match(const struct tb_cfg_request *req, in icm_match()
269 static bool icm_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in icm_copy()
289 struct tb_cfg_request *req; in icm_request()
/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Dctl.h53 * struct tb_cfg_request - Control channel request
76 struct tb_cfg_request { struct
86 bool (*match)(const struct tb_cfg_request *req,
88 bool (*copy)(struct tb_cfg_request *req, const struct ctl_pkg *pkg);
100 struct tb_cfg_request *tb_cfg_request_alloc(void);
101 void tb_cfg_request_get(struct tb_cfg_request *req);
102 void tb_cfg_request_put(struct tb_cfg_request *req);
103 int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req,
105 void tb_cfg_request_cancel(struct tb_cfg_request *re
[all...]
H A Dctl.c78 struct tb_cfg_request *tb_cfg_request_alloc(void) in tb_cfg_request_alloc()
80 struct tb_cfg_request *req; in tb_cfg_request_alloc()
95 void tb_cfg_request_get(struct tb_cfg_request *req) in tb_cfg_request_get()
104 struct tb_cfg_request *req = container_of(kref, typeof(*req), kref); in tb_cfg_request_destroy()
116 void tb_cfg_request_put(struct tb_cfg_request *req) in tb_cfg_request_put()
124 struct tb_cfg_request *req) in tb_cfg_request_enqueue()
141 static void tb_cfg_request_dequeue(struct tb_cfg_request *req) in tb_cfg_request_dequeue()
153 static bool tb_cfg_request_is_active(struct tb_cfg_request *req) in tb_cfg_request_is_active()
158 static struct tb_cfg_request *
161 struct tb_cfg_request *re in tb_cfg_request_find()
523 int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req, tb_cfg_request() function
[all...]
H A Ddma_port.c65 static bool dma_port_match(const struct tb_cfg_request *req, in dma_port_match()
82 static bool dma_port_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in dma_port_copy()
101 struct tb_cfg_request *req; in dma_port_read()
142 struct tb_cfg_request *req; in dma_port_write()
H A Dxdomain.c89 static bool tb_xdomain_match(const struct tb_cfg_request *req, in tb_xdomain_match()
122 static bool tb_xdomain_copy(struct tb_cfg_request *req, in tb_xdomain_copy()
138 struct tb_cfg_request *req; in __tb_xdomain_response()
150 return tb_cfg_request(ctl, req, response_ready, req); in __tb_xdomain_response()
177 struct tb_cfg_request *req; in __tb_xdomain_request()
H A Dicm.c271 static bool icm_match(const struct tb_cfg_request *req, in icm_match()
285 static bool icm_copy(struct tb_cfg_request *req, const struct ctl_pkg *pkg) in icm_copy()
305 struct tb_cfg_request *req; in icm_request()
2212 struct tb_cfg_request *req; in icm_usb4_switch_nvm_authenticate()
2244 ret = tb_cfg_request(tb->ctl, req, icm_usb4_switch_nvm_auth_complete, in icm_usb4_switch_nvm_authenticate()

Completed in 16 milliseconds