| /linux/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_hdmi_i2c.c | 25 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 D | sun4i_hdmi_tmds_clk.c | 16 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 D | Makefile | 8 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/msm/hdmi/ |
| H A D | hdmi_hdcp.c | 49 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/gpu/drm/mediatek/ |
| H A D | mtk_hdmi_common.c | 104 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/video/fbdev/omap2/omapfb/dss/ |
| H A D | hdmi5.c | 38 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 D | hdmi4.c | 34 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/drivers/gpu/drm/bridge/ |
| H A D | th1520-dw-hdmi.c | 58 th1520_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, in th1520_hdmi_mode_valid() argument 72 static void th1520_hdmi_phy_set_params(struct dw_hdmi *hdmi, in th1520_hdmi_phy_set_params() argument 75 dw_hdmi_phy_i2c_write(hdmi, params->opmode_pllcfg, in th1520_hdmi_phy_set_params() 77 dw_hdmi_phy_i2c_write(hdmi, params->pllcurrgmpctrl, in th1520_hdmi_phy_set_params() 79 dw_hdmi_phy_i2c_write(hdmi, params->plldivctrl, in th1520_hdmi_phy_set_params() 81 dw_hdmi_phy_i2c_write(hdmi, params->vlevctrl, in th1520_hdmi_phy_set_params() 83 dw_hdmi_phy_i2c_write(hdmi, params->cksymtxctrl, in th1520_hdmi_phy_set_params() 85 dw_hdmi_phy_i2c_write(hdmi, params->txterm, in th1520_hdmi_phy_set_params() 89 static int th1520_hdmi_phy_configure(struct dw_hdmi *hdmi, void *data, in th1520_hdmi_phy_configure() argument 96 th1520_hdmi_phy_set_params(hdmi, in th1520_hdmi_phy_configure() [all …]
|
| /linux/drivers/gpu/drm/bridge/imx/ |
| H A D | imx8mp-hdmi-tx.c | 26 struct imx8mp_hdmi *hdmi = (struct imx8mp_hdmi *)data; in imx8mp_hdmi_mode_valid() local 35 round_rate = clk_round_rate(hdmi->pixclk, mode->clock * 1000); in imx8mp_hdmi_mode_valid() 64 static void im8mp_hdmi_phy_setup_hpd(struct dw_hdmi *hdmi, void *data) in im8mp_hdmi_phy_setup_hpd() argument 70 dw_hdmi_phy_gen1_reset(hdmi); in im8mp_hdmi_phy_setup_hpd() 72 dw_hdmi_phy_setup_hpd(hdmi, data); in im8mp_hdmi_phy_setup_hpd() 86 struct imx8mp_hdmi *hdmi = dev_get_drvdata(dev); in imx8mp_dw_hdmi_bind() local 89 ret = component_bind_all(dev, &hdmi->plat_data); in imx8mp_dw_hdmi_bind() 93 hdmi->dw_hdmi = dw_hdmi_probe(pdev, &hdmi->plat_data); in imx8mp_dw_hdmi_bind() 94 if (IS_ERR(hdmi->dw_hdmi)) { in imx8mp_dw_hdmi_bind() 95 component_unbind_all(dev, &hdmi->plat_data); in imx8mp_dw_hdmi_bind() [all …]
|
| /linux/sound/pci/oxygen/ |
| H A D | xonar_hdmi.c | 37 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/bridge/synopsys/ |
| H A D | dw-hdmi-i2s-audio.c | 25 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 D | dw-hdmi-audio.h | 11 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 D | dw-hdmi-cec.h | 7 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/arch/arm/boot/dts/ti/omap/ |
| H A D | am335x-boneblack.dts | 10 #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/drivers/gpu/drm/renesas/rcar-du/ |
| H A D | rcar_dw_hdmi.c | 40 rcar_hdmi_mode_valid(struct dw_hdmi *hdmi, void *data, in rcar_hdmi_mode_valid() argument 54 static int rcar_hdmi_phy_configure(struct dw_hdmi *hdmi, void *data, in rcar_hdmi_phy_configure() argument 67 dw_hdmi_phy_i2c_write(hdmi, params->opmode_div, in rcar_hdmi_phy_configure() 69 dw_hdmi_phy_i2c_write(hdmi, params->curr_gmp, in rcar_hdmi_phy_configure() 71 dw_hdmi_phy_i2c_write(hdmi, params->div, RCAR_HDMI_PHY_PLLDIVCTRL); in rcar_hdmi_phy_configure() 84 struct dw_hdmi *hdmi; in rcar_dw_hdmi_probe() local 86 hdmi = dw_hdmi_probe(pdev, &rcar_dw_hdmi_plat_data); in rcar_dw_hdmi_probe() 87 if (IS_ERR(hdmi)) in rcar_dw_hdmi_probe() 88 return PTR_ERR(hdmi); in rcar_dw_hdmi_probe() 90 platform_set_drvdata(pdev, hdmi); in rcar_dw_hdmi_probe() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | hdac_hdmi.c | 18 #include <linux/hdmi.h> 144 hdac_hdmi_get_pcm_from_cvt(struct hdac_hdmi_priv *hdmi, in hdac_hdmi_get_pcm_from_cvt() 149 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in hdac_hdmi_get_pcm_from_cvt() 282 static struct hdac_hdmi_pcm *get_hdmi_pcm_from_id(struct hdac_hdmi_priv *hdmi, in get_hdmi_pcm_from_id() 287 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in get_hdmi_pcm_from_id() 363 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); in hdac_hdmi_setup_audio_infoframe() 376 hdmi->chmap.ops.set_channel_count(hdev, cvt->nid, channels); in hdac_hdmi_setup_audio_infoframe() 378 snd_hdac_setup_channel_mapping(&hdmi->chmap, pin->nid, false, ca, in hdac_hdmi_setup_audio_infoframe() 442 struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); in hdac_hdmi_set_stream() 443 struct hdac_device *hdev = hdmi in hdac_hdmi_set_stream() 143 hdac_hdmi_get_pcm_from_cvt(struct hdac_hdmi_priv * hdmi,struct hdac_hdmi_cvt * cvt) hdac_hdmi_get_pcm_from_cvt() argument 281 get_hdmi_pcm_from_id(struct hdac_hdmi_priv * hdmi,int pcm_idx) get_hdmi_pcm_from_id() argument 362 struct hdac_hdmi_priv *hdmi = hdev_to_hdmi_priv(hdev); hdac_hdmi_setup_audio_infoframe() local 441 struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); hdac_hdmi_set_stream() local 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/rockchip/ |
| H A D | inno_hdmi-rockchip.c | 58 struct rockchip_inno_hdmi *hdmi = dev_get_drvdata(dev); in inno_hdmi_rk3036_enable() local 65 regmap_write(hdmi->grf, RK3036_GRF_SOC_CON2, value); in inno_hdmi_rk3036_enable() 89 struct rockchip_inno_hdmi *hdmi; in inno_hdmi_rockchip_bind() local 93 hdmi = drmm_kzalloc(drm, sizeof(*hdmi), GFP_KERNEL); in inno_hdmi_rockchip_bind() 94 if (!hdmi) in inno_hdmi_rockchip_bind() 97 hdmi->dev = dev; in inno_hdmi_rockchip_bind() 99 plat_data = of_device_get_match_data(hdmi->dev); in inno_hdmi_rockchip_bind() 104 hdmi->grf = syscon_regmap_lookup_by_phandle(dev->of_node, "rockchip,grf"); in inno_hdmi_rockchip_bind() 105 if (IS_ERR(hdmi->grf)) in inno_hdmi_rockchip_bind() 107 PTR_ERR(hdmi->grf), "Unable to get rockchip,grf\n"); in inno_hdmi_rockchip_bind() [all …]
|
| /linux/drivers/gpu/drm/ingenic/ |
| H A D | ingenic-dw-hdmi.c | 47 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/phy/mediatek/ |
| H A D | Makefile | 13 phy-mtk-hdmi-drv-y := phy-mtk-hdmi.o 14 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt2701.o 15 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt8173.o 16 phy-mtk-hdmi-drv-y += phy-mtk-hdmi-mt8195.o 17 obj-$(CONFIG_PHY_MTK_HDMI) += phy-mtk-hdmi-drv.o
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | gk104.c | 84 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/gpu/drm/vc4/ |
| H A D | vc4_hdmi_regs.h | 632 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/video/fbdev/omap2/omapfb/displays/ |
| H A D | connector-hdmi.c | 60 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 D | encoder-tpd12s015.c | 38 r = in->ops.hdmi->connect(in, dssdev); in tpd_connect() 70 in->ops.hdmi->disconnect(in, &ddata->dssdev); in tpd_disconnect() 82 in->ops.hdmi->set_timings(in, &ddata->timings); in tpd_enable() 84 r = in->ops.hdmi->enable(in); in tpd_enable() 101 in->ops.hdmi->disable(in); in tpd_disable() 115 in->ops.hdmi->set_timings(in, timings); in tpd_set_timings() 133 r = in->ops.hdmi->check_timings(in, timings); in tpd_check_timings() 150 r = in->ops.hdmi->read_edid(in, edid, len); in tpd_read_edid() 170 return in->ops.hdmi->set_infoframe(in, avi); in tpd_set_infoframe() 179 return in->ops.hdmi->set_hdmi_mode(in, hdmi_mode); in tpd_set_hdmi_mode() [all …]
|
| /linux/sound/soc/intel/boards/ |
| H A D | sof_sdw_hdmi.c | 26 intel_ctx->hdmi.hdmi_comp = dai->component; in sof_sdw_hdmi_init() 36 if (!intel_ctx->hdmi.idisp_codec) in sof_sdw_hdmi_card_late_probe() 39 if (!intel_ctx->hdmi.hdmi_comp) in sof_sdw_hdmi_card_late_probe() 42 return hda_dsp_hdmi_build_controls(card, intel_ctx->hdmi.hdmi_comp); in sof_sdw_hdmi_card_late_probe()
|
| /linux/arch/arm/boot/dts/mediatek/ |
| H A D | mt7623n.dtsi | 228 hdmi0: hdmi@14015000 { 229 compatible = "mediatek,mt7623-hdmi", 230 "mediatek,mt2701-hdmi"; 238 phy-names = "hdmi"; 239 mediatek,syscon-hdmi = <&mmsys 0x900>; 263 hdmi_phy: hdmi-phy@10209100 { 264 compatible = "mediatek,mt7623-hdmi-phy", 265 "mediatek,mt2701-hdmi-phy"; 276 compatible = "mediatek,mt7623-hdmi-ddc", 277 "mediatek,mt8173-hdmi-ddc"; [all …]
|