#include <linux/clk.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/reset.h>
enum usbh_regs { … };
struct bcm63xx_usbh_phy_variant { … };
struct bcm63xx_usbh_phy { … };
static const struct bcm63xx_usbh_phy_variant usbh_bcm6318 = …;
static const struct bcm63xx_usbh_phy_variant usbh_bcm6328 = …;
static const struct bcm63xx_usbh_phy_variant usbh_bcm6358 = …;
static const struct bcm63xx_usbh_phy_variant usbh_bcm6368 = …;
static const struct bcm63xx_usbh_phy_variant usbh_bcm63268 = …;
static inline bool usbh_has_reg(struct bcm63xx_usbh_phy *usbh, int reg)
{ … }
static inline u32 usbh_readl(struct bcm63xx_usbh_phy *usbh, int reg)
{ … }
static inline void usbh_writel(struct bcm63xx_usbh_phy *usbh, int reg,
u32 value)
{ … }
static int bcm63xx_usbh_phy_init(struct phy *phy)
{ … }
static int bcm63xx_usbh_phy_power_on(struct phy *phy)
{ … }
static int bcm63xx_usbh_phy_power_off(struct phy *phy)
{ … }
static int bcm63xx_usbh_phy_exit(struct phy *phy)
{ … }
static const struct phy_ops bcm63xx_usbh_phy_ops = …;
static struct phy *bcm63xx_usbh_phy_xlate(struct device *dev,
const struct of_phandle_args *args)
{ … }
static int __init bcm63xx_usbh_phy_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id bcm63xx_usbh_phy_ids[] __initconst = …;
MODULE_DEVICE_TABLE(of, bcm63xx_usbh_phy_ids);
static struct platform_driver bcm63xx_usbh_phy_driver __refdata = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;