Home
last modified time | relevance | path

Searched refs:hdmi (Results 1 – 25 of 467) sorted by relevance

12345678910>>...19

/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_hdmi_i2c.c25 static int fifo_transfer(struct sun4i_hdmi *hdmi, u8 *buf, int len, bool read) in fifo_transfer() argument
41 (hdmi->variant->ddc_fifo_thres_incl ? 0 : 1); in fifo_transfer()
50 if (regmap_field_read_poll_timeout(hdmi->field_ddc_int_status, reg, in fifo_transfer()
59 ioread8_rep(hdmi->base + hdmi->variant->ddc_fifo_reg, buf, len); in fifo_transfer()
61 iowrite8_rep(hdmi->base + hdmi->variant->ddc_fifo_reg, buf, len); in fifo_transfer()
64 regmap_field_force_write(hdmi->field_ddc_int_status, in fifo_transfer()
70 static int xfer_msg(struct sun4i_hdmi *hdmi, struct i2c_msg *msg) in xfer_msg() argument
76 if (hdmi->variant->ddc_fifo_has_dir) { in xfer_msg()
77 reg = readl(hdmi->base + SUN4I_HDMI_DDC_CTRL_REG); in xfer_msg()
82 writel(reg, hdmi->base + SUN4I_HDMI_DDC_CTRL_REG); in xfer_msg()
[all …]
H A Dsun8i_dw_hdmi.c22 struct sun8i_dw_hdmi *hdmi = encoder_to_sun8i_dw_hdmi(encoder); in sun8i_dw_hdmi_encoder_mode_set() local
24 clk_set_rate(hdmi->clk_tmds, mode->crtc_clock * 1000); in sun8i_dw_hdmi_encoder_mode_set()
33 sun8i_dw_hdmi_mode_valid_a83t(struct dw_hdmi *hdmi, void *data, in sun8i_dw_hdmi_mode_valid_a83t() argument
44 sun8i_dw_hdmi_mode_valid_h6(struct dw_hdmi *hdmi, void *data, in sun8i_dw_hdmi_mode_valid_h6() argument
104 struct sun8i_dw_hdmi *hdmi; in sun8i_dw_hdmi_bind() local
110 hdmi = devm_kzalloc(&pdev->dev, sizeof(*hdmi), GFP_KERNEL); in sun8i_dw_hdmi_bind()
111 if (!hdmi) in sun8i_dw_hdmi_bind()
114 plat_data = &hdmi->plat_data; in sun8i_dw_hdmi_bind()
115 hdmi->dev = &pdev->dev; in sun8i_dw_hdmi_bind()
116 encoder = &hdmi->encoder; in sun8i_dw_hdmi_bind()
[all …]
H A Dsun8i_hdmi_phy.c142 static int sun8i_a83t_hdmi_phy_config(struct dw_hdmi *hdmi, void *data, in sun8i_a83t_hdmi_phy_config() argument
156 dw_hdmi_phy_gen2_txpwron(hdmi, 0); in sun8i_a83t_hdmi_phy_config()
157 dw_hdmi_phy_gen2_pddq(hdmi, 1); in sun8i_a83t_hdmi_phy_config()
159 dw_hdmi_phy_gen2_reset(hdmi); in sun8i_a83t_hdmi_phy_config()
161 dw_hdmi_phy_gen2_pddq(hdmi, 0); in sun8i_a83t_hdmi_phy_config()
163 dw_hdmi_phy_i2c_set_addr(hdmi, I2C_ADDR); in sun8i_a83t_hdmi_phy_config()
171 dw_hdmi_phy_i2c_write(hdmi, 0x01e0, 0x06); in sun8i_a83t_hdmi_phy_config()
172 dw_hdmi_phy_i2c_write(hdmi, 0x0000, 0x15); in sun8i_a83t_hdmi_phy_config()
173 dw_hdmi_phy_i2c_write(hdmi, 0x08da, 0x10); in sun8i_a83t_hdmi_phy_config()
174 dw_hdmi_phy_i2c_write(hdmi, 0x0007, 0x19); in sun8i_a83t_hdmi_phy_config()
[all …]
H A Dsun4i_hdmi_tmds_clk.c16 struct sun4i_hdmi *hdmi; member
131 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PAD_CTRL1_REG); in sun4i_tmds_recalc_rate()
135 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PLL_CTRL_REG); in sun4i_tmds_recalc_rate()
154 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PAD_CTRL1_REG); in sun4i_tmds_set_rate()
158 writel(reg, tmds->hdmi->base + SUN4I_HDMI_PAD_CTRL1_REG); in sun4i_tmds_set_rate()
160 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PLL_CTRL_REG); in sun4i_tmds_set_rate()
163 tmds->hdmi->base + SUN4I_HDMI_PLL_CTRL_REG); in sun4i_tmds_set_rate()
173 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PLL_DBG0_REG); in sun4i_tmds_get_parent()
186 reg = readl(tmds->hdmi->base + SUN4I_HDMI_PLL_DBG0_REG); in sun4i_tmds_set_parent()
189 tmds->hdmi->base + SUN4I_HDMI_PLL_DBG0_REG); in sun4i_tmds_set_parent()
[all …]
H A DMakefile8 sun4i-drm-hdmi-y += sun4i_hdmi_ddc_clk.o
9 sun4i-drm-hdmi-y += sun4i_hdmi_enc.o
10 sun4i-drm-hdmi-y += sun4i_hdmi_i2c.o
11 sun4i-drm-hdmi-y += sun4i_hdmi_tmds_clk.o
13 sun8i-drm-hdmi-y += sun8i_dw_hdmi.o
14 sun8i-drm-hdmi-y += sun8i_hdmi_phy.o
15 sun8i-drm-hdmi-y += sun8i_hdmi_phy_clk.o
36 obj-$(CONFIG_DRM_SUN4I_HDMI) += sun4i-drm-hdmi.o
38 obj-$(CONFIG_DRM_SUN8I_DW_HDMI) += sun8i-drm-hdmi.o
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi_v2.c57 [MTK_HDMI_V2_CLK_VPP_SPLIT_HDMI] = "hdmi-split",
60 static inline void mtk_hdmi_v2_hwirq_disable(struct mtk_hdmi *hdmi) in mtk_hdmi_v2_hwirq_disable() argument
62 regmap_write(hdmi->regs, TOP_INT_ENABLE00, 0); in mtk_hdmi_v2_hwirq_disable()
63 regmap_write(hdmi->regs, TOP_INT_ENABLE01, 0); in mtk_hdmi_v2_hwirq_disable()
66 static inline void mtk_hdmi_v2_enable_hpd_pord_irq(struct mtk_hdmi *hdmi, bool enable) in mtk_hdmi_v2_enable_hpd_pord_irq() argument
69 regmap_set_bits(hdmi->regs, TOP_INT_ENABLE00, HPD_PORD_HWIRQS); in mtk_hdmi_v2_enable_hpd_pord_irq()
71 regmap_clear_bits(hdmi->regs, TOP_INT_ENABLE00, HPD_PORD_HWIRQS); in mtk_hdmi_v2_enable_hpd_pord_irq()
74 static inline void mtk_hdmi_v2_set_sw_hpd(struct mtk_hdmi *hdmi, bool enable) in mtk_hdmi_v2_set_sw_hpd() argument
77 regmap_set_bits(hdmi->regs, hdmi in mtk_hdmi_v2_set_sw_hpd()
87 mtk_hdmi_v2_enable_scrambling(struct mtk_hdmi * hdmi,bool enable) mtk_hdmi_v2_enable_scrambling() argument
103 mtk_hdmi_v2_hw_vid_mute(struct mtk_hdmi * hdmi,bool enable) mtk_hdmi_v2_hw_vid_mute() argument
112 mtk_hdmi_v2_hw_aud_mute(struct mtk_hdmi * hdmi,bool enable) mtk_hdmi_v2_hw_aud_mute() argument
130 mtk_hdmi_v2_hw_reset(struct mtk_hdmi * hdmi) mtk_hdmi_v2_hw_reset() argument
151 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_hdmi_write_audio_infoframe() local
171 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_hdmi_write_avi_infoframe() local
193 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_hdmi_write_spd_infoframe() local
217 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_hdmi_write_hdmi_infoframe() local
238 mtk_hdmi_yuv420_downsampling(struct mtk_hdmi * hdmi,bool enable) mtk_hdmi_yuv420_downsampling() argument
265 mtk_hdmi_v2_setup_audio_infoframe(struct mtk_hdmi * hdmi) mtk_hdmi_v2_setup_audio_infoframe() argument
283 mtk_hdmi_v2_hw_gcp_avmute(struct mtk_hdmi * hdmi,bool mute) mtk_hdmi_v2_hw_gcp_avmute() argument
303 mtk_hdmi_v2_hw_ncts_enable(struct mtk_hdmi * hdmi,bool enable) mtk_hdmi_v2_hw_ncts_enable() argument
311 mtk_hdmi_v2_hw_aud_set_channel_status(struct mtk_hdmi * hdmi) mtk_hdmi_v2_hw_aud_set_channel_status() argument
320 mtk_hdmi_v2_hw_aud_set_ncts(struct mtk_hdmi * hdmi,unsigned int sample_rate,unsigned int clock) mtk_hdmi_v2_hw_aud_set_ncts() argument
332 mtk_hdmi_v2_hw_aud_enable(struct mtk_hdmi * hdmi,bool enable) mtk_hdmi_v2_hw_aud_enable() argument
359 mtk_hdmi_audio_dsd_config(struct mtk_hdmi * hdmi,unsigned char chnum,bool dsd_bypass) mtk_hdmi_audio_dsd_config() argument
376 mtk_hdmi_v2_hw_i2s_fifo_map(struct mtk_hdmi * hdmi,u32 fifo_mapping) mtk_hdmi_v2_hw_i2s_fifo_map() argument
382 mtk_hdmi_v2_hw_i2s_ch_number(struct mtk_hdmi * hdmi,u8 chnum) mtk_hdmi_v2_hw_i2s_ch_number() argument
387 mtk_hdmi_v2_hw_i2s_ch_mapping(struct mtk_hdmi * hdmi,u8 chnum,u8 mapping) mtk_hdmi_v2_hw_i2s_ch_mapping() argument
432 mtk_hdmi_i2s_data_fmt(struct mtk_hdmi * hdmi,unsigned char fmt) mtk_hdmi_i2s_data_fmt() argument
457 mtk_hdmi_i2s_sck_edge_rise(struct mtk_hdmi * hdmi,bool rise) mtk_hdmi_i2s_sck_edge_rise() argument
465 mtk_hdmi_i2s_cbit_order(struct mtk_hdmi * hdmi,unsigned int cbit) mtk_hdmi_i2s_cbit_order() argument
470 mtk_hdmi_i2s_vbit(struct mtk_hdmi * hdmi,unsigned int vbit) mtk_hdmi_i2s_vbit() argument
476 mtk_hdmi_i2s_data_direction(struct mtk_hdmi * hdmi,unsigned int is_lsb) mtk_hdmi_i2s_data_direction() argument
481 mtk_hdmi_v2_hw_audio_type(struct mtk_hdmi * hdmi,unsigned int spdif_i2s) mtk_hdmi_v2_hw_audio_type() argument
486 mtk_hdmi_v2_get_i2s_ch_mapping(struct mtk_hdmi * hdmi,u8 channel_type) mtk_hdmi_v2_get_i2s_ch_mapping() argument
557 mtk_hdmi_v2_hw_i2s_ch_swap(struct mtk_hdmi * hdmi) mtk_hdmi_v2_hw_i2s_ch_swap() argument
563 mtk_hdmi_hbr_config(struct mtk_hdmi * hdmi,bool dsd_bypass) mtk_hdmi_hbr_config() argument
578 mtk_hdmi_v2_hw_spdif_config(struct mtk_hdmi * hdmi) mtk_hdmi_v2_hw_spdif_config() argument
594 mtk_hdmi_v2_aud_set_input(struct mtk_hdmi * hdmi) mtk_hdmi_v2_aud_set_input() argument
646 mtk_hdmi_v2_hw_audio_input_enable(struct mtk_hdmi * hdmi,bool ena) mtk_hdmi_v2_hw_audio_input_enable() argument
654 mtk_hdmi_v2_aip_ctrl_init(struct mtk_hdmi * hdmi) mtk_hdmi_v2_aip_ctrl_init() argument
661 mtk_hdmi_v2_audio_reset(struct mtk_hdmi * hdmi,bool reset) mtk_hdmi_v2_audio_reset() argument
671 mtk_hdmi_v2_aud_output_config(struct mtk_hdmi * hdmi,struct drm_display_mode * display_mode) mtk_hdmi_v2_aud_output_config() argument
701 mtk_hdmi_v2_change_video_resolution(struct mtk_hdmi * hdmi,struct drm_connector_state * conn_state) mtk_hdmi_v2_change_video_resolution() argument
772 mtk_hdmi_v2_output_set_display_mode(struct mtk_hdmi * hdmi,struct drm_connector_state * conn_state,struct drm_display_mode * mode) mtk_hdmi_v2_output_set_display_mode() argument
789 mtk_hdmi_v2_clk_enable(struct mtk_hdmi * hdmi) mtk_hdmi_v2_clk_enable() argument
821 mtk_hdmi_v2_clk_disable(struct mtk_hdmi * hdmi) mtk_hdmi_v2_clk_disable() argument
829 mtk_hdmi_v2_hpd_pord_status(struct mtk_hdmi * hdmi) mtk_hdmi_v2_hpd_pord_status() argument
863 struct mtk_hdmi *hdmi = arg; mtk_hdmi_v2_isr() local
886 __mtk_hdmi_v2_isr_thread(struct mtk_hdmi * hdmi) __mtk_hdmi_v2_isr_thread() argument
906 struct mtk_hdmi *hdmi = arg; mtk_hdmi_v2_isr_thread() local
917 mtk_hdmi_v2_enable(struct mtk_hdmi * hdmi) mtk_hdmi_v2_enable() argument
942 mtk_hdmi_v2_disable(struct mtk_hdmi * hdmi) mtk_hdmi_v2_disable() argument
956 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_bridge_attach() local
996 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_bridge_detach() local
1004 mtk_hdmi_v2_handle_plugged_change(struct mtk_hdmi * hdmi,bool plugged) mtk_hdmi_v2_handle_plugged_change() argument
1015 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_bridge_pre_enable() local
1053 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_bridge_enable() local
1074 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_bridge_disable() local
1091 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_bridge_post_disable() local
1109 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_bridge_detect() local
1123 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_hpd_enable() local
1137 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_hpd_disable() local
1158 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_hdmi_clear_audio_infoframe() local
1168 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_hdmi_clear_avi_infoframe() local
1178 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_hdmi_clear_spd_infoframe() local
1188 struct mtk_hdmi *hdmi = hdmi_ctx_from_bridge(bridge); mtk_hdmi_v2_hdmi_clear_hdmi_infoframe() local
1196 mtk_hdmi_v2_set_abist(struct mtk_hdmi * hdmi,bool enable) mtk_hdmi_v2_set_abist() argument
1255 struct mtk_hdmi *hdmi = m->private; mtk_hdmi_v2_debug_abist_show() local
1353 struct mtk_hdmi *hdmi = dev_get_drvdata(dev); mtk_hdmi_v2_audio_hook_plugged_cb() local
1370 struct mtk_hdmi *hdmi = dev_get_drvdata(dev); mtk_hdmi_v2_audio_hw_params() local
1381 struct mtk_hdmi *hdmi = dev_get_drvdata(dev); mtk_hdmi_v2_audio_startup() local
1391 struct mtk_hdmi *hdmi = dev_get_drvdata(dev); mtk_hdmi_v2_audio_shutdown() local
1399 struct mtk_hdmi *hdmi = dev_get_drvdata(dev); mtk_hdmi_v2_audio_mute() local
1417 struct mtk_hdmi *hdmi = dev_get_drvdata(dev); mtk_hdmi_v2_suspend() local
1426 struct mtk_hdmi *hdmi = dev_get_drvdata(dev); mtk_hdmi_v2_resume() local
1453 struct mtk_hdmi *hdmi; mtk_hdmi_v2_probe() local
1504 struct mtk_hdmi *hdmi = platform_get_drvdata(pdev); mtk_hdmi_v2_remove() local
[all...]
H A Dmtk_hdmi_common.c104 int mtk_hdmi_audio_params(struct mtk_hdmi *hdmi, in mtk_hdmi_audio_params() argument
111 dev_dbg(hdmi->dev, "%s: %u Hz, %d bit, %d channels\n", __func__, in mtk_hdmi_audio_params()
114 if (!hdmi->bridge.encoder) in mtk_hdmi_audio_params()
131 dev_err(hdmi->dev, "channel[%d] not supported!\n", chan); in mtk_hdmi_audio_params()
145 dev_err(hdmi->dev, "rate[%d] not supported!\n", in mtk_hdmi_audio_params()
164 dev_err(hdmi->dev, "%s: Invalid DAI format %d\n", __func__, in mtk_hdmi_audio_params()
169 memcpy(&hdmi->aud_param, &aud_params, sizeof(aud_params)); in mtk_hdmi_audio_params()
171 dev_dbg(hdmi->dev, "codec:%d, input:%d, channel:%d, fs:%d\n", in mtk_hdmi_audio_params()
181 struct mtk_hdmi *hdmi = dev_get_drvdata(dev); in mtk_hdmi_audio_get_eld() local
183 if (hdmi->enabled) in mtk_hdmi_audio_get_eld()
[all …]
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-qp.c10 #include <linux/hdmi.h>
34 #include <sound/hdmi-codec.h>
36 #include "dw-hdmi-qp.h"
172 static void dw_hdmi_qp_write(struct dw_hdmi_qp *hdmi, unsigned int val,
175 regmap_write(hdmi->regm, offset, val); in dw_hdmi_qp_write()
178 static unsigned int dw_hdmi_qp_read(struct dw_hdmi_qp *hdmi, int offset) in dw_hdmi_qp_write()
182 regmap_read(hdmi->regm, offset, &val); in dw_hdmi_qp_read()
187 static void dw_hdmi_qp_mod(struct dw_hdmi_qp *hdmi, unsigned int data, in dw_hdmi_qp_read()
190 regmap_update_bits(hdmi->regm, reg, mask, data); in dw_hdmi_qp_mod()
198 static void dw_hdmi_qp_set_cts_n(struct dw_hdmi_qp *hdmi, unsigne in dw_hdmi_qp_from_bridge()
174 dw_hdmi_qp_write(struct dw_hdmi_qp * hdmi,unsigned int val,int offset) dw_hdmi_qp_write() argument
180 dw_hdmi_qp_read(struct dw_hdmi_qp * hdmi,int offset) dw_hdmi_qp_read() argument
189 dw_hdmi_qp_mod(struct dw_hdmi_qp * hdmi,unsigned int data,unsigned int mask,unsigned int reg) dw_hdmi_qp_mod() argument
200 dw_hdmi_qp_set_cts_n(struct dw_hdmi_qp * hdmi,unsigned int cts,unsigned int n) dw_hdmi_qp_set_cts_n() argument
218 dw_hdmi_qp_match_tmds_n_table(struct dw_hdmi_qp * hdmi,unsigned long pixel_clk,unsigned long freq) dw_hdmi_qp_match_tmds_n_table() argument
259 dw_hdmi_qp_compute_n(struct dw_hdmi_qp * hdmi,unsigned long pixel_clk,unsigned long freq) dw_hdmi_qp_compute_n() argument
296 dw_hdmi_qp_find_n(struct dw_hdmi_qp * hdmi,unsigned long pixel_clk,unsigned long sample_rate) dw_hdmi_qp_find_n() argument
310 dw_hdmi_qp_find_cts(struct dw_hdmi_qp * hdmi,unsigned long pixel_clk,unsigned long sample_rate) dw_hdmi_qp_find_cts() argument
342 dw_hdmi_qp_set_audio_interface(struct dw_hdmi_qp * hdmi,struct hdmi_codec_daifmt * fmt,struct hdmi_codec_params * hparms) dw_hdmi_qp_set_audio_interface() argument
410 dw_hdmi_qp_set_channel_status(struct dw_hdmi_qp * hdmi,u8 * channel_status,bool ref2stream) dw_hdmi_qp_set_channel_status() argument
456 dw_hdmi_qp_set_sample_rate(struct dw_hdmi_qp * hdmi,unsigned long long tmds_char_rate,unsigned int sample_rate) dw_hdmi_qp_set_sample_rate() argument
470 struct dw_hdmi_qp *hdmi = dw_hdmi_qp_from_bridge(bridge); dw_hdmi_qp_audio_enable() local
483 struct dw_hdmi_qp *hdmi = dw_hdmi_qp_from_bridge(bridge); dw_hdmi_qp_audio_prepare() local
505 dw_hdmi_qp_audio_disable_regs(struct dw_hdmi_qp * hdmi) dw_hdmi_qp_audio_disable_regs() argument
527 struct dw_hdmi_qp *hdmi = dw_hdmi_qp_from_bridge(bridge); dw_hdmi_qp_audio_disable() local
535 dw_hdmi_qp_i2c_read(struct dw_hdmi_qp * hdmi,unsigned char * buf,unsigned int length) dw_hdmi_qp_i2c_read() argument
591 dw_hdmi_qp_i2c_write(struct dw_hdmi_qp * hdmi,unsigned char * buf,unsigned int length) dw_hdmi_qp_i2c_write() argument
637 struct dw_hdmi_qp *hdmi = i2c_get_adapdata(adap); dw_hdmi_qp_i2c_xfer() local
718 dw_hdmi_qp_i2c_adapter(struct dw_hdmi_qp * hdmi) dw_hdmi_qp_i2c_adapter() argument
755 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_atomic_enable() local
790 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_atomic_disable() local
800 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_detect() local
818 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_edid_read() local
833 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_tmds_char_rate_valid() local
850 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_clear_avi_infoframe() local
860 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_clear_hdmi_infoframe() local
869 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_clear_hdr_drm_infoframe() local
878 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_clear_spd_infoframe() local
887 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_clear_audio_infoframe() local
898 dw_hdmi_qp_write_pkt(struct dw_hdmi_qp * hdmi,const u8 * buffer,size_t start,size_t len,unsigned int reg) dw_hdmi_qp_write_pkt() argument
910 dw_hdmi_qp_write_infoframe(struct dw_hdmi_qp * hdmi,const u8 * buffer,size_t len,unsigned int reg) dw_hdmi_qp_write_infoframe() argument
927 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_write_avi_infoframe() local
943 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_write_hdmi_infoframe() local
959 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_write_hdr_drm_infoframe() local
975 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_write_spd_infoframe() local
990 struct dw_hdmi_qp *hdmi = bridge->driver_private; dw_hdmi_qp_bridge_write_audio_infoframe() local
1024 struct dw_hdmi_qp *hdmi = dev_id; dw_hdmi_qp_cec_hardirq() local
1079 struct dw_hdmi_qp *hdmi = dev_id; dw_hdmi_qp_cec_thread() local
1099 struct dw_hdmi_qp *hdmi = dw_hdmi_qp_from_bridge(bridge); dw_hdmi_qp_cec_init() local
1116 struct dw_hdmi_qp *hdmi = dw_hdmi_qp_from_bridge(bridge); dw_hdmi_qp_cec_log_addr() local
1131 struct dw_hdmi_qp *hdmi = dw_hdmi_qp_from_bridge(bridge); dw_hdmi_qp_cec_enable() local
1164 struct dw_hdmi_qp *hdmi = dw_hdmi_qp_from_bridge(bridge); dw_hdmi_qp_cec_transmit() local
1224 struct dw_hdmi_qp *hdmi = dev_id; dw_hdmi_qp_main_hardirq() local
1251 dw_hdmi_qp_init_hw(struct dw_hdmi_qp * hdmi) dw_hdmi_qp_init_hw() argument
1275 struct dw_hdmi_qp *hdmi; dw_hdmi_qp_bind() local
1380 dw_hdmi_qp_suspend(struct device * dev,struct dw_hdmi_qp * hdmi) dw_hdmi_qp_suspend() argument
1386 dw_hdmi_qp_resume(struct device * dev,struct dw_hdmi_qp * hdmi) dw_hdmi_qp_resume() argument
[all...]
H A Ddw-hdmi-i2s-audio.c25 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_write() local
27 audio->write(hdmi, val, offset); in hdmi_write()
32 struct dw_hdmi *hdmi = audio->hdmi; in hdmi_read() local
34 return audio->read(hdmi, offset); in hdmi_read()
42 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_hw_params() local
104 dw_hdmi_set_sample_rate(hdmi, hparms->sample_rate); in dw_hdmi_i2s_hw_params()
105 dw_hdmi_set_channel_status(hdmi, hparms->iec.status); in dw_hdmi_i2s_hw_params()
106 dw_hdmi_set_channel_count(hdmi, hparms->channels); in dw_hdmi_i2s_hw_params()
107 dw_hdmi_set_channel_allocation(hdmi, hparms->cea.channel_allocation); in dw_hdmi_i2s_hw_params()
119 struct dw_hdmi *hdmi = audio->hdmi; in dw_hdmi_i2s_audio_startup() local
[all …]
H A Ddw-hdmi-audio.h11 struct dw_hdmi *hdmi; member
12 u8 *(*get_eld)(struct dw_hdmi *hdmi);
16 struct dw_hdmi *hdmi; member
18 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
19 u8 (*read)(struct dw_hdmi *hdmi, int offset);
20 u8 *(*get_eld)(struct dw_hdmi *hdmi);
H A Ddw-hdmi-cec.h7 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
8 u8 (*read)(struct dw_hdmi *hdmi, int offset);
9 void (*enable)(struct dw_hdmi *hdmi);
10 void (*disable)(struct dw_hdmi *hdmi);
14 struct dw_hdmi *hdmi; member
/linux/drivers/gpu/drm/rockchip/
H A Ddw_hdmi_qp-rockchip.c17 #include <linux/phy/phy-hdmi.h>
96 struct dw_hdmi_qp *hdmi;
106 void (*io_init)(struct rockchip_hdmi_qp *hdmi);
107 void (*enc_init)(struct rockchip_hdmi_qp *hdmi, struct rockchip_crtc_state *state);
121 struct rockchip_hdmi_qp *hdmi = to_rockchip_hdmi_qp(encoder); in dw_hdmi_qp_rockchip_encoder_enable()
125 gpiod_set_value_cansleep(hdmi->frl_enable_gpio, 0); in dw_hdmi_qp_rockchip_encoder_enable()
130 if (hdmi->ctrl_ops->enc_init) in dw_hdmi_qp_rockchip_encoder_enable()
131 hdmi->ctrl_ops->enc_init(hdmi, to_rockchip_crtc_state(crtc->state)); in dw_hdmi_qp_rockchip_encoder_enable()
139 struct rockchip_hdmi_qp *hdmi in dw_hdmi_qp_rockchip_encoder_atomic_check()
95 struct dw_hdmi_qp *hdmi; global() member
120 struct rockchip_hdmi_qp *hdmi = to_rockchip_hdmi_qp(encoder); dw_hdmi_qp_rockchip_encoder_enable() local
138 struct rockchip_hdmi_qp *hdmi = to_rockchip_hdmi_qp(encoder); dw_hdmi_qp_rockchip_encoder_atomic_check() local
171 struct rockchip_hdmi_qp *hdmi = (struct rockchip_hdmi_qp *)data; dw_hdmi_qp_rk3588_phy_init() local
179 struct rockchip_hdmi_qp *hdmi = (struct rockchip_hdmi_qp *)data; dw_hdmi_qp_rk3588_phy_disable() local
187 struct rockchip_hdmi_qp *hdmi = (struct rockchip_hdmi_qp *)data; dw_hdmi_qp_rk3588_read_hpd() local
198 struct rockchip_hdmi_qp *hdmi = (struct rockchip_hdmi_qp *)data; dw_hdmi_qp_rk3588_setup_hpd() local
221 struct rockchip_hdmi_qp *hdmi = (struct rockchip_hdmi_qp *)data; dw_hdmi_qp_rk3576_read_hpd() local
232 struct rockchip_hdmi_qp *hdmi = (struct rockchip_hdmi_qp *)data; dw_hdmi_qp_rk3576_setup_hpd() local
251 struct rockchip_hdmi_qp *hdmi = container_of(work, dw_hdmi_qp_rk3588_hpd_work() local
266 struct rockchip_hdmi_qp *hdmi = dev_id; dw_hdmi_qp_rk3576_hardirq() local
282 struct rockchip_hdmi_qp *hdmi = dev_id; dw_hdmi_qp_rk3576_irq() local
298 struct rockchip_hdmi_qp *hdmi = dev_id; dw_hdmi_qp_rk3588_hardirq() local
317 struct rockchip_hdmi_qp *hdmi = dev_id; dw_hdmi_qp_rk3588_irq() local
338 dw_hdmi_qp_rk3576_io_init(struct rockchip_hdmi_qp * hdmi) dw_hdmi_qp_rk3576_io_init() argument
353 dw_hdmi_qp_rk3588_io_init(struct rockchip_hdmi_qp * hdmi) dw_hdmi_qp_rk3588_io_init() argument
382 dw_hdmi_qp_rk3576_enc_init(struct rockchip_hdmi_qp * hdmi,struct rockchip_crtc_state * state) dw_hdmi_qp_rk3576_enc_init() argument
395 dw_hdmi_qp_rk3588_enc_init(struct rockchip_hdmi_qp * hdmi,struct rockchip_crtc_state * state) dw_hdmi_qp_rk3588_enc_init() argument
471 struct rockchip_hdmi_qp *hdmi; dw_hdmi_qp_rockchip_bind() local
612 struct rockchip_hdmi_qp *hdmi = dev_get_drvdata(dev); dw_hdmi_qp_rockchip_unbind() local
636 struct rockchip_hdmi_qp *hdmi = dev_get_drvdata(dev); dw_hdmi_qp_rockchip_suspend() local
645 struct rockchip_hdmi_qp *hdmi = dev_get_drvdata(dev); dw_hdmi_qp_rockchip_resume() local
[all...]
/linux/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_hdcp.c49 struct hdmi *hdmi; member
78 static int msm_hdmi_ddc_read(struct hdmi *hdmi, u16 addr, u8 offset, in msm_hdmi_ddc_read() argument
99 rc = i2c_transfer(hdmi->i2c, msgs, 2); in msm_hdmi_ddc_read()
116 static int msm_hdmi_ddc_write(struct hdmi *hdmi, u16 addr, u8 offset, in msm_hdmi_ddc_write() argument
141 rc = i2c_transfer(hdmi->i2c, msgs, 1); in msm_hdmi_ddc_write()
159 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_scm_wr() local
167 phy_addr = (u32)hdmi->mmio_phy_addr; in msm_hdmi_hdcp_scm_wr()
190 hdmi_write(hdmi, preg[i], pdata[i]); in msm_hdmi_hdcp_scm_wr()
198 struct hdmi *hdmi = hdcp_ctrl->hdmi; in msm_hdmi_hdcp_irq() local
202 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_hdcp_irq()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi5.c38 static struct omap_hdmi hdmi; variable
46 r = pm_runtime_resume_and_get(&hdmi.pdev->dev); in hdmi_runtime_get()
59 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put()
88 v = hdmi_read_reg(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL); in hdmi_irq_handler()
91 hdmi_write_reg(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL, v); in hdmi_irq_handler()
98 REG_FLD_MOD(hdmi.phy.base, HDMI_TXPHY_PAD_CFG_CTRL, 0, 15, 15); in hdmi_irq_handler()
113 if (hdmi.vdda_reg != NULL) in hdmi_init_regulator()
116 reg = devm_regulator_get(&hdmi.pdev->dev, "vdda"); in hdmi_init_regulator()
122 hdmi.vdda_reg = reg; in hdmi_init_regulator()
131 r = regulator_enable(hdmi.vdda_reg); in hdmi_power_on_core()
[all …]
H A Dhdmi4.c34 static struct omap_hdmi hdmi; variable
42 r = pm_runtime_resume_and_get(&hdmi.pdev->dev); in hdmi_runtime_get()
55 r = pm_runtime_put_sync(&hdmi.pdev->dev); in hdmi_runtime_put()
94 if (hdmi.vdda_reg != NULL) in hdmi_init_regulator()
97 reg = devm_regulator_get(&hdmi.pdev->dev, "vdda"); in hdmi_init_regulator()
105 hdmi.vdda_reg = reg; in hdmi_init_regulator()
114 r = regulator_enable(hdmi.vdda_reg); in hdmi_power_on_core()
125 hdmi.core_enabled = true; in hdmi_power_on_core()
130 regulator_disable(hdmi.vdda_reg); in hdmi_power_on_core()
137 hdmi.core_enabled = false; in hdmi_power_off_core()
[all …]
/linux/sound/pci/oxygen/
H A Dxonar_hdmi.c37 struct xonar_hdmi *hdmi) in xonar_hdmi_init_commands() argument
46 hdmi_write_command(chip, 0x54, 5, hdmi->params); in xonar_hdmi_init_commands()
49 void xonar_hdmi_init(struct oxygen *chip, struct xonar_hdmi *hdmi) in xonar_hdmi_init() argument
51 hdmi->params[1] = IEC958_AES3_CON_FS_48000; in xonar_hdmi_init()
52 hdmi->params[4] = 1; in xonar_hdmi_init()
53 xonar_hdmi_init_commands(chip, hdmi); in xonar_hdmi_init()
63 void xonar_hdmi_resume(struct oxygen *chip, struct xonar_hdmi *hdmi) in xonar_hdmi_resume() argument
65 xonar_hdmi_init_commands(chip, hdmi); in xonar_hdmi_resume()
80 void xonar_set_hdmi_params(struct oxygen *chip, struct xonar_hdmi *hdmi, in xonar_set_hdmi_params() argument
83 hdmi->params[0] = 0; /* 1 = non-audio */ in xonar_set_hdmi_params()
[all …]
/linux/drivers/gpu/drm/sti/
H A Dsti_hdmi_tx3g4c28phy.c7 #include <linux/hdmi.h>
72 * sti_hdmi_tx3g4c28phy_start - Start hdmi phy macro cell tx3g4c28
74 * @hdmi: pointer on the hdmi internal structure
78 static bool sti_hdmi_tx3g4c28phy_start(struct sti_hdmi *hdmi) in sti_hdmi_tx3g4c28phy_start()
80 u32 ckpxpll = hdmi->mode.clock * 1000; in sti_hdmi_tx3g4c28phy_start()
118 hdmi->event_received = false; in sti_hdmi_tx3g4c28phy_start()
120 hdmi_write(hdmi, (pllctrl | PLL_CFG_EN), HDMI_SRZ_PLL_CFG); in sti_hdmi_tx3g4c28phy_start()
123 wait_event_interruptible_timeout(hdmi->wait_event, in sti_hdmi_tx3g4c28phy_start()
124 hdmi in sti_hdmi_tx3g4c28phy_start()
76 sti_hdmi_tx3g4c28phy_start(struct sti_hdmi * hdmi) sti_hdmi_tx3g4c28phy_start() argument
186 sti_hdmi_tx3g4c28phy_stop(struct sti_hdmi * hdmi) sti_hdmi_tx3g4c28phy_stop() argument
[all...]
/linux/arch/arm/boot/dts/ti/omap/
H A Dam335x-boneblack.dts10 #include "am335x-boneblack-hdmi.dtsi"
50 "[hdmi cec]",
92 "[hdmi irq]",
94 "[hdmi audio]",
109 "P8_45 [hdmi]",
110 "P8_46 [hdmi]",
111 "P8_43 [hdmi]",
112 "P8_44 [hdmi]",
113 "P8_41 [hdmi]",
114 "P8_42 [hdmi]",
[all …]
/linux/sound/soc/codecs/
H A Dhdac_hdmi.c17 #include <linux/hdmi.h>
143 hdac_hdmi_get_pcm_from_cvt(struct hdac_hdmi_priv *hdmi, in hdac_hdmi_get_pcm_from_cvt() argument
148 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in hdac_hdmi_get_pcm_from_cvt()
281 static struct hdac_hdmi_pcm *get_hdmi_pcm_from_id(struct hdac_hdmi_priv *hdmi, in get_hdmi_pcm_from_id() argument
286 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in get_hdmi_pcm_from_id()
362 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); in hdac_hdmi_setup_audio_infoframe() local
375 hdmi->chmap.ops.set_channel_count(hdev, cvt->nid, channels); in hdac_hdmi_setup_audio_infoframe()
377 snd_hdac_setup_channel_mapping(&hdmi->chmap, pin->nid, false, ca, in hdac_hdmi_setup_audio_infoframe()
441 struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); in hdac_hdmi_set_stream() local
442 struct hdac_device *hdev = hdmi in hdac_hdmi_set_stream()
467 struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); hdac_hdmi_set_hw_params() local
527 hdac_hdmi_get_port_from_cvt(struct hdac_device * hdev,struct hdac_hdmi_priv * hdmi,struct hdac_hdmi_cvt * cvt) hdac_hdmi_get_port_from_cvt() argument
566 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_verify_connect_sel_all_pins() local
591 struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); hdac_hdmi_pcm_open() local
634 struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); hdac_hdmi_pcm_close() local
658 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_query_cvt_params() local
721 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_get_pcm() local
818 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_cvt_output_widget_event() local
908 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_set_pin_port_mux() local
966 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_create_pin_port_muxs() local
1033 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_add_pinmux_cvt_route() local
1076 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); create_fill_widget_route_map() local
1177 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_init_dai_map() local
1204 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_add_cvt() local
1256 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_present_sense() local
1367 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_add_pin() local
1399 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_skl_enable_all_pins() local
1417 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_skl_enable_dp12() local
1447 hdac_hdmi_create_dais(struct hdac_device * hdev,struct snd_soc_dai_driver ** dais,struct hdac_hdmi_priv * hdmi,int num_dais) hdac_hdmi_create_dais() argument
1519 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_parse_and_map_nid() local
1586 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_eld_notify_cb() local
1642 hdac_hdmi_present_sense_all_pins(struct hdac_device * hdev,struct hdac_hdmi_priv * hdmi,bool detect_pin_caps) hdac_hdmi_present_sense_all_pins() argument
1667 struct hdac_hdmi_priv *hdmi = snd_soc_component_get_drvdata(component); hdmi_codec_probe() local
1727 struct hdac_hdmi_priv *hdmi = snd_soc_component_get_drvdata(component); hdmi_codec_remove() local
1742 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdmi_codec_resume() local
1772 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_get_chmap() local
1781 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_set_chmap() local
1802 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); is_hdac_hdmi_pcm_attached() local
1816 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_get_spk_alloc() local
1913 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); clear_dapm_works() local
[all...]
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_dw_hdmi.c41 rcar_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, in rcar_hdmi_mode_valid() argument
55 static int rcar_hdmi_phy_configure(struct dw_hdmi *hdmi, void *data, in rcar_hdmi_phy_configure() argument
68 dw_hdmi_phy_i2c_write(hdmi, params->opmode_div, in rcar_hdmi_phy_configure()
70 dw_hdmi_phy_i2c_write(hdmi, params->curr_gmp, in rcar_hdmi_phy_configure()
72 dw_hdmi_phy_i2c_write(hdmi, params->div, RCAR_HDMI_PHY_PLLDIVCTRL); in rcar_hdmi_phy_configure()
85 struct dw_hdmi *hdmi; in rcar_dw_hdmi_probe() local
87 hdmi = dw_hdmi_probe(pdev, &rcar_dw_hdmi_plat_data); in rcar_dw_hdmi_probe()
88 if (IS_ERR(hdmi)) in rcar_dw_hdmi_probe()
89 return PTR_ERR(hdmi); in rcar_dw_hdmi_probe()
91 platform_set_drvdata(pdev, hdmi); in rcar_dw_hdmi_probe()
[all …]
/linux/drivers/gpu/drm/ingenic/
H A Dingenic-dw-hdmi.c47 ingenic_dw_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, in ingenic_dw_hdmi_mode_valid() argument
76 struct dw_hdmi *hdmi = (struct dw_hdmi *)data; in ingenic_dw_hdmi_cleanup() local
78 dw_hdmi_remove(hdmi); in ingenic_dw_hdmi_cleanup()
83 struct dw_hdmi *hdmi; in ingenic_dw_hdmi_probe() local
85 hdmi = dw_hdmi_probe(pdev, &ingenic_dw_hdmi_plat_data); in ingenic_dw_hdmi_probe()
86 if (IS_ERR(hdmi)) in ingenic_dw_hdmi_probe()
87 return PTR_ERR(hdmi); in ingenic_dw_hdmi_probe()
89 return devm_add_action_or_reset(&pdev->dev, ingenic_dw_hdmi_cleanup, hdmi); in ingenic_dw_hdmi_probe()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_hdmi_regs.h632 void __iomem *__vc4_hdmi_get_field_base(struct vc4_hdmi *hdmi, in __vc4_hdmi_get_field_base() argument
637 return hdmi->hd_regs; in __vc4_hdmi_get_field_base()
640 return hdmi->hdmicore_regs; in __vc4_hdmi_get_field_base()
643 return hdmi->csc_regs; in __vc4_hdmi_get_field_base()
646 return hdmi->cec_regs; in __vc4_hdmi_get_field_base()
649 return hdmi->dvp_regs; in __vc4_hdmi_get_field_base()
652 return hdmi->phy_regs; in __vc4_hdmi_get_field_base()
655 return hdmi->ram_regs; in __vc4_hdmi_get_field_base()
658 return hdmi->rm_regs; in __vc4_hdmi_get_field_base()
667 static inline u32 vc4_hdmi_read(struct vc4_hdmi *hdmi, in vc4_hdmi_read() argument
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgk104.c84 const u32 hdmi = head * 0x400; in gk104_sor_hdmi_ctrl() local
88 nvkm_mask(device, 0x690100 + hdmi, 0x00000001, 0x00000000); in gk104_sor_hdmi_ctrl()
89 nvkm_mask(device, 0x6900c0 + hdmi, 0x00000001, 0x00000000); in gk104_sor_hdmi_ctrl()
90 nvkm_mask(device, 0x690000 + hdmi, 0x00000001, 0x00000000); in gk104_sor_hdmi_ctrl()
95 nvkm_mask(device, 0x6900c0 + hdmi, 0x00000001, 0x00000000); in gk104_sor_hdmi_ctrl()
96 nvkm_wr32(device, 0x6900cc + hdmi, 0x00000010); in gk104_sor_hdmi_ctrl()
97 nvkm_mask(device, 0x6900c0 + hdmi, 0x00000001, 0x00000001); in gk104_sor_hdmi_ctrl()
100 nvkm_wr32(device, 0x690080 + hdmi, 0x82000000); in gk104_sor_hdmi_ctrl()
119 .hdmi = &gk104_sor_hdmi,
/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dconnector-hdmi.c60 return in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
73 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
90 in->ops.hdmi->set_timings(in, &ddata->timings); in hdmic_enable()
92 r = in->ops.hdmi->enable(in); in hdmic_enable()
111 in->ops.hdmi->disable(in); in hdmic_disable()
125 in->ops.hdmi->set_timings(in, timings); in hdmic_set_timings()
142 return in->ops.hdmi->check_timings(in, timings); in hdmic_check_timings()
151 return in->ops.hdmi->read_edid(in, edid, len); in hdmic_read_edid()
162 return in->ops.hdmi->detect(in); in hdmic_detect()
170 return in->ops.hdmi->set_hdmi_mode(in, hdmi_mode); in hdmic_set_hdmi_mode()
[all …]
H A Dencoder-tpd12s015.c39 r = in->ops.hdmi->connect(in, dssdev); in tpd_connect()
71 in->ops.hdmi->disconnect(in, &ddata->dssdev); in tpd_disconnect()
83 in->ops.hdmi->set_timings(in, &ddata->timings); in tpd_enable()
85 r = in->ops.hdmi->enable(in); in tpd_enable()
102 in->ops.hdmi->disable(in); in tpd_disable()
116 in->ops.hdmi->set_timings(in, timings); in tpd_set_timings()
134 r = in->ops.hdmi->check_timings(in, timings); in tpd_check_timings()
151 r = in->ops.hdmi->read_edid(in, edid, len); in tpd_read_edid()
171 return in->ops.hdmi->set_infoframe(in, avi); in tpd_set_infoframe()
180 return in->ops.hdmi->set_hdmi_mode(in, hdmi_mode); in tpd_set_hdmi_mode()
[all …]

12345678910>>...19