Home
last modified time | relevance | path

Searched full:qmp (Results 1 – 25 of 70) sorted by relevance

123

/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-usbc.c25 #include <dt-bindings/phy/phy-qcom-qmp.h>
27 #include "phy-qcom-qmp-common.h"
29 #include "phy-qcom-qmp.h"
30 #include "phy-qcom-qmp-pcs-misc-v3.h"
32 #include "phy-qcom-qmp-dp-phy.h"
33 #include "phy-qcom-qmp-dp-phy-v2.h"
416 void (*dp_aux_init)(struct qmp_usbc *qmp);
417 void (*configure_dp_tx)(struct qmp_usbc *qmp);
418 int (*configure_dp_phy)(struct qmp_usbc *qmp);
419 int (*calibrate_dp_phy)(struct qmp_usbc *qmp);
689 qmp_usbc_set_phy_mode(struct qmp_usbc * qmp,bool is_dp) qmp_usbc_set_phy_mode() argument
697 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_com_init() local
735 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_com_exit() local
747 qmp_v2_dp_aux_init(struct qmp_usbc * qmp) qmp_v2_dp_aux_init() argument
777 qmp_v2_configure_dp_swing(struct qmp_usbc * qmp) qmp_v2_configure_dp_swing() argument
820 qmp_usbc_configure_dp_mode(struct qmp_usbc * qmp) qmp_usbc_configure_dp_mode() argument
836 qmp_usbc_configure_dp_clocks(struct qmp_usbc * qmp) qmp_usbc_configure_dp_clocks() argument
867 qmp_v2_configure_dp_tx(struct qmp_usbc * qmp) qmp_v2_configure_dp_tx() argument
890 qmp_v2_configure_dp_phy(struct qmp_usbc * qmp) qmp_v2_configure_dp_phy() argument
980 qmp_v2_calibrate_dp_phy(struct qmp_usbc * qmp) qmp_v2_calibrate_dp_phy() argument
996 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_usb_power_on() local
1052 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_usb_power_off() local
1071 qmp_usbc_check_phy_status(struct qmp_usbc * qmp,bool is_dp) qmp_usbc_check_phy_status() argument
1086 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_usb_enable() local
1116 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_usb_disable() local
1128 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_usb_set_mode() local
1137 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_dp_enable() local
1169 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_dp_disable() local
1185 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_dp_configure() local
1203 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_dp_calibrate() local
1222 qmp_usbc_dp_serdes_init(struct qmp_usbc * qmp) qmp_usbc_dp_serdes_init() argument
1254 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_dp_power_on() local
1288 struct qmp_usbc *qmp = phy_get_drvdata(phy); qmp_usbc_dp_power_off() local
1317 qmp_usbc_enable_autonomous_mode(struct qmp_usbc * qmp) qmp_usbc_enable_autonomous_mode() argument
1345 qmp_usbc_disable_autonomous_mode(struct qmp_usbc * qmp) qmp_usbc_disable_autonomous_mode() argument
1364 struct qmp_usbc *qmp = dev_get_drvdata(dev); qmp_usbc_runtime_suspend() local
1383 struct qmp_usbc *qmp = dev_get_drvdata(dev); qmp_usbc_runtime_resume() local
1414 qmp_usbc_reset_init(struct qmp_usbc * qmp,const char * const * reset_list,int num_resets) qmp_usbc_reset_init() argument
1439 qmp_usbc_clk_init(struct qmp_usbc * qmp) qmp_usbc_clk_init() argument
1459 struct qmp_usbc *qmp = data; qmp_usbc_clks_hw_get() local
1494 phy_pipe_clk_register(struct qmp_usbc * qmp,struct device_node * np) phy_pipe_clk_register() argument
1580 const struct qmp_usbc *qmp; qmp_dp_pixel_clk_recalc_rate() local
1618 const struct qmp_usbc *qmp; qmp_dp_link_clk_recalc_rate() local
1639 phy_dp_clks_register(struct qmp_usbc * qmp,struct device_node * np) phy_dp_clks_register() argument
1673 qmp_usbc_register_clocks(struct qmp_usbc * qmp,struct device_node * np) qmp_usbc_register_clocks() argument
1706 struct qmp_usbc *qmp = typec_switch_get_drvdata(sw); qmp_usbc_typec_switch_set() local
1730 struct qmp_usbc *qmp = data; qmp_usbc_typec_unregister() local
1735 qmp_usbc_typec_switch_register(struct qmp_usbc * qmp) qmp_usbc_typec_switch_register() argument
1752 qmp_usbc_typec_switch_register(struct qmp_usbc * qmp) qmp_usbc_typec_switch_register() argument
1758 qmp_usbc_parse_dt_legacy(struct qmp_usbc * qmp,struct device_node * np) qmp_usbc_parse_dt_legacy() argument
1820 qmp_usbc_parse_dt(struct qmp_usbc * qmp) qmp_usbc_parse_dt() argument
1870 qmp_usbc_parse_tcsr(struct qmp_usbc * qmp) qmp_usbc_parse_tcsr() argument
1900 struct qmp_usbc *qmp = dev_get_drvdata(dev); qmp_usbc_phy_xlate() local
1920 struct qmp_usbc *qmp; qmp_usbc_probe() local
[all...]
H A Dphy-qcom-qmp-usb-legacy.c23 #include "phy-qcom-qmp.h"
24 #include "phy-qcom-qmp-pcs-misc-v3.h"
25 #include "phy-qcom-qmp-pcs-usb-v4.h"
26 #include "phy-qcom-qmp-pcs-usb-v5.h"
28 #include "phy-qcom-qmp-dp-com-v3.h"
727 static int qmp_usb_legacy_serdes_init(struct qmp_usb *qmp) in qmp_usb_legacy_serdes_init() argument
729 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_usb_legacy_serdes_init()
730 void __iomem *serdes = qmp->serdes; in qmp_usb_legacy_serdes_init()
741 struct qmp_usb *qmp = phy_get_drvdata(phy); in qmp_usb_legacy_init_dp_com() local
742 void __iomem *dp_com = qmp->dp_com; in qmp_usb_legacy_init_dp_com()
[all …]
H A Dphy-qcom-qmp-pcie-msm8996.c22 #include "phy-qcom-qmp-common.h"
24 #include "phy-qcom-qmp.h"
179 * @qmp: QMP phy to which this lane belongs
191 struct qcom_qmp *qmp; member
196 * struct qcom_qmp - structure holding QMP phy block attributes
282 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_serdes_init() local
291 qmp_configure(qmp->dev, serdes, serdes_tbl, serdes_tbl_num); in qmp_pcie_msm8996_serdes_init()
301 dev_err(qmp in qmp_pcie_msm8996_serdes_init()
311 struct qcom_qmp *qmp = qphy->qmp; qmp_pcie_msm8996_com_init() local
364 struct qcom_qmp *qmp = qphy->qmp; qmp_pcie_msm8996_com_exit() local
395 struct qcom_qmp *qmp = qphy->qmp; qmp_pcie_msm8996_init() local
409 struct qcom_qmp *qmp = qphy->qmp; qmp_pcie_msm8996_power_on() local
531 struct qcom_qmp *qmp = dev_get_drvdata(dev); qmp_pcie_msm8996_vreg_init() local
547 struct qcom_qmp *qmp = dev_get_drvdata(dev); qmp_pcie_msm8996_reset_init() local
568 struct qcom_qmp *qmp = dev_get_drvdata(dev); qmp_pcie_msm8996_clk_init() local
605 phy_pipe_clk_register(struct qcom_qmp * qmp,struct device_node * np) phy_pipe_clk_register() argument
656 struct qcom_qmp *qmp = dev_get_drvdata(dev); qmp_pcie_msm8996_create() local
726 struct qcom_qmp *qmp; qmp_pcie_msm8996_probe() local
[all...]
H A Dphy-qcom-qmp-ufs.c24 #include "phy-qcom-qmp-common.h"
26 #include "phy-qcom-qmp.h"
27 #include "phy-qcom-qmp-pcs-ufs-v2.h"
28 #include "phy-qcom-qmp-pcs-ufs-v3.h"
29 #include "phy-qcom-qmp-pcs-ufs-v4.h"
30 #include "phy-qcom-qmp-pcs-ufs-v5.h"
31 #include "phy-qcom-qmp-pcs-ufs-v6.h"
33 #include "phy-qcom-qmp-qserdes-txrx-ufs-v6.h"
34 #include "phy-qcom-qmp-qserdes-txrx-ufs-v7.h"
1848 static void qmp_ufs_serdes_init(struct qmp_ufs *qmp, cons argument
1855 qmp_ufs_lanes_init(struct qmp_ufs * qmp,const struct qmp_phy_cfg_tbls * tbls) qmp_ufs_lanes_init() argument
1870 qmp_ufs_pcs_init(struct qmp_ufs * qmp,const struct qmp_phy_cfg_tbls * tbls) qmp_ufs_pcs_init() argument
1877 qmp_ufs_get_gear_overlay(struct qmp_ufs * qmp,const struct qmp_phy_cfg * cfg) qmp_ufs_get_gear_overlay() argument
1903 qmp_ufs_init_all(struct qmp_ufs * qmp,const struct qmp_phy_cfg_tbls * tbls) qmp_ufs_init_all() argument
1910 qmp_ufs_init_registers(struct qmp_ufs * qmp,const struct qmp_phy_cfg * cfg) qmp_ufs_init_registers() argument
1927 struct qmp_ufs *qmp = phy_get_drvdata(phy); qmp_ufs_power_on() local
1952 struct qmp_ufs *qmp = phy_get_drvdata(phy); qmp_ufs_phy_calibrate() local
1989 struct qmp_ufs *qmp = phy_get_drvdata(phy); qmp_ufs_power_off() local
2005 struct qmp_ufs *qmp = phy_get_drvdata(phy); qmp_ufs_set_mode() local
2021 struct qmp_ufs *qmp = phy_get_drvdata(phy); qmp_ufs_phy_init() local
2058 qmp_ufs_clk_init(struct qmp_ufs * qmp) qmp_ufs_clk_init() argument
2076 qmp_ufs_register_clocks(struct qmp_ufs * qmp,struct device_node * np) qmp_ufs_register_clocks() argument
2122 qmp_ufs_parse_dt_legacy(struct qmp_ufs * qmp,struct device_node * np) qmp_ufs_parse_dt_legacy() argument
2170 qmp_ufs_parse_dt(struct qmp_ufs * qmp) qmp_ufs_parse_dt() argument
2202 struct qmp_ufs *qmp; qmp_ufs_probe() local
[all...]
H A DKconfig54 tristate "Qualcomm QMP PHY Drivers"
60 tristate "Qualcomm QMP Combo PHY Driver"
68 Enable this to support the QMP Combo PHY transceiver that is used
72 tristate "Qualcomm QMP PCIe PHY Driver"
77 Enable this to support the QMP PCIe PHY transceiver that is used
81 tristate "Qualcomm QMP PCIe 8996 PHY Driver"
86 Enable this to support the QMP PCIe PHY transceiver that is used
90 tristate "Qualcomm QMP UFS PHY Driver"
94 Enable this to support the QMP UFS PHY transceiver that is used
98 tristate "Qualcomm QMP USB PHY Driver"
[all …]
H A DMakefile11 obj-$(CONFIG_PHY_QCOM_QMP_COMBO) += phy-qcom-qmp-combo.o phy-qcom-qmp-usbc.o
12 obj-$(CONFIG_PHY_QCOM_QMP_PCIE) += phy-qcom-qmp-pcie.o
13 obj-$(CONFIG_PHY_QCOM_QMP_PCIE_8996) += phy-qcom-qmp-pcie-msm8996.o
14 obj-$(CONFIG_PHY_QCOM_QMP_UFS) += phy-qcom-qmp-ufs.o
15 obj-$(CONFIG_PHY_QCOM_QMP_USB) += phy-qcom-qmp-usb.o
16 obj-$(CONFIG_PHY_QCOM_QMP_USB_LEGACY) += phy-qcom-qmp-usb-legacy.o
H A Dphy-qcom-qmp-pcs-ufs-v5.h1 /* Only for QMP V5 PHY - UFS PCS registers */
10 /* Only for QMP V5 PHY - UFS PCS registers */
H A Dphy-qcom-qmp-pcs-pcie-v5.h1 /* Only for QMP V5 PHY - PCS_PCIE registers */
10 /* Only for QMP V5 PHY - PCS_PCIE registers */
H A Dphy-qcom-qmp-qserdes-txrx-v4_20.h9 /* Only for QMP V4_20 PHY - TX registers */
16 /* Only for QMP V4_20 PHY - RX registers */
H A Dphy-qcom-qmp-qserdes-txrx-v3.h9 /* Only for QMP V3 PHY - TX registers */
36 /* Only for QMP V3 PHY - RX registers */
H A Dphy-qcom-qmp-qserdes-txrx-v5.h10 /* Only for QMP V5 PHY - TX registers */
100 /* Only for QMP V5 PHY - RX registers */
225 /* Only for QMP V5 UFS ? */
H A Dphy-qcom-qmp-qserdes-txrx-v5_20.h9 /* Only for QMP V5_20 PHY - TX registers */
19 /* Only for QMP V5_20 PHY - RX registers */
/linux/Documentation/devicetree/bindings/phy/
H A Dqcom,sc8280xp-qmp-pcie-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-pcie-phy.yaml#
7 title: Qualcomm QMP PHY controller (PCIe, SC8280XP)
13 The QMP PHY controller supports physical layer functionality for a number of
19 - qcom,eliza-qmp-gen3x1-pcie-phy
20 - qcom,eliza-qmp-gen3x2-pcie-phy
21 - qcom,glymur-qmp-gen4x2-pcie-phy
22 - qcom,glymur-qmp-gen5x4-pcie-phy
23 - qcom,kaanapali-qmp-gen3x2-pcie-phy
24 - qcom,qcs615-qmp-gen3x1-pcie-phy
25 - qcom,qcs8300-qmp
[all...]
H A Dqcom,msm8998-qmp-pcie-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,msm8998-qmp-pcie-phy.yaml#
7 title: Qualcomm QMP PHY controller (PCIe, MSM8998)
13 The QMP PHY controller supports physical layer functionality for a number of
18 const: qcom,msm8998-qmp-pcie-phy
75 compatible = "qcom,msm8998-qmp-pcie-phy";
H A Dqcom,msm8996-qmp-pcie-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,msm8996-qmp-pcie-phy.yaml#
7 title: Qualcomm QMP PHY controller (MSM8996 PCIe)
13 QMP PHY controller supports physical layer functionality for a number of
18 const: qcom,msm8996-qmp-pcie-phy
129 compatible = "qcom,msm8996-qmp-pcie-phy";
H A Dqcom,hdmi-phy-qmp.yaml5 $id: http://devicetree.org/schemas/phy/qcom,hdmi-phy-qmp.yaml#
8 title: Qualcomm Adreno/Snapdragon QMP HDMI phy
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,aoss-qmp.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,aoss-qmp.yaml#
18 Messaging Protocol (QMP)
28 - qcom,eliza-aoss-qmp
29 - qcom,glymur-aoss-qmp
30 - qcom,hawi-aoss-qmp
31 - qcom,kaanapali-aoss-qmp
32 - qcom,milos-aoss-qmp
33 - qcom,qcs615-aoss-qmp
34 - qcom,qcs8300-aoss-qmp
35 - qcom,qdu1000-aoss-qmp
[all...]
H A Dqcom-stats.yaml34 qcom,qmp:
50 qcom,qmp: false
/linux/include/linux/soc/qcom/
H A Dqcom_aoss.h12 struct qmp;
16 int qmp_send(struct qmp *qmp, const char *fmt, ...);
17 struct qmp *qmp_get(struct device *dev);
18 void qmp_put(struct qmp *qmp);
22 static inline int qmp_send(struct qmp *qmp, const char *fmt, ...) in qmp_send() argument
27 static inline struct qmp *qmp_get(struct device *dev) in qmp_get()
32 static inline void qmp_put(struct qmp *qmp) in qmp_put() argument
/linux/drivers/net/ipa/
H A Dipa_power.c41 * @qmp: QMP handle for AOSS communication
48 struct qmp *qmp; member
199 struct qmp *qmp = qmp_get(power->dev); in ipa_power_retention_init() local
201 if (IS_ERR(qmp)) { in ipa_power_retention_init()
202 if (PTR_ERR(qmp) == -EPROBE_DEFER) in ipa_power_retention_init()
206 qmp = NULL; in ipa_power_retention_init()
208 power->qmp = qmp; in ipa_power_retention_init()
215 qmp_put(power->qmp); in ipa_power_retention_exit()
216 power->qmp = NULL; in ipa_power_retention_exit()
226 if (!power->qmp) in ipa_power_retention()
[all …]
/linux/drivers/soc/qcom/
H A Dqcom_stats.c41 static struct qmp *qcom_stats_qmp;
206 * Send QMP message to Always on processor which will in qcom_ddr_stats_show()
327 * QMP is used for DDR stats syncing to MSG RAM for recent SoCs (SM8450 onwards). in qcom_stats_probe()
328 * The prior SoCs do not need QMP handle as the required stats are already present in qcom_stats_probe()
333 /* We ignore error if QMP is not defined/needed */ in qcom_stats_probe()
334 if (!of_property_present(pdev->dev.of_node, "qcom,qmp")) in qcom_stats_probe()
/linux/drivers/remoteproc/
H A Dqcom_q6v5.h20 struct qmp *qmp; member
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,sc7280-adsp-pil.yaml105 qcom,qmp:
142 - qcom,qmp
189 qcom,qmp = <&aoss_qmp>;
H A Dqcom,sm6350-pas.yaml34 qcom,qmp:
152 qcom,qmp = <&aoss_qmp>;
H A Dqcom,sc7180-pas.yaml41 qcom,qmp:
176 qcom,qmp = <&aoss_qmp>;

123