Lines Matching defs:tb_ctl

23  * struct tb_ctl - Thunderbolt control channel
36 struct tb_ctl {
123 static int tb_cfg_request_enqueue(struct tb_ctl *ctl,
143 struct tb_ctl *ctl = req->ctl;
159 tb_cfg_request_find(struct tb_ctl *ctl, struct ctl_pkg *pkg)
263 static void tb_cfg_print_error(struct tb_ctl *ctl,
319 static struct ctl_pkg *tb_ctl_pkg_alloc(struct tb_ctl *ctl)
351 static int tb_ctl_tx(struct tb_ctl *ctl, const void *data, size_t len,
384 static bool tb_ctl_handle_event(struct tb_ctl *ctl, enum tb_cfg_pkg_type type,
523 int tb_cfg_request(struct tb_ctl *ctl, struct tb_cfg_request *req,
589 struct tb_cfg_result tb_cfg_request_sync(struct tb_ctl *ctl,
625 struct tb_ctl *tb_ctl_alloc(struct tb_nhi *nhi, int timeout_msec, event_cb cb,
629 struct tb_ctl *ctl = kzalloc(sizeof(*ctl), GFP_KERNEL);
675 void tb_ctl_free(struct tb_ctl *ctl)
700 void tb_ctl_start(struct tb_ctl *ctl)
721 void tb_ctl_stop(struct tb_ctl *ctl)
747 int tb_cfg_ack_notification(struct tb_ctl *ctl, u64 route,
810 int tb_cfg_ack_plug(struct tb_ctl *ctl, u64 route, u32 port, bool unplug)
876 struct tb_cfg_result tb_cfg_reset(struct tb_ctl *ctl, u64 route)
918 struct tb_cfg_result tb_cfg_read_raw(struct tb_ctl *ctl, void *buffer,
989 struct tb_cfg_result tb_cfg_write_raw(struct tb_ctl *ctl, const void *buffer,
1047 static int tb_cfg_get_error(struct tb_ctl *ctl, enum tb_cfg_space space,
1070 int tb_cfg_read(struct tb_ctl *ctl, void *buffer, u64 route, u32 port,
1096 int tb_cfg_write(struct tb_ctl *ctl, const void *buffer, u64 route, u32 port,
1133 int tb_cfg_get_upstream_port(struct tb_ctl *ctl, u64 route)