Lines Matching defs:in

13  * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
61 /** The number of URBs in the array. */
63 /** Array of pointers to the in-flight URB structures. */
144 USBSUP_CLAIMDEV in;
145 in.bInterfaceNumber = 0;
148 if (DeviceIoControl(pPriv->hDev, SUPUSB_IOCTL_USB_CLAIM_DEVICE, &in, sizeof(in), &in, sizeof(in), &cbReturned, NULL))
150 if (in.fClaimed)
224 USBSUP_RELEASEDEV in;
226 in.bInterfaceNumber = pPriv->bInterfaceNumber;
227 if (!DeviceIoControl(pPriv->hDev, SUPUSB_IOCTL_USB_RELEASE_DEVICE, &in, sizeof(in), NULL, 0, &cbReturned, NULL))
287 USBSUP_SET_CONFIG in;
293 in.bConfigurationValue = cfg;
297 if (DeviceIoControl(pPriv->hDev, SUPUSB_IOCTL_USB_SET_CONFIG, &in, sizeof(in), NULL, 0, &cbReturned, NULL))
330 * here as for set_config, you may convert this in to a control
334 USBSUP_SELECT_INTERFACE in;
340 in.bInterfaceNumber = ifnum;
341 in.bAlternateSetting = setting;
345 if (DeviceIoControl(pPriv->hDev, SUPUSB_IOCTL_USB_SELECT_INTERFACE, &in, sizeof(in), NULL, 0, &cbReturned, NULL))
357 USBSUP_CLEAR_ENDPOINT in;
363 in.bEndpoint = ep;
366 if (DeviceIoControl(pPriv->hDev, SUPUSB_IOCTL_USB_CLEAR_ENDPOINT, &in, sizeof(in), NULL, 0, &cbReturned, NULL))
378 USBSUP_CLEAR_ENDPOINT in;
385 in.bEndpoint = ep;
388 if (DeviceIoControl(pPriv->hDev, SUPUSB_IOCTL_USB_ABORT_ENDPOINT, &in, sizeof(in), NULL, 0, &cbReturned, NULL))
536 * Reap URBs in-flight on a device.
573 /* Ensure we've got sufficient space in the arrays. */
694 * Cancels an in-flight URB.
707 USBSUP_CLEAR_ENDPOINT in;
712 in.bEndpoint = pUrb->EndPt | (pUrb->enmDir == VUSBDIRECTION_IN ? 0x80 : 0);
713 Log(("Cancel urb %p, endpoint %x\n", pUrb, in.bEndpoint));
716 if (DeviceIoControl(pPriv->hDev, SUPUSB_IOCTL_USB_ABORT_ENDPOINT, &in, sizeof(in), NULL, 0, &cbReturned, NULL))