Lines Matching refs:xd
246 int tb_xdomain_enable_paths(struct tb_xdomain *xd, u16 transmit_path,
249 int tb_xdomain_disable_paths(struct tb_xdomain *xd);
256 struct tb_xdomain *xd; in tb_xdomain_find_by_uuid_locked() local
259 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked()
262 return xd; in tb_xdomain_find_by_uuid_locked()
268 struct tb_xdomain *xd; in tb_xdomain_find_by_route_locked() local
271 xd = tb_xdomain_find_by_route(tb, route); in tb_xdomain_find_by_route_locked()
274 return xd; in tb_xdomain_find_by_route_locked()
277 static inline struct tb_xdomain *tb_xdomain_get(struct tb_xdomain *xd) in tb_xdomain_get() argument
279 if (xd) in tb_xdomain_get()
280 get_device(&xd->dev); in tb_xdomain_get()
281 return xd; in tb_xdomain_get()
284 static inline void tb_xdomain_put(struct tb_xdomain *xd) in tb_xdomain_put() argument
286 if (xd) in tb_xdomain_put()
287 put_device(&xd->dev); in tb_xdomain_put()
302 int tb_xdomain_response(struct tb_xdomain *xd, const void *response,
304 int tb_xdomain_request(struct tb_xdomain *xd, const void *request,