Lines Matching refs:tmpbuf
656 uint8_t tmpbuf[4]; in ehci_submit_root() local
751 tmpbuf[0] = 1; /* USB_STATUS_SELFPOWERED */ in ehci_submit_root()
752 tmpbuf[1] = 0; in ehci_submit_root()
753 srcptr = tmpbuf; in ehci_submit_root()
757 memset(tmpbuf, 0, 4); in ehci_submit_root()
760 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in ehci_submit_root()
762 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in ehci_submit_root()
764 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; in ehci_submit_root()
766 tmpbuf[0] |= USB_PORT_STAT_OVERCURRENT; in ehci_submit_root()
768 tmpbuf[0] |= USB_PORT_STAT_RESET; in ehci_submit_root()
770 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8; in ehci_submit_root()
777 tmpbuf[1] |= USB_PORT_STAT_LOW_SPEED >> 8; in ehci_submit_root()
781 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8; in ehci_submit_root()
785 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8; in ehci_submit_root()
789 tmpbuf[2] |= USB_PORT_STAT_C_CONNECTION; in ehci_submit_root()
791 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE; in ehci_submit_root()
793 tmpbuf[2] |= USB_PORT_STAT_C_OVERCURRENT; in ehci_submit_root()
795 tmpbuf[2] |= USB_PORT_STAT_C_RESET; in ehci_submit_root()
797 srcptr = tmpbuf; in ehci_submit_root()