Lines Matching full:creg
425 static inline void __au1xx0_ohci_control(int enable, unsigned long rb, int creg) in __au1xx0_ohci_control() argument
428 unsigned long r = __raw_readl(base + creg); in __au1xx0_ohci_control()
438 __raw_writel(r | USBHEN_CE, base + creg); in __au1xx0_ohci_control()
441 __raw_writel(r | USBHEN_CE | USBHEN_E, base + creg); in __au1xx0_ohci_control()
446 while (__raw_readl(base + creg), in __au1xx0_ohci_control()
447 !(__raw_readl(base + creg) & USBHEN_RD)) in __au1xx0_ohci_control()
450 __raw_writel(r & ~(USBHEN_CE | USBHEN_E), base + creg); in __au1xx0_ohci_control()
459 int creg) in au1000_usb_control() argument
465 __au1xx0_ohci_control(enable, rb, creg); in au1000_usb_control()
512 static void au1000_usb_pm(unsigned long br, int creg, int susp) in au1000_usb_pm() argument
517 alchemy_usb_pmdata[0] = __raw_readl(base + creg); in au1000_usb_pm()
521 __raw_writel(0, base + creg); in au1000_usb_pm()
524 __raw_writel(alchemy_usb_pmdata[0], base + creg); in au1000_usb_pm()