Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/phy/ingenic/
Dphy-ingenic-usb.c19 #define REG_USBPCR_OFFSET 0x00 macro
114 reg = readl(priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_init()
115 writel(reg & ~USBPCR_POR, priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_init()
162 reg = readl(priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_set_mode()
167 writel(reg, priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_set_mode()
171 reg = readl(priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_set_mode()
176 writel(reg, priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_set_mode()
180 reg = readl(priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_set_mode()
185 writel(reg, priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_set_mode()
217 writel(reg, priv->base + REG_USBPCR_OFFSET); in jz4770_usb_phy_init()
[all …]
/Linux-v6.1/drivers/usb/phy/
Dphy-jz4770.c18 #define REG_USBPCR_OFFSET 0x00 macro
136 reg = readl(priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_set_peripheral()
139 writel(reg, priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_set_peripheral()
149 reg = readl(priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_set_host()
152 writel(reg, priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_set_host()
179 reg = readl(priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_init()
180 writel(reg & ~USBPCR_POR, priv->base + REG_USBPCR_OFFSET); in ingenic_usb_phy_init()
208 writel(reg, priv->base + REG_USBPCR_OFFSET); in jz4770_usb_phy_init()
221 writel(reg, priv->base + REG_USBPCR_OFFSET); in jz4780_usb_phy_init()
235 writel(reg, priv->base + REG_USBPCR_OFFSET); in x1000_usb_phy_init()
[all …]