Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pci/controller/dwc/
Dpci-imx6.c68 struct imx6_pcie { struct
152 static unsigned int imx6_pcie_grp_offset(const struct imx6_pcie *imx6_pcie) in imx6_pcie_grp_offset() argument
154 WARN_ON(imx6_pcie->drvdata->variant != IMX8MQ && in imx6_pcie_grp_offset()
155 imx6_pcie->drvdata->variant != IMX8MM && in imx6_pcie_grp_offset()
156 imx6_pcie->drvdata->variant != IMX8MP); in imx6_pcie_grp_offset()
157 return imx6_pcie->controller_id == 1 ? IOMUXC_GPR16 : IOMUXC_GPR14; in imx6_pcie_grp_offset()
160 static void imx6_pcie_configure_type(struct imx6_pcie *imx6_pcie) in imx6_pcie_configure_type() argument
164 if (imx6_pcie->drvdata->variant == IMX8MQ && in imx6_pcie_configure_type()
165 imx6_pcie->controller_id == 1) { in imx6_pcie_configure_type()
175 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR12, mask, val); in imx6_pcie_configure_type()
[all …]