Home
last modified time | relevance | path

Searched refs:qphy (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/phy/qualcomm/
H A Dphy-qcom-pcie2.c61 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qcom_pcie2_phy_init()
191 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qcom_pcie2_phy_exit()
256 struct qcom_phy *qphy; in qcom_pcie2_phy_probe() local
261 qphy = devm_kzalloc(dev, sizeof(*qphy), GFP_KERNEL); in qcom_pcie2_phy_probe()
262 if (!qphy) in qcom_pcie2_phy_probe()
265 qphy->dev = dev; in qcom_pcie2_phy_probe()
267 if (IS_ERR(qphy->base)) in qcom_pcie2_phy_probe()
268 return PTR_ERR(qphy->base); in qcom_pcie2_phy_probe()
278 ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(qphy->vregs), qphy->vregs); in qcom_pcie2_phy_probe()
283 if (IS_ERR(qphy->pipe_clk)) { in qcom_pcie2_phy_probe()
[all …]
H A Dphy-qcom-qusb2.c615 if (!qphy->cell) in qusb2_phy_set_tune2_param()
651 qphy->mode = mode; in qusb2_phy_set_mode()
785 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init()
856 if (qphy->tcsr) { in qusb2_phy_init()
857 ret = regmap_read(qphy->tcsr, qphy->cfg->clk_scheme_offset, in qusb2_phy_init()
920 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init()
930 qusb2_setbits(qphy->base, qphy->cfg->regs[QUSB2PHY_PORT_POWERDOWN], in qusb2_phy_exit()
941 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_exit()
1023 qphy = devm_kzalloc(dev, sizeof(*qphy), GFP_KERNEL); in qusb2_phy_probe()
1024 if (!qphy) in qusb2_phy_probe()
[all …]
H A Dphy-qcom-m31.c230 if (qphy->ulpi_mode) in m31usb_phy_init()
271 struct m31usb_phy *qphy; in m31usb_phy_probe() local
273 qphy = devm_kzalloc(dev, sizeof(*qphy), GFP_KERNEL); in m31usb_phy_probe()
274 if (!qphy) in m31usb_phy_probe()
278 if (IS_ERR(qphy->base)) in m31usb_phy_probe()
282 if (IS_ERR(qphy->reset)) in m31usb_phy_probe()
286 if (IS_ERR(qphy->clk)) in m31usb_phy_probe()
291 qphy->regs = data->regs; in m31usb_phy_probe()
296 if (IS_ERR(qphy->phy)) in m31usb_phy_probe()
301 if (IS_ERR(qphy->vreg)) in m31usb_phy_probe()
[all …]
H A Dphy-qcom-qmp-pcie-msm8996.c423 qphy->index); in qmp_pcie_msm8996_power_on()
658 struct qmp_phy *qphy; in qmp_pcie_msm8996_create() local
661 qphy = devm_kzalloc(dev, sizeof(*qphy), GFP_KERNEL); in qmp_pcie_msm8996_create()
662 if (!qphy) in qmp_pcie_msm8996_create()
665 qphy->cfg = cfg; in qmp_pcie_msm8996_create()
666 qphy->serdes = serdes; in qmp_pcie_msm8996_create()
672 if (IS_ERR(qphy->tx)) in qmp_pcie_msm8996_create()
676 if (IS_ERR(qphy->rx)) in qmp_pcie_msm8996_create()
707 qphy->index = id; in qmp_pcie_msm8996_create()
708 qphy->qmp = qmp; in qmp_pcie_msm8996_create()
[all …]
/linux-6.15/drivers/pmdomain/qcom/
H A Drpmhpd.c210 static struct rpmhpd qphy = { variable
278 [RPMHPD_QPHY] = &qphy,
646 [SC8280XP_QPHY] = &qphy,