Lines Matching refs:tmpbuf
670 uint8_t tmpbuf[4]; in ehci_submit_root() local
765 tmpbuf[0] = 1; /* USB_STATUS_SELFPOWERED */ in ehci_submit_root()
766 tmpbuf[1] = 0; in ehci_submit_root()
767 srcptr = tmpbuf; in ehci_submit_root()
771 memset(tmpbuf, 0, 4); in ehci_submit_root()
774 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in ehci_submit_root()
776 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in ehci_submit_root()
778 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; in ehci_submit_root()
780 tmpbuf[0] |= USB_PORT_STAT_OVERCURRENT; in ehci_submit_root()
782 tmpbuf[0] |= USB_PORT_STAT_RESET; in ehci_submit_root()
784 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8; in ehci_submit_root()
791 tmpbuf[1] |= USB_PORT_STAT_LOW_SPEED >> 8; in ehci_submit_root()
795 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8; in ehci_submit_root()
799 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8; in ehci_submit_root()
803 tmpbuf[2] |= USB_PORT_STAT_C_CONNECTION; in ehci_submit_root()
805 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE; in ehci_submit_root()
807 tmpbuf[2] |= USB_PORT_STAT_C_OVERCURRENT; in ehci_submit_root()
809 tmpbuf[2] |= USB_PORT_STAT_C_RESET; in ehci_submit_root()
811 srcptr = tmpbuf; in ehci_submit_root()