Lines Matching defs:setup
1937 } else if (t == 7) { /* SINGLE_STEP_GET_DEVICE_DESCRIPTOR setup */
2098 DWC_DEBUGPL(DBG_HCDV, " Control setup transaction\n");
2685 void dwc_print_setup_data (uint8_t *setup)
2690 for (i=7; i>=0; i--) DWC_PRINT ("%02x ", setup[i]);
2692 DWC_PRINT(" bmRequestType Tranfer = %s\n", (setup[0]&0x80) ? "Device-to-Host" : "Host-to-Device");
2694 switch ((setup[0]&0x60) >> 5) {
2701 switch (setup[0]&0x1f) {
2708 DWC_PRINT(" bRequest = 0x%0x\n", setup[1]);
2709 DWC_PRINT(" wValue = 0x%0x\n", *((uint16_t *)&setup[2]));
2710 DWC_PRINT(" wIndex = 0x%0x\n", *((uint16_t *)&setup[4]));
2711 DWC_PRINT(" wLength = 0x%0x\n\n", *((uint16_t *)&setup[6]));