Searched refs:USB_CTRL_REG (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/phy/broadcom/ |
D | phy-brcm-usb-init.c | 445 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_read() 447 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_read() 451 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_read() 455 return brcm_usb_readl(USB_CTRL_REG(ctrl_base, MDIO2)) & 0xffff; in brcmusb_usb_mdio_read() 464 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_write() 466 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_write() 471 brcm_usb_writel(data, USB_CTRL_REG(ctrl_base, MDIO)); in brcmusb_usb_mdio_write() 781 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, SETUP)); in usb_init_ipp() 800 brcm_usb_writel(reg, USB_CTRL_REG(ctrl, SETUP)); in usb_init_ipp() 828 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, USB_PM_STATUS)); in usb_init_common() [all …]
|
D | phy-brcm-usb-init-synopsys.c | 159 orig_reg = reg = brcm_usb_readl(USB_CTRL_REG(ctrl, SETUP)); in usb_init_ipp() 170 brcm_usb_writel(reg, USB_CTRL_REG(ctrl, SETUP)); in usb_init_ipp() 196 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, USB_DEVICE_CTL1)); in usb_init_common() 199 brcm_usb_writel(reg, USB_CTRL_REG(ctrl, USB_DEVICE_CTL1)); in usb_init_common() 383 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, USB_DEVICE_CTL1)); in usb_get_dual_select() 395 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, USB_DEVICE_CTL1)); in usb_set_dual_select() 398 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), \
|
/Linux-v6.1/drivers/usb/musb/ |
D | am35x.c | 30 #define USB_CTRL_REG 0x04 macro 354 musb_writel(reg_base, USB_CTRL_REG, AM35X_SOFT_RESET_MASK); in am35x_musb_init()
|