Lines Matching refs:xd
257 int tb_xdomain_lane_bonding_enable(struct tb_xdomain *xd);
258 void tb_xdomain_lane_bonding_disable(struct tb_xdomain *xd);
259 int tb_xdomain_alloc_in_hopid(struct tb_xdomain *xd, int hopid);
260 void tb_xdomain_release_in_hopid(struct tb_xdomain *xd, int hopid);
261 int tb_xdomain_alloc_out_hopid(struct tb_xdomain *xd, int hopid);
262 void tb_xdomain_release_out_hopid(struct tb_xdomain *xd, int hopid);
263 int tb_xdomain_enable_paths(struct tb_xdomain *xd, int transmit_path,
266 int tb_xdomain_disable_paths(struct tb_xdomain *xd, int transmit_path,
270 static inline int tb_xdomain_disable_all_paths(struct tb_xdomain *xd) in tb_xdomain_disable_all_paths() argument
272 return tb_xdomain_disable_paths(xd, -1, -1, -1, -1); in tb_xdomain_disable_all_paths()
281 struct tb_xdomain *xd; in tb_xdomain_find_by_uuid_locked() local
284 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked()
287 return xd; in tb_xdomain_find_by_uuid_locked()
293 struct tb_xdomain *xd; in tb_xdomain_find_by_route_locked() local
296 xd = tb_xdomain_find_by_route(tb, route); in tb_xdomain_find_by_route_locked()
299 return xd; in tb_xdomain_find_by_route_locked()
302 static inline struct tb_xdomain *tb_xdomain_get(struct tb_xdomain *xd) in tb_xdomain_get() argument
304 if (xd) in tb_xdomain_get()
305 get_device(&xd->dev); in tb_xdomain_get()
306 return xd; in tb_xdomain_get()
309 static inline void tb_xdomain_put(struct tb_xdomain *xd) in tb_xdomain_put() argument
311 if (xd) in tb_xdomain_put()
312 put_device(&xd->dev); in tb_xdomain_put()
327 int tb_xdomain_response(struct tb_xdomain *xd, const void *response,
329 int tb_xdomain_request(struct tb_xdomain *xd, const void *request,