Home
last modified time | relevance | path

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

/drivers/phy/broadcom/
Dphy-bcm63xx-usbh.c224 static inline bool usbh_has_reg(struct bcm63xx_usbh_phy *usbh, int reg) in usbh_has_reg() argument
226 return (usbh->variant->regs[reg] >= 0); in usbh_has_reg()
229 static inline u32 usbh_readl(struct bcm63xx_usbh_phy *usbh, int reg) in usbh_readl() argument
231 return __raw_readl(usbh->base + usbh->variant->regs[reg]); in usbh_readl()
234 static inline void usbh_writel(struct bcm63xx_usbh_phy *usbh, int reg, in usbh_writel() argument
237 __raw_writel(value, usbh->base + usbh->variant->regs[reg]); in usbh_writel()
242 struct bcm63xx_usbh_phy *usbh = phy_get_drvdata(phy); in bcm63xx_usbh_phy_init() local
245 ret = clk_prepare_enable(usbh->usbh_clk); in bcm63xx_usbh_phy_init()
251 ret = clk_prepare_enable(usbh->usb_ref_clk); in bcm63xx_usbh_phy_init()
254 clk_disable_unprepare(usbh->usbh_clk); in bcm63xx_usbh_phy_init()
[all …]
DMakefile2 obj-$(CONFIG_PHY_BCM63XX_USBH) += phy-bcm63xx-usbh.o