Home
last modified time | relevance | path

Searched refs:cec (Results 1 – 25 of 142) sorted by relevance

123456

/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-cec.c71 static void dw_hdmi_write(struct dw_hdmi_cec *cec, u8 val, int offset) in dw_hdmi_write() argument
73 cec->ops->write(cec->hdmi, val, offset); in dw_hdmi_write()
76 static u8 dw_hdmi_read(struct dw_hdmi_cec *cec, int offset) in dw_hdmi_read() argument
78 return cec->ops->read(cec->hdmi, offset); in dw_hdmi_read()
83 struct dw_hdmi_cec *cec = cec_get_drvdata(adap); in dw_hdmi_cec_log_addr() local
86 cec->addresses = 0; in dw_hdmi_cec_log_addr()
88 cec->addresses |= BIT(logical_addr) | BIT(15); in dw_hdmi_cec_log_addr()
90 dw_hdmi_write(cec, cec->addresses & 255, HDMI_CEC_ADDR_L); in dw_hdmi_cec_log_addr()
91 dw_hdmi_write(cec, cec->addresses >> 8, HDMI_CEC_ADDR_H); in dw_hdmi_cec_log_addr()
99 struct dw_hdmi_cec *cec = cec_get_drvdata(adap); in dw_hdmi_cec_transmit() local
[all …]
H A Ddw-hdmi-qp.c156 struct dw_hdmi_qp_cec *cec; member
993 struct dw_hdmi_qp_cec *cec = hdmi->cec; in dw_hdmi_qp_cec_hardirq() local
1004 cec->tx_status = CEC_TX_STATUS_ERROR; in dw_hdmi_qp_cec_hardirq()
1005 cec->tx_done = true; in dw_hdmi_qp_cec_hardirq()
1008 cec->tx_status = CEC_TX_STATUS_OK; in dw_hdmi_qp_cec_hardirq()
1009 cec->tx_done = true; in dw_hdmi_qp_cec_hardirq()
1012 cec->tx_status = CEC_TX_STATUS_NACK; in dw_hdmi_qp_cec_hardirq()
1013 cec->tx_done = true; in dw_hdmi_qp_cec_hardirq()
1023 if (len > sizeof(cec->rx_msg.msg)) in dw_hdmi_qp_cec_hardirq()
1024 len = sizeof(cec->rx_msg.msg); in dw_hdmi_qp_cec_hardirq()
[all …]
/linux/drivers/media/cec/platform/s5p/
H A Dexynos_hdmi_cecctrl.c23 void s5p_cec_set_divider(struct s5p_cec_dev *cec) in s5p_cec_set_divider() argument
30 if (regmap_read(cec->pmu, EXYNOS_HDMI_PHY_CONTROL, &reg)) { in s5p_cec_set_divider()
31 dev_err(cec->dev, "failed to read phy control\n"); in s5p_cec_set_divider()
37 if (regmap_write(cec->pmu, EXYNOS_HDMI_PHY_CONTROL, reg)) { in s5p_cec_set_divider()
38 dev_err(cec->dev, "failed to write phy control\n"); in s5p_cec_set_divider()
44 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_3); in s5p_cec_set_divider()
45 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_2); in s5p_cec_set_divider()
46 writeb(0x0, cec->reg + S5P_CEC_DIVISOR_1); in s5p_cec_set_divider()
47 writeb(div_val, cec->reg + S5P_CEC_DIVISOR_0); in s5p_cec_set_divider()
50 void s5p_cec_enable_rx(struct s5p_cec_dev *cec) in s5p_cec_enable_rx() argument
[all …]
H A Dexynos_hdmi_cec.h16 void s5p_cec_set_divider(struct s5p_cec_dev *cec);
17 void s5p_cec_enable_rx(struct s5p_cec_dev *cec);
18 void s5p_cec_mask_rx_interrupts(struct s5p_cec_dev *cec);
19 void s5p_cec_unmask_rx_interrupts(struct s5p_cec_dev *cec);
20 void s5p_cec_mask_tx_interrupts(struct s5p_cec_dev *cec);
21 void s5p_cec_unmask_tx_interrupts(struct s5p_cec_dev *cec);
22 void s5p_cec_reset(struct s5p_cec_dev *cec);
23 void s5p_cec_tx_reset(struct s5p_cec_dev *cec);
24 void s5p_cec_rx_reset(struct s5p_cec_dev *cec);
25 void s5p_cec_threshold(struct s5p_cec_dev *cec);
[all …]
H A DMakefile2 obj-$(CONFIG_CEC_SAMSUNG_S5P) += s5p-cec.o
3 s5p-cec-y += s5p_cec.o exynos_hdmi_cecctrl.o
/linux/drivers/media/cec/core/
H A DMakefile2 cec-objs := cec-core.o cec-adap.o cec-api.o
5 cec-objs += cec-notifier.o
9 cec-objs += cec-pin.o
13 cec-objs += cec-pin-error-inj.o
16 obj-$(CONFIG_CEC_CORE) += cec.o
/linux/Documentation/userspace-api/media/cec/
H A Dcec-funcs.rst13 cec-func-open
14 cec-func-close
15 cec-func-ioctl
16 cec-func-poll
17 cec-ioc-adap-g-caps
18 cec-ioc-adap-g-log-addrs
19 cec-ioc-adap-g-phys-addr
20 cec-ioc-adap-g-conn-info
21 cec-ioc-dqevent
22 cec-ioc-g-mode
[all …]
H A Dcec-func-ioctl.rst7 cec ioctl()
13 cec-ioctl - Control a cec device
31 CEC ioctl request code as defined in the cec.h header file, for
40 The :c:func:`ioctl()` function manipulates cec device parameters. The
43 The ioctl ``request`` code specifies the cec function to be called. It
47 Macros and structures definitions specifying cec ioctl requests and
48 their parameters are located in the cec.h header file. All cec ioctl
50 :ref:`cec-user-func`.
H A Dcec-func-close.rst7 cec close()
13 cec-close - Close a cec device
33 Closes the cec device. Resources associated with the file descriptor are
H A Dcec-func-open.rst7 cec open()
13 cec-open - Open a cec device
46 To open a cec device applications call :c:func:`open()` with the
H A Dcec-header.rst9 .. kernel-include:: include/uapi/linux/cec.h
11 :exception-file: cec.h.rst.exceptions
H A Dcec-intro.rst36 - cec-ctl: the Swiss army knife of CEC. Allows you to configure, transmit
39 - cec-compliance: does a CEC compliance test of a remote CEC device to
42 - cec-follower: emulates a CEC follower.
H A Dcec-ioc-adap-g-caps.rst33 All cec devices must support :ref:`ioctl CEC_ADAP_G_CAPS <CEC_ADAP_G_CAPS>`. To query
49 - The name of the cec adapter driver.
60 :ref:`cec-capabilities`.
145 :ref:`CEC_MSG_FL_REPLY_VENDOR_ID <cec-msg-flags>` can be used.
/linux/drivers/media/cec/i2c/
H A Dch7322.c153 struct cec_adapter *cec; member
267 cec_transmit_attempt_done(ch7322->cec, status); in ch7322_tx_done()
282 cec_received_msg(ch7322->cec, &msg); in ch7322_rx_done()
303 cec_s_phys_addr(ch7322->cec, pal | (pah << 8), false); in ch7322_phys_addr()
317 cec_phys_addr_invalidate(ch7322->cec); in ch7322_irq()
496 ch7322->cec = cec_allocate_adapter(&ch7322_cec_adap_ops, ch7322, in ch7322_probe()
500 if (IS_ERR(ch7322->cec)) { in ch7322_probe()
501 ret = PTR_ERR(ch7322->cec); in ch7322_probe()
505 ch7322->cec->adap_controls_phys_addr = true; in ch7322_probe()
510 ch7322->cec); in ch7322_probe()
[all …]
/linux/drivers/media/cec/usb/
H A DKconfig6 source "drivers/media/cec/usb/extron-da-hd-4k-plus/Kconfig"
7 source "drivers/media/cec/usb/pulse8/Kconfig"
8 source "drivers/media/cec/usb/rainshadow/Kconfig"
/linux/drivers/gpu/drm/tegra/
H A Doutput.c43 cec_notifier_set_phys_addr(output->cec, in tegra_output_connector_get_modes()
71 cec_notifier_phys_addr_invalidate(output->cec); in tegra_output_connector_detect()
80 if (output->cec) in tegra_output_connector_destroy()
81 cec_notifier_conn_unregister(output->cec); in tegra_output_connector_destroy()
227 output->cec = cec_notifier_conn_register(output->dev, NULL, in tegra_output_init()
229 if (!output->cec) in tegra_output_init()
/linux/drivers/media/rc/keymaps/
H A Drc-cec.c26 static struct rc_map_table cec[] = { variable
167 .scan = cec,
168 .size = ARRAY_SIZE(cec),
/linux/drivers/media/cec/
H A DKconfig38 source "drivers/media/cec/i2c/Kconfig"
39 source "drivers/media/cec/platform/Kconfig"
40 source "drivers/media/cec/usb/Kconfig"
/linux/drivers/media/cec/platform/meson/
H A DMakefile2 obj-$(CONFIG_CEC_MESON_AO) += ao-cec.o
3 obj-$(CONFIG_CEC_MESON_G12A_AO) += ao-cec-g12a.o
/linux/arch/arm/boot/dts/mediatek/
H A Dmt7623n.dtsi240 cec = <&cec>;
254 cec: cec@10012000 { label
255 compatible = "mediatek,mt7623-cec",
256 "mediatek,mt8173-cec";
/linux/drivers/media/cec/usb/pulse8/
H A DKconfig10 This is a cec driver for the Pulse Eight HDMI CEC device.
13 module will be called pulse8-cec.
/linux/drivers/media/cec/usb/rainshadow/
H A DKconfig10 This is a cec driver for the RainShadow Tech HDMI CEC device.
13 module will be called rainshadow-cec.
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm2711-rpi.dtsi61 clock-names = "hdmi", "bvb", "audio", "cec";
67 clock-names = "hdmi", "bvb", "audio", "cec";
H A Dbcm2711.dtsi347 "cec",
349 clock-names = "hdmi", "bvb", "audio", "cec";
354 interrupt-names = "cec-tx", "cec-rx", "cec-low",
388 "cec",
391 clock-names = "hdmi", "bvb", "audio", "cec";
396 interrupt-names = "cec-tx", "cec-rx", "cec-low",
/linux/arch/arm64/boot/dts/broadcom/
H A Dbcm2712.dtsi438 "cec",
444 interrupt-names = "cec-tx", "cec-rx", "cec-low",
467 "cec",
473 interrupt-names = "cec-tx", "cec-rx", "cec-low",

123456