padctl            220 drivers/phy/tegra/xusb-tegra124.c to_tegra124_xusb_padctl(struct tegra_xusb_padctl *padctl)
padctl            222 drivers/phy/tegra/xusb-tegra124.c 	return container_of(padctl, struct tegra124_xusb_padctl, base);
padctl            225 drivers/phy/tegra/xusb-tegra124.c static int tegra124_xusb_padctl_enable(struct tegra_xusb_padctl *padctl)
padctl            229 drivers/phy/tegra/xusb-tegra124.c 	mutex_lock(&padctl->lock);
padctl            231 drivers/phy/tegra/xusb-tegra124.c 	if (padctl->enable++ > 0)
padctl            234 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            236 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            240 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            242 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            246 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            248 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            251 drivers/phy/tegra/xusb-tegra124.c 	mutex_unlock(&padctl->lock);
padctl            255 drivers/phy/tegra/xusb-tegra124.c static int tegra124_xusb_padctl_disable(struct tegra_xusb_padctl *padctl)
padctl            259 drivers/phy/tegra/xusb-tegra124.c 	mutex_lock(&padctl->lock);
padctl            261 drivers/phy/tegra/xusb-tegra124.c 	if (WARN_ON(padctl->enable == 0))
padctl            264 drivers/phy/tegra/xusb-tegra124.c 	if (--padctl->enable > 0)
padctl            267 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            269 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            273 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            275 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            279 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            281 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            284 drivers/phy/tegra/xusb-tegra124.c 	mutex_unlock(&padctl->lock);
padctl            288 drivers/phy/tegra/xusb-tegra124.c static int tegra124_usb3_save_context(struct tegra_xusb_padctl *padctl,
padctl            295 drivers/phy/tegra/xusb-tegra124.c 	port = tegra_xusb_find_usb3_port(padctl, index);
padctl            302 drivers/phy/tegra/xusb-tegra124.c 	if (lane->pad == padctl->pcie)
padctl            307 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset);
padctl            312 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, offset);
padctl            314 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset) >>
padctl            318 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset);
padctl            323 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, offset);
padctl            325 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset) >>
padctl            329 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_USB3_PADX_CTL4(index));
padctl            338 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_USB3_PADX_CTL4(index));
padctl            340 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset);
padctl            345 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, offset);
padctl            347 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset);
padctl            352 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, offset);
padctl            354 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset) >>
padctl            359 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset);
padctl            364 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, offset);
padctl            366 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset) >>
padctl            371 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_USB3_PADX_CTL2(index));
padctl            380 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_USB3_PADX_CTL2(index));
padctl            385 drivers/phy/tegra/xusb-tegra124.c static int tegra124_hsic_set_idle(struct tegra_xusb_padctl *padctl,
padctl            390 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl            399 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl            468 drivers/phy/tegra/xusb-tegra124.c 	return tegra124_xusb_padctl_enable(lane->pad->padctl);
padctl            475 drivers/phy/tegra/xusb-tegra124.c 	return tegra124_xusb_padctl_disable(lane->pad->padctl);
padctl            483 drivers/phy/tegra/xusb-tegra124.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            490 drivers/phy/tegra/xusb-tegra124.c 	port = tegra_xusb_find_usb2_port(padctl, index);
padctl            496 drivers/phy/tegra/xusb-tegra124.c 	priv = to_tegra124_xusb_padctl(padctl);
padctl            498 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl            507 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl            509 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_PORT_CAP);
padctl            514 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_PORT_CAP);
padctl            516 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index));
padctl            533 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index));
padctl            535 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
padctl            547 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
padctl            558 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl            560 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl            571 drivers/phy/tegra/xusb-tegra124.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            575 drivers/phy/tegra/xusb-tegra124.c 	port = tegra_xusb_find_usb2_port(padctl, lane->index);
padctl            590 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl            592 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl            609 drivers/phy/tegra/xusb-tegra124.c tegra124_usb2_pad_probe(struct tegra_xusb_padctl *padctl,
padctl            627 drivers/phy/tegra/xusb-tegra124.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl            717 drivers/phy/tegra/xusb-tegra124.c 	return tegra124_xusb_padctl_enable(lane->pad->padctl);
padctl            724 drivers/phy/tegra/xusb-tegra124.c 	return tegra124_xusb_padctl_disable(lane->pad->padctl);
padctl            746 drivers/phy/tegra/xusb-tegra124.c tegra124_ulpi_pad_probe(struct tegra_xusb_padctl *padctl,
padctl            762 drivers/phy/tegra/xusb-tegra124.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl            853 drivers/phy/tegra/xusb-tegra124.c 	return tegra124_xusb_padctl_enable(lane->pad->padctl);
padctl            860 drivers/phy/tegra/xusb-tegra124.c 	return tegra124_xusb_padctl_disable(lane->pad->padctl);
padctl            868 drivers/phy/tegra/xusb-tegra124.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            877 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, hsic->strobe_trim,
padctl            880 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl            887 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl            889 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL0(index));
padctl            906 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL0(index));
padctl            908 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL2(index));
padctl            917 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL2(index));
padctl            919 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl            928 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl            937 drivers/phy/tegra/xusb-tegra124.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            941 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl            946 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl            962 drivers/phy/tegra/xusb-tegra124.c tegra124_hsic_pad_probe(struct tegra_xusb_padctl *padctl,
padctl            978 drivers/phy/tegra/xusb-tegra124.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl           1073 drivers/phy/tegra/xusb-tegra124.c 	return tegra124_xusb_padctl_enable(lane->pad->padctl);
padctl           1080 drivers/phy/tegra/xusb-tegra124.c 	return tegra124_xusb_padctl_disable(lane->pad->padctl);
padctl           1086 drivers/phy/tegra/xusb-tegra124.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1091 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl           1093 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl           1095 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_P0_CTL2);
padctl           1099 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_P0_CTL2);
padctl           1101 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl           1103 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl           1108 drivers/phy/tegra/xusb-tegra124.c 		value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl           1117 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1119 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1127 drivers/phy/tegra/xusb-tegra124.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1130 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1132 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1134 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl           1136 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl           1150 drivers/phy/tegra/xusb-tegra124.c tegra124_pcie_pad_probe(struct tegra_xusb_padctl *padctl,
padctl           1166 drivers/phy/tegra/xusb-tegra124.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl           1251 drivers/phy/tegra/xusb-tegra124.c 	return tegra124_xusb_padctl_enable(lane->pad->padctl);
padctl           1258 drivers/phy/tegra/xusb-tegra124.c 	return tegra124_xusb_padctl_disable(lane->pad->padctl);
padctl           1264 drivers/phy/tegra/xusb-tegra124.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1269 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1);
padctl           1272 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1);
padctl           1274 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1277 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1279 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1281 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1283 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1285 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1290 drivers/phy/tegra/xusb-tegra124.c 		value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1299 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1301 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1309 drivers/phy/tegra/xusb-tegra124.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1312 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1314 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1316 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1318 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1320 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1322 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1324 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1327 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1329 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1);
padctl           1332 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1);
padctl           1346 drivers/phy/tegra/xusb-tegra124.c tegra124_sata_pad_probe(struct tegra_xusb_padctl *padctl,
padctl           1362 drivers/phy/tegra/xusb-tegra124.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl           1421 drivers/phy/tegra/xusb-tegra124.c 	return tegra_xusb_find_lane(port->padctl, "usb2", port->index);
padctl           1442 drivers/phy/tegra/xusb-tegra124.c 	return tegra_xusb_find_lane(port->padctl, "ulpi", port->index);
padctl           1463 drivers/phy/tegra/xusb-tegra124.c 	return tegra_xusb_find_lane(port->padctl, "hsic", port->index);
padctl           1475 drivers/phy/tegra/xusb-tegra124.c 	struct tegra_xusb_padctl *padctl = port->padctl;
padctl           1480 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_SS_PORT_MAP);
padctl           1489 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_SS_PORT_MAP);
padctl           1496 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_USB3_PADX_CTL2(index));
padctl           1521 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_USB3_PADX_CTL2(index));
padctl           1536 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_USB3_PADX_CTL4(index));
padctl           1538 drivers/phy/tegra/xusb-tegra124.c 	if (lane->pad == padctl->pcie)
padctl           1543 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset);
padctl           1548 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, offset);
padctl           1550 drivers/phy/tegra/xusb-tegra124.c 	if (lane->pad == padctl->pcie)
padctl           1555 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, offset);
padctl           1557 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, offset);
padctl           1560 drivers/phy/tegra/xusb-tegra124.c 	if (lane->pad == padctl->sata) {
padctl           1561 drivers/phy/tegra/xusb-tegra124.c 		value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1566 drivers/phy/tegra/xusb-tegra124.c 		padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl           1568 drivers/phy/tegra/xusb-tegra124.c 		value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL2);
padctl           1583 drivers/phy/tegra/xusb-tegra124.c 		padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL2);
padctl           1585 drivers/phy/tegra/xusb-tegra124.c 		value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL3);
padctl           1587 drivers/phy/tegra/xusb-tegra124.c 		padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL3);
padctl           1590 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1592 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1596 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1598 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1602 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1604 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1611 drivers/phy/tegra/xusb-tegra124.c 	struct tegra_xusb_padctl *padctl = port->padctl;
padctl           1614 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1616 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1620 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1622 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1626 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1628 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl           1630 drivers/phy/tegra/xusb-tegra124.c 	value = padctl_readl(padctl, XUSB_PADCTL_SS_PORT_MAP);
padctl           1633 drivers/phy/tegra/xusb-tegra124.c 	padctl_writel(padctl, value, XUSB_PADCTL_SS_PORT_MAP);
padctl           1688 drivers/phy/tegra/xusb-tegra124.c 	struct tegra124_xusb_padctl *padctl;
padctl           1691 drivers/phy/tegra/xusb-tegra124.c 	padctl = devm_kzalloc(dev, sizeof(*padctl), GFP_KERNEL);
padctl           1692 drivers/phy/tegra/xusb-tegra124.c 	if (!padctl)
padctl           1695 drivers/phy/tegra/xusb-tegra124.c 	padctl->base.dev = dev;
padctl           1696 drivers/phy/tegra/xusb-tegra124.c 	padctl->base.soc = soc;
padctl           1698 drivers/phy/tegra/xusb-tegra124.c 	err = tegra124_xusb_read_fuse_calibration(&padctl->fuse);
padctl           1702 drivers/phy/tegra/xusb-tegra124.c 	return &padctl->base;
padctl           1705 drivers/phy/tegra/xusb-tegra124.c static void tegra124_xusb_padctl_remove(struct tegra_xusb_padctl *padctl)
padctl            140 drivers/phy/tegra/xusb-tegra186.c to_tegra186_xusb_padctl(struct tegra_xusb_padctl *padctl)
padctl            142 drivers/phy/tegra/xusb-tegra186.c 	return container_of(padctl, struct tegra186_xusb_padctl, base);
padctl            184 drivers/phy/tegra/xusb-tegra186.c static void tegra186_utmi_bias_pad_power_on(struct tegra_xusb_padctl *padctl)
padctl            186 drivers/phy/tegra/xusb-tegra186.c 	struct tegra186_xusb_padctl *priv = to_tegra186_xusb_padctl(padctl);
padctl            187 drivers/phy/tegra/xusb-tegra186.c 	struct device *dev = padctl->dev;
padctl            191 drivers/phy/tegra/xusb-tegra186.c 	mutex_lock(&padctl->lock);
padctl            194 drivers/phy/tegra/xusb-tegra186.c 		mutex_unlock(&padctl->lock);
padctl            202 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL1);
padctl            207 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL1);
padctl            209 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl            213 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl            217 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL1);
padctl            219 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL1);
padctl            221 drivers/phy/tegra/xusb-tegra186.c 	mutex_unlock(&padctl->lock);
padctl            224 drivers/phy/tegra/xusb-tegra186.c static void tegra186_utmi_bias_pad_power_off(struct tegra_xusb_padctl *padctl)
padctl            226 drivers/phy/tegra/xusb-tegra186.c 	struct tegra186_xusb_padctl *priv = to_tegra186_xusb_padctl(padctl);
padctl            229 drivers/phy/tegra/xusb-tegra186.c 	mutex_lock(&padctl->lock);
padctl            232 drivers/phy/tegra/xusb-tegra186.c 		mutex_unlock(&padctl->lock);
padctl            237 drivers/phy/tegra/xusb-tegra186.c 		mutex_unlock(&padctl->lock);
padctl            241 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL1);
padctl            243 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL1);
padctl            247 drivers/phy/tegra/xusb-tegra186.c 	mutex_unlock(&padctl->lock);
padctl            253 drivers/phy/tegra/xusb-tegra186.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            255 drivers/phy/tegra/xusb-tegra186.c 	struct device *dev = padctl->dev;
padctl            262 drivers/phy/tegra/xusb-tegra186.c 	port = tegra_xusb_find_usb2_port(padctl, index);
padctl            268 drivers/phy/tegra/xusb-tegra186.c 	tegra186_utmi_bias_pad_power_on(padctl);
padctl            272 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index));
padctl            274 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index));
padctl            276 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
padctl            278 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
padctl            284 drivers/phy/tegra/xusb-tegra186.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            291 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index));
padctl            293 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index));
padctl            295 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
padctl            297 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
padctl            301 drivers/phy/tegra/xusb-tegra186.c 	tegra186_utmi_bias_pad_power_off(padctl);
padctl            308 drivers/phy/tegra/xusb-tegra186.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            309 drivers/phy/tegra/xusb-tegra186.c 	struct tegra186_xusb_padctl *priv = to_tegra186_xusb_padctl(padctl);
padctl            312 drivers/phy/tegra/xusb-tegra186.c 	struct device *dev = padctl->dev;
padctl            315 drivers/phy/tegra/xusb-tegra186.c 	port = tegra_xusb_find_usb2_port(padctl, index);
padctl            321 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_PAD_MUX);
padctl            324 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_PAD_MUX);
padctl            326 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_PORT_CAP);
padctl            338 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_PORT_CAP);
padctl            340 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index));
padctl            361 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index));
padctl            363 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
padctl            368 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
padctl            386 drivers/phy/tegra/xusb-tegra186.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            389 drivers/phy/tegra/xusb-tegra186.c 	struct device *dev = padctl->dev;
padctl            392 drivers/phy/tegra/xusb-tegra186.c 	port = tegra_xusb_find_usb2_port(padctl, index);
padctl            413 drivers/phy/tegra/xusb-tegra186.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            416 drivers/phy/tegra/xusb-tegra186.c 	struct device *dev = padctl->dev;
padctl            419 drivers/phy/tegra/xusb-tegra186.c 	port = tegra_xusb_find_usb2_port(padctl, index);
padctl            446 drivers/phy/tegra/xusb-tegra186.c tegra186_usb2_pad_probe(struct tegra_xusb_padctl *padctl,
padctl            450 drivers/phy/tegra/xusb-tegra186.c 	struct tegra186_xusb_padctl *priv = to_tegra186_xusb_padctl(padctl);
padctl            463 drivers/phy/tegra/xusb-tegra186.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl            531 drivers/phy/tegra/xusb-tegra186.c 	return tegra_xusb_find_lane(port->padctl, "usb2", port->index);
padctl            590 drivers/phy/tegra/xusb-tegra186.c 	return tegra_xusb_find_lane(port->padctl, "usb3", port->index);
padctl            602 drivers/phy/tegra/xusb-tegra186.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            606 drivers/phy/tegra/xusb-tegra186.c 	struct device *dev = padctl->dev;
padctl            609 drivers/phy/tegra/xusb-tegra186.c 	port = tegra_xusb_find_usb3_port(padctl, index);
padctl            615 drivers/phy/tegra/xusb-tegra186.c 	usb2 = tegra_xusb_find_usb2_port(padctl, port->port);
padctl            622 drivers/phy/tegra/xusb-tegra186.c 	mutex_lock(&padctl->lock);
padctl            624 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_SS_PORT_CAP);
padctl            636 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_SS_PORT_CAP);
padctl            638 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            640 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            644 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            646 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            650 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            652 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            654 drivers/phy/tegra/xusb-tegra186.c 	mutex_unlock(&padctl->lock);
padctl            662 drivers/phy/tegra/xusb-tegra186.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            665 drivers/phy/tegra/xusb-tegra186.c 	struct device *dev = padctl->dev;
padctl            668 drivers/phy/tegra/xusb-tegra186.c 	port = tegra_xusb_find_usb3_port(padctl, index);
padctl            674 drivers/phy/tegra/xusb-tegra186.c 	mutex_lock(&padctl->lock);
padctl            676 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            678 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            682 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            684 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            688 drivers/phy/tegra/xusb-tegra186.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            690 drivers/phy/tegra/xusb-tegra186.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM_1);
padctl            692 drivers/phy/tegra/xusb-tegra186.c 	mutex_unlock(&padctl->lock);
padctl            716 drivers/phy/tegra/xusb-tegra186.c tegra186_usb3_pad_probe(struct tegra_xusb_padctl *padctl,
padctl            732 drivers/phy/tegra/xusb-tegra186.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl            790 drivers/phy/tegra/xusb-tegra186.c tegra186_xusb_read_fuse_calibration(struct tegra186_xusb_padctl *padctl)
padctl            792 drivers/phy/tegra/xusb-tegra186.c 	struct device *dev = padctl->base.dev;
padctl            797 drivers/phy/tegra/xusb-tegra186.c 	count = padctl->base.soc->ports.usb2.count;
padctl            815 drivers/phy/tegra/xusb-tegra186.c 	padctl->calib.hs_curr_level = level;
padctl            817 drivers/phy/tegra/xusb-tegra186.c 	padctl->calib.hs_squelch = (value >> HS_SQUELCH_SHIFT) &
padctl            819 drivers/phy/tegra/xusb-tegra186.c 	padctl->calib.hs_term_range_adj = (value >> HS_TERM_RANGE_ADJ_SHIFT) &
padctl            830 drivers/phy/tegra/xusb-tegra186.c 	padctl->calib.rpd_ctrl = (value >> RPD_CTRL_SHIFT) & RPD_CTRL_MASK;
padctl            856 drivers/phy/tegra/xusb-tegra186.c static void tegra186_xusb_padctl_remove(struct tegra_xusb_padctl *padctl)
padctl            238 drivers/phy/tegra/xusb-tegra210.c to_tegra210_xusb_padctl(struct tegra_xusb_padctl *padctl)
padctl            240 drivers/phy/tegra/xusb-tegra210.c 	return container_of(padctl, struct tegra210_xusb_padctl, base);
padctl            244 drivers/phy/tegra/xusb-tegra210.c static int tegra210_pex_uphy_enable(struct tegra_xusb_padctl *padctl)
padctl            246 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_pcie_pad *pcie = to_pcie_pad(padctl->pcie);
padctl            264 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            269 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            271 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL5);
padctl            276 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL5);
padctl            278 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            280 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            282 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            284 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            286 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            288 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            290 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL4);
padctl            298 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL4);
padctl            300 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            307 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            309 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            311 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            313 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            316 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            320 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL4);
padctl            322 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL4);
padctl            324 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            326 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            331 drivers/phy/tegra/xusb-tegra210.c 		value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            343 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            345 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            350 drivers/phy/tegra/xusb-tegra210.c 		value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            362 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            364 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            369 drivers/phy/tegra/xusb-tegra210.c 		value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            381 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            384 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            389 drivers/phy/tegra/xusb-tegra210.c 		value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            401 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            403 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            408 drivers/phy/tegra/xusb-tegra210.c 		value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            420 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            422 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            426 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            428 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL1);
padctl            430 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            432 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL2);
padctl            434 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            436 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_P0_CTL8);
padctl            453 drivers/phy/tegra/xusb-tegra210.c static void tegra210_pex_uphy_disable(struct tegra_xusb_padctl *padctl)
padctl            455 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_pcie_pad *pcie = to_pcie_pad(padctl->pcie);
padctl            457 drivers/phy/tegra/xusb-tegra210.c 	mutex_lock(&padctl->lock);
padctl            469 drivers/phy/tegra/xusb-tegra210.c 	mutex_unlock(&padctl->lock);
padctl            473 drivers/phy/tegra/xusb-tegra210.c static int tegra210_sata_uphy_enable(struct tegra_xusb_padctl *padctl, bool usb)
padctl            475 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_sata_pad *sata = to_sata_pad(padctl->sata);
padctl            493 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            498 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            500 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL5);
padctl            505 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL5);
padctl            507 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            509 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            511 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            513 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            515 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            517 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            519 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL4);
padctl            534 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL4);
padctl            536 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            549 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            551 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            553 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            555 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            558 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            562 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL4);
padctl            564 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL4);
padctl            566 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            568 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            573 drivers/phy/tegra/xusb-tegra210.c 		value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            585 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            587 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            592 drivers/phy/tegra/xusb-tegra210.c 		value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            604 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            606 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            611 drivers/phy/tegra/xusb-tegra210.c 		value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            623 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            626 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            631 drivers/phy/tegra/xusb-tegra210.c 		value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            643 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            645 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            650 drivers/phy/tegra/xusb-tegra210.c 		value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            662 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            664 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            668 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            670 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL1);
padctl            672 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            674 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL2);
padctl            676 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            678 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_PLL_S0_CTL8);
padctl            695 drivers/phy/tegra/xusb-tegra210.c static void tegra210_sata_uphy_disable(struct tegra_xusb_padctl *padctl)
padctl            697 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_sata_pad *sata = to_sata_pad(padctl->sata);
padctl            699 drivers/phy/tegra/xusb-tegra210.c 	mutex_lock(&padctl->lock);
padctl            711 drivers/phy/tegra/xusb-tegra210.c 	mutex_unlock(&padctl->lock);
padctl            714 drivers/phy/tegra/xusb-tegra210.c static int tegra210_xusb_padctl_enable(struct tegra_xusb_padctl *padctl)
padctl            718 drivers/phy/tegra/xusb-tegra210.c 	mutex_lock(&padctl->lock);
padctl            720 drivers/phy/tegra/xusb-tegra210.c 	if (padctl->enable++ > 0)
padctl            723 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            725 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            729 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            731 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            735 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            737 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            740 drivers/phy/tegra/xusb-tegra210.c 	mutex_unlock(&padctl->lock);
padctl            744 drivers/phy/tegra/xusb-tegra210.c static int tegra210_xusb_padctl_disable(struct tegra_xusb_padctl *padctl)
padctl            748 drivers/phy/tegra/xusb-tegra210.c 	mutex_lock(&padctl->lock);
padctl            750 drivers/phy/tegra/xusb-tegra210.c 	if (WARN_ON(padctl->enable == 0))
padctl            753 drivers/phy/tegra/xusb-tegra210.c 	if (--padctl->enable > 0)
padctl            756 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            758 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            762 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            764 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            768 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            770 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl            773 drivers/phy/tegra/xusb-tegra210.c 	mutex_unlock(&padctl->lock);
padctl            777 drivers/phy/tegra/xusb-tegra210.c static int tegra210_hsic_set_idle(struct tegra_xusb_padctl *padctl,
padctl            782 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL0(index));
padctl            797 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL0(index));
padctl            802 drivers/phy/tegra/xusb-tegra210.c static int tegra210_usb3_set_lfps_detect(struct tegra_xusb_padctl *padctl,
padctl            809 drivers/phy/tegra/xusb-tegra210.c 	port = tegra_xusb_find_port(padctl, "usb3", index);
padctl            815 drivers/phy/tegra/xusb-tegra210.c 	if (lane->pad == padctl->pcie)
padctl            820 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, offset);
padctl            834 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, offset);
padctl            903 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            906 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_PAD_MUX);
padctl            911 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_PAD_MUX);
padctl            913 drivers/phy/tegra/xusb-tegra210.c 	return tegra210_xusb_padctl_enable(padctl);
padctl            920 drivers/phy/tegra/xusb-tegra210.c 	return tegra210_xusb_padctl_disable(lane->pad->padctl);
padctl            928 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            935 drivers/phy/tegra/xusb-tegra210.c 	port = tegra_xusb_find_usb2_port(padctl, index);
padctl            941 drivers/phy/tegra/xusb-tegra210.c 	priv = to_tegra210_xusb_padctl(padctl);
padctl            943 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl            956 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl            958 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_PORT_CAP);
padctl            961 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_PORT_CAP);
padctl            963 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index));
padctl            972 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL0(index));
padctl            974 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
padctl            986 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_OTG_PADX_CTL1(index));
padctl            988 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl,
padctl            993 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value,
padctl           1000 drivers/phy/tegra/xusb-tegra210.c 	mutex_lock(&padctl->lock);
padctl           1004 drivers/phy/tegra/xusb-tegra210.c 		mutex_unlock(&padctl->lock);
padctl           1012 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL1);
padctl           1021 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL1);
padctl           1023 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl           1025 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl           1029 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL1);
padctl           1031 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL1);
padctl           1038 drivers/phy/tegra/xusb-tegra210.c 	mutex_unlock(&padctl->lock);
padctl           1044 drivers/phy/tegra/xusb-tegra210.c 	mutex_unlock(&padctl->lock);
padctl           1052 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1056 drivers/phy/tegra/xusb-tegra210.c 	port = tegra_xusb_find_usb2_port(padctl, lane->index);
padctl           1063 drivers/phy/tegra/xusb-tegra210.c 	mutex_lock(&padctl->lock);
padctl           1071 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl           1073 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_BIAS_PAD_CTL0);
padctl           1077 drivers/phy/tegra/xusb-tegra210.c 	mutex_unlock(&padctl->lock);
padctl           1090 drivers/phy/tegra/xusb-tegra210.c tegra210_usb2_pad_probe(struct tegra_xusb_padctl *padctl,
padctl           1106 drivers/phy/tegra/xusb-tegra210.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl           1202 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1205 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB2_PAD_MUX);
padctl           1210 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB2_PAD_MUX);
padctl           1212 drivers/phy/tegra/xusb-tegra210.c 	return tegra210_xusb_padctl_enable(padctl);
padctl           1219 drivers/phy/tegra/xusb-tegra210.c 	return tegra210_xusb_padctl_disable(lane->pad->padctl);
padctl           1227 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1233 drivers/phy/tegra/xusb-tegra210.c 	priv = to_tegra210_xusb_padctl(padctl);
padctl           1239 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, hsic->strobe_trim,
padctl           1242 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl           1247 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl           1249 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL2(index));
padctl           1258 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL2(index));
padctl           1260 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL0(index));
padctl           1276 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL0(index));
padctl           1282 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PAD_TRK_CTL);
padctl           1291 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PAD_TRK_CTL);
padctl           1295 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PAD_TRK_CTL);
padctl           1297 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PAD_TRK_CTL);
padctl           1314 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1318 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_HSIC_PADX_CTL0(index));
padctl           1328 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_HSIC_PADX_CTL1(index));
padctl           1344 drivers/phy/tegra/xusb-tegra210.c tegra210_hsic_pad_probe(struct tegra_xusb_padctl *padctl,
padctl           1360 drivers/phy/tegra/xusb-tegra210.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl           1465 drivers/phy/tegra/xusb-tegra210.c 	return tegra210_xusb_padctl_enable(lane->pad->padctl);
padctl           1472 drivers/phy/tegra/xusb-tegra210.c 	return tegra210_xusb_padctl_disable(lane->pad->padctl);
padctl           1478 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1482 drivers/phy/tegra/xusb-tegra210.c 	mutex_lock(&padctl->lock);
padctl           1484 drivers/phy/tegra/xusb-tegra210.c 	err = tegra210_pex_uphy_enable(padctl);
padctl           1488 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1490 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1493 drivers/phy/tegra/xusb-tegra210.c 	mutex_unlock(&padctl->lock);
padctl           1500 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1503 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1505 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1507 drivers/phy/tegra/xusb-tegra210.c 	tegra210_pex_uphy_disable(padctl);
padctl           1521 drivers/phy/tegra/xusb-tegra210.c tegra210_pcie_pad_probe(struct tegra_xusb_padctl *padctl,
padctl           1537 drivers/phy/tegra/xusb-tegra210.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl           1636 drivers/phy/tegra/xusb-tegra210.c 	return tegra210_xusb_padctl_enable(lane->pad->padctl);
padctl           1643 drivers/phy/tegra/xusb-tegra210.c 	return tegra210_xusb_padctl_disable(lane->pad->padctl);
padctl           1649 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1653 drivers/phy/tegra/xusb-tegra210.c 	mutex_lock(&padctl->lock);
padctl           1655 drivers/phy/tegra/xusb-tegra210.c 	err = tegra210_sata_uphy_enable(padctl, false);
padctl           1659 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1661 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1664 drivers/phy/tegra/xusb-tegra210.c 	mutex_unlock(&padctl->lock);
padctl           1671 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl           1674 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1676 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_USB3_PAD_MUX);
padctl           1678 drivers/phy/tegra/xusb-tegra210.c 	tegra210_sata_uphy_disable(lane->pad->padctl);
padctl           1692 drivers/phy/tegra/xusb-tegra210.c tegra210_sata_pad_probe(struct tegra_xusb_padctl *padctl,
padctl           1708 drivers/phy/tegra/xusb-tegra210.c 	err = tegra_xusb_pad_init(pad, padctl, np);
padctl           1773 drivers/phy/tegra/xusb-tegra210.c 	return tegra_xusb_find_lane(port->padctl, "usb2", port->index);
padctl           1794 drivers/phy/tegra/xusb-tegra210.c 	return tegra_xusb_find_lane(port->padctl, "hsic", port->index);
padctl           1806 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = port->padctl;
padctl           1812 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_SS_PORT_MAP);
padctl           1821 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_SS_PORT_MAP);
padctl           1832 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_USB3_PADX_ECTL1(index));
padctl           1837 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_USB3_PADX_ECTL1(index));
padctl           1839 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_USB3_PADX_ECTL2(index));
padctl           1844 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_USB3_PADX_ECTL2(index));
padctl           1846 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, XUSB_PADCTL_UPHY_USB3_PAD_ECTL3_RX_DFE_VAL,
padctl           1849 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_UPHY_USB3_PADX_ECTL4(index));
padctl           1854 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_UPHY_USB3_PADX_ECTL4(index));
padctl           1856 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, XUSB_PADCTL_UPHY_USB3_PAD_ECTL6_RX_EQ_CTRL_H_VAL,
padctl           1859 drivers/phy/tegra/xusb-tegra210.c 	if (lane->pad == padctl->sata)
padctl           1860 drivers/phy/tegra/xusb-tegra210.c 		err = tegra210_sata_uphy_enable(padctl, true);
padctl           1862 drivers/phy/tegra/xusb-tegra210.c 		err = tegra210_pex_uphy_enable(padctl);
padctl           1870 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1872 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1876 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1878 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1882 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1884 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1892 drivers/phy/tegra/xusb-tegra210.c 	struct tegra_xusb_padctl *padctl = port->padctl;
padctl           1897 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1899 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1903 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1905 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1909 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1911 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM1);
padctl           1913 drivers/phy/tegra/xusb-tegra210.c 	if (lane->pad == padctl->sata)
padctl           1914 drivers/phy/tegra/xusb-tegra210.c 		tegra210_sata_uphy_disable(padctl);
padctl           1916 drivers/phy/tegra/xusb-tegra210.c 		tegra210_pex_uphy_disable(padctl);
padctl           1920 drivers/phy/tegra/xusb-tegra210.c 	value = padctl_readl(padctl, XUSB_PADCTL_SS_PORT_MAP);
padctl           1923 drivers/phy/tegra/xusb-tegra210.c 	padctl_writel(padctl, value, XUSB_PADCTL_SS_PORT_MAP);
padctl           1984 drivers/phy/tegra/xusb-tegra210.c 	struct tegra210_xusb_padctl *padctl;
padctl           1987 drivers/phy/tegra/xusb-tegra210.c 	padctl = devm_kzalloc(dev, sizeof(*padctl), GFP_KERNEL);
padctl           1988 drivers/phy/tegra/xusb-tegra210.c 	if (!padctl)
padctl           1991 drivers/phy/tegra/xusb-tegra210.c 	padctl->base.dev = dev;
padctl           1992 drivers/phy/tegra/xusb-tegra210.c 	padctl->base.soc = soc;
padctl           1994 drivers/phy/tegra/xusb-tegra210.c 	err = tegra210_xusb_read_fuse_calibration(&padctl->fuse);
padctl           1998 drivers/phy/tegra/xusb-tegra210.c 	return &padctl->base;
padctl           2001 drivers/phy/tegra/xusb-tegra210.c static void tegra210_xusb_padctl_remove(struct tegra_xusb_padctl *padctl)
padctl             74 drivers/phy/tegra/xusb.c tegra_xusb_find_pad_node(struct tegra_xusb_padctl *padctl, const char *name)
padctl             78 drivers/phy/tegra/xusb.c 	pads = of_get_child_by_name(padctl->dev->of_node, "pads");
padctl            148 drivers/phy/tegra/xusb.c 			struct tegra_xusb_padctl *padctl,
padctl            155 drivers/phy/tegra/xusb.c 	pad->dev.parent = padctl->dev;
padctl            158 drivers/phy/tegra/xusb.c 	pad->padctl = padctl;
padctl            218 drivers/phy/tegra/xusb.c 		list_add_tail(&lane->list, &pad->padctl->lanes);
padctl            253 drivers/phy/tegra/xusb.c tegra_xusb_pad_create(struct tegra_xusb_padctl *padctl,
padctl            260 drivers/phy/tegra/xusb.c 	np = tegra_xusb_find_pad_node(padctl, soc->name);
padctl            264 drivers/phy/tegra/xusb.c 	pad = soc->ops->probe(padctl, soc, np);
padctl            267 drivers/phy/tegra/xusb.c 		dev_err(padctl->dev, "failed to create pad %s: %d\n",
padctl            274 drivers/phy/tegra/xusb.c 		padctl->pcie = pad;
padctl            277 drivers/phy/tegra/xusb.c 		padctl->sata = pad;
padctl            280 drivers/phy/tegra/xusb.c 		padctl->usb2 = pad;
padctl            283 drivers/phy/tegra/xusb.c 		padctl->ulpi = pad;
padctl            286 drivers/phy/tegra/xusb.c 		padctl->hsic = pad;
padctl            291 drivers/phy/tegra/xusb.c static void __tegra_xusb_remove_pads(struct tegra_xusb_padctl *padctl)
padctl            295 drivers/phy/tegra/xusb.c 	list_for_each_entry_safe_reverse(pad, tmp, &padctl->pads, list) {
padctl            301 drivers/phy/tegra/xusb.c static void tegra_xusb_remove_pads(struct tegra_xusb_padctl *padctl)
padctl            303 drivers/phy/tegra/xusb.c 	mutex_lock(&padctl->lock);
padctl            304 drivers/phy/tegra/xusb.c 	__tegra_xusb_remove_pads(padctl);
padctl            305 drivers/phy/tegra/xusb.c 	mutex_unlock(&padctl->lock);
padctl            310 drivers/phy/tegra/xusb.c 	struct tegra_xusb_padctl *padctl = lane->pad->padctl;
padctl            319 drivers/phy/tegra/xusb.c 	value = padctl_readl(padctl, soc->offset);
padctl            322 drivers/phy/tegra/xusb.c 	padctl_writel(padctl, value, soc->offset);
padctl            339 drivers/phy/tegra/xusb.c static int tegra_xusb_setup_pads(struct tegra_xusb_padctl *padctl)
padctl            344 drivers/phy/tegra/xusb.c 	mutex_lock(&padctl->lock);
padctl            346 drivers/phy/tegra/xusb.c 	for (i = 0; i < padctl->soc->num_pads; i++) {
padctl            347 drivers/phy/tegra/xusb.c 		const struct tegra_xusb_pad_soc *soc = padctl->soc->pads[i];
padctl            350 drivers/phy/tegra/xusb.c 		pad = tegra_xusb_pad_create(padctl, soc);
padctl            353 drivers/phy/tegra/xusb.c 			dev_err(padctl->dev, "failed to create pad %s: %d\n",
padctl            355 drivers/phy/tegra/xusb.c 			__tegra_xusb_remove_pads(padctl);
padctl            356 drivers/phy/tegra/xusb.c 			mutex_unlock(&padctl->lock);
padctl            363 drivers/phy/tegra/xusb.c 		list_add_tail(&pad->list, &padctl->pads);
padctl            366 drivers/phy/tegra/xusb.c 	list_for_each_entry(pad, &padctl->pads, list)
padctl            369 drivers/phy/tegra/xusb.c 	mutex_unlock(&padctl->lock);
padctl            381 drivers/phy/tegra/xusb.c struct tegra_xusb_lane *tegra_xusb_find_lane(struct tegra_xusb_padctl *padctl,
padctl            392 drivers/phy/tegra/xusb.c 	list_for_each_entry(lane, &padctl->lanes, list) {
padctl            414 drivers/phy/tegra/xusb.c 		lane = tegra_xusb_find_lane(port->padctl, map->type,
padctl            433 drivers/phy/tegra/xusb.c tegra_xusb_find_port_node(struct tegra_xusb_padctl *padctl, const char *type,
padctl            439 drivers/phy/tegra/xusb.c 	ports = of_get_child_by_name(padctl->dev->of_node, "ports");
padctl            456 drivers/phy/tegra/xusb.c tegra_xusb_find_port(struct tegra_xusb_padctl *padctl, const char *type,
padctl            462 drivers/phy/tegra/xusb.c 	np = tegra_xusb_find_port_node(padctl, type, index);
padctl            466 drivers/phy/tegra/xusb.c 	list_for_each_entry(port, &padctl->ports, list) {
padctl            479 drivers/phy/tegra/xusb.c tegra_xusb_find_usb2_port(struct tegra_xusb_padctl *padctl, unsigned int index)
padctl            483 drivers/phy/tegra/xusb.c 	port = tegra_xusb_find_port(padctl, "usb2", index);
padctl            491 drivers/phy/tegra/xusb.c tegra_xusb_find_usb3_port(struct tegra_xusb_padctl *padctl, unsigned int index)
padctl            495 drivers/phy/tegra/xusb.c 	port = tegra_xusb_find_port(padctl, "usb3", index);
padctl            511 drivers/phy/tegra/xusb.c 				struct tegra_xusb_padctl *padctl,
padctl            519 drivers/phy/tegra/xusb.c 	port->padctl = padctl;
padctl            525 drivers/phy/tegra/xusb.c 	port->dev.parent = padctl->dev;
padctl            579 drivers/phy/tegra/xusb.c static int tegra_xusb_add_usb2_port(struct tegra_xusb_padctl *padctl,
padctl            590 drivers/phy/tegra/xusb.c 	np = tegra_xusb_find_port_node(padctl, "usb2", index);
padctl            594 drivers/phy/tegra/xusb.c 	usb2 = devm_kzalloc(padctl->dev, sizeof(*usb2), GFP_KERNEL);
padctl            600 drivers/phy/tegra/xusb.c 	err = tegra_xusb_port_init(&usb2->base, padctl, np, "usb2", index);
padctl            604 drivers/phy/tegra/xusb.c 	usb2->base.ops = padctl->soc->ports.usb2.ops;
padctl            618 drivers/phy/tegra/xusb.c 	list_add_tail(&usb2->base.list, &padctl->ports);
padctl            635 drivers/phy/tegra/xusb.c static int tegra_xusb_add_ulpi_port(struct tegra_xusb_padctl *padctl,
padctl            642 drivers/phy/tegra/xusb.c 	np = tegra_xusb_find_port_node(padctl, "ulpi", index);
padctl            646 drivers/phy/tegra/xusb.c 	ulpi = devm_kzalloc(padctl->dev, sizeof(*ulpi), GFP_KERNEL);
padctl            652 drivers/phy/tegra/xusb.c 	err = tegra_xusb_port_init(&ulpi->base, padctl, np, "ulpi", index);
padctl            656 drivers/phy/tegra/xusb.c 	ulpi->base.ops = padctl->soc->ports.ulpi.ops;
padctl            670 drivers/phy/tegra/xusb.c 	list_add_tail(&ulpi->base.list, &padctl->ports);
padctl            683 drivers/phy/tegra/xusb.c static int tegra_xusb_add_hsic_port(struct tegra_xusb_padctl *padctl,
padctl            690 drivers/phy/tegra/xusb.c 	np = tegra_xusb_find_port_node(padctl, "hsic", index);
padctl            694 drivers/phy/tegra/xusb.c 	hsic = devm_kzalloc(padctl->dev, sizeof(*hsic), GFP_KERNEL);
padctl            700 drivers/phy/tegra/xusb.c 	err = tegra_xusb_port_init(&hsic->base, padctl, np, "hsic", index);
padctl            704 drivers/phy/tegra/xusb.c 	hsic->base.ops = padctl->soc->ports.hsic.ops;
padctl            718 drivers/phy/tegra/xusb.c 	list_add_tail(&hsic->base.list, &padctl->ports);
padctl            746 drivers/phy/tegra/xusb.c static int tegra_xusb_add_usb3_port(struct tegra_xusb_padctl *padctl,
padctl            758 drivers/phy/tegra/xusb.c 	np = tegra_xusb_find_port_node(padctl, "usb3", index);
padctl            762 drivers/phy/tegra/xusb.c 	usb3 = devm_kzalloc(padctl->dev, sizeof(*usb3), GFP_KERNEL);
padctl            768 drivers/phy/tegra/xusb.c 	err = tegra_xusb_port_init(&usb3->base, padctl, np, "usb3", index);
padctl            772 drivers/phy/tegra/xusb.c 	usb3->base.ops = padctl->soc->ports.usb3.ops;
padctl            786 drivers/phy/tegra/xusb.c 	list_add_tail(&usb3->base.list, &padctl->ports);
padctl            793 drivers/phy/tegra/xusb.c static void __tegra_xusb_remove_ports(struct tegra_xusb_padctl *padctl)
padctl            797 drivers/phy/tegra/xusb.c 	list_for_each_entry_safe_reverse(port, tmp, &padctl->ports, list) {
padctl            803 drivers/phy/tegra/xusb.c static int tegra_xusb_setup_ports(struct tegra_xusb_padctl *padctl)
padctl            809 drivers/phy/tegra/xusb.c 	mutex_lock(&padctl->lock);
padctl            811 drivers/phy/tegra/xusb.c 	for (i = 0; i < padctl->soc->ports.usb2.count; i++) {
padctl            812 drivers/phy/tegra/xusb.c 		err = tegra_xusb_add_usb2_port(padctl, i);
padctl            817 drivers/phy/tegra/xusb.c 	for (i = 0; i < padctl->soc->ports.ulpi.count; i++) {
padctl            818 drivers/phy/tegra/xusb.c 		err = tegra_xusb_add_ulpi_port(padctl, i);
padctl            823 drivers/phy/tegra/xusb.c 	for (i = 0; i < padctl->soc->ports.hsic.count; i++) {
padctl            824 drivers/phy/tegra/xusb.c 		err = tegra_xusb_add_hsic_port(padctl, i);
padctl            829 drivers/phy/tegra/xusb.c 	for (i = 0; i < padctl->soc->ports.usb3.count; i++) {
padctl            830 drivers/phy/tegra/xusb.c 		err = tegra_xusb_add_usb3_port(padctl, i);
padctl            835 drivers/phy/tegra/xusb.c 	list_for_each_entry(port, &padctl->ports, list) {
padctl            838 drivers/phy/tegra/xusb.c 			dev_err(padctl->dev, "failed to enable port %s: %d\n",
padctl            845 drivers/phy/tegra/xusb.c 	__tegra_xusb_remove_ports(padctl);
padctl            847 drivers/phy/tegra/xusb.c 	mutex_unlock(&padctl->lock);
padctl            851 drivers/phy/tegra/xusb.c static void tegra_xusb_remove_ports(struct tegra_xusb_padctl *padctl)
padctl            853 drivers/phy/tegra/xusb.c 	mutex_lock(&padctl->lock);
padctl            854 drivers/phy/tegra/xusb.c 	__tegra_xusb_remove_ports(padctl);
padctl            855 drivers/phy/tegra/xusb.c 	mutex_unlock(&padctl->lock);
padctl            862 drivers/phy/tegra/xusb.c 	struct tegra_xusb_padctl *padctl;
padctl            880 drivers/phy/tegra/xusb.c 	padctl = soc->ops->probe(&pdev->dev, soc);
padctl            881 drivers/phy/tegra/xusb.c 	if (IS_ERR(padctl))
padctl            882 drivers/phy/tegra/xusb.c 		return PTR_ERR(padctl);
padctl            884 drivers/phy/tegra/xusb.c 	platform_set_drvdata(pdev, padctl);
padctl            885 drivers/phy/tegra/xusb.c 	INIT_LIST_HEAD(&padctl->ports);
padctl            886 drivers/phy/tegra/xusb.c 	INIT_LIST_HEAD(&padctl->lanes);
padctl            887 drivers/phy/tegra/xusb.c 	INIT_LIST_HEAD(&padctl->pads);
padctl            888 drivers/phy/tegra/xusb.c 	mutex_init(&padctl->lock);
padctl            891 drivers/phy/tegra/xusb.c 	padctl->regs = devm_ioremap_resource(&pdev->dev, res);
padctl            892 drivers/phy/tegra/xusb.c 	if (IS_ERR(padctl->regs)) {
padctl            893 drivers/phy/tegra/xusb.c 		err = PTR_ERR(padctl->regs);
padctl            897 drivers/phy/tegra/xusb.c 	padctl->rst = devm_reset_control_get(&pdev->dev, NULL);
padctl            898 drivers/phy/tegra/xusb.c 	if (IS_ERR(padctl->rst)) {
padctl            899 drivers/phy/tegra/xusb.c 		err = PTR_ERR(padctl->rst);
padctl            903 drivers/phy/tegra/xusb.c 	padctl->supplies = devm_kcalloc(&pdev->dev, padctl->soc->num_supplies,
padctl            904 drivers/phy/tegra/xusb.c 					sizeof(*padctl->supplies), GFP_KERNEL);
padctl            905 drivers/phy/tegra/xusb.c 	if (!padctl->supplies) {
padctl            910 drivers/phy/tegra/xusb.c 	for (i = 0; i < padctl->soc->num_supplies; i++)
padctl            911 drivers/phy/tegra/xusb.c 		padctl->supplies[i].supply = padctl->soc->supply_names[i];
padctl            913 drivers/phy/tegra/xusb.c 	err = devm_regulator_bulk_get(&pdev->dev, padctl->soc->num_supplies,
padctl            914 drivers/phy/tegra/xusb.c 				      padctl->supplies);
padctl            920 drivers/phy/tegra/xusb.c 	err = reset_control_deassert(padctl->rst);
padctl            924 drivers/phy/tegra/xusb.c 	err = regulator_bulk_enable(padctl->soc->num_supplies,
padctl            925 drivers/phy/tegra/xusb.c 				    padctl->supplies);
padctl            931 drivers/phy/tegra/xusb.c 	err = tegra_xusb_setup_pads(padctl);
padctl            937 drivers/phy/tegra/xusb.c 	err = tegra_xusb_setup_ports(padctl);
padctl            946 drivers/phy/tegra/xusb.c 	tegra_xusb_remove_pads(padctl);
padctl            948 drivers/phy/tegra/xusb.c 	regulator_bulk_disable(padctl->soc->num_supplies, padctl->supplies);
padctl            950 drivers/phy/tegra/xusb.c 	reset_control_assert(padctl->rst);
padctl            952 drivers/phy/tegra/xusb.c 	soc->ops->remove(padctl);
padctl            958 drivers/phy/tegra/xusb.c 	struct tegra_xusb_padctl *padctl = platform_get_drvdata(pdev);
padctl            961 drivers/phy/tegra/xusb.c 	tegra_xusb_remove_ports(padctl);
padctl            962 drivers/phy/tegra/xusb.c 	tegra_xusb_remove_pads(padctl);
padctl            964 drivers/phy/tegra/xusb.c 	err = regulator_bulk_disable(padctl->soc->num_supplies,
padctl            965 drivers/phy/tegra/xusb.c 				     padctl->supplies);
padctl            969 drivers/phy/tegra/xusb.c 	err = reset_control_assert(padctl->rst);
padctl            973 drivers/phy/tegra/xusb.c 	padctl->soc->ops->remove(padctl);
padctl            990 drivers/phy/tegra/xusb.c 	struct tegra_xusb_padctl *padctl;
padctl           1011 drivers/phy/tegra/xusb.c 	padctl = platform_get_drvdata(pdev);
padctl           1012 drivers/phy/tegra/xusb.c 	if (!padctl) {
padctl           1017 drivers/phy/tegra/xusb.c 	return padctl;
padctl           1021 drivers/phy/tegra/xusb.c void tegra_xusb_padctl_put(struct tegra_xusb_padctl *padctl)
padctl           1023 drivers/phy/tegra/xusb.c 	if (padctl)
padctl           1024 drivers/phy/tegra/xusb.c 		put_device(padctl->dev);
padctl           1028 drivers/phy/tegra/xusb.c int tegra_xusb_padctl_usb3_save_context(struct tegra_xusb_padctl *padctl,
padctl           1031 drivers/phy/tegra/xusb.c 	if (padctl->soc->ops->usb3_save_context)
padctl           1032 drivers/phy/tegra/xusb.c 		return padctl->soc->ops->usb3_save_context(padctl, port);
padctl           1038 drivers/phy/tegra/xusb.c int tegra_xusb_padctl_hsic_set_idle(struct tegra_xusb_padctl *padctl,
padctl           1041 drivers/phy/tegra/xusb.c 	if (padctl->soc->ops->hsic_set_idle)
padctl           1042 drivers/phy/tegra/xusb.c 		return padctl->soc->ops->hsic_set_idle(padctl, port, idle);
padctl           1048 drivers/phy/tegra/xusb.c int tegra_xusb_padctl_usb3_set_lfps_detect(struct tegra_xusb_padctl *padctl,
padctl           1051 drivers/phy/tegra/xusb.c 	if (padctl->soc->ops->usb3_set_lfps_detect)
padctl           1052 drivers/phy/tegra/xusb.c 		return padctl->soc->ops->usb3_set_lfps_detect(padctl, port,
padctl            137 drivers/phy/tegra/xusb.h 	struct tegra_xusb_pad *(*probe)(struct tegra_xusb_padctl *padctl,
padctl            154 drivers/phy/tegra/xusb.h 	struct tegra_xusb_padctl *padctl;
padctl            170 drivers/phy/tegra/xusb.h 			struct tegra_xusb_padctl *padctl,
padctl            262 drivers/phy/tegra/xusb.h 	struct tegra_xusb_padctl *padctl;
padctl            285 drivers/phy/tegra/xusb.h tegra_xusb_find_port(struct tegra_xusb_padctl *padctl, const char *type,
padctl            303 drivers/phy/tegra/xusb.h tegra_xusb_find_usb2_port(struct tegra_xusb_padctl *padctl,
padctl            349 drivers/phy/tegra/xusb.h tegra_xusb_find_usb3_port(struct tegra_xusb_padctl *padctl,
padctl            367 drivers/phy/tegra/xusb.h 	void (*remove)(struct tegra_xusb_padctl *padctl);
padctl            369 drivers/phy/tegra/xusb.h 	int (*usb3_save_context)(struct tegra_xusb_padctl *padctl,
padctl            371 drivers/phy/tegra/xusb.h 	int (*hsic_set_idle)(struct tegra_xusb_padctl *padctl,
padctl            373 drivers/phy/tegra/xusb.h 	int (*usb3_set_lfps_detect)(struct tegra_xusb_padctl *padctl,
padctl            419 drivers/phy/tegra/xusb.h static inline void padctl_writel(struct tegra_xusb_padctl *padctl, u32 value,
padctl            422 drivers/phy/tegra/xusb.h 	dev_dbg(padctl->dev, "%08lx < %08x\n", offset, value);
padctl            423 drivers/phy/tegra/xusb.h 	writel(value, padctl->regs + offset);
padctl            426 drivers/phy/tegra/xusb.h static inline u32 padctl_readl(struct tegra_xusb_padctl *padctl,
padctl            429 drivers/phy/tegra/xusb.h 	u32 value = readl(padctl->regs + offset);
padctl            430 drivers/phy/tegra/xusb.h 	dev_dbg(padctl->dev, "%08lx > %08x\n", offset, value);
padctl            434 drivers/phy/tegra/xusb.h struct tegra_xusb_lane *tegra_xusb_find_lane(struct tegra_xusb_padctl *padctl,
padctl             93 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c static inline void padctl_writel(struct tegra_xusb_padctl *padctl, u32 value,
padctl             96 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	writel(value, padctl->regs + offset);
padctl             99 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c static inline u32 padctl_readl(struct tegra_xusb_padctl *padctl,
padctl            102 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	return readl(padctl->regs + offset);
padctl            107 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl);
padctl            109 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	return padctl->soc->num_pins;
padctl            115 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl);
padctl            117 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	return padctl->soc->pins[group].name;
padctl            150 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c static int tegra_xusb_padctl_parse_subnode(struct tegra_xusb_padctl *padctl,
padctl            182 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		err = pinctrl_utils_add_config(padctl->pinctrl, &configs,
padctl            200 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	err = pinctrl_utils_reserve_map(padctl->pinctrl, maps, reserved_maps,
padctl            207 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 			err = pinctrl_utils_add_map_mux(padctl->pinctrl, maps,
padctl            215 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 			err = pinctrl_utils_add_map_configs(padctl->pinctrl,
padctl            236 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl);
padctl            245 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		err = tegra_xusb_padctl_parse_subnode(padctl, np, maps,
padctl            267 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl);
padctl            269 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	return padctl->soc->num_functions;
padctl            276 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl);
padctl            278 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	return padctl->soc->functions[function].name;
padctl            286 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl);
padctl            288 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	*num_groups = padctl->soc->functions[function].num_groups;
padctl            289 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	*groups = padctl->soc->functions[function].groups;
padctl            298 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl);
padctl            303 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	lane = &padctl->soc->lanes[group];
padctl            312 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, lane->offset);
padctl            315 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, lane->offset);
padctl            331 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl);
padctl            337 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	lane = &padctl->soc->lanes[group];
padctl            345 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		value = padctl_readl(padctl, lane->offset);
padctl            356 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		dev_err(padctl->dev, "invalid configuration parameter: %04x\n",
padctl            369 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = pinctrl_dev_get_drvdata(pinctrl);
padctl            376 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	lane = &padctl->soc->lanes[group];
padctl            388 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 			regval = padctl_readl(padctl, lane->offset);
padctl            395 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 			padctl_writel(padctl, regval, lane->offset);
padctl            399 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 			dev_err(padctl->dev,
padctl            477 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c static int tegra_xusb_padctl_enable(struct tegra_xusb_padctl *padctl)
padctl            481 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	mutex_lock(&padctl->lock);
padctl            483 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	if (padctl->enable++ > 0)
padctl            486 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            488 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            492 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            494 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            498 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            500 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            503 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	mutex_unlock(&padctl->lock);
padctl            507 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c static int tegra_xusb_padctl_disable(struct tegra_xusb_padctl *padctl)
padctl            511 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	mutex_lock(&padctl->lock);
padctl            513 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	if (WARN_ON(padctl->enable == 0))
padctl            516 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	if (--padctl->enable > 0)
padctl            519 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            521 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            525 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            527 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            531 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_ELPG_PROGRAM);
padctl            533 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_ELPG_PROGRAM);
padctl            536 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	mutex_unlock(&padctl->lock);
padctl            542 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy);
padctl            544 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	return tegra_xusb_padctl_enable(padctl);
padctl            549 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy);
padctl            551 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	return tegra_xusb_padctl_disable(padctl);
padctl            556 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy);
padctl            561 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl            563 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl            565 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_P0_CTL2);
padctl            569 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_P0_CTL2);
padctl            571 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl            573 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl            578 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl            592 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy);
padctl            595 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl            597 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_P0_CTL1);
padctl            612 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy);
padctl            617 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1);
padctl            620 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1);
padctl            622 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            625 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            627 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            629 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            631 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            633 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            638 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            652 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = phy_get_drvdata(phy);
padctl            655 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            657 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            659 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            661 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            663 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            666 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_PLL_S0_CTL1);
padctl            668 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	value = padctl_readl(padctl, XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1);
padctl            671 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl_writel(padctl, value, XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1);
padctl            687 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = dev_get_drvdata(dev);
padctl            693 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	if (index >= ARRAY_SIZE(padctl->phys))
padctl            696 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	return padctl->phys[index];
padctl            874 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl;
padctl            880 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl = devm_kzalloc(&pdev->dev, sizeof(*padctl), GFP_KERNEL);
padctl            881 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	if (!padctl)
padctl            884 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	platform_set_drvdata(pdev, padctl);
padctl            885 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	mutex_init(&padctl->lock);
padctl            886 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->dev = &pdev->dev;
padctl            889 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->soc = match->data;
padctl            892 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->regs = devm_ioremap_resource(&pdev->dev, res);
padctl            893 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	if (IS_ERR(padctl->regs))
padctl            894 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		return PTR_ERR(padctl->regs);
padctl            896 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->rst = devm_reset_control_get_exclusive(&pdev->dev, NULL);
padctl            897 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	if (IS_ERR(padctl->rst))
padctl            898 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		return PTR_ERR(padctl->rst);
padctl            900 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	err = reset_control_deassert(padctl->rst);
padctl            904 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	memset(&padctl->desc, 0, sizeof(padctl->desc));
padctl            905 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.name = dev_name(padctl->dev);
padctl            906 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.pins = tegra124_pins;
padctl            907 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.npins = ARRAY_SIZE(tegra124_pins);
padctl            908 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.pctlops = &tegra_xusb_padctl_pinctrl_ops;
padctl            909 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.pmxops = &tegra_xusb_padctl_pinmux_ops;
padctl            910 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.confops = &tegra_xusb_padctl_pinconf_ops;
padctl            911 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->desc.owner = THIS_MODULE;
padctl            913 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->pinctrl = devm_pinctrl_register(&pdev->dev, &padctl->desc,
padctl            914 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 						padctl);
padctl            915 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	if (IS_ERR(padctl->pinctrl)) {
padctl            917 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		err = PTR_ERR(padctl->pinctrl);
padctl            927 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->phys[TEGRA_XUSB_PADCTL_PCIE] = phy;
padctl            928 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	phy_set_drvdata(phy, padctl);
padctl            936 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->phys[TEGRA_XUSB_PADCTL_SATA] = phy;
padctl            937 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	phy_set_drvdata(phy, padctl);
padctl            939 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	padctl->provider = devm_of_phy_provider_register(&pdev->dev,
padctl            941 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	if (IS_ERR(padctl->provider)) {
padctl            942 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 		err = PTR_ERR(padctl->provider);
padctl            950 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	reset_control_assert(padctl->rst);
padctl            957 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	struct tegra_xusb_padctl *padctl = platform_get_drvdata(pdev);
padctl            960 drivers/pinctrl/tegra/pinctrl-tegra-xusb.c 	err = reset_control_assert(padctl->rst);
padctl            184 drivers/usb/host/xhci-tegra.c 	struct tegra_xusb_padctl *padctl;
padctl            461 drivers/usb/host/xhci-tegra.c 	struct tegra_xusb_padctl *padctl = tegra->padctl;
padctl            509 drivers/usb/host/xhci-tegra.c 		err = tegra_xusb_padctl_usb3_save_context(padctl, msg->data);
padctl            532 drivers/usb/host/xhci-tegra.c 			err = tegra_xusb_padctl_hsic_set_idle(padctl, port,
padctl            560 drivers/usb/host/xhci-tegra.c 			err = tegra_xusb_padctl_usb3_set_lfps_detect(padctl,
padctl           1006 drivers/usb/host/xhci-tegra.c 	tegra->padctl = tegra_xusb_padctl_get(&pdev->dev);
padctl           1007 drivers/usb/host/xhci-tegra.c 	if (IS_ERR(tegra->padctl))
padctl           1008 drivers/usb/host/xhci-tegra.c 		return PTR_ERR(tegra->padctl);
padctl           1288 drivers/usb/host/xhci-tegra.c 	tegra_xusb_padctl_put(tegra->padctl);
padctl           1318 drivers/usb/host/xhci-tegra.c 	tegra_xusb_padctl_put(tegra->padctl);
padctl             13 include/linux/phy/tegra/xusb.h void tegra_xusb_padctl_put(struct tegra_xusb_padctl *padctl);
padctl             15 include/linux/phy/tegra/xusb.h int tegra_xusb_padctl_usb3_save_context(struct tegra_xusb_padctl *padctl,
padctl             17 include/linux/phy/tegra/xusb.h int tegra_xusb_padctl_hsic_set_idle(struct tegra_xusb_padctl *padctl,
padctl             19 include/linux/phy/tegra/xusb.h int tegra_xusb_padctl_usb3_set_lfps_detect(struct tegra_xusb_padctl *padctl,