Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
config.c File Reference
#include <linux/usb.h>
#include <linux/usb/ch9.h>
#include <linux/usb/hcd.h>
#include <linux/usb/quirks.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <asm/byteorder.h>
#include "usb.h"

Go to the source code of this file.

Macros

#define USB_MAXALTSETTING   128 /* Hard limit */
 
#define USB_MAXENDPOINTS   30 /* Hard limit */
 
#define USB_MAXCONFIG   8 /* Arbitrary limit */
 

Functions

void usb_release_interface_cache (struct kref *ref)
 
void usb_destroy_configuration (struct usb_device *dev)
 
int usb_get_configuration (struct usb_device *dev)
 
void usb_release_bos_descriptor (struct usb_device *dev)
 
int usb_get_bos_descriptor (struct usb_device *dev)
 

Macro Definition Documentation

#define USB_MAXALTSETTING   128 /* Hard limit */

Definition at line 13 of file config.c.

#define USB_MAXCONFIG   8 /* Arbitrary limit */

Definition at line 16 of file config.c.

#define USB_MAXENDPOINTS   30 /* Hard limit */

Definition at line 14 of file config.c.

Function Documentation

void usb_destroy_configuration ( struct usb_device *  dev)

Definition at line 618 of file config.c.

int usb_get_bos_descriptor ( struct usb_device *  dev)

Definition at line 771 of file config.c.

int usb_get_configuration ( struct usb_device *  dev)

Definition at line 658 of file config.c.

void usb_release_bos_descriptor ( struct usb_device *  dev)

Definition at line 761 of file config.c.

void usb_release_interface_cache ( struct kref ref)

Definition at line 288 of file config.c.