Searched refs:tb_cfg_request (Results 1 – 5 of 5) sorted by relevance
/drivers/thunderbolt/ |
D | ctl.h | 76 struct tb_cfg_request { struct 86 bool (*match)(const struct tb_cfg_request *req, argument 88 bool (*copy)(struct tb_cfg_request *req, const struct ctl_pkg *pkg); argument 100 struct tb_cfg_request *tb_cfg_request_alloc(void); argument 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 *req, int err); 107 struct tb_cfg_request *req, int timeout_msec);
|
D | ctl.c | 78 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 *req = NULL, *iter; in tb_cfg_request_find() [all …]
|
D | dma_port.c | 65 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()
|
D | xdomain.c | 88 static bool tb_xdomain_match(const struct tb_cfg_request *req, in tb_xdomain_match() 121 static bool tb_xdomain_copy(struct tb_cfg_request *req, in tb_xdomain_copy() 137 struct tb_cfg_request *req; in __tb_xdomain_response() 149 return tb_cfg_request(ctl, req, response_ready, req); in __tb_xdomain_response() 176 struct tb_cfg_request *req; in __tb_xdomain_request()
|
D | icm.c | 271 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() 2214 struct tb_cfg_request *req; in icm_usb4_switch_nvm_authenticate() 2246 ret = tb_cfg_request(tb->ctl, req, icm_usb4_switch_nvm_auth_complete, in icm_usb4_switch_nvm_authenticate()
|