Lines Matching refs:tmpbuf
884 uint8_t tmpbuf[4]; in xhci_submit_root() local
970 tmpbuf[0] = 1; /* USB_STATUS_SELFPOWERED */ in xhci_submit_root()
971 tmpbuf[1] = 0; in xhci_submit_root()
972 srcptr = tmpbuf; in xhci_submit_root()
976 memset(tmpbuf, 0, 4); in xhci_submit_root()
979 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in xhci_submit_root()
986 tmpbuf[1] |= USB_PORT_STAT_LOW_SPEED >> 8; in xhci_submit_root()
990 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8; in xhci_submit_root()
994 tmpbuf[1] |= USB_PORT_STAT_SUPER_SPEED >> 8; in xhci_submit_root()
999 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in xhci_submit_root()
1001 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; in xhci_submit_root()
1003 tmpbuf[0] |= USB_PORT_STAT_OVERCURRENT; in xhci_submit_root()
1005 tmpbuf[0] |= USB_PORT_STAT_RESET; in xhci_submit_root()
1016 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8; in xhci_submit_root()
1018 tmpbuf[2] |= USB_PORT_STAT_C_CONNECTION; in xhci_submit_root()
1020 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE; in xhci_submit_root()
1022 tmpbuf[2] |= USB_PORT_STAT_C_OVERCURRENT; in xhci_submit_root()
1024 tmpbuf[2] |= USB_PORT_STAT_C_RESET; in xhci_submit_root()
1026 srcptr = tmpbuf; in xhci_submit_root()