Home
last modified time | relevance | path

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

/openbmc/linux/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.c566 if (!qphy->cell) in qusb2_phy_set_tune2_param()
602 qphy->mode = mode; in qusb2_phy_set_mode()
736 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init()
807 if (qphy->tcsr) { in qusb2_phy_init()
808 ret = regmap_read(qphy->tcsr, qphy->cfg->clk_scheme_offset, in qusb2_phy_init()
871 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_init()
881 qusb2_setbits(qphy->base, qphy->cfg->regs[QUSB2PHY_PORT_POWERDOWN], in qusb2_phy_exit()
892 regulator_bulk_disable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qusb2_phy_exit()
968 qphy = devm_kzalloc(dev, sizeof(*qphy), GFP_KERNEL); in qusb2_phy_probe()
969 if (!qphy) in qusb2_phy_probe()
[all …]
H A Dphy-qcom-m31.c186 if (qphy->ulpi_mode) in m31usb_phy_init()
227 struct m31usb_phy *qphy; in m31usb_phy_probe() local
229 qphy = devm_kzalloc(dev, sizeof(*qphy), GFP_KERNEL); in m31usb_phy_probe()
230 if (!qphy) in m31usb_phy_probe()
234 if (IS_ERR(qphy->base)) in m31usb_phy_probe()
238 if (IS_ERR(qphy->reset)) in m31usb_phy_probe()
242 if (IS_ERR(qphy->clk)) in m31usb_phy_probe()
247 qphy->regs = data->regs; in m31usb_phy_probe()
252 if (IS_ERR(qphy->phy)) in m31usb_phy_probe()
257 if (IS_ERR(qphy->vreg)) in m31usb_phy_probe()
[all …]
H A Dphy-qcom-qmp-pcie-msm8996.c479 qphy->index); in qmp_pcie_msm8996_power_on()
714 struct qmp_phy *qphy; in qmp_pcie_msm8996_create() local
717 qphy = devm_kzalloc(dev, sizeof(*qphy), GFP_KERNEL); in qmp_pcie_msm8996_create()
718 if (!qphy) in qmp_pcie_msm8996_create()
721 qphy->cfg = cfg; in qmp_pcie_msm8996_create()
722 qphy->serdes = serdes; in qmp_pcie_msm8996_create()
728 if (IS_ERR(qphy->tx)) in qmp_pcie_msm8996_create()
732 if (IS_ERR(qphy->rx)) in qmp_pcie_msm8996_create()
763 qphy->index = id; in qmp_pcie_msm8996_create()
764 qphy->qmp = qmp; in qmp_pcie_msm8996_create()
[all …]
/openbmc/linux/drivers/pmdomain/qcom/
H A Drpmhpd.c200 static struct rpmhpd qphy = { variable
541 [SC8280XP_QPHY] = &qphy,