Lines Matching refs:tmpbuf
885 uint8_t tmpbuf[4]; in xhci_submit_root() local
971 tmpbuf[0] = 1; /* USB_STATUS_SELFPOWERED */ in xhci_submit_root()
972 tmpbuf[1] = 0; in xhci_submit_root()
973 srcptr = tmpbuf; in xhci_submit_root()
977 memset(tmpbuf, 0, 4); in xhci_submit_root()
980 tmpbuf[0] |= USB_PORT_STAT_CONNECTION; in xhci_submit_root()
987 tmpbuf[1] |= USB_PORT_STAT_LOW_SPEED >> 8; in xhci_submit_root()
991 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8; in xhci_submit_root()
995 tmpbuf[1] |= USB_PORT_STAT_SUPER_SPEED >> 8; in xhci_submit_root()
1000 tmpbuf[0] |= USB_PORT_STAT_ENABLE; in xhci_submit_root()
1002 tmpbuf[0] |= USB_PORT_STAT_SUSPEND; in xhci_submit_root()
1004 tmpbuf[0] |= USB_PORT_STAT_OVERCURRENT; in xhci_submit_root()
1006 tmpbuf[0] |= USB_PORT_STAT_RESET; in xhci_submit_root()
1017 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8; in xhci_submit_root()
1019 tmpbuf[2] |= USB_PORT_STAT_C_CONNECTION; in xhci_submit_root()
1021 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE; in xhci_submit_root()
1023 tmpbuf[2] |= USB_PORT_STAT_C_OVERCURRENT; in xhci_submit_root()
1025 tmpbuf[2] |= USB_PORT_STAT_C_RESET; in xhci_submit_root()
1027 srcptr = tmpbuf; in xhci_submit_root()