Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c84 u8 phyctl_offset; member
141 void __iomem *phyctl = phy_data->base + phy_data->cfg->phyctl_offset; in sun4i_usb_phy_write()
144 if (phy_data->cfg->phyctl_offset == REG_PHYCTL_A33) { in sun4i_usb_phy_write()
279 val = readl(data->base + data->cfg->phyctl_offset); in sun4i_usb_phy_init()
282 writel(val, data->base + data->cfg->phyctl_offset); in sun4i_usb_phy_init()
321 data->cfg->phyctl_offset; in sun4i_usb_phy_exit()
499 .phyctl_offset = REG_PHYCTL_A10,
508 .phyctl_offset = REG_PHYCTL_A10,
517 .phyctl_offset = REG_PHYCTL_A10,
526 .phyctl_offset = REG_PHYCTL_A10,
[all …]
/openbmc/linux/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c105 u8 phyctl_offset; member
185 void __iomem *phyctl = phy_data->base + phy_data->cfg->phyctl_offset; in sun4i_usb_phy_write()
191 if (phy_data->cfg->phyctl_offset == REG_PHYCTL_A33) { in sun4i_usb_phy_write()
333 val = readl(data->base + data->cfg->phyctl_offset); in sun4i_usb_phy_init()
336 writel(val, data->base + data->cfg->phyctl_offset); in sun4i_usb_phy_init()
377 data->cfg->phyctl_offset; in sun4i_usb_phy_exit()
907 .phyctl_offset = REG_PHYCTL_A10,
914 .phyctl_offset = REG_PHYCTL_A10,
921 .phyctl_offset = REG_PHYCTL_A10,
928 .phyctl_offset = REG_PHYCTL_A10,
[all …]