Lines Matching refs:hc
708 #define read_roothub(hc, register, mask) ({ \ argument
709 u32 temp = ohci_readl (hc, &hc->regs->roothub.register); \
711 hc->rh_state = OHCI_RH_HALTED; \
712 else if (hc->flags & OHCI_QUIRK_AMD756) \
714 temp = ohci_readl (hc, &hc->regs->roothub.register); \
717 static inline u32 roothub_a (struct ohci_hcd *hc) in roothub_a() argument
718 { return read_roothub (hc, a, 0xfc0fe000); } in roothub_a()
719 static inline u32 roothub_b (struct ohci_hcd *hc) in roothub_b() argument
720 { return ohci_readl (hc, &hc->regs->roothub.b); } in roothub_b()
721 static inline u32 roothub_status (struct ohci_hcd *hc) in roothub_status() argument
722 { return ohci_readl (hc, &hc->regs->roothub.status); } in roothub_status()
723 static inline u32 roothub_portstatus (struct ohci_hcd *hc, int i) in roothub_portstatus() argument
724 { return read_roothub (hc, portstatus [i], 0xffe0fce0); } in roothub_portstatus()