Searched refs:phy_dwc3 (Results 1 – 1 of 1) sorted by relevance
142 static inline void usb_phy_write_readback(struct usb_phy *phy_dwc3, in usb_phy_write_readback() argument146 u32 write_val, tmp = readl(phy_dwc3->base + offset); in usb_phy_write_readback()151 writel(write_val, phy_dwc3->base + offset); in usb_phy_write_readback()154 tmp = readl(phy_dwc3->base + offset); in usb_phy_write_readback()158 dev_err(phy_dwc3->dev, "write: %x to QSCRATCH: %x FAILED\n", val, offset); in usb_phy_write_readback()175 static int usb_ss_write_phycreg(struct usb_phy *phy_dwc3, in usb_ss_write_phycreg() argument180 writel(addr, phy_dwc3->base + CR_PROTOCOL_DATA_IN_REG); in usb_ss_write_phycreg()182 phy_dwc3->base + CR_PROTOCOL_CAP_ADDR_REG); in usb_ss_write_phycreg()184 ret = wait_for_latch(phy_dwc3->base + CR_PROTOCOL_CAP_ADDR_REG); in usb_ss_write_phycreg()188 writel(val, phy_dwc3->base + CR_PROTOCOL_DATA_IN_REG); in usb_ss_write_phycreg()[all …]