Scroll to navigation

STRUCT USB_OS_DESC(9) Kernel Mode Gadget API STRUCT USB_OS_DESC(9)

NAME

struct_usb_os_desc - describes OS descriptors associated with one interface

SYNOPSIS

struct usb_os_desc {
  char * ext_compat_id;
  struct list_head ext_prop;
  int ext_prop_len;
  int ext_prop_count;
  struct mutex * opts_mutex;
  struct config_group group;
  struct module * owner;
};  

MEMBERS

char * ext_compat_id
16 bytes of “Compatible ID” and “Subcompatible ID”

struct list_head ext_prop

Extended Properties list

int ext_prop_len

Total length of Extended Properties blobs

int ext_prop_count

Number of Extended Properties

struct mutex * opts_mutex

Optional mutex protecting config data of a usb_function_instance

struct config_group group

Represents OS descriptors associated with an interface in configfs

struct module * owner

Module associated with this OS descriptor

AUTHOR

David Brownell <dbrownell@users.sourceforge.net>
Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11