Searched refs:USB_CTRL_REG (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/phy/broadcom/ |
D | phy-brcm-usb-init.c | 472 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_read() 474 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_read() 478 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_read() 482 return brcm_usb_readl(USB_CTRL_REG(ctrl_base, MDIO2)) & 0xffff; in brcmusb_usb_mdio_read() 491 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_write() 493 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_write() 498 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_write() 808 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, SETUP)); in usb_init_ipp() 827 brcm_usb_writel(reg, USB_CTRL_REG(ctrl, SETUP)); in usb_init_ipp() 855 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, USB_PM_STATUS)); in usb_init_common() [all …]
|
D | phy-brcm-usb-init-synopsys.c | 168 orig_reg = reg = brcm_usb_readl(USB_CTRL_REG(ctrl, SETUP)); in usb_init_ipp() 179 brcm_usb_writel(reg, USB_CTRL_REG(ctrl, SETUP)); in usb_init_ipp() 205 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, USB_DEVICE_CTL1)); in usb_init_common() 208 brcm_usb_writel(reg, USB_CTRL_REG(ctrl, USB_DEVICE_CTL1)); in usb_init_common() 399 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, USB_DEVICE_CTL1)); in usb_get_dual_select() 411 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, USB_DEVICE_CTL1)); in usb_set_dual_select() 414 brcm_usb_writel(reg, USB_CTRL_REG(ctrl, USB_DEVICE_CTL1)); in usb_set_dual_select()
|
D | phy-brcm-usb-init.h | 26 #define USB_CTRL_REG(base, reg) ((void __iomem *)base + USB_CTRL_##reg) macro 31 brcm_usb_ctrl_set(USB_CTRL_REG(base, reg), \ 34 brcm_usb_ctrl_unset(USB_CTRL_REG(base, reg), \
|