Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.19-rc7 39 lines 1.2 kB view raw
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Copyright (c) 2021-2022 Rockchip Electronics Co., Ltd. 4 * Copyright (c) 2024 Collabora Ltd. 5 */ 6 7#ifndef __DW_HDMI_QP__ 8#define __DW_HDMI_QP__ 9 10struct device; 11struct drm_encoder; 12struct dw_hdmi_qp; 13struct platform_device; 14 15struct dw_hdmi_qp_phy_ops { 16 int (*init)(struct dw_hdmi_qp *hdmi, void *data); 17 void (*disable)(struct dw_hdmi_qp *hdmi, void *data); 18 enum drm_connector_status (*read_hpd)(struct dw_hdmi_qp *hdmi, void *data); 19 void (*setup_hpd)(struct dw_hdmi_qp *hdmi, void *data); 20}; 21 22struct dw_hdmi_qp_plat_data { 23 const struct dw_hdmi_qp_phy_ops *phy_ops; 24 void *phy_data; 25 int main_irq; 26 int cec_irq; 27 unsigned long ref_clk_rate; 28 /* Supported output formats: bitmask of @hdmi_colorspace */ 29 unsigned int supported_formats; 30 /* Maximum bits per color channel: 8, 10 or 12 */ 31 unsigned int max_bpc; 32}; 33 34struct dw_hdmi_qp *dw_hdmi_qp_bind(struct platform_device *pdev, 35 struct drm_encoder *encoder, 36 const struct dw_hdmi_qp_plat_data *plat_data); 37void dw_hdmi_qp_suspend(struct device *dev, struct dw_hdmi_qp *hdmi); 38void dw_hdmi_qp_resume(struct device *dev, struct dw_hdmi_qp *hdmi); 39#endif /* __DW_HDMI_QP__ */