Lines Matching refs:creg
427 static inline void __au1xx0_ohci_control(int enable, unsigned long rb, int creg) in __au1xx0_ohci_control() argument
430 unsigned long r = __raw_readl(base + creg); in __au1xx0_ohci_control()
433 __raw_writel(r | USBHEN_CE, base + creg); in __au1xx0_ohci_control()
436 __raw_writel(r | USBHEN_CE | USBHEN_E, base + creg); in __au1xx0_ohci_control()
441 while (__raw_readl(base + creg), in __au1xx0_ohci_control()
442 !(__raw_readl(base + creg) & USBHEN_RD)) in __au1xx0_ohci_control()
445 __raw_writel(r & ~(USBHEN_CE | USBHEN_E), base + creg); in __au1xx0_ohci_control()
451 int creg) in au1000_usb_control() argument
457 __au1xx0_ohci_control(enable, rb, creg); in au1000_usb_control()
504 static void au1000_usb_pm(unsigned long br, int creg, int susp) in au1000_usb_pm() argument
509 alchemy_usb_pmdata[0] = __raw_readl(base + creg); in au1000_usb_pm()
513 __raw_writel(0, base + creg); in au1000_usb_pm()
516 __raw_writel(alchemy_usb_pmdata[0], base + creg); in au1000_usb_pm()