Lines Matching refs:tmpbuf
704 uint8_t tmpbuf[4]; in ehci_submit_root() local
799 tmpbuf[0] = 1; /* USB_STATUS_SELFPOWERED */ in ehci_submit_root()
800 tmpbuf[1] = 0; in ehci_submit_root()
801 srcptr = tmpbuf; in ehci_submit_root()
805 memset(tmpbuf, 0, 4); in ehci_submit_root()
808 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in ehci_submit_root()
810 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in ehci_submit_root()
812 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; in ehci_submit_root()
814 tmpbuf[0] |= USB_PORT_STAT_OVERCURRENT; in ehci_submit_root()
816 tmpbuf[0] |= USB_PORT_STAT_RESET; in ehci_submit_root()
818 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8; in ehci_submit_root()
825 tmpbuf[1] |= USB_PORT_STAT_LOW_SPEED >> 8; in ehci_submit_root()
829 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8; in ehci_submit_root()
833 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8; in ehci_submit_root()
837 tmpbuf[2] |= USB_PORT_STAT_C_CONNECTION; in ehci_submit_root()
839 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE; in ehci_submit_root()
841 tmpbuf[2] |= USB_PORT_STAT_C_OVERCURRENT; in ehci_submit_root()
843 tmpbuf[2] |= USB_PORT_STAT_C_RESET; in ehci_submit_root()
845 srcptr = tmpbuf; in ehci_submit_root()