Lines Matching refs:xd

260 int tb_xdomain_lane_bonding_enable(struct tb_xdomain *xd);
261 void tb_xdomain_lane_bonding_disable(struct tb_xdomain *xd);
262 int tb_xdomain_alloc_in_hopid(struct tb_xdomain *xd, int hopid);
263 void tb_xdomain_release_in_hopid(struct tb_xdomain *xd, int hopid);
264 int tb_xdomain_alloc_out_hopid(struct tb_xdomain *xd, int hopid);
265 void tb_xdomain_release_out_hopid(struct tb_xdomain *xd, int hopid);
266 int tb_xdomain_enable_paths(struct tb_xdomain *xd, int transmit_path,
269 int tb_xdomain_disable_paths(struct tb_xdomain *xd, int transmit_path,
273 static inline int tb_xdomain_disable_all_paths(struct tb_xdomain *xd) in tb_xdomain_disable_all_paths() argument
275 return tb_xdomain_disable_paths(xd, -1, -1, -1, -1); in tb_xdomain_disable_all_paths()
284 struct tb_xdomain *xd; in tb_xdomain_find_by_uuid_locked() local
287 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked()
290 return xd; in tb_xdomain_find_by_uuid_locked()
296 struct tb_xdomain *xd; in tb_xdomain_find_by_route_locked() local
299 xd = tb_xdomain_find_by_route(tb, route); in tb_xdomain_find_by_route_locked()
302 return xd; in tb_xdomain_find_by_route_locked()
305 static inline struct tb_xdomain *tb_xdomain_get(struct tb_xdomain *xd) in tb_xdomain_get() argument
307 if (xd) in tb_xdomain_get()
308 get_device(&xd->dev); in tb_xdomain_get()
309 return xd; in tb_xdomain_get()
312 static inline void tb_xdomain_put(struct tb_xdomain *xd) in tb_xdomain_put() argument
314 if (xd) in tb_xdomain_put()
315 put_device(&xd->dev); in tb_xdomain_put()
330 int tb_xdomain_response(struct tb_xdomain *xd, const void *response,
332 int tb_xdomain_request(struct tb_xdomain *xd, const void *request,