| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/ |
| D | hdmi.h | 33 struct hdmi { struct 38 const struct hdmi_platform_config *config; argument 41 struct hdmi_audio audio; argument 58 struct hdmi_phy *phy; argument 67 /* the encoder we are hooked to (outside of hdmi block) */ argument 70 bool hdmi_mode; /* are we in hdmi mode? */ argument 75 struct hdmi_hdcp_ctrl *hdcp_ctrl; argument 88 struct hdmi_platform_config { argument 109 struct hdmi *hdmi; member 116 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() [all …]
|
| D | hdmi.c | 19 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() 46 struct hdmi *hdmi = dev_id; in msm_hdmi_irq() local 63 static void msm_hdmi_destroy(struct hdmi *hdmi) in msm_hdmi_destroy() 77 static void msm_hdmi_put_phy(struct hdmi *hdmi) in msm_hdmi_put_phy() 86 static int msm_hdmi_get_phy(struct hdmi *hdmi) in msm_hdmi_get_phy() 119 static int msm_hdmi_init(struct hdmi *hdmi) in msm_hdmi_init() 160 int msm_hdmi_modeset_init(struct hdmi *hdmi, in msm_hdmi_modeset_init() 271 struct hdmi *hdmi = dev_get_drvdata(dev); in msm_hdmi_audio_hw_params() local 343 struct hdmi *hdmi = dev_get_drvdata(dev); in msm_hdmi_audio_shutdown() local 359 static int msm_hdmi_register_audio_driver(struct hdmi *hdmi, struct device *dev) in msm_hdmi_register_audio_driver() [all …]
|
| D | hdmi_hdcp.c | 49 struct hdmi *hdmi; member 78 static int msm_hdmi_ddc_read(struct hdmi *hdmi, u16 addr, u8 offset, in msm_hdmi_ddc_read() 116 static int msm_hdmi_ddc_write(struct hdmi *hdmi, u16 addr, u8 offset, in msm_hdmi_ddc_write() 159 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_scm_wr() local 198 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_irq() local 260 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_read_validate_aksv() local 283 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_reset_hdcp_ddc_failures() local 363 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_hw_ddc_clean() local 400 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_reauth_work() local 457 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_auth_prepare() local [all …]
|
| D | hdmi_hpd.c | 14 static void msm_hdmi_phy_reset(struct hdmi *hdmi) in msm_hdmi_phy_reset() 63 static void enable_hpd_clocks(struct hdmi *hdmi, bool enable) in enable_hpd_clocks() 96 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_hpd_enable() local 152 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_hpd_disable() local 177 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_hpd_irq() local 204 static enum drm_connector_status detect_reg(struct hdmi *hdmi) in detect_reg() 221 static enum drm_connector_status detect_gpio(struct hdmi *hdmi) in detect_gpio() 232 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_detect() local
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/ |
| D | hdmi.h | 33 struct hdmi { struct 38 const struct hdmi_platform_config *config; argument 41 struct hdmi_audio audio; argument 58 struct hdmi_phy *phy; argument 65 /* the encoder we are hooked to (outside of hdmi block) */ argument 68 bool hdmi_mode; /* are we in hdmi mode? */ argument 73 struct hdmi_hdcp_ctrl *hdcp_ctrl; argument 86 struct hdmi_platform_config { argument 110 struct hdmi *hdmi; member 117 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() [all …]
|
| D | hdmi_hdcp.c | 49 struct hdmi *hdmi; member 78 static int msm_hdmi_ddc_read(struct hdmi *hdmi, u16 addr, u8 offset, in msm_hdmi_ddc_read() 116 static int msm_hdmi_ddc_write(struct hdmi *hdmi, u16 addr, u8 offset, in msm_hdmi_ddc_write() 159 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_scm_wr() local 198 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_irq() local 260 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_read_validate_aksv() local 283 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_reset_hdcp_ddc_failures() local 363 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_hw_ddc_clean() local 400 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_reauth_work() local 457 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_auth_prepare() local [all …]
|
| D | hdmi_hpd.c | 14 static void msm_hdmi_phy_reset(struct hdmi *hdmi) in msm_hdmi_phy_reset() 63 static void enable_hpd_clocks(struct hdmi *hdmi, bool enable) in enable_hpd_clocks() 96 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_hpd_enable() local 155 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_hpd_disable() local 183 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_hpd_irq() local 210 static enum drm_connector_status detect_reg(struct hdmi *hdmi) in detect_reg() 227 static enum drm_connector_status detect_gpio(struct hdmi *hdmi) in detect_gpio() 238 struct hdmi *hdmi = hdmi_bridge->hdmi; in msm_hdmi_bridge_detect() local
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/synopsys/ |
| D | dw-hdmi.c | 210 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb() 215 static inline u8 hdmi_readb(struct dw_hdmi *hdmi, int offset) in hdmi_readb() 224 static void handle_plugged_change(struct dw_hdmi *hdmi, bool plugged) in handle_plugged_change() 230 int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn, in dw_hdmi_set_plugged_cb() 246 static void hdmi_modb(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned reg) in hdmi_modb() 251 static void hdmi_mask_writeb(struct dw_hdmi *hdmi, u8 data, unsigned int reg, in hdmi_mask_writeb() 257 static void dw_hdmi_i2c_init(struct dw_hdmi *hdmi) in dw_hdmi_i2c_init() 286 static bool dw_hdmi_i2c_unwedge(struct dw_hdmi *hdmi) in dw_hdmi_i2c_unwedge() 333 static int dw_hdmi_i2c_wait(struct dw_hdmi *hdmi) in dw_hdmi_i2c_wait() 357 static int dw_hdmi_i2c_read(struct dw_hdmi *hdmi, in dw_hdmi_i2c_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
| D | mtk_hdmi.c | 194 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() 199 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() 204 static void mtk_hdmi_clear_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_clear_bits() 214 static void mtk_hdmi_set_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_set_bits() 224 static void mtk_hdmi_mask(struct mtk_hdmi *hdmi, u32 offset, u32 val, u32 mask) in mtk_hdmi_mask() 234 static void mtk_hdmi_hw_vid_black(struct mtk_hdmi *hdmi, bool black) in mtk_hdmi_hw_vid_black() 240 static void mtk_hdmi_hw_make_reg_writable(struct mtk_hdmi *hdmi, bool enable) in mtk_hdmi_hw_make_reg_writable() 264 static void mtk_hdmi_hw_1p4_version_enable(struct mtk_hdmi *hdmi, bool enable) in mtk_hdmi_hw_1p4_version_enable() 270 static void mtk_hdmi_hw_aud_mute(struct mtk_hdmi *hdmi) in mtk_hdmi_hw_aud_mute() 275 static void mtk_hdmi_hw_aud_unmute(struct mtk_hdmi *hdmi) in mtk_hdmi_hw_aud_unmute() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/ |
| D | dw-hdmi.c | 219 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb() 224 static inline u8 hdmi_readb(struct dw_hdmi *hdmi, int offset) in hdmi_readb() 233 static void handle_plugged_change(struct dw_hdmi *hdmi, bool plugged) in handle_plugged_change() 239 int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn, in dw_hdmi_set_plugged_cb() 255 static void hdmi_modb(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned reg) in hdmi_modb() 260 static void hdmi_mask_writeb(struct dw_hdmi *hdmi, u8 data, unsigned int reg, in hdmi_mask_writeb() 266 static void dw_hdmi_i2c_init(struct dw_hdmi *hdmi) in dw_hdmi_i2c_init() 295 static bool dw_hdmi_i2c_unwedge(struct dw_hdmi *hdmi) in dw_hdmi_i2c_unwedge() 342 static int dw_hdmi_i2c_wait(struct dw_hdmi *hdmi) in dw_hdmi_i2c_wait() 366 static int dw_hdmi_i2c_read(struct dw_hdmi *hdmi, in dw_hdmi_i2c_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/ |
| D | mtk_hdmi.c | 190 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() 195 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() 200 static void mtk_hdmi_clear_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_clear_bits() 210 static void mtk_hdmi_set_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_set_bits() 220 static void mtk_hdmi_mask(struct mtk_hdmi *hdmi, u32 offset, u32 val, u32 mask) in mtk_hdmi_mask() 230 static void mtk_hdmi_hw_vid_black(struct mtk_hdmi *hdmi, bool black) in mtk_hdmi_hw_vid_black() 236 static void mtk_hdmi_hw_make_reg_writable(struct mtk_hdmi *hdmi, bool enable) in mtk_hdmi_hw_make_reg_writable() 260 static void mtk_hdmi_hw_1p4_version_enable(struct mtk_hdmi *hdmi, bool enable) in mtk_hdmi_hw_1p4_version_enable() 266 static void mtk_hdmi_hw_aud_mute(struct mtk_hdmi *hdmi) in mtk_hdmi_hw_aud_mute() 271 static void mtk_hdmi_hw_aud_unmute(struct mtk_hdmi *hdmi) in mtk_hdmi_hw_aud_unmute() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
| D | hdmi5.c | 40 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() 54 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() 66 struct omap_hdmi *hdmi = data; in hdmi_irq_handler() local 111 static int hdmi_power_on_core(struct omap_hdmi *hdmi) in hdmi_power_on_core() 136 static void hdmi_power_off_core(struct omap_hdmi *hdmi) in hdmi_power_off_core() 144 static int hdmi_power_on_full(struct omap_hdmi *hdmi) in hdmi_power_on_full() 226 static void hdmi_power_off_full(struct omap_hdmi *hdmi) in hdmi_power_off_full() 243 struct omap_hdmi *hdmi = s->private; in hdmi_dump_regs() local 276 static int hdmi_core_enable(struct omap_hdmi *hdmi) in hdmi_core_enable() 298 static void hdmi_core_disable(struct omap_hdmi *hdmi) in hdmi_core_disable() [all …]
|
| D | hdmi4.c | 39 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() 53 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() 65 struct omap_hdmi *hdmi = data; in hdmi_irq_handler() local 102 static int hdmi_power_on_core(struct omap_hdmi *hdmi) in hdmi_power_on_core() 134 static void hdmi_power_off_core(struct omap_hdmi *hdmi) in hdmi_power_off_core() 145 static int hdmi_power_on_full(struct omap_hdmi *hdmi) in hdmi_power_on_full() 227 static void hdmi_power_off_full(struct omap_hdmi *hdmi) in hdmi_power_off_full() 244 struct omap_hdmi *hdmi = s->private; in hdmi_dump_regs() local 277 struct omap_hdmi *hdmi = container_of(core, struct omap_hdmi, core); in hdmi4_core_enable() local 300 struct omap_hdmi *hdmi = container_of(core, struct omap_hdmi, core); in hdmi4_core_disable() local [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/ |
| D | hdmi5.c | 41 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() 55 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() 67 struct omap_hdmi *hdmi = data; in hdmi_irq_handler() local 112 static int hdmi_power_on_core(struct omap_hdmi *hdmi) in hdmi_power_on_core() 137 static void hdmi_power_off_core(struct omap_hdmi *hdmi) in hdmi_power_off_core() 145 static int hdmi_power_on_full(struct omap_hdmi *hdmi) in hdmi_power_on_full() 227 static void hdmi_power_off_full(struct omap_hdmi *hdmi) in hdmi_power_off_full() 244 struct omap_hdmi *hdmi = s->private; in hdmi_dump_regs() local 277 static int hdmi_core_enable(struct omap_hdmi *hdmi) in hdmi_core_enable() 299 static void hdmi_core_disable(struct omap_hdmi *hdmi) in hdmi_core_disable() [all …]
|
| D | hdmi4.c | 40 static int hdmi_runtime_get(struct omap_hdmi *hdmi) in hdmi_runtime_get() 54 static void hdmi_runtime_put(struct omap_hdmi *hdmi) in hdmi_runtime_put() 66 struct omap_hdmi *hdmi = data; in hdmi_irq_handler() local 103 static int hdmi_power_on_core(struct omap_hdmi *hdmi) in hdmi_power_on_core() 135 static void hdmi_power_off_core(struct omap_hdmi *hdmi) in hdmi_power_off_core() 146 static int hdmi_power_on_full(struct omap_hdmi *hdmi) in hdmi_power_on_full() 228 static void hdmi_power_off_full(struct omap_hdmi *hdmi) in hdmi_power_off_full() 245 struct omap_hdmi *hdmi = s->private; in hdmi_dump_regs() local 278 struct omap_hdmi *hdmi = container_of(core, struct omap_hdmi, core); in hdmi4_core_enable() local 301 struct omap_hdmi *hdmi = container_of(core, struct omap_hdmi, core); in hdmi4_core_disable() local [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/zte/ |
| D | zx_hdmi.c | 55 static inline u8 hdmi_readb(struct zx_hdmi *hdmi, u16 offset) in hdmi_readb() 60 static inline void hdmi_writeb(struct zx_hdmi *hdmi, u16 offset, u8 val) in hdmi_writeb() 65 static inline void hdmi_writeb_mask(struct zx_hdmi *hdmi, u16 offset, in hdmi_writeb_mask() 75 static int zx_hdmi_infoframe_trans(struct zx_hdmi *hdmi, in zx_hdmi_infoframe_trans() 101 static int zx_hdmi_config_video_vsi(struct zx_hdmi *hdmi, in zx_hdmi_config_video_vsi() 119 static int zx_hdmi_config_video_avi(struct zx_hdmi *hdmi, in zx_hdmi_config_video_avi() 144 struct zx_hdmi *hdmi = to_zx_hdmi(encoder); in zx_hdmi_encoder_mode_set() local 152 static void zx_hdmi_phy_start(struct zx_hdmi *hdmi) in zx_hdmi_phy_start() 185 static void zx_hdmi_hw_enable(struct zx_hdmi *hdmi) in zx_hdmi_hw_enable() 211 static void zx_hdmi_hw_disable(struct zx_hdmi *hdmi) in zx_hdmi_hw_disable() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
| D | hdmi.c | 66 struct regulator *hdmi; member 112 static inline u32 tegra_hdmi_readl(struct tegra_hdmi *hdmi, in tegra_hdmi_readl() 122 static inline void tegra_hdmi_writel(struct tegra_hdmi *hdmi, u32 value, in tegra_hdmi_writel() 372 static void tegra_hdmi_audio_lock(struct tegra_hdmi *hdmi) in tegra_hdmi_audio_lock() 378 static void tegra_hdmi_audio_unlock(struct tegra_hdmi *hdmi) in tegra_hdmi_audio_unlock() 433 static void tegra_hdmi_setup_audio_fs_tables(struct tegra_hdmi *hdmi) in tegra_hdmi_setup_audio_fs_tables() 460 static void tegra_hdmi_write_aval(struct tegra_hdmi *hdmi, u32 value) in tegra_hdmi_write_aval() 484 static int tegra_hdmi_setup_audio(struct tegra_hdmi *hdmi) in tegra_hdmi_setup_audio() 602 static void tegra_hdmi_disable_audio(struct tegra_hdmi *hdmi) in tegra_hdmi_disable_audio() 611 static void tegra_hdmi_enable_audio(struct tegra_hdmi *hdmi) in tegra_hdmi_enable_audio() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
| D | rk3066_hdmi.c | 63 static inline u8 hdmi_readb(struct rk3066_hdmi *hdmi, u16 offset) in hdmi_readb() 68 static inline void hdmi_writeb(struct rk3066_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() 73 static inline void hdmi_modb(struct rk3066_hdmi *hdmi, u16 offset, in hdmi_modb() 82 static void rk3066_hdmi_i2c_init(struct rk3066_hdmi *hdmi) in rk3066_hdmi_i2c_init() 96 static inline u8 rk3066_hdmi_get_power_mode(struct rk3066_hdmi *hdmi) in rk3066_hdmi_get_power_mode() 101 static void rk3066_hdmi_set_power_mode(struct rk3066_hdmi *hdmi, int mode) in rk3066_hdmi_set_power_mode() 156 rk3066_hdmi_upload_frame(struct rk3066_hdmi *hdmi, int setup_rc, in rk3066_hdmi_upload_frame() 185 static int rk3066_hdmi_config_avi(struct rk3066_hdmi *hdmi, in rk3066_hdmi_config_avi() 208 static int rk3066_hdmi_config_video_timing(struct rk3066_hdmi *hdmi, in rk3066_hdmi_config_video_timing() 264 rk3066_hdmi_phy_write(struct rk3066_hdmi *hdmi, u16 offset, u8 value) in rk3066_hdmi_phy_write() [all …]
|
| D | inno_hdmi.c | 149 static inline u8 hdmi_readb(struct inno_hdmi *hdmi, u16 offset) in hdmi_readb() 154 static inline void hdmi_writeb(struct inno_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() 159 static inline void hdmi_modb(struct inno_hdmi *hdmi, u16 offset, in hdmi_modb() 168 static void inno_hdmi_i2c_init(struct inno_hdmi *hdmi) in inno_hdmi_i2c_init() 182 static void inno_hdmi_sys_power(struct inno_hdmi *hdmi, bool enable) in inno_hdmi_sys_power() 190 static void inno_hdmi_set_pwr_mode(struct inno_hdmi *hdmi, int mode) in inno_hdmi_set_pwr_mode() 223 static void inno_hdmi_reset(struct inno_hdmi *hdmi) in inno_hdmi_reset() 241 static int inno_hdmi_upload_frame(struct inno_hdmi *hdmi, int setup_rc, in inno_hdmi_upload_frame() 270 static int inno_hdmi_config_video_vsi(struct inno_hdmi *hdmi, in inno_hdmi_config_video_vsi() 284 static int inno_hdmi_config_video_avi(struct inno_hdmi *hdmi, in inno_hdmi_config_video_avi() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/ |
| D | inno_hdmi.c | 159 static inline u8 hdmi_readb(struct inno_hdmi *hdmi, u16 offset) in hdmi_readb() 164 static inline void hdmi_writeb(struct inno_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() 169 static inline void hdmi_modb(struct inno_hdmi *hdmi, u16 offset, in hdmi_modb() 178 static void inno_hdmi_i2c_init(struct inno_hdmi *hdmi) in inno_hdmi_i2c_init() 192 static void inno_hdmi_sys_power(struct inno_hdmi *hdmi, bool enable) in inno_hdmi_sys_power() 200 static void inno_hdmi_set_pwr_mode(struct inno_hdmi *hdmi, int mode) in inno_hdmi_set_pwr_mode() 233 static void inno_hdmi_reset(struct inno_hdmi *hdmi) in inno_hdmi_reset() 251 static int inno_hdmi_upload_frame(struct inno_hdmi *hdmi, int setup_rc, in inno_hdmi_upload_frame() 280 static int inno_hdmi_config_video_vsi(struct inno_hdmi *hdmi, in inno_hdmi_config_video_vsi() 294 static int inno_hdmi_config_video_avi(struct inno_hdmi *hdmi, in inno_hdmi_config_video_avi() [all …]
|
| D | rk3066_hdmi.c | 73 static inline u8 hdmi_readb(struct rk3066_hdmi *hdmi, u16 offset) in hdmi_readb() 78 static inline void hdmi_writeb(struct rk3066_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() 83 static inline void hdmi_modb(struct rk3066_hdmi *hdmi, u16 offset, in hdmi_modb() 92 static void rk3066_hdmi_i2c_init(struct rk3066_hdmi *hdmi) in rk3066_hdmi_i2c_init() 106 static inline u8 rk3066_hdmi_get_power_mode(struct rk3066_hdmi *hdmi) in rk3066_hdmi_get_power_mode() 111 static void rk3066_hdmi_set_power_mode(struct rk3066_hdmi *hdmi, int mode) in rk3066_hdmi_set_power_mode() 166 rk3066_hdmi_upload_frame(struct rk3066_hdmi *hdmi, int setup_rc, in rk3066_hdmi_upload_frame() 195 static int rk3066_hdmi_config_avi(struct rk3066_hdmi *hdmi, in rk3066_hdmi_config_avi() 218 static int rk3066_hdmi_config_video_timing(struct rk3066_hdmi *hdmi, in rk3066_hdmi_config_video_timing() 274 rk3066_hdmi_phy_write(struct rk3066_hdmi *hdmi, u16 offset, u8 value) in rk3066_hdmi_phy_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
| D | hdmi.c | 60 struct regulator *hdmi; member 103 static inline u32 tegra_hdmi_readl(struct tegra_hdmi *hdmi, in tegra_hdmi_readl() 113 static inline void tegra_hdmi_writel(struct tegra_hdmi *hdmi, u32 value, in tegra_hdmi_writel() 412 static void tegra_hdmi_setup_audio_fs_tables(struct tegra_hdmi *hdmi) in tegra_hdmi_setup_audio_fs_tables() 439 static void tegra_hdmi_write_aval(struct tegra_hdmi *hdmi, u32 value) in tegra_hdmi_write_aval() 463 static int tegra_hdmi_setup_audio(struct tegra_hdmi *hdmi) in tegra_hdmi_setup_audio() 581 static void tegra_hdmi_disable_audio(struct tegra_hdmi *hdmi) in tegra_hdmi_disable_audio() 590 static void tegra_hdmi_enable_audio(struct tegra_hdmi *hdmi) in tegra_hdmi_enable_audio() 599 static void tegra_hdmi_write_eld(struct tegra_hdmi *hdmi) in tegra_hdmi_write_eld() 633 static void tegra_hdmi_write_infopack(struct tegra_hdmi *hdmi, const void *data, in tegra_hdmi_write_infopack() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/sti/ |
| D | sti_hdmi.c | 164 struct sti_hdmi *hdmi; member 177 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() 182 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() 195 struct sti_hdmi *hdmi = arg; in hdmi_irq_thread() local 227 struct sti_hdmi *hdmi = arg; in hdmi_irq() local 246 static void hdmi_active_area(struct sti_hdmi *hdmi) in hdmi_active_area() 267 static void hdmi_config(struct sti_hdmi *hdmi) in hdmi_config() 306 static void hdmi_infoframe_reset(struct sti_hdmi *hdmi, in hdmi_infoframe_reset() 365 static void hdmi_infoframe_write_infopack(struct sti_hdmi *hdmi, in hdmi_infoframe_write_infopack() 439 static int hdmi_avi_infoframe_config(struct sti_hdmi *hdmi) in hdmi_avi_infoframe_config() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
| D | sti_hdmi.c | 163 struct sti_hdmi *hdmi; member 170 u32 hdmi_read(struct sti_hdmi *hdmi, int offset) in hdmi_read() 175 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() 188 struct sti_hdmi *hdmi = arg; in hdmi_irq_thread() local 220 struct sti_hdmi *hdmi = arg; in hdmi_irq() local 239 static void hdmi_active_area(struct sti_hdmi *hdmi) in hdmi_active_area() 260 static void hdmi_config(struct sti_hdmi *hdmi) in hdmi_config() 298 static void hdmi_infoframe_reset(struct sti_hdmi *hdmi, in hdmi_infoframe_reset() 357 static void hdmi_infoframe_write_infopack(struct sti_hdmi *hdmi, in hdmi_infoframe_write_infopack() 431 static int hdmi_avi_infoframe_config(struct sti_hdmi *hdmi) in hdmi_avi_infoframe_config() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
| D | sun4i_hdmi_enc.c | 46 static int sun4i_hdmi_setup_avi_infoframes(struct sun4i_hdmi *hdmi, in sun4i_hdmi_setup_avi_infoframes() 86 struct sun4i_hdmi *hdmi = drm_encoder_to_sun4i_hdmi(encoder); in sun4i_hdmi_disable() local 101 struct sun4i_hdmi *hdmi = drm_encoder_to_sun4i_hdmi(encoder); in sun4i_hdmi_enable() local 124 struct sun4i_hdmi *hdmi = drm_encoder_to_sun4i_hdmi(encoder); in sun4i_hdmi_mode_set() local 184 struct sun4i_hdmi *hdmi = drm_encoder_to_sun4i_hdmi(encoder); in sun4i_hdmi_mode_valid() local 210 struct sun4i_hdmi *hdmi = drm_connector_to_sun4i_hdmi(connector); in sun4i_hdmi_get_modes() local 259 struct sun4i_hdmi *hdmi = drm_connector_to_sun4i_hdmi(connector); in sun4i_hdmi_connector_detect() local 283 struct sun4i_hdmi *hdmi = cec_get_drvdata(adap); in sun4i_hdmi_cec_pin_read() local 290 struct sun4i_hdmi *hdmi = cec_get_drvdata(adap); in sun4i_hdmi_cec_pin_low() local 298 struct sun4i_hdmi *hdmi = cec_get_drvdata(adap); in sun4i_hdmi_cec_pin_high() local [all …]
|