Lines Matching refs:xd
241 int tb_xdomain_enable_paths(struct tb_xdomain *xd, u16 transmit_path,
244 int tb_xdomain_disable_paths(struct tb_xdomain *xd);
251 struct tb_xdomain *xd; in tb_xdomain_find_by_uuid_locked() local
254 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked()
257 return xd; in tb_xdomain_find_by_uuid_locked()
263 struct tb_xdomain *xd; in tb_xdomain_find_by_route_locked() local
266 xd = tb_xdomain_find_by_route(tb, route); in tb_xdomain_find_by_route_locked()
269 return xd; in tb_xdomain_find_by_route_locked()
272 static inline struct tb_xdomain *tb_xdomain_get(struct tb_xdomain *xd) in tb_xdomain_get() argument
274 if (xd) in tb_xdomain_get()
275 get_device(&xd->dev); in tb_xdomain_get()
276 return xd; in tb_xdomain_get()
279 static inline void tb_xdomain_put(struct tb_xdomain *xd) in tb_xdomain_put() argument
281 if (xd) in tb_xdomain_put()
282 put_device(&xd->dev); in tb_xdomain_put()
297 int tb_xdomain_response(struct tb_xdomain *xd, const void *response,
299 int tb_xdomain_request(struct tb_xdomain *xd, const void *request,