Lines Matching refs:tmpbuf
894 uint8_t tmpbuf[4]; in xhci_submit_root() local
980 tmpbuf[0] = 1; /* USB_STATUS_SELFPOWERED */ in xhci_submit_root()
981 tmpbuf[1] = 0; in xhci_submit_root()
982 srcptr = tmpbuf; in xhci_submit_root()
986 memset(tmpbuf, 0, 4); in xhci_submit_root()
989 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in xhci_submit_root()
996 tmpbuf[1] |= USB_PORT_STAT_LOW_SPEED >> 8; in xhci_submit_root()
1000 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8; in xhci_submit_root()
1004 tmpbuf[1] |= USB_PORT_STAT_SUPER_SPEED >> 8; in xhci_submit_root()
1009 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in xhci_submit_root()
1011 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; in xhci_submit_root()
1013 tmpbuf[0] |= USB_PORT_STAT_OVERCURRENT; in xhci_submit_root()
1015 tmpbuf[0] |= USB_PORT_STAT_RESET; in xhci_submit_root()
1026 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8; in xhci_submit_root()
1028 tmpbuf[2] |= USB_PORT_STAT_C_CONNECTION; in xhci_submit_root()
1030 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE; in xhci_submit_root()
1032 tmpbuf[2] |= USB_PORT_STAT_C_OVERCURRENT; in xhci_submit_root()
1034 tmpbuf[2] |= USB_PORT_STAT_C_RESET; in xhci_submit_root()
1036 srcptr = tmpbuf; in xhci_submit_root()