drm_dp_tunnel
int drm_dp_tunnel_disable_bw_alloc(struct drm_dp_tunnel *tunnel)
bool drm_dp_tunnel_bw_alloc_is_enabled(const struct drm_dp_tunnel *tunnel)
static int allocate_tunnel_bw(struct drm_dp_tunnel *tunnel, int bw)
int drm_dp_tunnel_alloc_bw(struct drm_dp_tunnel *tunnel, int bw)
int drm_dp_tunnel_get_allocated_bw(struct drm_dp_tunnel *tunnel)
static int check_and_clear_status_change(struct drm_dp_tunnel *tunnel)
int drm_dp_tunnel_update_state(struct drm_dp_tunnel *tunnel)
int drm_dp_tunnel_max_dprx_rate(const struct drm_dp_tunnel *tunnel)
int drm_dp_tunnel_max_dprx_lane_count(const struct drm_dp_tunnel *tunnel)
int drm_dp_tunnel_available_bw(const struct drm_dp_tunnel *tunnel)
const struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *tunnel)
const struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *tunnel)
const struct drm_dp_tunnel *tunnel)
const struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *tunnel,
const struct drm_dp_tunnel *tunnel,
struct drm_dp_tunnel *tunnel = new_tunnel_state->tunnel_ref.tunnel;
const char *drm_dp_tunnel_name(const struct drm_dp_tunnel *tunnel)
static struct drm_dp_tunnel *
tunnel_get(struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *tunnel = container_of(kref, typeof(*tunnel), kref);
static void tunnel_put(struct drm_dp_tunnel *tunnel)
static void track_tunnel_ref(struct drm_dp_tunnel *tunnel,
static void untrack_tunnel_ref(struct drm_dp_tunnel *tunnel,
static void track_tunnel_ref(struct drm_dp_tunnel *tunnel,
static void untrack_tunnel_ref(struct drm_dp_tunnel *tunnel,
struct drm_dp_tunnel *
drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel,
void drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel,
struct drm_dp_tunnel *tunnel)
static struct drm_dp_tunnel *
struct drm_dp_tunnel *tunnel;
static void destroy_tunnel(struct drm_dp_tunnel *tunnel)
void drm_dp_tunnel_set_io_error(struct drm_dp_tunnel *tunnel)
static int tunnel_allocated_bw(const struct drm_dp_tunnel *tunnel)
static bool tunnel_info_changes_are_valid(struct drm_dp_tunnel *tunnel,
read_and_verify_tunnel_regs(struct drm_dp_tunnel *tunnel,
static bool update_dprx_caps(struct drm_dp_tunnel *tunnel, const struct drm_dp_tunnel_regs *regs)
static int get_max_dprx_bw(const struct drm_dp_tunnel *tunnel)
static int get_max_tunnel_bw(const struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *
struct drm_dp_tunnel *tunnel;
int drm_dp_tunnel_destroy(struct drm_dp_tunnel *tunnel)
static int check_tunnel(const struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *tunnel;
static int group_free_bw(const struct drm_dp_tunnel *tunnel)
static int calc_group_available_bw(const struct drm_dp_tunnel *tunnel)
static int update_group_available_bw(struct drm_dp_tunnel *tunnel,
struct drm_dp_tunnel *tunnel_iter;
static int set_bw_alloc_mode(struct drm_dp_tunnel *tunnel, bool enable)
int drm_dp_tunnel_enable_bw_alloc(struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *tunnel;
struct drm_dp_tunnel *tunnel;
static struct drm_dp_tunnel *
struct drm_dp_tunnel *tunnel,
struct drm_dp_tunnel *old_tunnel;
struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *tunnel = new_crtc_state->dp_tunnel_ref.tunnel;
struct drm_dp_tunnel *tunnel;
struct drm_dp_tunnel *tunnel,
struct drm_dp_tunnel *tunnel = crtc_state->dp_tunnel_ref.tunnel;
static inline struct drm_dp_tunnel *
drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker)
drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker) {}
static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel,
static inline struct drm_dp_tunnel *
drm_dp_tunnel_destroy(struct drm_dp_tunnel *tunnel)
static inline int drm_dp_tunnel_enable_bw_alloc(struct drm_dp_tunnel *tunnel)
static inline int drm_dp_tunnel_disable_bw_alloc(struct drm_dp_tunnel *tunnel)
static inline bool drm_dp_tunnel_bw_alloc_is_enabled(const struct drm_dp_tunnel *tunnel)
drm_dp_tunnel_alloc_bw(struct drm_dp_tunnel *tunnel, int bw)
drm_dp_tunnel_get_allocated_bw(struct drm_dp_tunnel *tunnel)
drm_dp_tunnel_update_state(struct drm_dp_tunnel *tunnel)
static inline void drm_dp_tunnel_set_io_error(struct drm_dp_tunnel *tunnel) {}
drm_dp_tunnel_max_dprx_rate(const struct drm_dp_tunnel *tunnel)
drm_dp_tunnel_max_dprx_lane_count(const struct drm_dp_tunnel *tunnel)
drm_dp_tunnel_available_bw(const struct drm_dp_tunnel *tunnel)
drm_dp_tunnel_name(const struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *tunnel)
const struct drm_dp_tunnel *tunnel)
struct drm_dp_tunnel *tunnel,
const struct drm_dp_tunnel *tunnel,
struct drm_dp_tunnel *tunnel;
struct drm_dp_tunnel *
drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker);
drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker);
static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel,
struct drm_dp_tunnel *
int drm_dp_tunnel_destroy(struct drm_dp_tunnel *tunnel);
int drm_dp_tunnel_enable_bw_alloc(struct drm_dp_tunnel *tunnel);
int drm_dp_tunnel_disable_bw_alloc(struct drm_dp_tunnel *tunnel);
bool drm_dp_tunnel_bw_alloc_is_enabled(const struct drm_dp_tunnel *tunnel);
int drm_dp_tunnel_alloc_bw(struct drm_dp_tunnel *tunnel, int bw);
int drm_dp_tunnel_get_allocated_bw(struct drm_dp_tunnel *tunnel);
int drm_dp_tunnel_update_state(struct drm_dp_tunnel *tunnel);
void drm_dp_tunnel_set_io_error(struct drm_dp_tunnel *tunnel);
int drm_dp_tunnel_max_dprx_rate(const struct drm_dp_tunnel *tunnel);
int drm_dp_tunnel_max_dprx_lane_count(const struct drm_dp_tunnel *tunnel);
int drm_dp_tunnel_available_bw(const struct drm_dp_tunnel *tunnel);
const char *drm_dp_tunnel_name(const struct drm_dp_tunnel *tunnel);
struct drm_dp_tunnel *tunnel);
const struct drm_dp_tunnel *tunnel);
const struct drm_dp_tunnel *tunnel);
struct drm_dp_tunnel *tunnel,
const struct drm_dp_tunnel *tunnel,