Lines Matching refs:tmpbuf
725 uint8_t tmpbuf[4];
820 tmpbuf[0] = 1; /* USB_STATUS_SELFPOWERED */
821 tmpbuf[1] = 0;
822 srcptr = tmpbuf;
826 memset(tmpbuf, 0, 4);
829 tmpbuf[0] |= USB_PORT_STAT_CONNECTION;
831 tmpbuf[0] |= USB_PORT_STAT_ENABLE;
833 tmpbuf[0] |= USB_PORT_STAT_SUSPEND;
835 tmpbuf[0] |= USB_PORT_STAT_OVERCURRENT;
837 tmpbuf[0] |= USB_PORT_STAT_RESET;
839 tmpbuf[1] |= USB_PORT_STAT_POWER >> 8;
846 tmpbuf[1] |= USB_PORT_STAT_LOW_SPEED >> 8;
850 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8;
854 tmpbuf[1] |= USB_PORT_STAT_HIGH_SPEED >> 8;
858 tmpbuf[2] |= USB_PORT_STAT_C_CONNECTION;
860 tmpbuf[2] |= USB_PORT_STAT_C_ENABLE;
862 tmpbuf[2] |= USB_PORT_STAT_C_OVERCURRENT;
864 tmpbuf[2] |= USB_PORT_STAT_C_RESET;
866 srcptr = tmpbuf;