Lines Matching refs:keystone
32 struct keystone_usb_phy *keystone = dev_get_priv(dev); in keystone_usb_init() local
39 val = readl(keystone->reg + USB_PHY_CTL_CLOCK); in keystone_usb_init()
42 writel(val, keystone->reg + USB_PHY_CTL_CLOCK); in keystone_usb_init()
51 struct keystone_usb_phy *keystone = dev_get_priv(dev); in keystone_usb_power_on() local
53 val = readl(keystone->reg + USB_PHY_CTL_CLOCK); in keystone_usb_power_on()
55 writel(val, keystone->reg + USB_PHY_CTL_CLOCK); in keystone_usb_power_on()
64 struct keystone_usb_phy *keystone = dev_get_priv(dev); in keystone_usb_power_off() local
66 val = readl(keystone->reg + USB_PHY_CTL_CLOCK); in keystone_usb_power_off()
68 writel(val, keystone->reg + USB_PHY_CTL_CLOCK); in keystone_usb_power_off()
80 struct keystone_usb_phy *keystone = dev_get_priv(dev); in keystone_usb_phy_probe() local
82 keystone->reg = dev_remap_addr_index(dev, 0); in keystone_usb_phy_probe()
83 if (!keystone->reg) { in keystone_usb_phy_probe()