Lines Matching refs:ctl

135 static int __tb_xdomain_response(struct tb_ctl *ctl, const void *response,
150 return tb_cfg_request(ctl, req, response_ready, req);
168 return __tb_xdomain_response(xd->tb->ctl, response, size, type);
172 static int __tb_xdomain_request(struct tb_ctl *ctl, const void *request,
193 res = tb_cfg_request_sync(ctl, req, timeout_msec);
222 return __tb_xdomain_request(xd->tb->ctl, request, request_size,
263 static int tb_xdp_uuid_request(struct tb_ctl *ctl, u64 route, int retry,
275 ret = __tb_xdomain_request(ctl, &req, sizeof(req),
292 static int tb_xdp_uuid_response(struct tb_ctl *ctl, u64 route, u8 sequence,
305 return __tb_xdomain_response(ctl, &res, sizeof(res),
309 static int tb_xdp_error_response(struct tb_ctl *ctl, u64 route, u8 sequence,
319 return __tb_xdomain_response(ctl, &res, sizeof(res),
323 static int tb_xdp_properties_request(struct tb_ctl *ctl, u64 route,
348 ret = __tb_xdomain_request(ctl, &req, sizeof(req),
414 static int tb_xdp_properties_response(struct tb *tb, struct tb_ctl *ctl,
428 tb_xdp_error_response(ctl, xd->route, sequence,
461 ret = __tb_xdomain_response(ctl, res, total_size,
468 static int tb_xdp_properties_changed_request(struct tb_ctl *ctl, u64 route,
481 ret = __tb_xdomain_request(ctl, &req, sizeof(req),
492 tb_xdp_properties_changed_response(struct tb_ctl *ctl, u64 route, u8 sequence)
499 return __tb_xdomain_response(ctl, &res, sizeof(res),
503 static int tb_xdp_link_state_status_request(struct tb_ctl *ctl, u64 route,
516 ret = __tb_xdomain_request(ctl, &req, sizeof(req), TB_CFG_PKG_XDOMAIN_REQ,
537 static int tb_xdp_link_state_status_response(struct tb *tb, struct tb_ctl *ctl,
562 return __tb_xdomain_response(ctl, &res, sizeof(res),
566 static int tb_xdp_link_state_change_request(struct tb_ctl *ctl, u64 route,
580 ret = __tb_xdomain_request(ctl, &req, sizeof(req), TB_CFG_PKG_XDOMAIN_REQ,
593 static int tb_xdp_link_state_change_response(struct tb_ctl *ctl, u64 route,
604 return __tb_xdomain_response(ctl, &res, sizeof(res),
733 struct tb_ctl *ctl = tb->ctl;
752 tb_xdp_error_response(ctl, route, sequence, ERROR_NOT_READY);
764 ret = tb_xdp_properties_response(tb, ctl, xd, sequence,
773 ret = tb_xdp_properties_changed_response(ctl, route, sequence);
788 ret = tb_xdp_uuid_response(ctl, route, sequence, uuid);
805 ret = tb_xdp_link_state_status_response(tb, ctl, xd,
808 tb_xdp_error_response(ctl, route, sequence,
821 ret = tb_xdp_link_state_change_response(ctl, route,
827 tb_xdp_error_response(ctl, route, sequence,
834 tb_xdp_error_response(ctl, route, sequence,
1204 ret = tb_xdp_uuid_request(tb->ctl, xd->route, xd->state_retries, &uuid,
1257 ret = tb_xdp_link_state_status_request(tb->ctl, xd->route,
1305 ret = tb_xdp_link_state_change_request(tb->ctl, xd->route,
1393 ret = tb_xdp_properties_request(tb->ctl, xd->route, xd->local_uuid,
1692 ret = tb_xdp_properties_changed_request(xd->tb->ctl, xd->route,