Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
usb.c File Reference
#include "wifi.h"
#include "core.h"
#include "usb.h"
#include "base.h"
#include "ps.h"
#include "rtl8192c/fw_common.h"
#include <linux/export.h>

Go to the source code of this file.

Macros

#define REALTEK_USB_VENQT_READ   0xC0
 
#define REALTEK_USB_VENQT_WRITE   0x40
 
#define REALTEK_USB_VENQT_CMD_REQ   0x05
 
#define REALTEK_USB_VENQT_CMD_IDX   0x00
 
#define MAX_USBCTRL_VENDORREQ_TIMES   10
 
#define IS_HIGH_SPEED_USB(udev)   ((USB_SPEED_HIGH == (udev)->speed) ? true : false)
 
#define __RADIO_TAP_SIZE_RSV   32
 

Functions

int __devinit rtl_usb_probe (struct usb_interface *intf, const struct usb_device_id *id)
 
 EXPORT_SYMBOL (rtl_usb_probe)
 
void rtl_usb_disconnect (struct usb_interface *intf)
 
 EXPORT_SYMBOL (rtl_usb_disconnect)
 
int rtl_usb_suspend (struct usb_interface *pusb_intf, pm_message_t message)
 
 EXPORT_SYMBOL (rtl_usb_suspend)
 
int rtl_usb_resume (struct usb_interface *pusb_intf)
 
 EXPORT_SYMBOL (rtl_usb_resume)
 

Macro Definition Documentation

#define __RADIO_TAP_SIZE_RSV   32

Definition at line 398 of file usb.c.

#define IS_HIGH_SPEED_USB (   udev)    ((USB_SPEED_HIGH == (udev)->speed) ? true : false)

Definition at line 259 of file usb.c.

#define MAX_USBCTRL_VENDORREQ_TIMES   10

Definition at line 41 of file usb.c.

#define REALTEK_USB_VENQT_CMD_IDX   0x00

Definition at line 39 of file usb.c.

#define REALTEK_USB_VENQT_CMD_REQ   0x05

Definition at line 38 of file usb.c.

#define REALTEK_USB_VENQT_READ   0xC0

Definition at line 36 of file usb.c.

#define REALTEK_USB_VENQT_WRITE   0x40

Definition at line 37 of file usb.c.

Function Documentation

EXPORT_SYMBOL ( rtl_usb_probe  )
EXPORT_SYMBOL ( rtl_usb_disconnect  )
EXPORT_SYMBOL ( rtl_usb_suspend  )
EXPORT_SYMBOL ( rtl_usb_resume  )
void rtl_usb_disconnect ( struct usb_interface intf)

Definition at line 1014 of file usb.c.

int __devinit rtl_usb_probe ( struct usb_interface intf,
const struct usb_device_id id 
)

Definition at line 943 of file usb.c.

int rtl_usb_resume ( struct usb_interface pusb_intf)

Definition at line 1054 of file usb.c.

int rtl_usb_suspend ( struct usb_interface pusb_intf,
pm_message_t  message 
)

Definition at line 1048 of file usb.c.