Home
last modified time | relevance | path

Searched full:mhdp (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-hdcp.c18 static int cdns_mhdp_secure_mailbox_read(struct cdns_mhdp_device *mhdp) in cdns_mhdp_secure_mailbox_read() argument
22 WARN_ON(!mutex_is_locked(&mhdp->mbox_mutex)); in cdns_mhdp_secure_mailbox_read()
24 ret = readx_poll_timeout(readl, mhdp->sapb_regs + CDNS_MAILBOX_EMPTY, in cdns_mhdp_secure_mailbox_read()
30 return readl(mhdp->sapb_regs + CDNS_MAILBOX_RX_DATA) & 0xff; in cdns_mhdp_secure_mailbox_read()
33 static int cdns_mhdp_secure_mailbox_write(struct cdns_mhdp_device *mhdp, in cdns_mhdp_secure_mailbox_write() argument
38 WARN_ON(!mutex_is_locked(&mhdp->mbox_mutex)); in cdns_mhdp_secure_mailbox_write()
40 ret = readx_poll_timeout(readl, mhdp->sapb_regs + CDNS_MAILBOX_FULL, in cdns_mhdp_secure_mailbox_write()
46 writel(val, mhdp->sapb_regs + CDNS_MAILBOX_TX_DATA); in cdns_mhdp_secure_mailbox_write()
51 static int cdns_mhdp_secure_mailbox_recv_header(struct cdns_mhdp_device *mhdp, in cdns_mhdp_secure_mailbox_recv_header() argument
62 ret = cdns_mhdp_secure_mailbox_read(mhdp); in cdns_mhdp_secure_mailbox_recv_header()
[all …]
Dcdns-mhdp8546-core.c58 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); in cdns_mhdp_bridge_hpd_enable() local
61 if (mhdp->bridge_attached) in cdns_mhdp_bridge_hpd_enable()
62 writel(readl(mhdp->regs + CDNS_APB_INT_MASK) & in cdns_mhdp_bridge_hpd_enable()
64 mhdp->regs + CDNS_APB_INT_MASK); in cdns_mhdp_bridge_hpd_enable()
69 struct cdns_mhdp_device *mhdp = bridge_to_mhdp(bridge); in cdns_mhdp_bridge_hpd_disable() local
71 writel(readl(mhdp->regs + CDNS_APB_INT_MASK) | in cdns_mhdp_bridge_hpd_disable()
73 mhdp->regs + CDNS_APB_INT_MASK); in cdns_mhdp_bridge_hpd_disable()
76 static int cdns_mhdp_mailbox_read(struct cdns_mhdp_device *mhdp) in cdns_mhdp_mailbox_read() argument
80 WARN_ON(!mutex_is_locked(&mhdp->mbox_mutex)); in cdns_mhdp_mailbox_read()
82 ret = readx_poll_timeout(readl, mhdp->regs + CDNS_MAILBOX_EMPTY, in cdns_mhdp_mailbox_read()
[all …]
Dcdns-mhdp8546-j721e.c43 static int cdns_mhdp_j721e_init(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_init() argument
45 struct platform_device *pdev = to_platform_device(mhdp->dev); in cdns_mhdp_j721e_init()
47 mhdp->j721e_regs = devm_platform_ioremap_resource(pdev, 1); in cdns_mhdp_j721e_init()
48 return PTR_ERR_OR_ZERO(mhdp->j721e_regs); in cdns_mhdp_j721e_init()
51 static void cdns_mhdp_j721e_enable(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_enable() argument
59 mhdp->j721e_regs + DPTX_SRC_CFG); in cdns_mhdp_j721e_enable()
62 static void cdns_mhdp_j721e_disable(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_disable() argument
65 writel(0, mhdp->j721e_regs + DPTX_DSC_CFG); in cdns_mhdp_j721e_disable()
Dcdns-mhdp8546-hdcp.h85 int cdns_mhdp_hdcp_set_public_key_param(struct cdns_mhdp_device *mhdp,
87 int cdns_mhdp_hdcp_set_lc(struct cdns_mhdp_device *mhdp, u8 *val);
88 int cdns_mhdp_hdcp_enable(struct cdns_mhdp_device *mhdp, u8 content_type);
89 int cdns_mhdp_hdcp_disable(struct cdns_mhdp_device *mhdp);
90 void cdns_mhdp_hdcp_init(struct cdns_mhdp_device *mhdp);
Dcdns-mhdp8546-core.h315 * These enums present MHDP hw initialization state
327 int (*init)(struct cdns_mhdp_device *mhdp);
328 void (*exit)(struct cdns_mhdp_device *mhdp);
329 void (*enable)(struct cdns_mhdp_device *mhdp);
330 void (*disable)(struct cdns_mhdp_device *mhdp);
420 u32 cdns_mhdp_wait_for_sw_event(struct cdns_mhdp_device *mhdp, uint32_t event);
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c55 static int cdns_mhdp_mailbox_read(struct cdns_mhdp_device *mhdp) in cdns_mhdp_mailbox_read() argument
59 WARN_ON(!mutex_is_locked(&mhdp->mbox_mutex)); in cdns_mhdp_mailbox_read()
61 ret = readx_poll_timeout(readl, mhdp->regs + CDNS_MAILBOX_EMPTY, in cdns_mhdp_mailbox_read()
67 return readl(mhdp->regs + CDNS_MAILBOX_RX_DATA) & 0xff; in cdns_mhdp_mailbox_read()
70 static int cdns_mhdp_mailbox_write(struct cdns_mhdp_device *mhdp, u8 val) in cdns_mhdp_mailbox_write() argument
74 WARN_ON(!mutex_is_locked(&mhdp->mbox_mutex)); in cdns_mhdp_mailbox_write()
76 ret = readx_poll_timeout(readl, mhdp->regs + CDNS_MAILBOX_FULL, in cdns_mhdp_mailbox_write()
82 writel(val, mhdp->regs + CDNS_MAILBOX_TX_DATA); in cdns_mhdp_mailbox_write()
87 static int cdns_mhdp_mailbox_recv_header(struct cdns_mhdp_device *mhdp, in cdns_mhdp_mailbox_recv_header() argument
97 ret = cdns_mhdp_mailbox_read(mhdp); in cdns_mhdp_mailbox_recv_header()
[all …]
Dcdns-mhdp8546-j721e.c43 static int cdns_mhdp_j721e_init(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_init() argument
45 struct platform_device *pdev = to_platform_device(mhdp->dev); in cdns_mhdp_j721e_init()
47 mhdp->j721e_regs = devm_platform_ioremap_resource(pdev, 1); in cdns_mhdp_j721e_init()
48 return PTR_ERR_OR_ZERO(mhdp->j721e_regs); in cdns_mhdp_j721e_init()
51 static void cdns_mhdp_j721e_enable(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_enable() argument
59 mhdp->j721e_regs + DPTX_SRC_CFG); in cdns_mhdp_j721e_enable()
62 static void cdns_mhdp_j721e_disable(struct cdns_mhdp_device *mhdp) in cdns_mhdp_j721e_disable() argument
65 writel(0, mhdp->j721e_regs + DPTX_DSC_CFG); in cdns_mhdp_j721e_disable()
Dcdns-mhdp8546-core.h311 * These enums present MHDP hw initialization state
323 int (*init)(struct cdns_mhdp_device *mhdp);
324 void (*exit)(struct cdns_mhdp_device *mhdp);
325 void (*enable)(struct cdns_mhdp_device *mhdp);
326 void (*disable)(struct cdns_mhdp_device *mhdp);
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch73 + tristate "Cadence MHDP COMMON API driver"
78 + Support Cadence MHDP API library.
89 + tristate "Cadence MHDP Audio driver"
101 + tristate "Cadence MHDP HDMI CEC driver"
113 +cdns_mhdp_drmcore-y := cdns-mhdp-common.o cdns-mhdp-dp.o cdns-mhdp-hdmi.o
117 +cdns_mhdp_drmcore-$(CONFIG_DRM_CDNS_AUDIO) += cdns-mhdp-audio.o
118 +cdns_mhdp_drmcore-$(CONFIG_DRM_CDNS_HDCP) += cdns-mhdp-hdcp.o cdns-hdcp-common.o
119 +cdns_mhdp_drmcore-$(CONFIG_DRM_CDNS_HDMI_CEC) += cdns-mhdp-cec.o
139 +#include <drm/bridge/cdns-mhdp.h>
156 +#include "cdns-mhdp-hdcp.h"
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/
Dcdns,mhdp8546.yaml135 mhdp: dp-bridge@f0fb000000 {
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/
Dcdns,mhdp8546.yaml140 mhdp: dp-bridge@f0fb000000 {
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dphy-cadence-torrent.yaml11 hardware included with the Cadence MHDP DisplayPort controller. Torrent
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
Dphy-cadence-torrent.yaml11 hardware included with the Cadence MHDP DisplayPort controller. Torrent
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch9 diff --git a/include/drm/bridge/cdns-mhdp.h b/include/drm/bridge/cdns-mhdp.h
13 +++ b/include/drm/bridge/cdns-mhdp.h
126 +/* mhdp tx_top_comp */
551 +#define cdns_mhdp_plat_call(mhdp, operation) \
552 + (!(mhdp) ? -ENODEV : (((mhdp)->plat_data && (mhdp)->plat_data->operation) ? \
553 + (mhdp)->plat_data->operation(mhdp) : ENOIOCTLCMD))
666 + struct cdns_mhdp_device *mhdp;
698 + struct cdns_mhdp_device *mhdp);
701 + void (*plat_init)(struct cdns_mhdp_device *mhdp);
702 + void (*plat_deinit)(struct cdns_mhdp_device *mhdp);
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/ti/
Dk3-j721e-common-proc-board.dts920 &mhdp {
Dk3-j721e-beagleboneai64.dts706 &mhdp {
Dk3-j721e-sk.dts922 &mhdp {
Dk3-j721e-main.dtsi1715 mhdp: dp-bridge@a000000 { label
/kernel/linux/linux-6.6/drivers/platform/x86/
Dthink-lmi.c460 sprintf(pwd_type, "mhdp%d", setting->index); in new_password_store()
/kernel/linux/linux-5.10/drivers/phy/cadence/
Dphy-cadence-torrent.c56 * register offsets from DPTX PHY register block base (i.e MHDP
76 * register offsets from SD0801 PHY register block base (i.e MHDP
/kernel/linux/linux-6.6/drivers/phy/cadence/
Dphy-cadence-torrent.c62 * register offsets from DPTX PHY register block base (i.e MHDP
77 * register offsets from SD0801 PHY register block base (i.e MHDP