Lines Matching full: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);
255 * DisplayPort AUX channel
259 * struct drm_dp_aux_msg - DisplayPort AUX channel transaction
279 * struct drm_dp_aux_cec - DisplayPort CEC-Tunneling-over-AUX
281 * @adap: the CEC adapter for CEC-Tunneling-over-AUX support.
293 * struct drm_dp_aux - DisplayPort AUX channel
295 * An AUX channel can also be used to transport I2C messages to a sink. A
307 * @name: user-visible name of this AUX channel and the
308 * I2C-over-AUX adapter.
316 * @ddc: I2C adapter that can be used for I2C-over-AUX
323 * AUX channel.
328 * @drm_dev: pointer to the &drm_device that owns this AUX channel.
332 * It should be set to the &drm_device that will be using this AUX
342 * AUX channel
366 * @transfer: transfers a message representing a single AUX
390 * - If the @dev providing the AUX bus is currently unpowered then
398 * drm_panel driver is initiating a DP AUX transfer it may power
403 ssize_t (*transfer)(struct drm_dp_aux *aux,
418 * DP controller is ready to send AUX transactions.
429 * that's associated with the DP AUX channel. This is different from
434 int (*wait_hpd_asserted)(struct drm_dp_aux *aux, unsigned long wait_us);
445 * @cec: struct containing fields used for CEC-Tunneling-over-AUX.
449 * @is_remote: Is this AUX CH actually using sideband messaging.
454 int drm_dp_dpcd_probe(struct drm_dp_aux *aux, unsigned int offset);
455 ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset,
457 ssize_t drm_dp_dpcd_write(struct drm_dp_aux *aux, unsigned int offset,
462 * @aux: DisplayPort AUX channel
469 static inline ssize_t drm_dp_dpcd_readb(struct drm_dp_aux *aux, in drm_dp_dpcd_readb() argument
472 return drm_dp_dpcd_read(aux, offset, valuep, 1); in drm_dp_dpcd_readb()
477 * @aux: DisplayPort AUX channel
484 static inline ssize_t drm_dp_dpcd_writeb(struct drm_dp_aux *aux, in drm_dp_dpcd_writeb() argument
487 return drm_dp_dpcd_write(aux, offset, &value, 1); in drm_dp_dpcd_writeb()
490 int drm_dp_read_dpcd_caps(struct drm_dp_aux *aux,
493 int drm_dp_dpcd_read_link_status(struct drm_dp_aux *aux,
496 int drm_dp_dpcd_read_phy_link_status(struct drm_dp_aux *aux,
500 bool drm_dp_send_real_edid_checksum(struct drm_dp_aux *aux,
503 int drm_dp_read_downstream_info(struct drm_dp_aux *aux,
529 int drm_dp_downstream_id(struct drm_dp_aux *aux, char id[6]);
534 struct drm_dp_aux *aux);
547 int drm_dp_read_sink_count(struct drm_dp_aux *aux);
549 int drm_dp_read_lttpr_common_caps(struct drm_dp_aux *aux,
552 int drm_dp_read_lttpr_phy_caps(struct drm_dp_aux *aux,
562 void drm_dp_remote_aux_init(struct drm_dp_aux *aux);
563 void drm_dp_aux_init(struct drm_dp_aux *aux);
564 int drm_dp_aux_register(struct drm_dp_aux *aux);
565 void drm_dp_aux_unregister(struct drm_dp_aux *aux);
567 int drm_dp_start_crc(struct drm_dp_aux *aux, struct drm_crtc *crtc);
568 int drm_dp_stop_crc(struct drm_dp_aux *aux);
588 int drm_dp_read_desc(struct drm_dp_aux *aux, struct drm_dp_desc *desc,
625 * The DSC caps can be read from the physical aux instead.
656 * @aux_enable: Does the panel support the AUX enable cap?
657 * @aux_set: Does the panel support setting the brightness through AUX?
673 drm_edp_backlight_init(struct drm_dp_aux *aux, struct drm_edp_backlight_info *bl,
676 int drm_edp_backlight_set_level(struct drm_dp_aux *aux, const struct drm_edp_backlight_info *bl,
678 int drm_edp_backlight_enable(struct drm_dp_aux *aux, const struct drm_edp_backlight_info *bl,
680 int drm_edp_backlight_disable(struct drm_dp_aux *aux, const struct drm_edp_backlight_info *bl);
685 int drm_panel_dp_aux_backlight(struct drm_panel *panel, struct drm_dp_aux *aux);
690 struct drm_dp_aux *aux) in drm_panel_dp_aux_backlight() argument
698 void drm_dp_cec_irq(struct drm_dp_aux *aux);
699 void drm_dp_cec_register_connector(struct drm_dp_aux *aux,
701 void drm_dp_cec_unregister_connector(struct drm_dp_aux *aux);
702 void drm_dp_cec_set_edid(struct drm_dp_aux *aux, const struct edid *edid);
703 void drm_dp_cec_unset_edid(struct drm_dp_aux *aux);
705 static inline void drm_dp_cec_irq(struct drm_dp_aux *aux) in drm_dp_cec_irq() argument
710 drm_dp_cec_register_connector(struct drm_dp_aux *aux, in drm_dp_cec_register_connector() argument
715 static inline void drm_dp_cec_unregister_connector(struct drm_dp_aux *aux) in drm_dp_cec_unregister_connector() argument
719 static inline void drm_dp_cec_set_edid(struct drm_dp_aux *aux, in drm_dp_cec_set_edid() argument
724 static inline void drm_dp_cec_unset_edid(struct drm_dp_aux *aux) in drm_dp_cec_unset_edid() argument
748 int drm_dp_get_phy_test_pattern(struct drm_dp_aux *aux,
750 int drm_dp_set_phy_test_pattern(struct drm_dp_aux *aux,
754 int drm_dp_pcon_frl_prepare(struct drm_dp_aux *aux, bool enable_frl_ready_hpd);
755 bool drm_dp_pcon_is_frl_ready(struct drm_dp_aux *aux);
756 int drm_dp_pcon_frl_configure_1(struct drm_dp_aux *aux, int max_frl_gbps,
758 int drm_dp_pcon_frl_configure_2(struct drm_dp_aux *aux, int max_frl_mask,
760 int drm_dp_pcon_reset_frl_config(struct drm_dp_aux *aux);
761 int drm_dp_pcon_frl_enable(struct drm_dp_aux *aux);
763 bool drm_dp_pcon_hdmi_link_active(struct drm_dp_aux *aux);
764 int drm_dp_pcon_hdmi_link_mode(struct drm_dp_aux *aux, u8 *frl_trained_mask);
765 void drm_dp_pcon_hdmi_frl_link_error_count(struct drm_dp_aux *aux,
771 int drm_dp_pcon_pps_default(struct drm_dp_aux *aux);
772 int drm_dp_pcon_pps_override_buf(struct drm_dp_aux *aux, u8 pps_buf[128]);
773 int drm_dp_pcon_pps_override_param(struct drm_dp_aux *aux, u8 pps_param[6]);
776 int drm_dp_pcon_convert_rgb_to_ycbcr(struct drm_dp_aux *aux, u8 color_spc);