Home
last modified time | relevance | path

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

/drivers/gpu/drm/msm/hdmi/
Dhdmi_phy_8x60.c39 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG0, in hdmi_phy_8x60_powerup()
44 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG1, in hdmi_phy_8x60_powerup()
48 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG1, in hdmi_phy_8x60_powerup()
54 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG2, in hdmi_phy_8x60_powerup()
64 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG2, in hdmi_phy_8x60_powerup()
73 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG2, in hdmi_phy_8x60_powerup()
81 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG3, in hdmi_phy_8x60_powerup()
85 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG9, 0); in hdmi_phy_8x60_powerup()
90 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG12, in hdmi_phy_8x60_powerup()
95 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG2, in hdmi_phy_8x60_powerup()
[all …]
Dhdmi_phy_8960.c262 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG2, 0x8d); in hdmi_pll_enable()
263 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG0, 0x10); in hdmi_pll_enable()
264 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG1, 0x1a); in hdmi_pll_enable()
274 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_LOCKDET_CFG2, 0x0d); in hdmi_pll_enable()
279 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG12, val); in hdmi_pll_enable()
287 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG12, val); in hdmi_pll_enable()
288 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG2, 0x3f); in hdmi_pll_enable()
292 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG12, val); in hdmi_pll_enable()
300 hdmi_write(hdmi, REG_HDMI_8960_PHY_PLL_PWRDN_B, val); in hdmi_pll_enable()
301 hdmi_write(hdmi, REG_HDMI_8960_PHY_REG2, 0x80); in hdmi_pll_enable()
[all …]
Dhdmi_audio.c170 hdmi_write(hdmi, REG_HDMI_ACR_0(select - 1), in hdmi_audio_update()
172 hdmi_write(hdmi, REG_HDMI_ACR_1(select - 1), in hdmi_audio_update()
175 hdmi_write(hdmi, REG_HDMI_AUDIO_PKT_CTRL2, in hdmi_audio_update()
184 hdmi_write(hdmi, REG_HDMI_AUDIO_INFO0, in hdmi_audio_update()
187 hdmi_write(hdmi, REG_HDMI_AUDIO_INFO1, in hdmi_audio_update()
190 hdmi_write(hdmi, REG_HDMI_GC, 0); in hdmi_audio_update()
218 hdmi_write(hdmi, REG_HDMI_ACR_PKT_CTRL, acr_pkt_ctrl); in hdmi_audio_update()
219 hdmi_write(hdmi, REG_HDMI_VBI_PKT_CTRL, vbi_pkt_ctrl); in hdmi_audio_update()
220 hdmi_write(hdmi, REG_HDMI_AUDIO_PKT_CTRL1, aud_pkt_ctrl); in hdmi_audio_update()
221 hdmi_write(hdmi, REG_HDMI_INFOFRAME_CTRL0, infofrm_ctrl); in hdmi_audio_update()
[all …]
Dhdmi_i2c.c32 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, in init_ddc()
34 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, in init_ddc()
37 hdmi_write(hdmi, REG_HDMI_DDC_SPEED, in init_ddc()
41 hdmi_write(hdmi, REG_HDMI_DDC_SETUP, in init_ddc()
45 hdmi_write(hdmi, REG_HDMI_DDC_REF, in init_ddc()
60 hdmi_write(hdmi, REG_HDMI_DDC_INT_CTRL, in ddc_clear_irq()
92 hdmi_write(hdmi, REG_HDMI_DDC_INT_CTRL, in sw_done()
142 hdmi_write(hdmi, REG_HDMI_DDC_DATA, ddc_data); in hdmi_i2c_xfer()
153 hdmi_write(hdmi, REG_HDMI_DDC_DATA, ddc_data); in hdmi_i2c_xfer()
166 hdmi_write(hdmi, REG_HDMI_I2C_TRANSACTION(i), i2c_trans); in hdmi_i2c_xfer()
[all …]
Dhdmi_hdcp.c199 hdmi_write(hdmi, preg[i], pdata[i]); in hdmi_hdcp_scm_wr()
223 hdmi_write(hdmi, REG_HDMI_HDCP_INT_CTRL, reg_val); in hdmi_hdcp_irq()
314 hdmi_write(hdmi, REG_HDMI_HDCP_DDC_CTRL_0, in reset_hdcp_ddc_failures()
320 hdmi_write(hdmi, REG_HDMI_HDCP_DDC_CTRL_1, reg_val); in reset_hdcp_ddc_failures()
329 hdmi_write(hdmi, REG_HDMI_HDCP_DDC_CTRL_0, 0); in reset_hdcp_ddc_failures()
338 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, reg_val); in reset_hdcp_ddc_failures()
344 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, reg_val); in reset_hdcp_ddc_failures()
349 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, reg_val); in reset_hdcp_ddc_failures()
357 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, reg_val); in reset_hdcp_ddc_failures()
423 hdmi_write(hdmi, REG_HDMI_HPD_CTRL, reg_val); in hdmi_hdcp_reauth_work()
[all …]
Dhdmi_connector.c39 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_reset()
43 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_reset()
49 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_reset()
53 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_reset()
61 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_reset()
65 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_reset()
71 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_reset()
75 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_reset()
246 hdmi_write(hdmi, REG_HDMI_USEC_REFTIMER, 0x0001001b); in hpd_enable()
249 hdmi_write(hdmi, REG_HDMI_HPD_INT_CTRL, in hpd_enable()
[all …]
Dhdmi_bridge.c164 hdmi_write(hdmi, REG_HDMI_TOTAL, in hdmi_bridge_mode_set()
168 hdmi_write(hdmi, REG_HDMI_ACTIVE_HSYNC, in hdmi_bridge_mode_set()
171 hdmi_write(hdmi, REG_HDMI_ACTIVE_VSYNC, in hdmi_bridge_mode_set()
176 hdmi_write(hdmi, REG_HDMI_VSYNC_TOTAL_F2, in hdmi_bridge_mode_set()
178 hdmi_write(hdmi, REG_HDMI_VSYNC_ACTIVE_F2, in hdmi_bridge_mode_set()
182 hdmi_write(hdmi, REG_HDMI_VSYNC_TOTAL_F2, in hdmi_bridge_mode_set()
184 hdmi_write(hdmi, REG_HDMI_VSYNC_ACTIVE_F2, in hdmi_bridge_mode_set()
197 hdmi_write(hdmi, REG_HDMI_FRAME_CTRL, frame_ctrl); in hdmi_bridge_mode_set()
Dhdmi.h119 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() function
Dhdmi.c32 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in hdmi_set_mode()
41 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in hdmi_set_mode()
/drivers/gpu/drm/sti/
Dsti_hdmi_tx3g0c55phy.c247 hdmi_write(hdmi, pllctrl, HDMI_SRZ_PLL_CFG); in sti_hdmi_tx3g0c55phy_start()
271 hdmi_write(hdmi, val, HDMI_SRZ_TAP_1); in sti_hdmi_tx3g0c55phy_start()
273 hdmi_write(hdmi, val, HDMI_SRZ_TAP_2); in sti_hdmi_tx3g0c55phy_start()
275 hdmi_write(hdmi, val, HDMI_SRZ_TAP_3); in sti_hdmi_tx3g0c55phy_start()
279 hdmi_write(hdmi, val, HDMI_SRZ_CTRL); in sti_hdmi_tx3g0c55phy_start()
294 hdmi_write(hdmi, 0x0, HDMI_SRZ_TAP_1); in sti_hdmi_tx3g0c55phy_start()
295 hdmi_write(hdmi, 0x0, HDMI_SRZ_TAP_2); in sti_hdmi_tx3g0c55phy_start()
296 hdmi_write(hdmi, 0x0, HDMI_SRZ_TAP_3); in sti_hdmi_tx3g0c55phy_start()
297 hdmi_write(hdmi, HDMI_SRZ_CTRL_EXTERNAL_DATA_EN, HDMI_SRZ_CTRL); in sti_hdmi_tx3g0c55phy_start()
318 hdmi_write(hdmi, HDMI_SRZ_CTRL_POWER_DOWN, HDMI_SRZ_CTRL); in sti_hdmi_tx3g0c55phy_stop()
[all …]
Dsti_hdmi_tx3g4c28phy.c116 hdmi_write(hdmi, (pllctrl | PLL_CFG_EN), HDMI_SRZ_PLL_CFG); in sti_hdmi_tx3g4c28phy_start()
149 hdmi_write(hdmi, val, HDMI_SRZ_CFG); in sti_hdmi_tx3g4c28phy_start()
152 hdmi_write(hdmi, val, HDMI_SRZ_ICNTL); in sti_hdmi_tx3g4c28phy_start()
155 hdmi_write(hdmi, val, HDMI_SRZ_CALCODE_EXT); in sti_hdmi_tx3g4c28phy_start()
169 hdmi_write(hdmi, val, HDMI_SRZ_CFG); in sti_hdmi_tx3g4c28phy_start()
170 hdmi_write(hdmi, 0x0, HDMI_SRZ_ICNTL); in sti_hdmi_tx3g4c28phy_start()
171 hdmi_write(hdmi, 0x0, HDMI_SRZ_CALCODE_EXT); in sti_hdmi_tx3g4c28phy_start()
195 hdmi_write(hdmi, val, HDMI_SRZ_CFG); in sti_hdmi_tx3g4c28phy_stop()
196 hdmi_write(hdmi, 0, HDMI_SRZ_PLL_CFG); in sti_hdmi_tx3g4c28phy_stop()
Dsti_hdmi.c130 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() function
177 hdmi_write(hdmi, hdmi->irq_status, HDMI_INT_CLR); in hdmi_irq()
200 hdmi_write(hdmi, xmin, HDMI_ACTIVE_VID_XMIN); in hdmi_active_area()
201 hdmi_write(hdmi, xmax, HDMI_ACTIVE_VID_XMAX); in hdmi_active_area()
202 hdmi_write(hdmi, ymin, HDMI_ACTIVE_VID_YMIN); in hdmi_active_area()
203 hdmi_write(hdmi, ymax, HDMI_ACTIVE_VID_YMAX); in hdmi_active_area()
241 hdmi_write(hdmi, conf, HDMI_CFG); in hdmi_config()
301 hdmi_write(hdmi, val, HDMI_SW_DI_CFG); in hdmi_infoframe_write_infopack()
325 hdmi_write(hdmi, val, HDMI_SW_DI_CFG); in hdmi_infoframe_write_infopack()
428 hdmi_write(hdmi, val, HDMI_CFG); in hdmi_swreset()
[all …]
Dsti_hdmi.h70 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset);
/drivers/media/i2c/
Dadv7842.c537 static inline int hdmi_write(struct v4l2_subdev *sd, u8 reg, u8 val) in hdmi_write() function
546 return hdmi_write(sd, reg, (hdmi_read(sd, reg) & mask) | val); in hdmi_write_and_or()
966 hdmi_write(sd, reg->reg & 0xff, val); in adv7842_s_register()
1719 hdmi_write(sd, 0x01, 0x00); /* Enable HDMI clock terminators */ in enable_input()
1735 hdmi_write(sd, 0x01, 0x78); /* Disable HDMI clock terminators */ in disable_input()
1879 hdmi_write(sd, 0x00, 0x02); /* select port A */ in select_input()
1881 hdmi_write(sd, 0x00, 0x03); /* select port B */ in select_input()
1890 hdmi_write(sd, 0xc0, 0x00); in select_input()
1891 hdmi_write(sd, 0x0d, 0x34); /* ADI recommended write */ in select_input()
1892 hdmi_write(sd, 0x3d, 0x10); /* ADI recommended write */ in select_input()
[all …]
Dadv7604.c585 static inline int hdmi_write(struct v4l2_subdev *sd, u8 reg, u8 val) in hdmi_write() function
594 return hdmi_write(sd, reg, (hdmi_read(sd, reg) & ~mask) | val); in hdmi_write_clr_set()
1694 hdmi_write(sd, 0x01, enable ? 0x00 : 0x78); in adv7604_set_termination()
1699 hdmi_write(sd, 0x83, enable ? 0xfe : 0xff); in adv7611_set_termination()
1741 hdmi_write(sd, 0x00, state->selected_input & 0x03); in select_input()
2463 hdmi_write(sd, 0x48, in adv76xx_core_init()
/drivers/media/platform/s5p-tv/
Dhdmi_drv.c117 void hdmi_write(struct hdmi_device *hdev, u32 reg_id, u32 value) in hdmi_write() function