Lines Matching refs:route

189 static inline void tb_xdp_fill_header(struct tb_xdp_header *hdr, u64 route,  in tb_xdp_fill_header()  argument
197 hdr->xd_hdr.route_hi = upper_32_bits(route); in tb_xdp_fill_header()
198 hdr->xd_hdr.route_lo = lower_32_bits(route); in tb_xdp_fill_header()
228 static int tb_xdp_error_response(struct tb_ctl *ctl, u64 route, u8 sequence, in tb_xdp_error_response() argument
234 tb_xdp_fill_header(&res.hdr, route, sequence, ERROR_RESPONSE, in tb_xdp_error_response()
242 static int tb_xdp_properties_request(struct tb_ctl *ctl, u64 route, in tb_xdp_properties_request() argument
259 tb_xdp_fill_header(&req.hdr, route, retry % 4, PROPERTIES_REQUEST, in tb_xdp_properties_request()
335 u64 route, u8 sequence, const uuid_t *src_uuid, in tb_xdp_properties_response() argument
349 tb_xdp_error_response(ctl, route, sequence, in tb_xdp_properties_response()
371 tb_xdp_fill_header(&res->hdr, route, sequence, PROPERTIES_RESPONSE, 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() argument
397 tb_xdp_fill_header(&req.hdr, route, retry % 4, 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() argument
418 tb_xdp_fill_header(&res.hdr, route, sequence, in tb_xdp_properties_changed_response()
472 u64 route; in tb_xdp_handle_request() local
474 route = ((u64)xhdr->route_hi << 32 | xhdr->route_lo) & ~BIT_ULL(63); in tb_xdp_handle_request()
486 tb_xdp_error_response(ctl, route, sequence, ERROR_NOT_READY); in tb_xdp_handle_request()
492 ret = tb_xdp_properties_response(tb, ctl, route, sequence, uuid, in tb_xdp_handle_request()
501 ret = tb_xdp_properties_changed_response(ctl, route, sequence); in tb_xdp_handle_request()
843 ret = tb_xdp_properties_request(tb->ctl, xd->route, xd->local_uuid, in tb_xdomain_get_properties()
932 ret = tb_xdp_properties_changed_request(xd->tb->ctl, xd->route, in tb_xdomain_properties_changed()
1101 u64 route, const uuid_t *local_uuid, in tb_xdomain_alloc() argument
1111 xd->route = route; in tb_xdomain_alloc()
1131 dev_set_name(&xd->dev, "%u-%llx", tb->index, route); in tb_xdomain_alloc()
1276 u64 route; member
1301 } else if (lookup->route && in switch_find_xdomain()
1302 lookup->route == xd->route) { in switch_find_xdomain()
1388 struct tb_xdomain *tb_xdomain_find_by_route(struct tb *tb, u64 route) in tb_xdomain_find_by_route() argument
1394 lookup.route = route; in tb_xdomain_find_by_route()