Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
f_loopback.c File Reference
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include "g_zero.h"
#include "gadget_chips.h"

Go to the source code of this file.

Data Structures

struct  f_loopback
 

Functions

 module_param (qlen, uint, 0)
 
 MODULE_PARM_DESC (qlenn,"depth of loopback queue")
 
int __init loopback_add (struct usb_composite_dev *cdev, bool autoresume)
 

Variables

struct usb_ss_ep_comp_descriptor ss_loop_source_comp_desc
 
struct usb_ss_ep_comp_descriptor ss_loop_sink_comp_desc
 

Function Documentation

int __init loopback_add ( struct usb_composite_dev cdev,
bool  autoresume 
)

loopback_add - add a loopback testing configuration to a device : the device to support the loopback configuration

Definition at line 406 of file f_loopback.c.

module_param ( qlen  ,
uint  ,
 
)
MODULE_PARM_DESC ( qlenn  ,
"depth of loopback queue  
)

Variable Documentation

struct usb_ss_ep_comp_descriptor ss_loop_sink_comp_desc
Initial value:
= {
.bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
.bMaxBurst = 0,
.bmAttributes = 0,
.wBytesPerInterval = 0,
}

Definition at line 138 of file f_loopback.c.

struct usb_ss_ep_comp_descriptor ss_loop_source_comp_desc
Initial value:
= {
.bDescriptorType = USB_DT_SS_ENDPOINT_COMP,
.bMaxBurst = 0,
.bmAttributes = 0,
.wBytesPerInterval = 0,
}

Definition at line 122 of file f_loopback.c.