Home
last modified time | relevance | path

Searched refs:USB_CTRL_MASK (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/phy/broadcom/
Dphy-brcm-usb-init-synopsys.c160 reg &= ~(USB_CTRL_MASK(SETUP, STRAP_IPP_SEL)); in usb_init_ipp()
163 reg &= ~(USB_CTRL_MASK(SETUP, IPP) | USB_CTRL_MASK(SETUP, IOC)); in usb_init_ipp()
165 reg |= USB_CTRL_MASK(SETUP, IOC); in usb_init_ipp()
167 reg |= USB_CTRL_MASK(SETUP, IPP); in usb_init_ipp()
174 if ((reg ^ orig_reg) & USB_CTRL_MASK(SETUP, IPP)) in usb_init_ipp()
197 if (USB_CTRL_MASK(USB_DEVICE_CTL1, PORT_MODE)) { in usb_init_common()
199 reg &= ~USB_CTRL_MASK(USB_DEVICE_CTL1, PORT_MODE); in usb_init_common()
355 reg &= USB_CTRL_MASK(USB_DEVICE_CTL1, PORT_MODE); in usb_get_dual_select()
367 reg &= ~USB_CTRL_MASK(USB_DEVICE_CTL1, PORT_MODE); in usb_set_dual_select()
Dphy-brcm-usb-init.c146 USB_CTRL_MASK(SETUP, BABO) | \
147 USB_CTRL_MASK(SETUP, FNHW) | \
148 USB_CTRL_MASK(SETUP, FNBO) | \
149 USB_CTRL_MASK(SETUP, WABO))
153 USB_CTRL_MASK(SETUP, BABO) | \
154 USB_CTRL_MASK(SETUP, FNHW))
157 USB_CTRL_MASK(SETUP, FNHW) | \
158 USB_CTRL_MASK(SETUP, FNBO) | \
159 USB_CTRL_MASK(SETUP, WABO))
771 reg &= ~(USB_CTRL_MASK(SETUP, IPP) | USB_CTRL_MASK(SETUP, IOC)); in usb_init_ipp()
[all …]
Dphy-brcm-usb-init.h28 #define USB_CTRL_MASK(reg, field) \ macro