/linux-6.12.1/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_hpd.c | 22 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() 125 hdmi_write(hdmi, REG_HDMI_USEC_REFTIMER, 0x0001001b); in msm_hdmi_hpd_enable() 128 hdmi_write(hdmi, REG_HDMI_HPD_INT_CTRL, in msm_hdmi_hpd_enable() [all …]
|
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() 155 hdmi_write(hdmi, REG_HDMI_I2C_TRANSACTION(i), i2c_trans); in msm_hdmi_i2c_xfer() [all …]
|
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() 203 hdmi_write(hdmi, REG_HDMI_INFOFRAME_CTRL0, infofrm_ctrl); in msm_hdmi_audio_update() [all …]
|
D | hdmi_bridge.c | 96 hdmi_write(hdmi, REG_HDMI_AVI_INFO(0), in msm_hdmi_config_avi_infoframe() 102 hdmi_write(hdmi, REG_HDMI_AVI_INFO(1), in msm_hdmi_config_avi_infoframe() 108 hdmi_write(hdmi, REG_HDMI_AVI_INFO(2), in msm_hdmi_config_avi_infoframe() 114 hdmi_write(hdmi, REG_HDMI_AVI_INFO(3), in msm_hdmi_config_avi_infoframe() 119 hdmi_write(hdmi, REG_HDMI_INFOFRAME_CTRL0, in msm_hdmi_config_avi_infoframe() 126 hdmi_write(hdmi, REG_HDMI_INFOFRAME_CTRL1, val); in msm_hdmi_config_avi_infoframe() 200 hdmi_write(hdmi, REG_HDMI_TOTAL, in msm_hdmi_bridge_mode_set() 204 hdmi_write(hdmi, REG_HDMI_ACTIVE_HSYNC, in msm_hdmi_bridge_mode_set() 207 hdmi_write(hdmi, REG_HDMI_ACTIVE_VSYNC, in msm_hdmi_bridge_mode_set() 212 hdmi_write(hdmi, REG_HDMI_VSYNC_TOTAL_F2, in msm_hdmi_bridge_mode_set() [all …]
|
D | hdmi_hdcp.c | 190 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 …]
|
D | hdmi.c | 29 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode() 38 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
|
D | hdmi.h | 116 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() function
|
/linux-6.12.1/drivers/gpu/drm/sti/ |
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()
|
D | sti_hdmi.c | 182 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset) in hdmi_write() function 233 hdmi_write(hdmi, hdmi->irq_status, HDMI_INT_CLR); in hdmi_irq() 256 hdmi_write(hdmi, xmin, HDMI_ACTIVE_VID_XMIN); in hdmi_active_area() 257 hdmi_write(hdmi, xmax, HDMI_ACTIVE_VID_XMAX); in hdmi_active_area() 258 hdmi_write(hdmi, ymin, HDMI_ACTIVE_VID_YMIN); in hdmi_active_area() 259 hdmi_write(hdmi, ymax, HDMI_ACTIVE_VID_YMAX); in hdmi_active_area() 297 hdmi_write(hdmi, conf, HDMI_CFG); in hdmi_config() 333 hdmi_write(hdmi, val, HDMI_SW_DI_CFG); in hdmi_infoframe_reset() 336 hdmi_write(hdmi, 0x0, head_offset); in hdmi_infoframe_reset() 338 hdmi_write(hdmi, 0x0, pack_offset + i); in hdmi_infoframe_reset() [all …]
|
D | sti_hdmi.h | 92 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset);
|
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/ |
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-6.12.1/drivers/media/i2c/ |
D | adv7842.c | 509 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() 1724 hdmi_write(sd, 0x01, 0x00); /* Enable HDMI clock terminators */ in enable_input() 1740 hdmi_write(sd, 0x01, 0x78); /* Disable HDMI clock terminators */ in disable_input() 1884 hdmi_write(sd, 0x00, 0x02); /* select port A */ in select_input() 1886 hdmi_write(sd, 0x00, 0x03); /* select port B */ in select_input() 1895 hdmi_write(sd, 0xc0, 0x00); in select_input() 1896 hdmi_write(sd, 0x0d, 0x34); /* ADI recommended write */ in select_input() 1897 hdmi_write(sd, 0x3d, 0x10); /* ADI recommended write */ in select_input() [all …]
|
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() 2828 hdmi_write(sd, 0x48, in adv76xx_core_init()
|
/linux-6.12.1/drivers/media/i2c/adv748x/ |
D | adv748x.h | 400 #define hdmi_write(s, r, v) adv748x_write(s, ADV748X_PAGE_HDMI, r, v) macro
|