Lines Matching defs:setup
1997 } else if (t == 7) { /* SINGLE_STEP_GET_DEVICE_DESCRIPTOR setup */
2158 DWC_DEBUGPL(DBG_HCDV, " Control setup transaction\n");
2670 void dwc_print_setup_data(uint8_t *setup)
2675 for (i = 7; i >= 0; i--) DWC_PRINT("%02x ", setup[i]);
2677 DWC_PRINT(" bmRequestType Tranfer = %s\n", (setup[0] & 0x80) ? "Device-to-Host" : "Host-to-Device");
2679 switch ((setup[0] & 0x60) >> 5) {
2686 switch (setup[0] & 0x1f) {
2693 DWC_PRINT(" bRequest = 0x%0x\n", setup[1]);
2694 DWC_PRINT(" wValue = 0x%0x\n", *((uint16_t *)&setup[2]));
2695 DWC_PRINT(" wIndex = 0x%0x\n", *((uint16_t *)&setup[4]));
2696 DWC_PRINT(" wLength = 0x%0x\n\n", *((uint16_t *)&setup[6]));