Home
last modified time | relevance | path

Searched defs:hdmi (Results 1 – 25 of 41) sorted by relevance

12

/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c522 static inline void hdmi_writeb(struct dw_hdmi *hdmi, u8 val, int offset) in hdmi_writeb()
527 static inline u8 hdmi_readb(struct dw_hdmi *hdmi, int offset) in hdmi_readb()
536 static void handle_plugged_change(struct dw_hdmi *hdmi, bool plugged) in handle_plugged_change()
543 int dw_hdmi_set_plugged_cb(struct dw_hdmi *hdmi, hdmi_codec_plugged_cb fn, struct device *codec_dev) in dw_hdmi_set_plugged_cb()
558 static void hdmi_modb(struct dw_hdmi *hdmi, u8 data, u8 mask, unsigned reg) in hdmi_modb()
563 static void hdmi_mask_writeb(struct dw_hdmi *hdmi, u8 data, unsigned int reg, u8 shift, u8 mask) in hdmi_mask_writeb()
568 static bool dw_hdmi_check_output_type_changed(struct dw_hdmi *hdmi) in dw_hdmi_check_output_type_changed()
591 struct dw_hdmi *hdmi = container_of(p_work, struct dw_hdmi, work.work); in repo_hpd_event() local
615 static bool check_hdmi_irq(struct dw_hdmi *hdmi, int intr_stat, int phy_int_pol) in check_hdmi_irq()
638 static void init_hpd_work(struct dw_hdmi *hdmi) in init_hpd_work()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/
Ddisp_hdmi.c73 static struct disp_device_private_data *disp_hdmi_get_priv(struct disp_device in disp_hdmi_get_priv()
84 static s32 hdmi_clk_init(struct disp_device *hdmi) in hdmi_clk_init()
102 static s32 hdmi_clk_exit(struct disp_device *hdmi) in hdmi_clk_exit()
130 static s32 hdmi_clk_config(struct disp_device *hdmi) in hdmi_clk_config()
180 static s32 hdmi_clk_enable(struct disp_device *hdmi) in hdmi_clk_enable()
214 static s32 hdmi_clk_disable(struct disp_device *hdmi) in hdmi_clk_disable()
292 static s32 hdmi_calc_judge_line(struct disp_device *hdmi) in hdmi_calc_judge_line()
333 static s32 disp_hdmi_set_func(struct disp_device *hdmi, in disp_hdmi_set_func()
354 struct disp_device *hdmi = (struct disp_device *)parg; in disp_hdmi_event_proc() local
380 static s32 disp_hdmi_init(struct disp_device *hdmi) in disp_hdmi_init()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-qp.c487 static inline void hdmi_writel(struct dw_hdmi_qp *hdmi, u32 val, int offset) in hdmi_writel()
492 static inline u32 hdmi_readl(struct dw_hdmi_qp *hdmi, int offset) in hdmi_readl()
501 static void handle_plugged_change(struct dw_hdmi_qp *hdmi, bool plugged) in handle_plugged_change()
508 int dw_hdmi_qp_set_plugged_cb(struct dw_hdmi_qp *hdmi, hdmi_codec_plugged_cb fn, struct device *cod… in dw_hdmi_qp_set_plugged_cb()
523 static void hdmi_modb(struct dw_hdmi_qp *hdmi, u32 data, u32 mask, u32 reg) in hdmi_modb()
528 static void hdmi_set_cts_n(struct dw_hdmi_qp *hdmi, unsigned int cts, unsigned int n) in hdmi_set_cts_n()
543 static int hdmi_match_tmds_n_table(struct dw_hdmi_qp *hdmi, unsigned long pixel_clk, unsigned long … in hdmi_match_tmds_n_table()
602 static unsigned int hdmi_compute_n(struct dw_hdmi_qp *hdmi, unsigned long pixel_clk, unsigned long … in hdmi_compute_n()
637 static unsigned int hdmi_find_n(struct dw_hdmi_qp *hdmi, unsigned long pixel_clk, unsigned long sam… in hdmi_find_n()
659 void dw_hdmi_qp_set_channel_status(struct dw_hdmi_qp *hdmi, u8 *channel_status) in dw_hdmi_qp_set_channel_status()
[all …]
Ddw-hdmi-qp-i2s-audio.c24 struct dw_hdmi_qp *hdmi = audio->hdmi; in hdmi_write() local
31 struct dw_hdmi_qp *hdmi = audio->hdmi; in hdmi_read() local
38 struct dw_hdmi_qp *hdmi = audio->hdmi; in hdmi_mod() local
54 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_hw_params() local
134 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_audio_startup() local
148 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_audio_shutdown() local
191 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_hook_plugged_cb() local
Ddw-hdmi-qp-audio.h16 struct dw_hdmi_qp *hdmi; member
21 struct dw_hdmi_qp *hdmi; member
Ddw-hdmi-hdcp.c136 struct dw_hdmi *hdmi = hdcp->hdmi; in hdcp_modb() local
309 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_load_key() local
369 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_start() local
428 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_stop() local
451 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_ksvsha1() local
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-qp.c282 static inline void hdmi_writel(struct dw_hdmi_qp *hdmi, u32 val, int offset) in hdmi_writel()
287 static inline u32 hdmi_readl(struct dw_hdmi_qp *hdmi, int offset) in hdmi_readl()
296 static void handle_plugged_change(struct dw_hdmi_qp *hdmi, bool plugged) in handle_plugged_change()
302 int dw_hdmi_qp_set_plugged_cb(struct dw_hdmi_qp *hdmi, hdmi_codec_plugged_cb fn, in dw_hdmi_qp_set_plugged_cb()
318 static void hdmi_modb(struct dw_hdmi_qp *hdmi, u32 data, u32 mask, u32 reg) in hdmi_modb()
323 static void hdmi_set_cts_n(struct dw_hdmi_qp *hdmi, unsigned int cts, in hdmi_set_cts_n()
341 static int hdmi_match_tmds_n_table(struct dw_hdmi_qp *hdmi, in hdmi_match_tmds_n_table()
402 static unsigned int hdmi_compute_n(struct dw_hdmi_qp *hdmi, in hdmi_compute_n()
439 static unsigned int hdmi_find_n(struct dw_hdmi_qp *hdmi, unsigned long pixel_clk, in hdmi_find_n()
462 void dw_hdmi_qp_set_channel_status(struct dw_hdmi_qp *hdmi, in dw_hdmi_qp_set_channel_status()
[all …]
Ddw-hdmi-qp-i2s-audio.c25 struct dw_hdmi_qp *hdmi = audio->hdmi; in hdmi_write() local
32 struct dw_hdmi_qp *hdmi = audio->hdmi; in hdmi_read() local
40 struct dw_hdmi_qp *hdmi = audio->hdmi; in hdmi_mod() local
57 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_hw_params() local
142 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_audio_startup() local
155 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_audio_shutdown() local
198 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_hook_plugged_cb() local
Ddw-hdmi-qp-audio.h16 struct dw_hdmi_qp *hdmi; member
21 struct dw_hdmi_qp *hdmi; member
Ddw-hdmi-audio.h11 struct dw_hdmi *hdmi; member
17 struct dw_hdmi *hdmi; member
Ddw-hdmi-hdcp.c135 struct dw_hdmi *hdmi = hdcp->hdmi; in hdcp_modb() local
300 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_load_key() local
362 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_start() local
433 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_stop() local
459 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_ksvsha1() local
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Drk3066_hdmi.c63 static inline u8 hdmi_readb(struct rk3066_hdmi *hdmi, u16 offset) in hdmi_readb()
68 static inline void hdmi_writeb(struct rk3066_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb()
73 static inline void hdmi_modb(struct rk3066_hdmi *hdmi, u16 offset, u32 msk, u32 val) in hdmi_modb()
81 static void rk3066_hdmi_i2c_init(struct rk3066_hdmi *hdmi) in rk3066_hdmi_i2c_init()
95 static inline u8 rk3066_hdmi_get_power_mode(struct rk3066_hdmi *hdmi) in rk3066_hdmi_get_power_mode()
100 static void rk3066_hdmi_set_power_mode(struct rk3066_hdmi *hdmi, int mode) in rk3066_hdmi_set_power_mode()
151 static int rk3066_hdmi_upload_frame(struct rk3066_hdmi *hdmi, int setup_rc, union hdmi_infoframe *f… in rk3066_hdmi_upload_frame()
181 static int rk3066_hdmi_config_avi(struct rk3066_hdmi *hdmi, struct drm_display_mode *mode) in rk3066_hdmi_config_avi()
202 static int rk3066_hdmi_config_video_timing(struct rk3066_hdmi *hdmi, struct drm_display_mode *mode) in rk3066_hdmi_config_video_timing()
254 static void rk3066_hdmi_phy_write(struct rk3066_hdmi *hdmi, u16 offset, u8 value) in rk3066_hdmi_phy_write()
[all …]
Dinno_hdmi.c131 static inline u8 hdmi_readb(struct inno_hdmi *hdmi, u16 offset) in hdmi_readb()
136 static inline void hdmi_writeb(struct inno_hdmi *hdmi, u16 offset, u32 val) in hdmi_writeb()
141 static inline void hdmi_modb(struct inno_hdmi *hdmi, u16 offset, u32 msk, u32 val) in hdmi_modb()
149 static void inno_hdmi_i2c_init(struct inno_hdmi *hdmi) in inno_hdmi_i2c_init()
163 static void inno_hdmi_sys_power(struct inno_hdmi *hdmi, bool enable) in inno_hdmi_sys_power()
172 static void inno_hdmi_set_pwr_mode(struct inno_hdmi *hdmi, int mode) in inno_hdmi_set_pwr_mode()
205 static void inno_hdmi_reset(struct inno_hdmi *hdmi) in inno_hdmi_reset()
223 static int inno_hdmi_upload_frame(struct inno_hdmi *hdmi, int setup_rc, union hdmi_infoframe *frame… in inno_hdmi_upload_frame()
253 static int inno_hdmi_config_video_vsi(struct inno_hdmi *hdmi, struct drm_display_mode *mode) in inno_hdmi_config_video_vsi()
264 static int inno_hdmi_config_video_avi(struct inno_hdmi *hdmi, struct drm_display_mode *mode) in inno_hdmi_config_video_avi()
[all …]
Ddw_hdmi-rockchip.c184 struct dw_hdmi *hdmi; member
829 static unsigned int hdmi_get_tmdsclock(struct rockchip_hdmi *hdmi, unsigned long pixelclock) in hdmi_get_tmdsclock()
853 static void hdmi_select_link_config(struct rockchip_hdmi *hdmi, struct drm_crtc_state *crtc_state) in hdmi_select_link_config()
955 static int hdmi_dsc_get_num_slices(struct rockchip_hdmi *hdmi, struct drm_crtc_state *crtc_state, i… in hdmi_dsc_get_num_slices()
1052 static int hdmi_dsc_slices(struct rockchip_hdmi *hdmi, struct drm_crtc_state *crtc_state) in hdmi_dsc_slices()
1063 static int hdmi_dsc_get_bpp(struct rockchip_hdmi *hdmi, int src_fractional_bpp, int slice_width, in… in hdmi_dsc_get_bpp()
1139 static int dw_hdmi_dsc_bpp(struct rockchip_hdmi *hdmi, int num_slices, int slice_width) in dw_hdmi_dsc_bpp()
1148 static int dw_hdmi_qp_set_link_cfg(struct rockchip_hdmi *hdmi, u16 pic_width, u16 pic_height, u16 s… in dw_hdmi_qp_set_link_cfg()
1177 static void dw_hdmi_qp_dsc_configure(struct rockchip_hdmi *hdmi, struct rockchip_crtc_state *s, in dw_hdmi_qp_dsc_configure()
1234 static int rockchip_hdmi_update_phy_table(struct rockchip_hdmi *hdmi, u32 *config, int phy_table_si… in rockchip_hdmi_update_phy_table()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/bridge/
Ddw-hdmi-qp.c283 static inline void hdmi_writel(struct dw_hdmi_qp *hdmi, u32 val, int offset) in hdmi_writel()
288 static inline u32 hdmi_readl(struct dw_hdmi_qp *hdmi, int offset) in hdmi_readl()
297 static void handle_plugged_change(struct dw_hdmi_qp *hdmi, bool plugged) in handle_plugged_change()
303 int dw_hdmi_qp_set_plugged_cb(struct dw_hdmi_qp *hdmi, hdmi_codec_plugged_cb fn, in dw_hdmi_qp_set_plugged_cb()
319 static void hdmi_modb(struct dw_hdmi_qp *hdmi, u32 data, u32 mask, u32 reg) in hdmi_modb()
324 static void hdmi_set_cts_n(struct dw_hdmi_qp *hdmi, unsigned int cts, in hdmi_set_cts_n()
342 static int hdmi_match_tmds_n_table(struct dw_hdmi_qp *hdmi, in hdmi_match_tmds_n_table()
403 static unsigned int hdmi_compute_n(struct dw_hdmi_qp *hdmi, in hdmi_compute_n()
440 static unsigned int hdmi_find_n(struct dw_hdmi_qp *hdmi, unsigned long pixel_clk, in hdmi_find_n()
463 void dw_hdmi_qp_set_channel_status(struct dw_hdmi_qp *hdmi, in dw_hdmi_qp_set_channel_status()
[all …]
Ddw-hdmi-qp-i2s-audio.c25 struct dw_hdmi_qp *hdmi = audio->hdmi; in hdmi_write() local
32 struct dw_hdmi_qp *hdmi = audio->hdmi; in hdmi_read() local
40 struct dw_hdmi_qp *hdmi = audio->hdmi; in hdmi_mod() local
57 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_hw_params() local
131 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_audio_startup() local
144 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_audio_shutdown() local
187 struct dw_hdmi_qp *hdmi = audio->hdmi; in dw_hdmi_qp_i2s_hook_plugged_cb() local
Ddw-hdmi-qp-audio.h16 struct dw_hdmi_qp *hdmi; member
21 struct dw_hdmi_qp *hdmi; member
Ddw-hdmi-hdcp.c135 struct dw_hdmi *hdmi = hdcp->hdmi; in hdcp_modb() local
300 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_load_key() local
362 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_start() local
433 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_stop() local
459 struct dw_hdmi *hdmi = hdcp->hdmi; in dw_hdmi_hdcp_ksvsha1() local
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/sunxi_device/
Dsunxi_hdmi20.c41 struct sunxi_hdmi *hdmi = sunxi_hdmi20_get_hdmi(); in sunxi_hdmi_get_funcs() local
48 struct sunxi_hdmi *hdmi = sunxi_hdmi20_get_hdmi(); in register_func_to_drm() local
67 struct sunxi_hdmi *hdmi) in sunxi_hdmi20_video_dts_parse()
118 struct sunxi_hdmi *hdmi) in sunxi_hdmi20_hdcp_dts_parse()
225 struct sunxi_hdmi *hdmi) in sunxi_hdmi20_cec_dts_parse()
254 struct sunxi_hdmi *hdmi = sunxi_hdmi20_get_hdmi(); in sunxi_hdmi20_hdcp_init() local
281 struct sunxi_hdmi *hdmi = sunxi_hdmi20_get_hdmi(); in sunxi_hdmi20_audio_init() local
298 int sunxi_hdmi20_clk_enable(struct sunxi_hdmi *hdmi) in sunxi_hdmi20_clk_enable()
343 static int sunxi_hdmi20_clk_disable(struct sunxi_hdmi *hdmi) in sunxi_hdmi20_clk_disable()
391 static int sunxi_hdmi20_fill_params(struct sunxi_hdmi *hdmi, in sunxi_hdmi20_fill_params()
[all …]
Dsunxi_hdmi14.c455 struct sunxi_hdmi *hdmi = sunxi_hdmi_get_hdmi(); in sunxi_hdmi_get_funcs() local
484 static int sunxi_hdmi_get_timing_list_num(struct sunxi_hdmi *hdmi) in sunxi_hdmi_get_timing_list_num()
497 struct sunxi_hdmi *hdmi = sunxi_hdmi_get_hdmi(); in sunxi_hdmi_get_video_mode_info() local
520 struct sunxi_hdmi *hdmi = sunxi_hdmi_get_hdmi(); in hdmi_clk_get_div() local
550 struct sunxi_hdmi *hdmi = sunxi_hdmi_get_hdmi(); in sunxi_hdmi_write() local
572 struct sunxi_hdmi *hdmi = sunxi_hdmi_get_hdmi(); in sunxi_hdmi_read() local
638 int sunxi_hdmi_clk_enable(struct sunxi_hdmi *hdmi) in sunxi_hdmi_clk_enable()
669 static int sunxi_hdmi_clk_disable(struct sunxi_hdmi *hdmi) in sunxi_hdmi_clk_disable()
718 struct sunxi_hdmi *hdmi = sunxi_hdmi_get_hdmi(); in sunxi_hdmi_get_support_tv_mode() local
766 struct sunxi_hdmi *hdmi = sunxi_hdmi_get_hdmi(); in sunxi_hdmi_get_resolution_from_tv_mode() local
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/hal/ctrl/hisiv100/
Dhdmi_hal_ddc.c50 static ddc_info *ddc_info_ptr_get(hdmi_device_id hdmi) in ddc_info_ptr_get()
342 static hi_s32 ddc_err_clean_check(hdmi_device_id hdmi) in ddc_err_clean_check()
372 static hi_s32 ddc_reset(hdmi_device_id hdmi) in ddc_reset()
446 hi_s32 hal_hdmi_ddc_init(hdmi_device_id hdmi) in hal_hdmi_ddc_init()
463 hi_s32 hal_hdmi_ddc_deinit(hdmi_device_id hdmi) in hal_hdmi_ddc_deinit()
477 hi_s32 hal_hdmi_ddc_issue(hdmi_device_id hdmi, ddc_cfg *cfg) in hal_hdmi_ddc_issue()
527 hi_void hal_hdmi_ddc_default_cfg_get(hdmi_device_id hdmi, ddc_cfg *cfg) in hal_hdmi_ddc_default_cfg_get()
553 static hi_s32 edid_get_extern_blk(hdmi_device_id hdmi, const hi_u8 ext_blk_num, const hi_s32 raw_le… in edid_get_extern_blk()
572 hi_s32 hal_hdmi_ddc_edid_raw_get(hdmi_device_id hdmi, hi_s32 size, hi_u8 *data) in hal_hdmi_ddc_edid_raw_get()
Dhdmi_hal_ctrl.c174 static hdmi_ctrl_info *ctrl_info_ptr_get(hdmi_device_id hdmi) in ctrl_info_ptr_get()
1529 hi_s32 hal_hdmi_ctrl_init(hdmi_device_id hdmi, const hdmi_hal_init *hal_init) in hal_hdmi_ctrl_init()
1565 hi_s32 hal_hdmi_ctrl_deinit(hdmi_device_id hdmi) in hal_hdmi_ctrl_deinit()
1588 hi_s32 hal_hdmi_ctrl_avmute_set(hdmi_device_id hdmi, const hdmi_avmute_cfg *avmute_cfg) in hal_hdmi_ctrl_avmute_set()
1601 hi_s32 hal_hdmi_ctrl_avmute_get(hdmi_device_id hdmi, hi_bool *enable) in hal_hdmi_ctrl_avmute_get()
1612 hi_s32 hal_hdmi_ctrl_csc_set(hdmi_device_id hdmi, const hdmi_video_config *video_cfg) in hal_hdmi_ctrl_csc_set()
1624 hi_s32 hal_hdmi_ctrl_video_path_set(hdmi_device_id hdmi, hdmi_video_path *video_path) in hal_hdmi_ctrl_video_path_set()
1647 hi_s32 hal_hdmi_ctrl_tmds_mode_set(hdmi_device_id hdmi, hdmi_tmds_mode tmds_mode) in hal_hdmi_ctrl_tmds_mode_set()
1657 hi_s32 hal_hdmi_ctrl_infoframe_en_set(hdmi_device_id hdmi, hdmi_infoframe_id infoframe_id, hi_bool … in hal_hdmi_ctrl_infoframe_en_set()
1693 hi_s32 hal_hdmi_ctrl_infoframe_data_set(hdmi_device_id hdmi, hdmi_infoframe_id infoframe_id, in hal_hdmi_ctrl_infoframe_data_set()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/
Ddrv_hdmi_intf_k.c155 hi_s32 hi_drv_hdmi_csc_param_set(hdmi_dev_id hdmi, const hdmi_csc_param *csc_param) in hi_drv_hdmi_csc_param_set()
205 hi_s32 hi_drv_hdmi_video_param_set(hdmi_dev_id hdmi, const hdmi_video_param *video_param) in hi_drv_hdmi_video_param_set()
256 hi_s32 hi_drv_hdmi_stop(hdmi_dev_id hdmi) in hi_drv_hdmi_stop()
291 hi_s32 hi_drv_hdmi_set_hdr_attr(hdmi_dev_id hdmi, const hdmi_hdr_attr *hdr_attr) in hi_drv_hdmi_set_hdr_attr()
/device/soc/rockchip/rk3588/kernel/include/linux/
Ddw-hdmi-audio.h11 struct dw_hdmi *hdmi; member
17 struct dw_hdmi *hdmi; member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/include/
Dhdmi_ext.h138 #define ckfn_hdmi_stop(hdmi) (func_entry(hdmi_export_func, HI_ID_HDMI)->pfn_stop != NULL) argument
140 #define call_hdmi_stop(hdmi) func_entry(hdmi_export_func, HI_ID_HDMI)->pfn_stop(hdmi) argument
142 #define ckfn_hdmi_set_hdr_attr(hdmi, hdr_attr) (func_entry(hdmi_export_func, HI_ID_HDMI)->pfn_set_h… argument
144 #define call_hdmi_set_hdr_attr(hdmi, hdr_attr) \ argument

12