/linux-4.1.27/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_phy_8x60.c | 42 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x60_reset() 46 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x60_reset() 54 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x60_reset() 58 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x60_reset() 70 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG0, in hdmi_phy_8x60_powerup() 75 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG1, in hdmi_phy_8x60_powerup() 79 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG1, in hdmi_phy_8x60_powerup() 85 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG2, in hdmi_phy_8x60_powerup() 95 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG2, in hdmi_phy_8x60_powerup() 104 hdmi_write(hdmi, REG_HDMI_8x60_PHY_REG2, in hdmi_phy_8x60_powerup() [all …]
|
D | hdmi_phy_8960.c | 262 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 …]
|
D | hdmi_audio.c | 170 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() 206 hdmi_write(hdmi, REG_HDMI_GC, HDMI_GC_MUTE); in hdmi_audio_update() 219 hdmi_write(hdmi, REG_HDMI_ACR_PKT_CTRL, acr_pkt_ctrl); in hdmi_audio_update() 220 hdmi_write(hdmi, REG_HDMI_VBI_PKT_CTRL, vbi_pkt_ctrl); in hdmi_audio_update() 221 hdmi_write(hdmi, REG_HDMI_AUDIO_PKT_CTRL1, aud_pkt_ctrl); in hdmi_audio_update() [all …]
|
D | hdmi_phy_8x74.c | 56 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset() 60 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset() 66 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset() 70 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset() 78 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset() 82 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset() 88 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset() 92 hdmi_write(hdmi, REG_HDMI_PHY_CTRL, in hdmi_phy_8x74_reset()
|
D | hdmi_i2c.c | 32 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 …]
|
D | hdmi_bridge.c | 156 hdmi_write(hdmi, REG_HDMI_TOTAL, in hdmi_bridge_mode_set() 160 hdmi_write(hdmi, REG_HDMI_ACTIVE_HSYNC, in hdmi_bridge_mode_set() 163 hdmi_write(hdmi, REG_HDMI_ACTIVE_VSYNC, in hdmi_bridge_mode_set() 168 hdmi_write(hdmi, REG_HDMI_VSYNC_TOTAL_F2, in hdmi_bridge_mode_set() 170 hdmi_write(hdmi, REG_HDMI_VSYNC_ACTIVE_F2, in hdmi_bridge_mode_set() 174 hdmi_write(hdmi, REG_HDMI_VSYNC_TOTAL_F2, in hdmi_bridge_mode_set() 176 hdmi_write(hdmi, REG_HDMI_VSYNC_ACTIVE_F2, in hdmi_bridge_mode_set() 189 hdmi_write(hdmi, REG_HDMI_FRAME_CTRL, frame_ctrl); in hdmi_bridge_mode_set()
|
D | hdmi_connector.c | 180 hdmi_write(hdmi, REG_HDMI_USEC_REFTIMER, 0x0001001b); in hpd_enable() 183 hdmi_write(hdmi, REG_HDMI_HPD_INT_CTRL, in hpd_enable() 192 hdmi_write(hdmi, REG_HDMI_HPD_CTRL, in hpd_enable() 194 hdmi_write(hdmi, REG_HDMI_HPD_CTRL, in hpd_enable() 211 hdmi_write(hdmi, REG_HDMI_HPD_INT_CTRL, 0); in hdp_disable() 255 hdmi_write(hdmi, REG_HDMI_HPD_INT_CTRL, in hdmi_connector_irq() 264 hdmi_write(hdmi, REG_HDMI_HPD_INT_CTRL, hpd_int_ctrl); in hdmi_connector_irq() 336 hdmi_write(hdmi, REG_HDMI_CTRL, hdmi_ctrl | HDMI_CTRL_ENABLE); in hdmi_connector_get_modes() 340 hdmi_write(hdmi, REG_HDMI_CTRL, hdmi_ctrl); in hdmi_connector_get_modes()
|
D | hdmi.h | 102 static inline void hdmi_write(struct hdmi *hdmi, u32 reg, u32 data) in hdmi_write() function
|
D | hdmi.c | 30 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in hdmi_set_mode() 39 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in hdmi_set_mode()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | sh_mobile_hdmi.c | 319 static void hdmi_write(struct sh_hdmi *hdmi, u8 data, u8 reg) in hdmi_write() function 336 hdmi_write(hdmi, val, reg); in hdmi_bit_set() 367 hdmi_write(hdmi, value, reg); in sh_hdmi_snd_write() 439 hdmi_write(hdmi, sync | (voffset << 4), HDMI_EXTERNAL_VIDEO_PARAM_SETTINGS); in sh_hdmi_external_video_param() 441 hdmi_write(hdmi, htotal, HDMI_EXTERNAL_H_TOTAL_7_0); in sh_hdmi_external_video_param() 442 hdmi_write(hdmi, htotal >> 8, HDMI_EXTERNAL_H_TOTAL_11_8); in sh_hdmi_external_video_param() 444 hdmi_write(hdmi, hblank, HDMI_EXTERNAL_H_BLANK_7_0); in sh_hdmi_external_video_param() 445 hdmi_write(hdmi, hblank >> 8, HDMI_EXTERNAL_H_BLANK_9_8); in sh_hdmi_external_video_param() 447 hdmi_write(hdmi, hdelay, HDMI_EXTERNAL_H_DELAY_7_0); in sh_hdmi_external_video_param() 448 hdmi_write(hdmi, hdelay >> 8, HDMI_EXTERNAL_H_DELAY_9_8); in sh_hdmi_external_video_param() [all …]
|
/linux-4.1.27/drivers/gpu/drm/sti/ |
D | sti_hdmi_tx3g4c28phy.c | 116 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()
|
D | sti_hdmi_tx3g0c55phy.c | 247 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 …]
|
D | sti_hdmi.c | 130 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 …]
|
D | sti_hdmi.h | 70 void hdmi_write(struct sti_hdmi *hdmi, u32 val, int offset);
|
/linux-4.1.27/drivers/media/i2c/ |
D | adv7842.c | 482 static inline int hdmi_write(struct v4l2_subdev *sd, u8 reg, u8 val) in hdmi_write() function 491 return hdmi_write(sd, reg, (hdmi_read(sd, reg) & mask) | val); in hdmi_write_and_or() 853 hdmi_write(sd, reg->reg & 0xff, val); in adv7842_s_register() 1600 hdmi_write(sd, 0x01, 0x00); /* Enable HDMI clock terminators */ in enable_input() 1616 hdmi_write(sd, 0x01, 0x78); /* Disable HDMI clock terminators */ in disable_input() 1760 hdmi_write(sd, 0x00, 0x02); /* select port A */ in select_input() 1762 hdmi_write(sd, 0x00, 0x03); /* select port B */ in select_input() 1771 hdmi_write(sd, 0xc0, 0x00); in select_input() 1772 hdmi_write(sd, 0x0d, 0x34); /* ADI recommended write */ in select_input() 1773 hdmi_write(sd, 0x3d, 0x10); /* ADI recommended write */ in select_input() [all …]
|
D | adv7604.c | 571 static inline int hdmi_write(struct v4l2_subdev *sd, u8 reg, u8 val) in hdmi_write() function 580 return hdmi_write(sd, reg, (hdmi_read(sd, reg) & ~mask) | val); in hdmi_write_clr_set() 1645 hdmi_write(sd, 0x01, enable ? 0x00 : 0x78); in adv7604_set_termination() 1650 hdmi_write(sd, 0x83, enable ? 0xfe : 0xff); in adv7611_set_termination() 1692 hdmi_write(sd, 0x00, state->selected_input & 0x03); in select_input() 2367 hdmi_write(sd, 0x48, in adv76xx_core_init()
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
D | hdmi_drv.c | 117 void hdmi_write(struct hdmi_device *hdev, u32 reg_id, u32 value) in hdmi_write() function
|