mtk_hdmi
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
static void mtk_hdmi_hw_enable_notice(struct mtk_hdmi *hdmi, bool enable_notice)
static void mtk_hdmi_send_infoframe(struct mtk_hdmi *hdmi,
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
static void mtk_hdmi_hw_write_int_mask(struct mtk_hdmi *hdmi, u32 int_mask)
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = data;
static void mtk_hdmi_hw_enable_dvi_mode(struct mtk_hdmi *hdmi, bool enable)
struct mtk_hdmi *hdmi;
struct mtk_hdmi *hdmi = platform_get_drvdata(pdev);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
static void mtk_hdmi_hw_send_info_frame(struct mtk_hdmi *hdmi, u8 *buffer,
static void mtk_hdmi_hw_send_aud_packet(struct mtk_hdmi *hdmi, bool enable)
static void mtk_hdmi_hw_config_sys(struct mtk_hdmi *hdmi)
static void mtk_hdmi_hw_set_deep_color_mode(struct mtk_hdmi *hdmi)
static void mtk_hdmi_hw_send_av_mute(struct mtk_hdmi *hdmi)
static void mtk_hdmi_hw_send_av_unmute(struct mtk_hdmi *hdmi)
static void mtk_hdmi_hw_ncts_enable(struct mtk_hdmi *hdmi, bool on)
static void mtk_hdmi_hw_ncts_auto_write_enable(struct mtk_hdmi *hdmi,
static void mtk_hdmi_hw_msic_setting(struct mtk_hdmi *hdmi,
static void mtk_hdmi_hw_aud_set_channel_swap(struct mtk_hdmi *hdmi,
static void mtk_hdmi_hw_aud_set_bit_num(struct mtk_hdmi *hdmi,
static void mtk_hdmi_hw_aud_set_i2s_fmt(struct mtk_hdmi *hdmi,
static void mtk_hdmi_hw_audio_config(struct mtk_hdmi *hdmi, bool dst)
static void mtk_hdmi_hw_aud_set_i2s_chan_num(struct mtk_hdmi *hdmi,
static void mtk_hdmi_hw_aud_set_input_type(struct mtk_hdmi *hdmi,
static void mtk_hdmi_hw_aud_set_channel_status(struct mtk_hdmi *hdmi,
static void mtk_hdmi_hw_aud_src_reenable(struct mtk_hdmi *hdmi)
static void mtk_hdmi_hw_aud_src_disable(struct mtk_hdmi *hdmi)
static void mtk_hdmi_hw_aud_set_mclk(struct mtk_hdmi *hdmi,
static void do_hdmi_hw_aud_set_ncts(struct mtk_hdmi *hdmi, unsigned int n,
static void mtk_hdmi_hw_vid_black(struct mtk_hdmi *hdmi, bool black)
static void mtk_hdmi_hw_aud_set_ncts(struct mtk_hdmi *hdmi,
static void mtk_hdmi_hw_make_reg_writable(struct mtk_hdmi *hdmi, bool enable)
static int mtk_hdmi_video_change_vpll(struct mtk_hdmi *hdmi, u32 clock)
static void mtk_hdmi_video_set_display_mode(struct mtk_hdmi *hdmi,
static void mtk_hdmi_aud_set_input(struct mtk_hdmi *hdmi)
static int mtk_hdmi_aud_set_src(struct mtk_hdmi *hdmi,
static int mtk_hdmi_aud_output_config(struct mtk_hdmi *hdmi,
static int mtk_hdmi_setup_avi_infoframe(struct mtk_hdmi *hdmi,
static int mtk_hdmi_setup_spd_infoframe(struct mtk_hdmi *hdmi)
static int mtk_hdmi_setup_audio_infoframe(struct mtk_hdmi *hdmi)
static void mtk_hdmi_hw_1p4_version_enable(struct mtk_hdmi *hdmi, bool enable)
static int mtk_hdmi_setup_vendor_specific_infoframe(struct mtk_hdmi *hdmi,
static void mtk_hdmi_audio_enable(struct mtk_hdmi *hdmi)
static void mtk_hdmi_audio_disable(struct mtk_hdmi *hdmi)
static int mtk_hdmi_output_set_display_mode(struct mtk_hdmi *hdmi,
static void mtk_hdmi_hw_aud_mute(struct mtk_hdmi *hdmi)
static int mtk_hdmi_clk_enable_audio(struct mtk_hdmi *hdmi)
static void mtk_hdmi_clk_disable_audio(struct mtk_hdmi *hdmi)
static void mtk_hdmi_hw_aud_unmute(struct mtk_hdmi *hdmi)
mtk_hdmi_update_plugged_status(struct mtk_hdmi *hdmi)
static enum drm_connector_status mtk_hdmi_detect(struct mtk_hdmi *hdmi)
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
static void mtk_hdmi_hw_reset(struct mtk_hdmi *hdmi)
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
int mtk_hdmi_audio_params(struct mtk_hdmi *hdmi,
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
void mtk_hdmi_audio_set_plugged_cb(struct mtk_hdmi *hdmi, hdmi_codec_plugged_cb fn,
static int mtk_hdmi_get_all_clk(struct mtk_hdmi *hdmi, struct device_node *np,
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
static int mtk_hdmi_get_cec_dev(struct mtk_hdmi *hdmi, struct device *dev, struct device_node *np)
static int mtk_hdmi_dt_parse_pdata(struct mtk_hdmi *hdmi, struct platform_device *pdev,
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *mtk_hdmi_common_probe(struct platform_device *pdev)
struct mtk_hdmi *hdmi;
hdmi = devm_drm_bridge_alloc(dev, struct mtk_hdmi, bridge,
static inline struct mtk_hdmi *hdmi_ctx_from_bridge(struct drm_bridge *b)
return container_of(b, struct mtk_hdmi, bridge);
void mtk_hdmi_audio_set_plugged_cb(struct mtk_hdmi *hdmi, hdmi_codec_plugged_cb fn,
int mtk_hdmi_audio_params(struct mtk_hdmi *hdmi, struct hdmi_codec_daifmt *daifmt,
struct mtk_hdmi *mtk_hdmi_common_probe(struct platform_device *pdev);
static void mtk_hdmi_v2_handle_plugged_change(struct mtk_hdmi *hdmi, bool plugged)
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
static void mtk_hdmi_v2_hw_vid_mute(struct mtk_hdmi *hdmi, bool enable)
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
static void mtk_hdmi_v2_hw_aud_mute(struct mtk_hdmi *hdmi, bool enable)
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
static int mtk_hdmi_v2_set_abist(struct mtk_hdmi *hdmi, bool enable)
struct mtk_hdmi *hdmi = m->private;
mtk_hdmi_v2_set_abist((struct mtk_hdmi *)m->private, en);
static void mtk_hdmi_v2_hw_reset(struct mtk_hdmi *hdmi)
struct mtk_hdmi *dpi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi = dev_get_drvdata(dev);
struct mtk_hdmi *hdmi;
struct mtk_hdmi *hdmi = platform_get_drvdata(pdev);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
static void mtk_hdmi_yuv420_downsampling(struct mtk_hdmi *hdmi, bool enable)
static int mtk_hdmi_v2_setup_audio_infoframe(struct mtk_hdmi *hdmi)
static inline void mtk_hdmi_v2_hw_gcp_avmute(struct mtk_hdmi *hdmi, bool mute)
static void mtk_hdmi_v2_hw_ncts_enable(struct mtk_hdmi *hdmi, bool enable)
static void mtk_hdmi_v2_hw_aud_set_channel_status(struct mtk_hdmi *hdmi)
static void mtk_hdmi_v2_hw_aud_set_ncts(struct mtk_hdmi *hdmi,
static void mtk_hdmi_v2_hw_aud_enable(struct mtk_hdmi *hdmi, bool enable)
static void mtk_hdmi_audio_dsd_config(struct mtk_hdmi *hdmi,
static inline void mtk_hdmi_v2_hw_i2s_fifo_map(struct mtk_hdmi *hdmi, u32 fifo_mapping)
static inline void mtk_hdmi_v2_hw_i2s_ch_number(struct mtk_hdmi *hdmi, u8 chnum)
static void mtk_hdmi_v2_hw_i2s_ch_mapping(struct mtk_hdmi *hdmi, u8 chnum, u8 mapping)
static void mtk_hdmi_i2s_data_fmt(struct mtk_hdmi *hdmi, unsigned char fmt)
static inline void mtk_hdmi_i2s_sck_edge_rise(struct mtk_hdmi *hdmi, bool rise)
static inline void mtk_hdmi_i2s_cbit_order(struct mtk_hdmi *hdmi, unsigned int cbit)
static inline void mtk_hdmi_i2s_vbit(struct mtk_hdmi *hdmi, unsigned int vbit)
static inline void mtk_hdmi_i2s_data_direction(struct mtk_hdmi *hdmi, unsigned int is_lsb)
static inline void mtk_hdmi_v2_hw_audio_type(struct mtk_hdmi *hdmi, unsigned int spdif_i2s)
static u8 mtk_hdmi_v2_get_i2s_ch_mapping(struct mtk_hdmi *hdmi, u8 channel_type)
static inline void mtk_hdmi_v2_hw_i2s_ch_swap(struct mtk_hdmi *hdmi)
static void mtk_hdmi_hbr_config(struct mtk_hdmi *hdmi, bool dsd_bypass)
static inline void mtk_hdmi_v2_hw_spdif_config(struct mtk_hdmi *hdmi)
static void mtk_hdmi_v2_aud_set_input(struct mtk_hdmi *hdmi)
static inline void mtk_hdmi_v2_hwirq_disable(struct mtk_hdmi *hdmi)
static inline void mtk_hdmi_v2_hw_audio_input_enable(struct mtk_hdmi *hdmi, bool ena)
static void mtk_hdmi_v2_aip_ctrl_init(struct mtk_hdmi *hdmi)
static inline void mtk_hdmi_v2_enable_hpd_pord_irq(struct mtk_hdmi *hdmi, bool enable)
static void mtk_hdmi_v2_audio_reset(struct mtk_hdmi *hdmi, bool reset)
static void mtk_hdmi_v2_aud_output_config(struct mtk_hdmi *hdmi,
static void mtk_hdmi_v2_change_video_resolution(struct mtk_hdmi *hdmi,
static inline void mtk_hdmi_v2_set_sw_hpd(struct mtk_hdmi *hdmi, bool enable)
static void mtk_hdmi_v2_output_set_display_mode(struct mtk_hdmi *hdmi,
static int mtk_hdmi_v2_clk_enable(struct mtk_hdmi *hdmi)
static void mtk_hdmi_v2_clk_disable(struct mtk_hdmi *hdmi)
static enum hdmi_hpd_state mtk_hdmi_v2_hpd_pord_status(struct mtk_hdmi *hdmi)
struct mtk_hdmi *hdmi = arg;
static inline void mtk_hdmi_v2_enable_scrambling(struct mtk_hdmi *hdmi, bool enable)
static irqreturn_t __mtk_hdmi_v2_isr_thread(struct mtk_hdmi *hdmi)
struct mtk_hdmi *hdmi = arg;
static int mtk_hdmi_v2_enable(struct mtk_hdmi *hdmi)
static void mtk_hdmi_v2_disable(struct mtk_hdmi *hdmi)
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);
struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge);