Lines Matching full:tunnel

24 	struct drm_dp_tunnel *tunnel;  member
31 drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker);
34 drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker);
36 static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_ref_get() argument
39 tunnel_ref->tunnel = drm_dp_tunnel_get(tunnel, &tunnel_ref->tracker); in drm_dp_tunnel_ref_get()
44 drm_dp_tunnel_put(tunnel_ref->tunnel, &tunnel_ref->tracker); in drm_dp_tunnel_ref_put()
45 tunnel_ref->tunnel = NULL; in drm_dp_tunnel_ref_put()
51 int drm_dp_tunnel_destroy(struct drm_dp_tunnel *tunnel);
53 int drm_dp_tunnel_enable_bw_alloc(struct drm_dp_tunnel *tunnel);
54 int drm_dp_tunnel_disable_bw_alloc(struct drm_dp_tunnel *tunnel);
55 bool drm_dp_tunnel_bw_alloc_is_enabled(const struct drm_dp_tunnel *tunnel);
56 int drm_dp_tunnel_alloc_bw(struct drm_dp_tunnel *tunnel, int bw);
57 int drm_dp_tunnel_get_allocated_bw(struct drm_dp_tunnel *tunnel);
58 int drm_dp_tunnel_update_state(struct drm_dp_tunnel *tunnel);
60 void drm_dp_tunnel_set_io_error(struct drm_dp_tunnel *tunnel);
65 int drm_dp_tunnel_max_dprx_rate(const struct drm_dp_tunnel *tunnel);
66 int drm_dp_tunnel_max_dprx_lane_count(const struct drm_dp_tunnel *tunnel);
67 int drm_dp_tunnel_available_bw(const struct drm_dp_tunnel *tunnel);
69 const char *drm_dp_tunnel_name(const struct drm_dp_tunnel *tunnel);
73 struct drm_dp_tunnel *tunnel);
77 const struct drm_dp_tunnel *tunnel);
81 const struct drm_dp_tunnel *tunnel);
84 struct drm_dp_tunnel *tunnel,
87 const struct drm_dp_tunnel *tunnel,
102 drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker) in drm_dp_tunnel_get() argument
108 drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker) {} in drm_dp_tunnel_put() argument
110 static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_ref_get() argument
123 drm_dp_tunnel_destroy(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_destroy() argument
128 static inline int drm_dp_tunnel_enable_bw_alloc(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_enable_bw_alloc() argument
133 static inline int drm_dp_tunnel_disable_bw_alloc(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_disable_bw_alloc() argument
138 static inline bool drm_dp_tunnel_bw_alloc_is_enabled(const struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_bw_alloc_is_enabled() argument
144 drm_dp_tunnel_alloc_bw(struct drm_dp_tunnel *tunnel, int bw) in drm_dp_tunnel_alloc_bw() argument
150 drm_dp_tunnel_get_allocated_bw(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_get_allocated_bw() argument
156 drm_dp_tunnel_update_state(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_update_state() argument
161 static inline void drm_dp_tunnel_set_io_error(struct drm_dp_tunnel *tunnel) {} in drm_dp_tunnel_set_io_error() argument
171 drm_dp_tunnel_max_dprx_rate(const struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_max_dprx_rate() argument
177 drm_dp_tunnel_max_dprx_lane_count(const struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_max_dprx_lane_count() argument
183 drm_dp_tunnel_available_bw(const struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_available_bw() argument
189 drm_dp_tunnel_name(const struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_name() argument
196 struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_atomic_get_state() argument
203 const struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_atomic_get_new_state() argument
210 struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_atomic_set_stream_bw() argument
218 const struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_atomic_get_group_streams_in_state() argument