• Home
  • Raw
  • Download

Lines Matching refs:enable

97 static inline void __au1300_usb_phyctl(void __iomem *base, int enable)  in __au1300_usb_phyctl()  argument
107 if (enable) { in __au1300_usb_phyctl()
122 static inline void __au1300_ohci_control(void __iomem *base, int enable, int id) in __au1300_ohci_control() argument
126 if (enable) { in __au1300_ohci_control()
136 __au1300_usb_phyctl(base, enable); /* power up the PHYs */ in __au1300_ohci_control()
158 __au1300_usb_phyctl(base, enable); in __au1300_ohci_control()
162 static inline void __au1300_ehci_control(void __iomem *base, int enable) in __au1300_ehci_control() argument
166 if (enable) { in __au1300_ehci_control()
177 __au1300_usb_phyctl(base, enable); in __au1300_ehci_control()
199 __au1300_usb_phyctl(base, enable); in __au1300_ehci_control()
203 static inline void __au1300_udc_control(void __iomem *base, int enable) in __au1300_udc_control() argument
207 if (enable) { in __au1300_udc_control()
213 __au1300_usb_phyctl(base, enable); in __au1300_udc_control()
230 __au1300_usb_phyctl(base, enable); in __au1300_udc_control()
234 static inline void __au1300_otg_control(void __iomem *base, int enable) in __au1300_otg_control() argument
237 if (enable) { in __au1300_otg_control()
248 __au1300_usb_phyctl(base, enable); in __au1300_otg_control()
260 __au1300_usb_phyctl(base, enable); in __au1300_otg_control()
264 static inline int au1300_usb_control(int block, int enable) in au1300_usb_control() argument
272 __au1300_ohci_control(base, enable, 0); in au1300_usb_control()
275 __au1300_ohci_control(base, enable, 1); in au1300_usb_control()
278 __au1300_ehci_control(base, enable); in au1300_usb_control()
281 __au1300_udc_control(base, enable); in au1300_usb_control()
284 __au1300_otg_control(base, enable); in au1300_usb_control()
315 static inline void __au1200_ohci_control(void __iomem *base, int enable) in __au1200_ohci_control() argument
318 if (enable) { in __au1200_ohci_control()
329 static inline void __au1200_ehci_control(void __iomem *base, int enable) in __au1200_ehci_control() argument
332 if (enable) { in __au1200_ehci_control()
345 static inline void __au1200_udc_control(void __iomem *base, int enable) in __au1200_udc_control() argument
348 if (enable) { in __au1200_udc_control()
359 static inline int au1200_usb_control(int block, int enable) in au1200_usb_control() argument
366 __au1200_ohci_control(base, enable); in au1200_usb_control()
369 __au1200_udc_control(base, enable); in au1200_usb_control()
372 __au1200_ehci_control(base, enable); in au1200_usb_control()
424 static inline void __au1xx0_ohci_control(int enable, unsigned long rb, int creg) in __au1xx0_ohci_control() argument
433 if (enable) { in __au1xx0_ohci_control()
457 static inline int au1000_usb_control(int block, int enable, unsigned long rb, in au1000_usb_control() argument
464 __au1xx0_ohci_control(enable, rb, creg); in au1000_usb_control()
477 int alchemy_usb_control(int block, int enable) in alchemy_usb_control() argument
487 ret = au1000_usb_control(block, enable, in alchemy_usb_control()
491 ret = au1000_usb_control(block, enable, in alchemy_usb_control()
495 ret = au1200_usb_control(block, enable); in alchemy_usb_control()
498 ret = au1300_usb_control(block, enable); in alchemy_usb_control()