Lines Matching refs:USB_CTRL_MASK_FAMILY
133 #define USB_CTRL_MASK_FAMILY(params, reg, field) \ macro
729 if (USB_CTRL_MASK_FAMILY(params, USB_PM, XHC_SOFT_RESETB)) in brcmusb_xhci_soft_reset()
735 if (USB_CTRL_MASK_FAMILY(params, USB_PM, XHC_SOFT_RESETB)) in brcmusb_xhci_soft_reset()
787 if (USB_CTRL_MASK_FAMILY(params, USB30_CTL1, USB3_IOC)) { in brcm_usb_init_ipp()
796 if (USB_CTRL_MASK_FAMILY(params, SETUP, STRAP_CC_DRD_MODE_ENABLE_SEL)) in brcm_usb_init_ipp()
798 reg &= ~(USB_CTRL_MASK_FAMILY(params, in brcm_usb_init_ipp()
801 if (USB_CTRL_MASK_FAMILY(params, SETUP, STRAP_IPP_SEL)) in brcm_usb_init_ipp()
804 reg &= ~(USB_CTRL_MASK_FAMILY(params, SETUP, in brcm_usb_init_ipp()
828 if (USB_CTRL_MASK_FAMILY(params, USB_DEVICE_CTL1, PORT_MODE)) { in brcm_usb_init_get_dual_select()
830 reg &= USB_CTRL_MASK_FAMILY(params, USB_DEVICE_CTL1, in brcm_usb_init_get_dual_select()
842 if (USB_CTRL_MASK_FAMILY(params, USB_DEVICE_CTL1, PORT_MODE)) { in brcm_usb_init_set_dual_select()
844 reg &= ~USB_CTRL_MASK_FAMILY(params, USB_DEVICE_CTL1, in brcm_usb_init_set_dual_select()
857 if (USB_CTRL_MASK_FAMILY(params, PLL_CTL, PLL_IDDQ_PWRDN)) { in brcm_usb_init_common()
863 if (USB_CTRL_MASK_FAMILY(params, USB_PM, USB_PWRDN)) { in brcm_usb_init_common()
883 reg |= USB_CTRL_MASK_FAMILY(params, SETUP, OC3_DISABLE); in brcm_usb_init_common()
892 if (USB_CTRL_MASK_FAMILY(params, SETUP, SCB1_EN)) in brcm_usb_init_common()
893 reg |= USB_CTRL_MASK_FAMILY(params, SETUP, SCB1_EN); in brcm_usb_init_common()
894 if (USB_CTRL_MASK_FAMILY(params, SETUP, SCB2_EN)) in brcm_usb_init_common()
895 reg |= USB_CTRL_MASK_FAMILY(params, SETUP, SCB2_EN); in brcm_usb_init_common()
900 if (USB_CTRL_MASK_FAMILY(params, USB_DEVICE_CTL1, PORT_MODE)) { in brcm_usb_init_common()
902 reg &= ~USB_CTRL_MASK_FAMILY(params, USB_DEVICE_CTL1, in brcm_usb_init_common()
907 if (USB_CTRL_MASK_FAMILY(params, USB_PM, BDC_SOFT_RESETB)) { in brcm_usb_init_common()
918 if (USB_CTRL_MASK_FAMILY(params, SETUP, CC_DRD_MODE_ENABLE)) { in brcm_usb_init_common()
932 if (USB_CTRL_MASK_FAMILY(params, USB_PM, USB20_HC_RESETB)) in brcm_usb_init_eohci()
945 reg |= USB_CTRL_MASK_FAMILY(params, SETUP, ENDIAN); in brcm_usb_init_eohci()
983 if (USB_CTRL_MASK_FAMILY(params, USB_PM, USB_PWRDN)) in brcm_usb_uninit_common()
986 if (USB_CTRL_MASK_FAMILY(params, PLL_CTL, PLL_IDDQ_PWRDN)) in brcm_usb_uninit_common()
992 if (USB_CTRL_MASK_FAMILY(params, USB_PM, USB20_HC_RESETB)) in brcm_usb_uninit_eohci()