Lines Matching refs:SETUP
155 USB_CTRL_MASK(SETUP, BABO) | \
156 USB_CTRL_MASK(SETUP, FNHW) | \
157 USB_CTRL_MASK(SETUP, FNBO) | \
158 USB_CTRL_MASK(SETUP, WABO))
162 USB_CTRL_MASK(SETUP, BABO) | \
163 USB_CTRL_MASK(SETUP, FNHW))
166 USB_CTRL_MASK(SETUP, FNHW) | \
167 USB_CTRL_MASK(SETUP, FNBO) | \
168 USB_CTRL_MASK(SETUP, WABO))
717 USB_CTRL_UNSET_FAMILY(params, SETUP, SCB2_EN); in brcmusb_memc_fix()
810 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, SETUP)); in usb_init_ipp()
812 if (USB_CTRL_MASK_FAMILY(params, SETUP, STRAP_CC_DRD_MODE_ENABLE_SEL)) in usb_init_ipp()
815 SETUP, in usb_init_ipp()
817 if (USB_CTRL_MASK_FAMILY(params, SETUP, STRAP_IPP_SEL)) in usb_init_ipp()
820 reg &= ~(USB_CTRL_MASK_FAMILY(params, SETUP, in usb_init_ipp()
824 reg &= ~(USB_CTRL_MASK(SETUP, IPP) | USB_CTRL_MASK(SETUP, IOC)); in usb_init_ipp()
826 reg |= USB_CTRL_MASK(SETUP, IOC); in usb_init_ipp()
828 reg |= USB_CTRL_MASK(SETUP, IPP); in usb_init_ipp()
829 brcm_usb_writel(reg, USB_CTRL_REG(ctrl, SETUP)); in usb_init_ipp()
835 if ((reg ^ orig_reg) & USB_CTRL_MASK(SETUP, IPP)) in usb_init_ipp()
879 USB_CTRL_SET_FAMILY(params, SETUP, SS_EHCI64BIT_EN); in usb_init_common()
884 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, SETUP)); in usb_init_common()
887 reg |= USB_CTRL_MASK_FAMILY(params, SETUP, OC3_DISABLE); in usb_init_common()
896 if (USB_CTRL_MASK_FAMILY(params, SETUP, SCB1_EN)) in usb_init_common()
897 reg |= USB_CTRL_MASK_FAMILY(params, SETUP, SCB1_EN); in usb_init_common()
898 if (USB_CTRL_MASK_FAMILY(params, SETUP, SCB2_EN)) in usb_init_common()
899 reg |= USB_CTRL_MASK_FAMILY(params, SETUP, SCB2_EN); in usb_init_common()
900 brcm_usb_writel(reg, USB_CTRL_REG(ctrl, SETUP)); in usb_init_common()
907 USB_CTRL_SET(ctrl, SETUP, OC_DISABLE_PORT1); in usb_init_common()
908 USB_CTRL_SET_FAMILY(params, SETUP, OC3_DISABLE_PORT1); in usb_init_common()
929 if (USB_CTRL_MASK_FAMILY(params, SETUP, CC_DRD_MODE_ENABLE)) { in usb_init_common()
931 USB_CTRL_SET_FAMILY(params, SETUP, CC_DRD_MODE_ENABLE); in usb_init_common()
933 USB_CTRL_UNSET_FAMILY(params, SETUP, in usb_init_common()
954 reg = brcm_usb_readl(USB_CTRL_REG(ctrl, SETUP)); in usb_init_eohci()
956 reg |= USB_CTRL_MASK_FAMILY(params, SETUP, ENDIAN); in usb_init_eohci()
957 brcm_usb_writel(reg, USB_CTRL_REG(ctrl, SETUP)); in usb_init_eohci()