Lines Matching defs:drm_dp_aux
33 struct drm_dp_aux;
47 int drm_dp_read_clock_recovery_delay(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE],
49 int drm_dp_read_channel_eq_delay(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE],
52 void drm_dp_link_train_clock_recovery_delay(const struct drm_dp_aux *aux,
55 void drm_dp_link_train_channel_eq_delay(const struct drm_dp_aux *aux,
57 void drm_dp_lttpr_link_train_channel_eq_delay(const struct drm_dp_aux *aux,
60 int drm_dp_128b132b_read_aux_rd_interval(struct drm_dp_aux *aux);
134 bool drm_dp_vsc_sdp_supported(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE]);
135 bool drm_dp_as_sdp_supported(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE]);
346 * struct drm_dp_aux - DisplayPort AUX channel
358 struct drm_dp_aux {
456 ssize_t (*transfer)(struct drm_dp_aux *aux,
498 int (*wait_hpd_asserted)(struct drm_dp_aux *aux, unsigned long wait_us);
533 int drm_dp_dpcd_probe(struct drm_dp_aux *aux, unsigned int offset);
534 void drm_dp_dpcd_set_powered(struct drm_dp_aux *aux, bool powered);
535 void drm_dp_dpcd_set_probe(struct drm_dp_aux *aux, bool enable);
536 ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset,
538 ssize_t drm_dp_dpcd_write(struct drm_dp_aux *aux, unsigned int offset,
555 static inline int drm_dp_dpcd_read_data(struct drm_dp_aux *aux,
584 static inline int drm_dp_dpcd_write_data(struct drm_dp_aux *aux,
609 static inline ssize_t drm_dp_dpcd_readb(struct drm_dp_aux *aux,
625 static inline ssize_t drm_dp_dpcd_writeb(struct drm_dp_aux *aux,
639 static inline int drm_dp_dpcd_read_byte(struct drm_dp_aux *aux,
653 static inline int drm_dp_dpcd_write_byte(struct drm_dp_aux *aux,
659 int drm_dp_read_dpcd_caps(struct drm_dp_aux *aux,
662 int drm_dp_dpcd_read_link_status(struct drm_dp_aux *aux,
665 int drm_dp_dpcd_read_phy_link_status(struct drm_dp_aux *aux,
668 int drm_dp_link_power_up(struct drm_dp_aux *aux, unsigned char revision);
669 int drm_dp_link_power_down(struct drm_dp_aux *aux, unsigned char revision);
671 int drm_dp_dpcd_write_payload(struct drm_dp_aux *aux,
673 int drm_dp_dpcd_clear_payload(struct drm_dp_aux *aux);
674 int drm_dp_dpcd_poll_act_handled(struct drm_dp_aux *aux, int timeout_ms);
676 bool drm_dp_send_real_edid_checksum(struct drm_dp_aux *aux,
679 int drm_dp_read_downstream_info(struct drm_dp_aux *aux,
705 int drm_dp_downstream_id(struct drm_dp_aux *aux, char id[6]);
710 struct drm_dp_aux *aux);
723 int drm_dp_read_sink_count(struct drm_dp_aux *aux);
725 int drm_dp_read_lttpr_common_caps(struct drm_dp_aux *aux,
728 int drm_dp_read_lttpr_phy_caps(struct drm_dp_aux *aux,
734 int drm_dp_lttpr_set_transparent_mode(struct drm_dp_aux *aux, bool enable);
735 int drm_dp_lttpr_init(struct drm_dp_aux *aux, int lttpr_count);
739 void drm_dp_lttpr_wake_timeout_setup(struct drm_dp_aux *aux, bool transparent_mode);
741 void drm_dp_remote_aux_init(struct drm_dp_aux *aux);
742 void drm_dp_aux_init(struct drm_dp_aux *aux);
743 int drm_dp_aux_register(struct drm_dp_aux *aux);
744 void drm_dp_aux_unregister(struct drm_dp_aux *aux);
746 int drm_dp_start_crc(struct drm_dp_aux *aux, struct drm_crtc *crtc);
747 int drm_dp_stop_crc(struct drm_dp_aux *aux);
767 int drm_dp_read_desc(struct drm_dp_aux *aux, struct drm_dp_desc *desc,
770 int drm_dp_dump_lttpr_desc(struct drm_dp_aux *aux, enum drm_dp_phy dp_phy);
863 drm_edp_backlight_init(struct drm_dp_aux *aux, struct drm_edp_backlight_info *bl,
867 int drm_edp_backlight_set_level(struct drm_dp_aux *aux, const struct drm_edp_backlight_info *bl,
869 int drm_edp_backlight_enable(struct drm_dp_aux *aux, const struct drm_edp_backlight_info *bl,
871 int drm_edp_backlight_disable(struct drm_dp_aux *aux, const struct drm_edp_backlight_info *bl);
876 int drm_panel_dp_aux_backlight(struct drm_panel *panel, struct drm_dp_aux *aux);
881 struct drm_dp_aux *aux)
889 void drm_dp_cec_irq(struct drm_dp_aux *aux);
890 void drm_dp_cec_register_connector(struct drm_dp_aux *aux,
892 void drm_dp_cec_unregister_connector(struct drm_dp_aux *aux);
893 void drm_dp_cec_attach(struct drm_dp_aux *aux, u16 source_physical_address);
894 void drm_dp_cec_set_edid(struct drm_dp_aux *aux, const struct edid *edid);
895 void drm_dp_cec_unset_edid(struct drm_dp_aux *aux);
897 static inline void drm_dp_cec_irq(struct drm_dp_aux *aux)
902 drm_dp_cec_register_connector(struct drm_dp_aux *aux,
907 static inline void drm_dp_cec_unregister_connector(struct drm_dp_aux *aux)
911 static inline void drm_dp_cec_attach(struct drm_dp_aux *aux,
916 static inline void drm_dp_cec_set_edid(struct drm_dp_aux *aux,
921 static inline void drm_dp_cec_unset_edid(struct drm_dp_aux *aux)
945 int drm_dp_get_phy_test_pattern(struct drm_dp_aux *aux,
947 int drm_dp_set_phy_test_pattern(struct drm_dp_aux *aux,
951 int drm_dp_pcon_frl_prepare(struct drm_dp_aux *aux, bool enable_frl_ready_hpd);
952 bool drm_dp_pcon_is_frl_ready(struct drm_dp_aux *aux);
953 int drm_dp_pcon_frl_configure_1(struct drm_dp_aux *aux, int max_frl_gbps,
955 int drm_dp_pcon_frl_configure_2(struct drm_dp_aux *aux, int max_frl_mask,
957 int drm_dp_pcon_reset_frl_config(struct drm_dp_aux *aux);
958 int drm_dp_pcon_frl_enable(struct drm_dp_aux *aux);
960 bool drm_dp_pcon_hdmi_link_active(struct drm_dp_aux *aux);
961 int drm_dp_pcon_hdmi_link_mode(struct drm_dp_aux *aux, u8 *frl_trained_mask);
962 void drm_dp_pcon_hdmi_frl_link_error_count(struct drm_dp_aux *aux,
968 int drm_dp_pcon_pps_default(struct drm_dp_aux *aux);
969 int drm_dp_pcon_pps_override_buf(struct drm_dp_aux *aux, u8 pps_buf[128]);
970 int drm_dp_pcon_pps_override_param(struct drm_dp_aux *aux, u8 pps_param[6]);
973 int drm_dp_pcon_convert_rgb_to_ycbcr(struct drm_dp_aux *aux, u8 color_spc);