Lines Matching full:dw_hdmi
12 #include "dw_hdmi.h"
74 static void dw_hdmi_write(struct dw_hdmi *hdmi, u8 val, int offset) in dw_hdmi_write()
89 static u8 dw_hdmi_read(struct dw_hdmi *hdmi, int offset) in dw_hdmi_read()
104 static u8 (*hdmi_read)(struct dw_hdmi *hdmi, int offset) = dw_hdmi_read;
105 static void (*hdmi_write)(struct dw_hdmi *hdmi, u8 val, int offset) =
108 static void hdmi_mod(struct dw_hdmi *hdmi, unsigned reg, u8 mask, u8 data) in hdmi_mod()
116 static void hdmi_set_clock_regenerator(struct dw_hdmi *hdmi, u32 n, u32 cts) in hdmi_set_clock_regenerator()
159 static void hdmi_audio_set_samplerate(struct dw_hdmi *hdmi, u32 pixel_clk) in hdmi_audio_set_samplerate()
182 static void hdmi_video_sample(struct dw_hdmi *hdmi) in hdmi_video_sample()
249 static void hdmi_video_packetize(struct dw_hdmi *hdmi) in hdmi_video_packetize()
295 static inline void hdmi_phy_test_clear(struct dw_hdmi *hdmi, uint bit) in hdmi_phy_test_clear()
301 static int hdmi_phy_wait_i2c_done(struct dw_hdmi *hdmi, u32 msec) in hdmi_phy_wait_i2c_done()
320 static void hdmi_phy_i2c_write(struct dw_hdmi *hdmi, uint data, uint addr) in hdmi_phy_i2c_write()
332 static void hdmi_phy_enable_power(struct dw_hdmi *hdmi, uint enable) in hdmi_phy_enable_power()
338 static void hdmi_phy_enable_tmds(struct dw_hdmi *hdmi, uint enable) in hdmi_phy_enable_tmds()
344 static void hdmi_phy_enable_spare(struct dw_hdmi *hdmi, uint enable) in hdmi_phy_enable_spare()
350 static void hdmi_phy_gen2_pddq(struct dw_hdmi *hdmi, uint enable) in hdmi_phy_gen2_pddq()
356 static void hdmi_phy_gen2_txpwron(struct dw_hdmi *hdmi, uint enable) in hdmi_phy_gen2_txpwron()
363 static void hdmi_phy_sel_data_en_pol(struct dw_hdmi *hdmi, uint enable) in hdmi_phy_sel_data_en_pol()
370 static void hdmi_phy_sel_interface_control(struct dw_hdmi *hdmi, in hdmi_phy_sel_interface_control()
377 static int hdmi_phy_configure(struct dw_hdmi *hdmi, u32 mpixelclock) in hdmi_phy_configure()
454 static void hdmi_av_composer(struct dw_hdmi *hdmi, in hdmi_av_composer()
563 static int is_color_space_interpolation(struct dw_hdmi *hdmi) in is_color_space_interpolation()
575 static int is_color_space_decimation(struct dw_hdmi *hdmi) in is_color_space_decimation()
618 static int is_color_space_conversion(struct dw_hdmi *hdmi) in is_color_space_conversion()
624 static void dw_hdmi_update_csc_coeffs(struct dw_hdmi *hdmi) in dw_hdmi_update_csc_coeffs()
657 static void hdmi_video_csc(struct dw_hdmi *hdmi) in hdmi_video_csc()
697 static void hdmi_enable_video_path(struct dw_hdmi *hdmi, bool audio) in hdmi_enable_video_path()
743 static void hdmi_clear_overflow(struct dw_hdmi *hdmi) in hdmi_clear_overflow()
756 static void hdmi_audio_set_format(struct dw_hdmi *hdmi) in hdmi_audio_set_format()
768 static void hdmi_audio_fifo_reset(struct dw_hdmi *hdmi) in hdmi_audio_fifo_reset()
777 static int hdmi_get_plug_in_status(struct dw_hdmi *hdmi) in hdmi_get_plug_in_status()
784 static int hdmi_ddc_wait_i2c_done(struct dw_hdmi *hdmi, int msec) in hdmi_ddc_wait_i2c_done()
803 static void hdmi_ddc_reset(struct dw_hdmi *hdmi) in hdmi_ddc_reset()
808 static int hdmi_read_edid(struct dw_hdmi *hdmi, int block, u8 *buff) in hdmi_read_edid()
889 int dw_hdmi_phy_cfg(struct dw_hdmi *hdmi, uint mpixelclock) in dw_hdmi_phy_cfg()
910 int dw_hdmi_phy_wait_for_hpd(struct dw_hdmi *hdmi) in dw_hdmi_phy_wait_for_hpd()
924 void dw_hdmi_phy_init(struct dw_hdmi *hdmi) in dw_hdmi_phy_init()
942 int dw_hdmi_read_edid(struct dw_hdmi *hdmi, u8 *buf, int buf_size) in dw_hdmi_read_edid()
966 int dw_hdmi_enable(struct dw_hdmi *hdmi, const struct display_timing *edid) in dw_hdmi_enable()
997 void dw_hdmi_init(struct dw_hdmi *hdmi) in dw_hdmi_init()