/linux/drivers/gpu/drm/msm/hdmi/ |
A D | hdmi_bridge.c | 103 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() 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() 229 hdmi_write(hdmi, REG_HDMI_VSYNC_ACTIVE_F2, in msm_hdmi_bridge_mode_set() [all …]
|
A D | hdmi_audio.c | 152 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() 205 hdmi_write(hdmi, REG_HDMI_AUD_INT, in msm_hdmi_audio_update() [all …]
|
A D | hdmi_connector.c | 29 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset() 33 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset() 39 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset() 43 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset() 51 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset() 55 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset() 61 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset() 65 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in msm_hdmi_phy_reset() 180 hdmi_write(hdmi, REG_HDMI_HPD_INT_CTRL, in msm_hdmi_hpd_enable() 190 hdmi_write(hdmi, REG_HDMI_HPD_CTRL, in msm_hdmi_hpd_enable() [all …]
|
A D | hdmi_i2c.c | 21 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() 159 hdmi_write(hdmi, REG_HDMI_DDC_CTRL, in msm_hdmi_i2c_xfer() [all …]
|
A D | hdmi_hdcp.c | 190 hdmi_write(hdmi, preg[i], pdata[i]); in msm_hdmi_hdcp_scm_wr() 305 hdmi_write(hdmi, REG_HDMI_HDCP_DDC_CTRL_0, in msm_reset_hdcp_ddc_failures() 420 hdmi_write(hdmi, REG_HDMI_HDCP_RESET, in msm_hdmi_hdcp_reauth_work() 430 hdmi_write(hdmi, REG_HDMI_HDCP_CTRL, 0); in msm_hdmi_hdcp_reauth_work() 477 hdmi_write(hdmi, REG_HDMI_CTRL, reg_val); in msm_hdmi_hdcp_auth_prepare() 548 hdmi_write(hdmi, REG_HDMI_CTRL, reg_val); in msm_hdmi_hdcp_auth_fail() 575 hdmi_write(hdmi, REG_HDMI_CTRL, reg_val); in msm_hdmi_hdcp_auth_done() 794 hdmi_write(hdmi, REG_HDMI_HDCP_INT_CTRL, in msm_hdmi_hdcp_auth_part1_key_exchange() 856 hdmi_write(hdmi, REG_HDMI_HDCP_CTRL, in msm_hdmi_hdcp_auth_part1_verify_r0() 1371 hdmi_write(hdmi, REG_HDMI_HDCP_RESET, in msm_hdmi_hdcp_off() [all …]
|
A D | hdmi.h | 119 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() function
|
A D | hdmi.c | 24 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode() 33 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
|
/linux/drivers/gpu/drm/sti/ |
A D | sti_hdmi_tx3g4c28phy.c | 118 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()
|
A D | sti_hdmi.c | 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() 398 hdmi_write(hdmi, val, HDMI_SW_DI_CFG); in hdmi_infoframe_write_infopack() 423 hdmi_write(hdmi, val, HDMI_SW_DI_CFG); in hdmi_infoframe_write_infopack() 502 hdmi_write(hdmi, val, HDMI_SW_DI_CFG); in hdmi_audio_infoframe_config() 575 hdmi_write(hdmi, val, HDMI_CFG); in hdmi_swreset() 592 hdmi_write(hdmi, val, HDMI_CFG); in hdmi_swreset() 761 hdmi_write(hdmi, val, HDMI_CFG); in sti_hdmi_disable() [all …]
|
A D | sti_hdmi.h | 94 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset);
|
/linux/drivers/gpu/drm/bridge/synopsys/ |
A D | dw-hdmi-i2s-audio.c | 22 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/drivers/media/i2c/ |
A D | adv7842.c | 948 hdmi_write(sd, reg->reg & 0xff, val); in adv7842_s_register() 1896 hdmi_write(sd, 0xc0, 0x00); in select_input() 1908 hdmi_write(sd, 0x85, 0x1f); /* equaliser */ in select_input() 1910 hdmi_write(sd, 0x89, 0x04); /* equaliser */ in select_input() 1911 hdmi_write(sd, 0x8a, 0x1e); /* equaliser */ in select_input() 1912 hdmi_write(sd, 0x93, 0x04); /* equaliser */ in select_input() 1913 hdmi_write(sd, 0x94, 0x1e); /* equaliser */ in select_input() 1916 hdmi_write(sd, 0x9d, 0x02); /* equaliser */ in select_input() 3000 hdmi_write(sd, 0x48, in adv7842_core_init() 3087 hdmi_write(sd, 0x69, 0x5c); in adv7842_core_init() [all …]
|
A D | adv7604.c | 561 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/drivers/media/i2c/adv748x/ |
A D | adv748x.h | 402 #define hdmi_write(s, r, v) adv748x_write(s, ADV748X_PAGE_HDMI, r, v) macro
|