Home
last modified time | relevance | path

Searched +full:hdmi +full:- +full:switch (Results 1 – 25 of 777) sorted by relevance

12345678910>>...32

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/exynos/
Dexynos_hdmi.txt1 Device-Tree bindings for drm hdmi driver
4 - compatible: value should be one among the following:
5 1) "samsung,exynos4210-hdmi"
6 2) "samsung,exynos4212-hdmi"
7 3) "samsung,exynos5420-hdmi"
8 4) "samsung,exynos5433-hdmi"
9 - reg: physical base address of the hdmi and length of memory mapped
11 - interrupts: interrupt number to the cpu.
12 - hpd-gpios: following information about the hotplug gpio pin.
16 - ddc: phandle to the hdmi ddc node
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/samsung/
Dsamsung,exynos-hdmi.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/display/samsung/samsung,exynos-hdmi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos SoC HDMI
10 - Inki Dae <inki.dae@samsung.com>
11 - Seung-Woo Kim <sw0312.kim@samsung.com>
12 - Kyungmin Park <kyungmin.park@samsung.com>
13 - Krzysztof Kozlowski <krzk@kernel.org>
18 - samsung,exynos4210-hdmi
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/arm-smccc.h>
10 #include <linux/hdmi.h>
24 #include <sound/hdmi-codec.h>
191 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() argument
193 return readl(hdmi->regs + offset); in mtk_hdmi_read()
196 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() argument
198 writel(val, hdmi->regs + offset); in mtk_hdmi_write()
201 static void mtk_hdmi_clear_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_clear_bits() argument
203 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_clear_bits()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/arm-smccc.h>
10 #include <linux/hdmi.h>
25 #include <sound/hdmi-codec.h>
194 static u32 mtk_hdmi_read(struct mtk_hdmi *hdmi, u32 offset) in mtk_hdmi_read() argument
196 return readl(hdmi->regs + offset); in mtk_hdmi_read()
199 static void mtk_hdmi_write(struct mtk_hdmi *hdmi, u32 offset, u32 val) in mtk_hdmi_write() argument
201 writel(val, hdmi->regs + offset); in mtk_hdmi_write()
204 static void mtk_hdmi_clear_bits(struct mtk_hdmi *hdmi, u32 offset, u32 bits) in mtk_hdmi_clear_bits() argument
206 void __iomem *reg = hdmi->regs + offset; in mtk_hdmi_clear_bits()
[all …]
/kernel/linux/linux-6.6/drivers/video/
Dhdmi.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
29 #include <linux/hdmi.h>
44 return 256 - csum; in hdmi_infoframe_checksum()
55 * hdmi_avi_infoframe_init() - initialize an HDMI AVI infoframe
56 * @frame: HDMI AVI infoframe
62 frame->type = HDMI_INFOFRAME_TYPE_AVI; in hdmi_avi_infoframe_init()
63 frame->version = 2; in hdmi_avi_infoframe_init()
64 frame->length = HDMI_AVI_INFOFRAME_SIZE; in hdmi_avi_infoframe_init()
70 if (frame->type != HDMI_INFOFRAME_TYPE_AVI || in hdmi_avi_infoframe_check_only()
71 frame->version != 2 || in hdmi_avi_infoframe_check_only()
[all …]
/kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/
Dmt8183-dai-tdm.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "mt8183-afe-clk.h"
11 #include "mt8183-afe-common.h"
12 #include "mt8183-interconnection.h"
13 #include "mt8183-reg.h"
92 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width()
97 switch (ch) { in get_tdm_ch()
250 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_bck_en_event()
252 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_bck_en_event()
253 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_tdm_bck_en_event()
[all …]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8183/
Dmt8183-dai-tdm.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "mt8183-afe-clk.h"
11 #include "mt8183-afe-common.h"
12 #include "mt8183-interconnection.h"
13 #include "mt8183-reg.h"
92 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width()
97 switch (ch) { in get_tdm_ch()
250 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_bck_en_event()
252 struct mt8183_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_bck_en_event()
253 struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[MT8183_DAI_TDM]; in mtk_tdm_bck_en_event()
[all …]
/kernel/linux/linux-5.10/drivers/video/
Dhdmi.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
28 #include <linux/hdmi.h>
43 return 256 - csum; in hdmi_infoframe_checksum()
54 * hdmi_avi_infoframe_init() - initialize an HDMI AVI infoframe
55 * @frame: HDMI AVI infoframe
61 frame->type = HDMI_INFOFRAME_TYPE_AVI; in hdmi_avi_infoframe_init()
62 frame->version = 2; in hdmi_avi_infoframe_init()
63 frame->length = HDMI_AVI_INFOFRAME_SIZE; in hdmi_avi_infoframe_init()
69 if (frame->type != HDMI_INFOFRAME_TYPE_AVI || in hdmi_avi_infoframe_check_only()
70 frame->version != 2 || in hdmi_avi_infoframe_check_only()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-i2s-audio.c1 // SPDX-License-Identifier: GPL-2.0
3 * dw-hdmi-i2s-audio.c
9 #include <linux/dma-mapping.h>
15 #include <sound/hdmi-codec.h>
17 #include "dw-hdmi.h"
18 #include "dw-hdmi-audio.h"
20 #define DRIVER_NAME "dw-hdmi-i2s-audio"
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
[all …]
Ddw-hdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DesignWare High-Definition Multimedia Interface (HDMI) driver
5 * Copyright (C) 2013-2015 Mentor Graphics Inc.
6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc.
12 #include <linux/hdmi.h>
20 #include <linux/dma-mapping.h>
23 #include <media/cec-notifier.h>
25 #include <uapi/linux/media-bus-format.h>
38 #include "dw-hdmi-audio.h"
39 #include "dw-hdmi-cec.h"
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-i2s-audio.c1 // SPDX-License-Identifier: GPL-2.0
3 * dw-hdmi-i2s-audio.c
9 #include <linux/dma-mapping.h>
15 #include <sound/hdmi-codec.h>
17 #include "dw-hdmi.h"
18 #include "dw-hdmi-audio.h"
20 #define DRIVER_NAME "dw-hdmi-i2s-audio"
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
[all …]
Ddw-hdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DesignWare High-Definition Multimedia Interface (HDMI) driver
5 * Copyright (C) 2013-2015 Mentor Graphics Inc.
6 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc.
12 #include <linux/hdmi.h>
19 #include <linux/dma-mapping.h>
22 #include <media/cec-notifier.h>
24 #include <uapi/linux/media-bus-format.h>
37 #include "dw-hdmi-audio.h"
38 #include "dw-hdmi-cec.h"
[all …]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8192/
Dmt8192-dai-tdm.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "mt8192-afe-clk.h"
12 #include "mt8192-afe-common.h"
13 #include "mt8192-afe-gpio.h"
14 #include "mt8192-interconnection.h"
84 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width()
89 switch (ch) { in get_tdm_ch()
248 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event()
250 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mtk_tdm_en_event()
251 int dai_id = get_tdm_id_by_name(w->name); in mtk_tdm_en_event()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/rockchip/
Drockchip,rk3066-hdmi.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,rk3066-hdmi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip rk3066 HDMI controller
10 - Sandy Huang <hjc@rock-chips.com>
11 - Heiko Stuebner <heiko@sntech.de>
15 const: rockchip,rk3066-hdmi
26 clock-names:
29 pinctrl-0:
[all …]
Dinno_hdmi-rockchip.txt1 Rockchip specific extensions to the Innosilicon HDMI
5 - compatible:
6 "rockchip,rk3036-inno-hdmi";
7 - reg:
9 - clocks, clock-names:
10 Phandle to hdmi controller clock, name should be "pclk"
11 - interrupts:
12 HDMI interrupt number
13 - ports:
16 - pinctrl-0, pinctrl-name:
[all …]
Ddw_hdmi-rockchip.txt1 Rockchip DWC HDMI TX Encoder
4 The HDMI transmitter is a Synopsys DesignWare HDMI 1.4 TX controller IP
7 These DT bindings follow the Synopsys DWC HDMI TX bindings defined in
9 following device-specific properties.
14 - compatible: should be one of the following:
15 "rockchip,rk3228-dw-hdmi"
16 "rockchip,rk3288-dw-hdmi"
17 "rockchip,rk3328-dw-hdmi"
18 "rockchip,rk3399-dw-hdmi"
19 - reg: See dw_hdmi.txt.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/rockchip/
Dinno_hdmi-rockchip.txt1 Rockchip specific extensions to the Innosilicon HDMI
5 - compatible:
6 "rockchip,rk3036-inno-hdmi";
7 - reg:
9 - clocks, clock-names:
10 Phandle to hdmi controller clock, name should be "pclk"
11 - interrupts:
12 HDMI interrupt number
13 - ports:
16 - pinctrl-0, pinctrl-name:
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dhdmi_common.c1 // SPDX-License-Identifier: GPL-2.0
3 #define DSS_SUBSYS_NAME "HDMI"
10 #include "hdmi.h"
23 dev_err(&pdev->dev, "bad number of lanes\n"); in hdmi_parse_lanes_of()
24 return -EINVAL; in hdmi_parse_lanes_of()
30 dev_err(&pdev->dev, "failed to read lane data\n"); in hdmi_parse_lanes_of()
36 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of()
44 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of()
58 return -EINVAL; in hdmi_compute_acr()
64 * When using deep color, the default N value (as in the HDMI in hdmi_compute_acr()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
Dhdmi_common.c1 // SPDX-License-Identifier: GPL-2.0
3 #define DSS_SUBSYS_NAME "HDMI"
10 #include "hdmi.h"
23 dev_err(&pdev->dev, "bad number of lanes\n"); in hdmi_parse_lanes_of()
24 return -EINVAL; in hdmi_parse_lanes_of()
30 dev_err(&pdev->dev, "failed to read lane data\n"); in hdmi_parse_lanes_of()
36 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of()
44 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of()
58 return -EINVAL; in hdmi_compute_acr()
64 * When using deep color, the default N value (as in the HDMI in hdmi_compute_acr()
[all …]
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_common.c1 // SPDX-License-Identifier: GPL-2.0
3 #define DSS_SUBSYS_NAME "HDMI"
10 #include "hdmi.h"
23 dev_err(&pdev->dev, "bad number of lanes\n"); in hdmi_parse_lanes_of()
24 return -EINVAL; in hdmi_parse_lanes_of()
30 dev_err(&pdev->dev, "failed to read lane data\n"); in hdmi_parse_lanes_of()
36 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of()
44 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of()
58 return -EINVAL; in hdmi_compute_acr()
64 * When using deep color, the default N value (as in the HDMI in hdmi_compute_acr()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi_common.c1 // SPDX-License-Identifier: GPL-2.0
3 #define DSS_SUBSYS_NAME "HDMI"
10 #include "hdmi.h"
23 dev_err(&pdev->dev, "bad number of lanes\n"); in hdmi_parse_lanes_of()
24 return -EINVAL; in hdmi_parse_lanes_of()
30 dev_err(&pdev->dev, "failed to read lane data\n"); in hdmi_parse_lanes_of()
36 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of()
44 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of()
58 return -EINVAL; in hdmi_compute_acr()
64 * When using deep color, the default N value (as in the HDMI in hdmi_compute_acr()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Duoutp.c33 struct nvkm_ior *ior = outp->ior; in nvkm_uoutp_mthd_dp_mst_vcpi()
36 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uoutp_mthd_dp_mst_vcpi()
37 return -ENOSYS; in nvkm_uoutp_mthd_dp_mst_vcpi()
38 if (!ior->func->dp || !ior->func->dp->vcpi || !nvkm_head_find(outp->disp, args->v0.head)) in nvkm_uoutp_mthd_dp_mst_vcpi()
39 return -EINVAL; in nvkm_uoutp_mthd_dp_mst_vcpi()
41 ior->func->dp->vcpi(ior, args->v0.head, args->v0.start_slot, args->v0.num_slots, in nvkm_uoutp_mthd_dp_mst_vcpi()
42 args->v0.pbn, args->v0.aligned_pbn); in nvkm_uoutp_mthd_dp_mst_vcpi()
51 if (argc != sizeof(args->vn)) in nvkm_uoutp_mthd_dp_retrain()
52 return -ENOSYS; in nvkm_uoutp_mthd_dp_retrain()
54 if (!atomic_read(&outp->dp.lt.done)) in nvkm_uoutp_mthd_dp_retrain()
[all …]
/kernel/linux/linux-5.10/sound/pci/oxygen/
Dxonar_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * helper functions for HDMI models (Xonar HDAV1.3/HDAV1.3 Slim)
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()
[all …]
/kernel/linux/linux-6.6/sound/pci/oxygen/
Dxonar_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * helper functions for HDMI models (Xonar HDAV1.3/HDAV1.3 Slim)
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()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/hdmi/
Dhdmi.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <sound/hdmi-codec.h>
17 #include "hdmi.h"
19 void msm_hdmi_set_mode(struct hdmi *hdmi, bool power_on) in msm_hdmi_set_mode() argument
24 spin_lock_irqsave(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
27 if (!hdmi->hdmi_mode) { in msm_hdmi_set_mode()
29 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
38 hdmi_write(hdmi, REG_HDMI_CTRL, ctrl); in msm_hdmi_set_mode()
39 spin_unlock_irqrestore(&hdmi->reg_lock, flags); in msm_hdmi_set_mode()
40 DBG("HDMI Core: %s, HDMI_CTRL=0x%08x", in msm_hdmi_set_mode()
[all …]

12345678910>>...32