Home | History | Annotate | Download | only in os

Lines Matching refs:handle_priv

623 	struct windows_device_handle_priv *handle_priv = _device_handle_priv(
637 if (handle_priv->autoclaim_count[current_interface] != 0) {
640 handle_priv->autoclaim_count[current_interface]++;
651 if (handle_priv->autoclaim_count[current_interface] != 0) {
652 handle_priv->autoclaim_count[current_interface]++;
667 struct windows_device_handle_priv* handle_priv = _device_handle_priv(dev_handle);
671 if (handle_priv->autoclaim_count[transfer_priv->interface_number] > 0) {
672 handle_priv->autoclaim_count[transfer_priv->interface_number]--;
673 if (handle_priv->autoclaim_count[transfer_priv->interface_number] == 0) {
2319 struct windows_device_handle_priv *handle_priv = _device_handle_priv(dev_handle);
2343 handle_priv->interface_handle[i].dev_handle = file_handle;
2352 struct windows_device_handle_priv *handle_priv = _device_handle_priv(dev_handle);
2362 file_handle = handle_priv->interface_handle[i].dev_handle;
2372 struct windows_device_handle_priv *handle_priv = _device_handle_priv(dev_handle);
2374 HANDLE winusb_handle = handle_priv->interface_handle[iface].api_handle;
2417 struct windows_device_handle_priv *handle_priv = _device_handle_priv(dev_handle);
2428 file_handle = handle_priv->interface_handle[iface].dev_handle;
2435 handle_priv->interface_handle[iface].api_handle = INVALID_HANDLE_VALUE;
2445 handle_priv->interface_handle[iface].api_handle = winusb_handle;
2448 winusb_handle = handle_priv->interface_handle[0].api_handle;
2452 file_handle = handle_priv->interface_handle[0].dev_handle;
2454 handle_priv->interface_handle[0].api_handle = winusb_handle;
2462 &handle_priv->interface_handle[iface].api_handle)) {
2463 handle_priv->interface_handle[iface].api_handle = INVALID_HANDLE_VALUE;
2478 handle_priv->active_interface = iface;
2485 struct windows_device_handle_priv *handle_priv = _device_handle_priv(dev_handle);
2490 winusb_handle = handle_priv->interface_handle[iface].api_handle;
2496 handle_priv->interface_handle[iface].api_handle = INVALID_HANDLE_VALUE;
2506 struct windows_device_handle_priv *handle_priv = _device_handle_priv(dev_handle);
2510 if ( (handle_priv->interface_handle[i].dev_handle != 0)
2511 && (handle_priv->interface_handle[i].dev_handle != INVALID_HANDLE_VALUE)
2512 && (handle_priv->interface_handle[i].api_handle != 0)
2513 && (handle_priv->interface_handle[i].api_handle != INVALID_HANDLE_VALUE) ) {
2524 struct windows_device_handle_priv *handle_priv, uint8_t endpoint_address)
2528 if (handle_priv->interface_handle[i].api_handle == INVALID_HANDLE_VALUE)
2530 if (handle_priv->interface_handle[i].api_handle == 0)
2549 struct windows_device_handle_priv *handle_priv = _device_handle_priv(
2573 winusb_handle = handle_priv->interface_handle[current_interface].api_handle;
2614 struct windows_device_handle_priv *handle_priv = _device_handle_priv(dev_handle);
2623 winusb_handle = handle_priv->interface_handle[iface].api_handle;
2642 struct windows_device_handle_priv *handle_priv = _device_handle_priv(transfer->dev_handle);
2653 current_interface = interface_by_endpoint(priv, handle_priv, transfer->endpoint);
2661 winusb_handle = handle_priv->interface_handle[current_interface].api_handle;
2696 struct windows_device_handle_priv *handle_priv = _device_handle_priv(dev_handle);
2703 current_interface = interface_by_endpoint(priv, handle_priv, endpoint);
2710 winusb_handle = handle_priv->interface_handle[current_interface].api_handle;
2736 struct windows_device_handle_priv *handle_priv = _device_handle_priv(transfer->dev_handle);
2750 winusb_handle = handle_priv->interface_handle[current_interface].api_handle;
2772 struct windows_device_handle_priv *handle_priv = _device_handle_priv(dev_handle);
2782 winusb_handle = handle_priv->interface_handle[i].api_handle;
2907 struct windows_device_handle_priv *handle_priv = _device_handle_priv(transfer->dev_handle);
2911 current_interface = interface_by_endpoint(priv, handle_priv, transfer->endpoint);
2923 struct windows_device_handle_priv *handle_priv = _device_handle_priv(transfer->dev_handle);
2927 current_interface = interface_by_endpoint(priv, handle_priv, transfer->endpoint);
2939 struct windows_device_handle_priv *handle_priv = _device_handle_priv(dev_handle);
2943 current_interface = interface_by_endpoint(priv, handle_priv, endpoint);