Lines Matching +full:0 +full:xd
113 TB_PROPERTY_TYPE_UNKNOWN = 0x00,
114 TB_PROPERTY_TYPE_DIRECTORY = 0x44,
115 TB_PROPERTY_TYPE_DATA = 0x64,
116 TB_PROPERTY_TYPE_TEXT = 0x74,
117 TB_PROPERTY_TYPE_VALUE = 0x76,
182 TB_LINK_WIDTH_SINGLE = BIT(0),
274 int tb_xdomain_lane_bonding_enable(struct tb_xdomain *xd);
275 void tb_xdomain_lane_bonding_disable(struct tb_xdomain *xd);
276 int tb_xdomain_alloc_in_hopid(struct tb_xdomain *xd, int hopid);
277 void tb_xdomain_release_in_hopid(struct tb_xdomain *xd, int hopid);
278 int tb_xdomain_alloc_out_hopid(struct tb_xdomain *xd, int hopid);
279 void tb_xdomain_release_out_hopid(struct tb_xdomain *xd, int hopid);
280 int tb_xdomain_enable_paths(struct tb_xdomain *xd, int transmit_path,
283 int tb_xdomain_disable_paths(struct tb_xdomain *xd, int transmit_path,
287 static inline int tb_xdomain_disable_all_paths(struct tb_xdomain *xd) in tb_xdomain_disable_all_paths() argument
289 return tb_xdomain_disable_paths(xd, -1, -1, -1, -1); in tb_xdomain_disable_all_paths()
298 struct tb_xdomain *xd; in tb_xdomain_find_by_uuid_locked() local
301 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked()
304 return xd; in tb_xdomain_find_by_uuid_locked()
310 struct tb_xdomain *xd; in tb_xdomain_find_by_route_locked() local
313 xd = tb_xdomain_find_by_route(tb, route); in tb_xdomain_find_by_route_locked()
316 return xd; in tb_xdomain_find_by_route_locked()
319 static inline struct tb_xdomain *tb_xdomain_get(struct tb_xdomain *xd) in tb_xdomain_get() argument
321 if (xd) in tb_xdomain_get()
322 get_device(&xd->dev); in tb_xdomain_get()
323 return xd; in tb_xdomain_get()
326 static inline void tb_xdomain_put(struct tb_xdomain *xd) in tb_xdomain_put() argument
328 if (xd) in tb_xdomain_put()
329 put_device(&xd->dev); in tb_xdomain_put()
344 int tb_xdomain_response(struct tb_xdomain *xd, const void *response,
346 int tb_xdomain_request(struct tb_xdomain *xd, const void *request,
521 * @irq: MSI-X irq number if the ring uses MSI-X. %0 otherwise.
522 * @vector: MSI-X vector number the ring uses (only set if @irq is > 0)
525 * RX ring. For TX ring this should be set to %0.
557 #define RING_FLAG_NO_SUSPEND BIT(0)
576 RING_DESC_ISOCH = 0x1,
577 RING_DESC_CRC_ERROR = 0x1,
578 RING_DESC_COMPLETED = 0x2,
579 RING_DESC_POSTED = 0x4,
580 RING_DESC_BUFFER_OVERRUN = 0x04,
581 RING_DESC_INTERRUPT = 0x8,
589 * @size: Size of the frame in bytes (%0 means %4096)
605 #define TB_FRAME_SIZE 0x100