Lines Matching refs:hdmi_writeb
77 static inline void hdmi_writeb(struct rk3066_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb() function
88 hdmi_writeb(hdmi, offset, temp); in hdmi_modb()
97 hdmi_writeb(hdmi, HDMI_DDC_BUS_FREQ_L, ddc_bus_freq & 0xFF); in rk3066_hdmi_i2c_init()
98 hdmi_writeb(hdmi, HDMI_DDC_BUS_FREQ_H, (ddc_bus_freq >> 8) & 0xFF); in rk3066_hdmi_i2c_init()
102 hdmi_writeb(hdmi, HDMI_INTR_STATUS1, HDMI_INTR_EDID_MASK); in rk3066_hdmi_i2c_init()
139 hdmi_writeb(hdmi, HDMI_SYS_CTRL, in rk3066_hdmi_set_power_mode()
143 hdmi_writeb(hdmi, HDMI_SYS_CTRL, in rk3066_hdmi_set_power_mode()
147 hdmi_writeb(hdmi, HDMI_SYS_CTRL, in rk3066_hdmi_set_power_mode()
172 hdmi_writeb(hdmi, HDMI_CP_BUF_INDEX, frame_index); in rk3066_hdmi_upload_frame()
184 hdmi_writeb(hdmi, HDMI_CP_BUF_ACC_HB0 + i * 4, in rk3066_hdmi_upload_frame()
237 hdmi_writeb(hdmi, HDMI_EXT_VIDEO_PARA, value); in rk3066_hdmi_config_video_timing()
241 hdmi_writeb(hdmi, HDMI_EXT_HTOTAL_L, value & 0xFF); in rk3066_hdmi_config_video_timing()
242 hdmi_writeb(hdmi, HDMI_EXT_HTOTAL_H, (value >> 8) & 0xFF); in rk3066_hdmi_config_video_timing()
245 hdmi_writeb(hdmi, HDMI_EXT_HBLANK_L, value & 0xFF); in rk3066_hdmi_config_video_timing()
246 hdmi_writeb(hdmi, HDMI_EXT_HBLANK_H, (value >> 8) & 0xFF); in rk3066_hdmi_config_video_timing()
249 hdmi_writeb(hdmi, HDMI_EXT_HDELAY_L, value & 0xFF); in rk3066_hdmi_config_video_timing()
250 hdmi_writeb(hdmi, HDMI_EXT_HDELAY_H, (value >> 8) & 0xFF); in rk3066_hdmi_config_video_timing()
253 hdmi_writeb(hdmi, HDMI_EXT_HDURATION_L, value & 0xFF); in rk3066_hdmi_config_video_timing()
254 hdmi_writeb(hdmi, HDMI_EXT_HDURATION_H, (value >> 8) & 0xFF); in rk3066_hdmi_config_video_timing()
257 hdmi_writeb(hdmi, HDMI_EXT_VTOTAL_L, value & 0xFF); in rk3066_hdmi_config_video_timing()
258 hdmi_writeb(hdmi, HDMI_EXT_VTOTAL_H, (value >> 8) & 0xFF); in rk3066_hdmi_config_video_timing()
261 hdmi_writeb(hdmi, HDMI_EXT_VBLANK_L, value & 0xFF); in rk3066_hdmi_config_video_timing()
264 hdmi_writeb(hdmi, HDMI_EXT_VDELAY, value & 0xFF); in rk3066_hdmi_config_video_timing()
267 hdmi_writeb(hdmi, HDMI_EXT_VDURATION, value & 0xFF); in rk3066_hdmi_config_video_timing()
275 hdmi_writeb(hdmi, offset, value); in rk3066_hdmi_phy_write()
286 hdmi_writeb(hdmi, HDMI_DEEP_COLOR_MODE, 0x22); in rk3066_hdmi_config_phy()
355 hdmi_writeb(hdmi, HDMI_VIDEO_CTRL1, in rk3066_hdmi_setup()
359 hdmi_writeb(hdmi, HDMI_DEEP_COLOR_MODE, 0x20); in rk3066_hdmi_setup()
427 hdmi_writeb(hdmi, HDMI_VIDEO_CTRL2, in rk3066_hdmi_encoder_disable()
579 hdmi_writeb(hdmi, HDMI_SYS_CTRL, HDMI_SYS_POWER_MODE_B); in rk3066_hdmi_hardirq()
583 hdmi_writeb(hdmi, HDMI_INTR_STATUS1, interrupt); in rk3066_hdmi_hardirq()
640 hdmi_writeb(hdmi, HDMI_EDID_FIFO_ADDR, 0x00); in rk3066_hdmi_i2c_write()
643 hdmi_writeb(hdmi, HDMI_EDID_WORD_ADDR, hdmi->i2c->ddc_addr); in rk3066_hdmi_i2c_write()
646 hdmi_writeb(hdmi, HDMI_EDID_SEGMENT_POINTER, hdmi->i2c->segment_addr); in rk3066_hdmi_i2c_write()
782 hdmi_writeb(hdmi, HDMI_INTERNAL_CLK_DIVIDER, 25); in rk3066_hdmi_bind()
793 hdmi_writeb(hdmi, HDMI_INTR_MASK1, HDMI_INTR_HOTPLUG); in rk3066_hdmi_bind()
794 hdmi_writeb(hdmi, HDMI_INTR_MASK2, 0); in rk3066_hdmi_bind()
795 hdmi_writeb(hdmi, HDMI_INTR_MASK3, 0); in rk3066_hdmi_bind()
796 hdmi_writeb(hdmi, HDMI_INTR_MASK4, 0); in rk3066_hdmi_bind()