Lines Matching defs:hdmi
220 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb()
225 static inline u8 hdmi_readb(struct dw_hdmi *hdmi, int offset) in hdmi_readb()
234 static void handle_plugged_change(struct dw_hdmi *hdmi, bool plugged) in handle_plugged_change()
240 int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn, in dw_hdmi_set_plugged_cb()
256 static void hdmi_modb(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned reg) in hdmi_modb()
261 static void hdmi_mask_writeb(struct dw_hdmi *hdmi, u8 data, unsigned int reg, in hdmi_mask_writeb()
267 static void dw_hdmi_i2c_init(struct dw_hdmi *hdmi) in dw_hdmi_i2c_init()
296 static bool dw_hdmi_i2c_unwedge(struct dw_hdmi *hdmi) in dw_hdmi_i2c_unwedge()
343 static int dw_hdmi_i2c_wait(struct dw_hdmi *hdmi) in dw_hdmi_i2c_wait()
367 static int dw_hdmi_i2c_read(struct dw_hdmi *hdmi, in dw_hdmi_i2c_read()
401 static int dw_hdmi_i2c_write(struct dw_hdmi *hdmi, in dw_hdmi_i2c_write()
434 struct dw_hdmi *hdmi = i2c_get_adapdata(adap); in dw_hdmi_i2c_xfer() local
514 static struct i2c_adapter *dw_hdmi_i2c_adapter(struct dw_hdmi *hdmi) in dw_hdmi_i2c_adapter()
549 static void hdmi_set_cts_n(struct dw_hdmi *hdmi, unsigned int cts, in hdmi_set_cts_n()
638 void dw_hdmi_set_channel_status(struct dw_hdmi *hdmi, in dw_hdmi_set_channel_status()
650 static void hdmi_set_clk_regenerator(struct dw_hdmi *hdmi, in hdmi_set_clk_regenerator()
690 static void hdmi_init_clk_regenerator(struct dw_hdmi *hdmi) in hdmi_init_clk_regenerator()
697 static void hdmi_clk_regenerator_update_pixel_clock(struct dw_hdmi *hdmi) in hdmi_clk_regenerator_update_pixel_clock()
705 void dw_hdmi_set_sample_rate(struct dw_hdmi *hdmi, unsigned int rate) in dw_hdmi_set_sample_rate()
715 void dw_hdmi_set_channel_count(struct dw_hdmi *hdmi, unsigned int cnt) in dw_hdmi_set_channel_count()
741 void dw_hdmi_set_channel_allocation(struct dw_hdmi *hdmi, unsigned int ca) in dw_hdmi_set_channel_allocation()
751 static void hdmi_enable_audio_clk(struct dw_hdmi *hdmi, bool enable) in hdmi_enable_audio_clk()
760 static void dw_hdmi_ahb_audio_enable(struct dw_hdmi *hdmi) in dw_hdmi_ahb_audio_enable()
765 static void dw_hdmi_ahb_audio_disable(struct dw_hdmi *hdmi) in dw_hdmi_ahb_audio_disable()
770 static void dw_hdmi_i2s_audio_enable(struct dw_hdmi *hdmi) in dw_hdmi_i2s_audio_enable()
776 static void dw_hdmi_i2s_audio_disable(struct dw_hdmi *hdmi) in dw_hdmi_i2s_audio_disable()
781 void dw_hdmi_audio_enable(struct dw_hdmi *hdmi) in dw_hdmi_audio_enable()
793 void dw_hdmi_audio_disable(struct dw_hdmi *hdmi) in dw_hdmi_audio_disable()
898 static void hdmi_video_sample(struct dw_hdmi *hdmi) in hdmi_video_sample()
966 static int is_color_space_conversion(struct dw_hdmi *hdmi) in is_color_space_conversion()
978 static int is_color_space_decimation(struct dw_hdmi *hdmi) in is_color_space_decimation()
990 static int is_color_space_interpolation(struct dw_hdmi *hdmi) in is_color_space_interpolation()
1002 static bool is_csc_needed(struct dw_hdmi *hdmi) in is_csc_needed()
1009 static void dw_hdmi_update_csc_coeffs(struct dw_hdmi *hdmi) in dw_hdmi_update_csc_coeffs()
1053 static void hdmi_video_csc(struct dw_hdmi *hdmi) in hdmi_video_csc()
1096 static void hdmi_video_packetize(struct dw_hdmi *hdmi) in hdmi_video_packetize()
1209 static inline void hdmi_phy_test_clear(struct dw_hdmi *hdmi, in hdmi_phy_test_clear()
1216 static bool hdmi_phy_wait_i2c_done(struct dw_hdmi *hdmi, int msec) in hdmi_phy_wait_i2c_done()
1230 void dw_hdmi_phy_i2c_write(struct dw_hdmi *hdmi, unsigned short data, in dw_hdmi_phy_i2c_write()
1246 static bool dw_hdmi_support_scdc(struct dw_hdmi *hdmi, in dw_hdmi_support_scdc()
1286 void dw_hdmi_set_high_tmds_clock_ratio(struct dw_hdmi *hdmi, in dw_hdmi_set_high_tmds_clock_ratio()
1301 static void dw_hdmi_phy_enable_powerdown(struct dw_hdmi *hdmi, bool enable) in dw_hdmi_phy_enable_powerdown()
1308 static void dw_hdmi_phy_enable_tmds(struct dw_hdmi *hdmi, u8 enable) in dw_hdmi_phy_enable_tmds()
1315 static void dw_hdmi_phy_enable_svsret(struct dw_hdmi *hdmi, u8 enable) in dw_hdmi_phy_enable_svsret()
1322 void dw_hdmi_phy_gen2_pddq(struct dw_hdmi *hdmi, u8 enable) in dw_hdmi_phy_gen2_pddq()
1330 void dw_hdmi_phy_gen2_txpwron(struct dw_hdmi *hdmi, u8 enable) in dw_hdmi_phy_gen2_txpwron()
1338 static void dw_hdmi_phy_sel_data_en_pol(struct dw_hdmi *hdmi, u8 enable) in dw_hdmi_phy_sel_data_en_pol()
1345 static void dw_hdmi_phy_sel_interface_control(struct dw_hdmi *hdmi, u8 enable) in dw_hdmi_phy_sel_interface_control()
1352 void dw_hdmi_phy_reset(struct dw_hdmi *hdmi) in dw_hdmi_phy_reset()
1360 void dw_hdmi_phy_i2c_set_addr(struct dw_hdmi *hdmi, u8 address) in dw_hdmi_phy_i2c_set_addr()
1368 static void dw_hdmi_phy_power_off(struct dw_hdmi *hdmi) in dw_hdmi_phy_power_off()
1402 static int dw_hdmi_phy_power_on(struct dw_hdmi *hdmi) in dw_hdmi_phy_power_on()
1443 static int hdmi_phy_configure_dwc_hdmi_3d_tx(struct dw_hdmi *hdmi, in hdmi_phy_configure_dwc_hdmi_3d_tx()
1495 static int hdmi_phy_configure(struct dw_hdmi *hdmi, in hdmi_phy_configure()
1536 static int dw_hdmi_phy_init(struct dw_hdmi *hdmi, void *data, in dw_hdmi_phy_init()
1555 static void dw_hdmi_phy_disable(struct dw_hdmi *hdmi, void *data) in dw_hdmi_phy_disable()
1560 enum drm_connector_status dw_hdmi_phy_read_hpd(struct dw_hdmi *hdmi, in dw_hdmi_phy_read_hpd()
1568 void dw_hdmi_phy_update_hpd(struct dw_hdmi *hdmi, void *data, in dw_hdmi_phy_update_hpd()
1583 void dw_hdmi_phy_setup_hpd(struct dw_hdmi *hdmi, void *data) in dw_hdmi_phy_setup_hpd()
1616 static void hdmi_tx_hdcp_config(struct dw_hdmi *hdmi) in hdmi_tx_hdcp_config()
1635 static void hdmi_config_AVI(struct dw_hdmi *hdmi, in hdmi_config_AVI()
1762 static void hdmi_config_vendor_specific_infoframe(struct dw_hdmi *hdmi, in hdmi_config_vendor_specific_infoframe()
1816 static void hdmi_config_drm_infoframe(struct dw_hdmi *hdmi, in hdmi_config_drm_infoframe()
1852 static void hdmi_av_composer(struct dw_hdmi *hdmi, in hdmi_av_composer()
2027 static void dw_hdmi_enable_video_path(struct dw_hdmi *hdmi) in dw_hdmi_enable_video_path()
2068 static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi) in dw_hdmi_clear_overflow()
2115 static void hdmi_disable_overflow_interrupts(struct dw_hdmi *hdmi) in hdmi_disable_overflow_interrupts()
2121 static int dw_hdmi_setup(struct dw_hdmi *hdmi, in dw_hdmi_setup()
2213 static void initialize_hdmi_ih_mutes(struct dw_hdmi *hdmi) in initialize_hdmi_ih_mutes()
2264 static void dw_hdmi_poweron(struct dw_hdmi *hdmi) in dw_hdmi_poweron()
2275 static void dw_hdmi_poweroff(struct dw_hdmi *hdmi) in dw_hdmi_poweroff()
2285 static void dw_hdmi_update_power(struct dw_hdmi *hdmi) in dw_hdmi_update_power()
2319 static void dw_hdmi_update_phy_mask(struct dw_hdmi *hdmi) in dw_hdmi_update_phy_mask()
2327 static enum drm_connector_status dw_hdmi_detect(struct dw_hdmi *hdmi) in dw_hdmi_detect()
2345 static struct edid *dw_hdmi_get_edid(struct dw_hdmi *hdmi, in dw_hdmi_get_edid()
2375 struct dw_hdmi *hdmi = container_of(connector, struct dw_hdmi, in dw_hdmi_connector_detect() local
2382 struct dw_hdmi *hdmi = container_of(connector, struct dw_hdmi, in dw_hdmi_connector_get_modes() local
2425 struct dw_hdmi *hdmi = container_of(connector, struct dw_hdmi, in dw_hdmi_connector_force() local
2450 static int dw_hdmi_connector_create(struct dw_hdmi *hdmi) in dw_hdmi_connector_create()
2758 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_atomic_check() local
2776 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_attach() local
2787 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_detach() local
2800 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_mode_valid() local
2819 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_mode_set() local
2832 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_atomic_disable() local
2845 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_atomic_enable() local
2862 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_detect() local
2870 struct dw_hdmi *hdmi = bridge->driver_private; in dw_hdmi_bridge_get_edid() local
2896 static irqreturn_t dw_hdmi_i2c_irq(struct dw_hdmi *hdmi) in dw_hdmi_i2c_irq()
2916 struct dw_hdmi *hdmi = dev_id; in dw_hdmi_hardirq() local
2932 void dw_hdmi_setup_rx_sense(struct dw_hdmi *hdmi, bool hpd, bool rx_sense) in dw_hdmi_setup_rx_sense()
2962 struct dw_hdmi *hdmi = dev_id; in dw_hdmi_irq() local
3065 static int dw_hdmi_detect_phy(struct dw_hdmi *hdmi) in dw_hdmi_detect_phy()
3110 static void dw_hdmi_cec_enable(struct dw_hdmi *hdmi) in dw_hdmi_cec_enable()
3118 static void dw_hdmi_cec_disable(struct dw_hdmi *hdmi) in dw_hdmi_cec_disable()
3147 static void dw_hdmi_init_hw(struct dw_hdmi *hdmi) in dw_hdmi_init_hw()
3166 static int dw_hdmi_parse_dt(struct dw_hdmi *hdmi) in dw_hdmi_parse_dt()
3219 struct dw_hdmi *hdmi; in dw_hdmi_probe() local
3489 void dw_hdmi_remove(struct dw_hdmi *hdmi) in dw_hdmi_remove()
3519 struct dw_hdmi *hdmi; in dw_hdmi_bind() local
3536 void dw_hdmi_unbind(struct dw_hdmi *hdmi) in dw_hdmi_unbind()
3542 void dw_hdmi_resume(struct dw_hdmi *hdmi) in dw_hdmi_resume()