Lines Matching full:usbcmd
113 [USBCMD] = "USBCMD",
241 itc = (s->usbcmd >> 16) & 0xff; in ehci_commit_irq()
250 if (s->usbcmd & USBCMD_RUNSTOP) { in ehci_update_halt()
359 return s->usbcmd & USBCMD_RUNSTOP; in ehci_enabled()
364 return ehci_enabled(s) && (s->usbcmd & USBCMD_ASE); in ehci_async_enabled()
369 return ehci_enabled(s) && (s->usbcmd & USBCMD_PSE); in ehci_periodic_enabled()
380 ehci->usbcmd &= ~USBCMD_RUNSTOP; in get_dwords()
402 ehci->usbcmd &= ~USBCMD_RUNSTOP; in put_dwords()
871 s->usbcmd = NB_MAXINTRATE << USBCMD_ITC_SH; in ehci_reset()
1031 case USBCMD: in ehci_opreg_write()
1034 val = s->usbcmd; in ehci_opreg_write()
1039 if ((val & USBCMD_FLS) && !(s->usbcmd & USBCMD_FLS)) { in ehci_opreg_write()
1056 ((USBCMD_RUNSTOP | USBCMD_PSE | USBCMD_ASE) & s->usbcmd)) { in ehci_opreg_write()
1060 s->usbcmd = val; /* Set usbcmd for ehci_update_halt() */ in ehci_opreg_write()
2171 if (ehci->usbcmd & USBCMD_IAAD) { in ehci_advance_async_state()
2175 ehci->usbcmd &= ~USBCMD_IAAD; in ehci_advance_async_state()
2479 VMSTATE_UINT32(usbcmd, EHCIState),