Lines Matching refs:setup
53 struct LIBUSB20_CONTROL_SETUP_DECODED setup; member
429 if (libusb20_dev_request_sync(pdev, &opt->setup, in flush_command()
432 } else if (!(opt->setup.bmRequestType & in flush_command()
822 LIBUSB20_INIT(LIBUSB20_CONTROL_SETUP, &opt->setup); in main()
823 opt->setup.bmRequestType = num_id(argv[n + 1], "bmReqTyp"); in main()
824 opt->setup.bRequest = num_id(argv[n + 2], "bReq"); in main()
825 opt->setup.wValue = num_id(argv[n + 3], "wVal"); in main()
826 opt->setup.wIndex = num_id(argv[n + 4], "wIndex"); in main()
827 opt->setup.wLength = num_id(argv[n + 5], "wLen"); in main()
828 if (opt->setup.wLength != 0) { in main()
829 opt->buffer = malloc(opt->setup.wLength); in main()
836 if (!(opt->setup.bmRequestType & in main()
840 if (t < opt->setup.wLength) { in main()
843 t = opt->setup.wLength; in main()
848 n += opt->setup.wLength; in main()