Lines Matching refs:flags

64 static int mxc_set_usbcontrol(int port, unsigned int flags)  in mxc_set_usbcontrol()  argument
74 v |= (flags & MXC_EHCI_INTERFACE_MASK) << MX25_OTG_SIC_SHIFT; in mxc_set_usbcontrol()
76 if (!(flags & MXC_EHCI_POWER_PINS_ENABLED)) in mxc_set_usbcontrol()
79 if (flags & MXC_EHCI_PWR_PIN_ACTIVE_HIGH) in mxc_set_usbcontrol()
82 if (!(flags & MXC_EHCI_OC_PIN_ACTIVE_LOW)) in mxc_set_usbcontrol()
91 v |= (flags & MXC_EHCI_INTERFACE_MASK) << MX25_H1_SIC_SHIFT; in mxc_set_usbcontrol()
93 if (!(flags & MXC_EHCI_POWER_PINS_ENABLED)) in mxc_set_usbcontrol()
96 if (flags & MXC_EHCI_PWR_PIN_ACTIVE_HIGH) in mxc_set_usbcontrol()
99 if (!(flags & MXC_EHCI_OC_PIN_ACTIVE_LOW)) in mxc_set_usbcontrol()
102 if (!(flags & MXC_EHCI_TTL_ENABLED)) in mxc_set_usbcontrol()
105 if (flags & MXC_EHCI_INTERNAL_PHY) in mxc_set_usbcontrol()
108 if (flags & MXC_EHCI_IPPUE_DOWN) in mxc_set_usbcontrol()
111 if (flags & MXC_EHCI_IPPUE_UP) in mxc_set_usbcontrol()
122 v |= (flags & MXC_EHCI_INTERFACE_MASK) << MX31_OTG_SIC_SHIFT; in mxc_set_usbcontrol()
124 if (!(flags & MXC_EHCI_POWER_PINS_ENABLED)) in mxc_set_usbcontrol()
130 v |= (flags & MXC_EHCI_INTERFACE_MASK) << MX31_H1_SIC_SHIFT; in mxc_set_usbcontrol()
132 if (!(flags & MXC_EHCI_POWER_PINS_ENABLED)) in mxc_set_usbcontrol()
135 if (!(flags & MXC_EHCI_TTL_ENABLED)) in mxc_set_usbcontrol()
141 v |= (flags & MXC_EHCI_INTERFACE_MASK) << MX31_H2_SIC_SHIFT; in mxc_set_usbcontrol()
143 if (!(flags & MXC_EHCI_POWER_PINS_ENABLED)) in mxc_set_usbcontrol()
146 if (!(flags & MXC_EHCI_TTL_ENABLED)) in mxc_set_usbcontrol()
158 v |= (flags & MXC_EHCI_INTERFACE_MASK) << MX35_OTG_SIC_SHIFT; in mxc_set_usbcontrol()
160 if (!(flags & MXC_EHCI_POWER_PINS_ENABLED)) in mxc_set_usbcontrol()
163 if (flags & MXC_EHCI_PWR_PIN_ACTIVE_HIGH) in mxc_set_usbcontrol()
166 if (!(flags & MXC_EHCI_OC_PIN_ACTIVE_LOW)) in mxc_set_usbcontrol()
175 v |= (flags & MXC_EHCI_INTERFACE_MASK) << MX35_H1_SIC_SHIFT; in mxc_set_usbcontrol()
177 if (!(flags & MXC_EHCI_POWER_PINS_ENABLED)) in mxc_set_usbcontrol()
180 if (flags & MXC_EHCI_PWR_PIN_ACTIVE_HIGH) in mxc_set_usbcontrol()
183 if (!(flags & MXC_EHCI_OC_PIN_ACTIVE_LOW)) in mxc_set_usbcontrol()
186 if (!(flags & MXC_EHCI_TTL_ENABLED)) in mxc_set_usbcontrol()
189 if (flags & MXC_EHCI_INTERNAL_PHY) in mxc_set_usbcontrol()
192 if (flags & MXC_EHCI_IPPUE_DOWN) in mxc_set_usbcontrol()
195 if (flags & MXC_EHCI_IPPUE_UP) in mxc_set_usbcontrol()