Lines Matching refs:pad
151 tegra186_usb2_lane_probe(struct tegra_xusb_pad *pad, struct device_node *np, in tegra186_usb2_lane_probe() argument
162 usb2->base.soc = &pad->soc->lanes[index]; in tegra186_usb2_lane_probe()
164 usb2->base.pad = pad; in tegra186_usb2_lane_probe()
257 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra_phy_xusb_utmi_pad_power_on()
288 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra_phy_xusb_utmi_pad_power_down()
364 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_set_mode()
403 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_power_on()
481 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_init()
508 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_utmi_phy_exit()
548 struct tegra_xusb_pad *pad; in tegra186_usb2_pad_probe() local
555 pad = &usb2->base; in tegra186_usb2_pad_probe()
556 pad->ops = &tegra186_usb2_lane_ops; in tegra186_usb2_pad_probe()
557 pad->soc = soc; in tegra186_usb2_pad_probe()
559 err = tegra_xusb_pad_init(pad, padctl, np); in tegra186_usb2_pad_probe()
565 priv->usb2_trk_clk = devm_clk_get(&pad->dev, "trk"); in tegra186_usb2_pad_probe()
568 dev_dbg(&pad->dev, "failed to get usb2 trk clock: %d\n", err); in tegra186_usb2_pad_probe()
572 err = tegra_xusb_pad_register(pad, &utmi_phy_ops); in tegra186_usb2_pad_probe()
576 dev_set_drvdata(&pad->dev, pad); in tegra186_usb2_pad_probe()
578 return pad; in tegra186_usb2_pad_probe()
581 device_unregister(&pad->dev); in tegra186_usb2_pad_probe()
586 static void tegra186_usb2_pad_remove(struct tegra_xusb_pad *pad) in tegra186_usb2_pad_remove() argument
588 struct tegra_xusb_usb2_pad *usb2 = to_usb2_pad(pad); in tegra186_usb2_pad_remove()
627 tegra186_usb3_lane_probe(struct tegra_xusb_pad *pad, struct device_node *np, in tegra186_usb3_lane_probe() argument
638 usb3->base.soc = &pad->soc->lanes[index]; in tegra186_usb3_lane_probe()
640 usb3->base.pad = pad; in tegra186_usb3_lane_probe()
689 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_power_on()
758 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra186_usb3_phy_power_off()
817 struct tegra_xusb_pad *pad; in tegra186_usb3_pad_probe() local
824 pad = &usb3->base; in tegra186_usb3_pad_probe()
825 pad->ops = &tegra186_usb3_lane_ops; in tegra186_usb3_pad_probe()
826 pad->soc = soc; in tegra186_usb3_pad_probe()
828 err = tegra_xusb_pad_init(pad, padctl, np); in tegra186_usb3_pad_probe()
834 err = tegra_xusb_pad_register(pad, &usb3_phy_ops); in tegra186_usb3_pad_probe()
838 dev_set_drvdata(&pad->dev, pad); in tegra186_usb3_pad_probe()
840 return pad; in tegra186_usb3_pad_probe()
843 device_unregister(&pad->dev); in tegra186_usb3_pad_probe()
848 static void tegra186_usb3_pad_remove(struct tegra_xusb_pad *pad) in tegra186_usb3_pad_remove() argument
850 struct tegra_xusb_usb2_pad *usb2 = to_usb2_pad(pad); in tegra186_usb3_pad_remove()