Home
last modified time | relevance | path

Searched refs:hdmi_write (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_hpd.c22 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
26 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
32 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
36 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
44 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
48 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
54 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
58 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset()
170 hdmi_write(hdmi, REG_HDMI_USEC_REFTIMER, 0x0001001b); in msm_hdmi_hpd_enable()
173 hdmi_write(hdmi, REG_HDMI_HPD_INT_CTRL, in msm_hdmi_hpd_enable()
[all …]
Dhdmi_audio.c152 hdmi_write(hdmi, REG_HDMI_ACR_0(select - 1), in msm_hdmi_audio_update()
154 hdmi_write(hdmi, REG_HDMI_ACR_1(select - 1), in msm_hdmi_audio_update()
157 hdmi_write(hdmi, REG_HDMI_AUDIO_PKT_CTRL2, in msm_hdmi_audio_update()
166 hdmi_write(hdmi, REG_HDMI_AUDIO_INFO0, in msm_hdmi_audio_update()
169 hdmi_write(hdmi, REG_HDMI_AUDIO_INFO1, in msm_hdmi_audio_update()
172 hdmi_write(hdmi, REG_HDMI_GC, 0); in msm_hdmi_audio_update()
200 hdmi_write(hdmi, REG_HDMI_ACR_PKT_CTRL, acr_pkt_ctrl); in msm_hdmi_audio_update()
201 hdmi_write(hdmi, REG_HDMI_VBI_PKT_CTRL, vbi_pkt_ctrl); in msm_hdmi_audio_update()
202 hdmi_write(hdmi, REG_HDMI_AUDIO_PKT_CTRL1, aud_pkt_ctrl); in msm_hdmi_audio_update()
203 hdmi_write(hdmi, REG_HDMI_INFOFRAME_CTRL0, infofrm_ctrl); in msm_hdmi_audio_update()
[all …]
Dhdmi_bridge.c103 hdmi_write(hdmi, REG_HDMI_AVI_INFO(0), in msm_hdmi_config_avi_infoframe()
109 hdmi_write(hdmi, REG_HDMI_AVI_INFO(1), in msm_hdmi_config_avi_infoframe()
115 hdmi_write(hdmi, REG_HDMI_AVI_INFO(2), in msm_hdmi_config_avi_infoframe()
121 hdmi_write(hdmi, REG_HDMI_AVI_INFO(3), in msm_hdmi_config_avi_infoframe()
126 hdmi_write(hdmi, REG_HDMI_INFOFRAME_CTRL0, in msm_hdmi_config_avi_infoframe()
133 hdmi_write(hdmi, REG_HDMI_INFOFRAME_CTRL1, val); in msm_hdmi_config_avi_infoframe()
215 hdmi_write(hdmi, REG_HDMI_TOTAL, in msm_hdmi_bridge_mode_set()
219 hdmi_write(hdmi, REG_HDMI_ACTIVE_HSYNC, in msm_hdmi_bridge_mode_set()
222 hdmi_write(hdmi, REG_HDMI_ACTIVE_VSYNC, in msm_hdmi_bridge_mode_set()
227 hdmi_write(hdmi, REG_HDMI_VSYNC_TOTAL_F2, in msm_hdmi_bridge_mode_set()
[all …]
Dhdmi_i2c.c21 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, in init_ddc()
23 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, in init_ddc()
26 hdmi_write(hdmi, REG_HDMI_DDC_SPEED, in init_ddc()
30 hdmi_write(hdmi, REG_HDMI_DDC_SETUP, in init_ddc()
34 hdmi_write(hdmi, REG_HDMI_DDC_REF, in init_ddc()
49 hdmi_write(hdmi, REG_HDMI_DDC_INT_CTRL, in ddc_clear_irq()
81 hdmi_write(hdmi, REG_HDMI_DDC_INT_CTRL, in sw_done()
131 hdmi_write(hdmi, REG_HDMI_DDC_DATA, ddc_data); in msm_hdmi_i2c_xfer()
142 hdmi_write(hdmi, REG_HDMI_DDC_DATA, ddc_data); in msm_hdmi_i2c_xfer()
155 hdmi_write(hdmi, REG_HDMI_I2C_TRANSACTION(i), i2c_trans); in msm_hdmi_i2c_xfer()
[all …]
Dhdmi_hdcp.c190 hdmi_write(hdmi, preg[i], pdata[i]); in msm_hdmi_hdcp_scm_wr()
214 hdmi_write(hdmi, REG_HDMI_HDCP_INT_CTRL, reg_val); in msm_hdmi_hdcp_irq()
305 hdmi_write(hdmi, REG_HDMI_HDCP_DDC_CTRL_0, in msm_reset_hdcp_ddc_failures()
311 hdmi_write(hdmi, REG_HDMI_HDCP_DDC_CTRL_1, reg_val); in msm_reset_hdcp_ddc_failures()
320 hdmi_write(hdmi, REG_HDMI_HDCP_DDC_CTRL_0, 0); in msm_reset_hdcp_ddc_failures()
329 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, reg_val); in msm_reset_hdcp_ddc_failures()
335 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, reg_val); in msm_reset_hdcp_ddc_failures()
340 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, reg_val); in msm_reset_hdcp_ddc_failures()
348 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, reg_val); in msm_reset_hdcp_ddc_failures()
414 hdmi_write(hdmi, REG_HDMI_HPD_CTRL, reg_val); in msm_hdmi_hdcp_reauth_work()
[all …]
Dhdmi.h126 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() function
Dhdmi.c26 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
35 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
/linux-5.19.10/drivers/gpu/drm/sti/
Dsti_hdmi_tx3g4c28phy.c118 hdmi_write(hdmi, (pllctrl | PLL_CFG_EN), HDMI_SRZ_PLL_CFG); in sti_hdmi_tx3g4c28phy_start()
151 hdmi_write(hdmi, val, HDMI_SRZ_CFG); in sti_hdmi_tx3g4c28phy_start()
154 hdmi_write(hdmi, val, HDMI_SRZ_ICNTL); in sti_hdmi_tx3g4c28phy_start()
157 hdmi_write(hdmi, val, HDMI_SRZ_CALCODE_EXT); in sti_hdmi_tx3g4c28phy_start()
171 hdmi_write(hdmi, val, HDMI_SRZ_CFG); in sti_hdmi_tx3g4c28phy_start()
172 hdmi_write(hdmi, 0x0, HDMI_SRZ_ICNTL); in sti_hdmi_tx3g4c28phy_start()
173 hdmi_write(hdmi, 0x0, HDMI_SRZ_CALCODE_EXT); in sti_hdmi_tx3g4c28phy_start()
197 hdmi_write(hdmi, val, HDMI_SRZ_CFG); in sti_hdmi_tx3g4c28phy_stop()
198 hdmi_write(hdmi, 0, HDMI_SRZ_PLL_CFG); in sti_hdmi_tx3g4c28phy_stop()
Dsti_hdmi.c181 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() function
232 hdmi_write(hdmi, hdmi->irq_status, HDMI_INT_CLR); in hdmi_irq()
255 hdmi_write(hdmi, xmin, HDMI_ACTIVE_VID_XMIN); in hdmi_active_area()
256 hdmi_write(hdmi, xmax, HDMI_ACTIVE_VID_XMAX); in hdmi_active_area()
257 hdmi_write(hdmi, ymin, HDMI_ACTIVE_VID_YMIN); in hdmi_active_area()
258 hdmi_write(hdmi, ymax, HDMI_ACTIVE_VID_YMAX); in hdmi_active_area()
295 hdmi_write(hdmi, conf, HDMI_CFG); in hdmi_config()
331 hdmi_write(hdmi, val, HDMI_SW_DI_CFG); in hdmi_infoframe_reset()
334 hdmi_write(hdmi, 0x0, head_offset); in hdmi_infoframe_reset()
336 hdmi_write(hdmi, 0x0, pack_offset + i); in hdmi_infoframe_reset()
[all …]
Dsti_hdmi.h94 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset);
/linux-5.19.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-i2s-audio.c22 static inline void hdmi_write(struct dw_hdmi_i2s_audio_data *audio, in hdmi_write() function
54 hdmi_write(audio, HDMI_AUD_CONF0_SW_RESET, HDMI_AUD_CONF0); in dw_hdmi_i2s_hw_params()
55 hdmi_write(audio, (u8)~HDMI_MC_SWRSTZ_I2SSWRST_REQ, HDMI_MC_SWRSTZ); in dw_hdmi_i2s_hw_params()
109 hdmi_write(audio, inputclkfs, HDMI_AUD_INPUTCLKFS); in dw_hdmi_i2s_hw_params()
110 hdmi_write(audio, conf0, HDMI_AUD_CONF0); in dw_hdmi_i2s_hw_params()
111 hdmi_write(audio, conf1, HDMI_AUD_CONF1); in dw_hdmi_i2s_hw_params()
/linux-5.19.10/drivers/media/i2c/
Dadv7842.c509 static inline int hdmi_write(struct v4l2_subdev *sd, u8 reg, u8 val) in hdmi_write() function
518 return hdmi_write(sd, reg, (hdmi_read(sd, reg) & mask) | val); in hdmi_write_and_or()
938 hdmi_write(sd, reg->reg & 0xff, val); in adv7842_s_register()
1715 hdmi_write(sd, 0x01, 0x00); /* Enable HDMI clock terminators */ in enable_input()
1731 hdmi_write(sd, 0x01, 0x78); /* Disable HDMI clock terminators */ in disable_input()
1875 hdmi_write(sd, 0x00, 0x02); /* select port A */ in select_input()
1877 hdmi_write(sd, 0x00, 0x03); /* select port B */ in select_input()
1886 hdmi_write(sd, 0xc0, 0x00); in select_input()
1887 hdmi_write(sd, 0x0d, 0x34); /* ADI recommended write */ in select_input()
1888 hdmi_write(sd, 0x3d, 0x10); /* ADI recommended write */ in select_input()
[all …]
Dadv7604.c561 static inline int hdmi_write(struct v4l2_subdev *sd, u8 reg, u8 val) in hdmi_write() function
570 return hdmi_write(sd, reg, (hdmi_read(sd, reg) & ~mask) | val); in hdmi_write_clr_set()
1744 hdmi_write(sd, 0x01, enable ? 0x00 : 0x78); in adv7604_set_termination()
1749 hdmi_write(sd, 0x83, enable ? 0xfe : 0xff); in adv7611_set_termination()
1791 hdmi_write(sd, 0x00, state->selected_input & 0x03); in select_input()
2818 hdmi_write(sd, 0x48, in adv76xx_core_init()
/linux-5.19.10/drivers/media/i2c/adv748x/
Dadv748x.h402 #define hdmi_write(s, r, v) adv748x_write(s, ADV748X_PAGE_HDMI, r, v) macro