usb_free_streams(9)

usb_free_streams9

Free bulk endpoint stream ids.

Usage

int usb_free_streams(struct usb_interface * interface, struct usb_host_endpoint ** eps, unsigned int num_eps, gfp_t mem_flags);

Arguments

interface

alternate setting that includes all endpoints.

eps

array of endpoints to remove streams from.

num_eps

number of endpoints in the array.

mem_flags

flags hcd should use to allocate memory.

Overview

Reverts a group of bulk endpoints back to not using stream IDs. Can fail if we are given bad arguments, or HCD is broken.

Return

0 on success. On failure, a negative error code.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.