Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
i2400m-usb.h File Reference
#include "i2400m.h"
#include <linux/kthread.h>

Go to the source code of this file.

Data Structures

struct  edc
 
struct  i2400m_endpoint_cfg
 
struct  i2400mu
 

Enumerations

enum  { EDC_MAX_ERRORS = 10, EDC_ERROR_TIMEFRAME = HZ }
 
enum  {
  I2400M_USB_BOOT_RETRIES = 3, I2400MU_MAX_NOTIFICATION_LEN = 256, I2400MU_BLK_SIZE = 16, I2400MU_PL_SIZE_MAX = 0x3EFF,
  USB_DEVICE_ID_I6050 = 0x0186, USB_DEVICE_ID_I6050_2 = 0x0188, USB_DEVICE_ID_I6250 = 0x0187
}
 

Functions

int i2400mu_notification_setup (struct i2400mu *)
 
void i2400mu_notification_release (struct i2400mu *)
 
int i2400mu_rx_setup (struct i2400mu *)
 
void i2400mu_rx_release (struct i2400mu *)
 
void i2400mu_rx_kick (struct i2400mu *)
 
int i2400mu_tx_setup (struct i2400mu *)
 
void i2400mu_tx_release (struct i2400mu *)
 
void i2400mu_bus_tx_kick (struct i2400m *)
 
ssize_t i2400mu_bus_bm_cmd_send (struct i2400m *, const struct i2400m_bootrom_header *, size_t, int)
 
ssize_t i2400mu_bus_bm_wait_for_ack (struct i2400m *, struct i2400m_bootrom_header *, size_t)
 

Enumeration Type Documentation

anonymous enum
Enumerator:
EDC_MAX_ERRORS 
EDC_ERROR_TIMEFRAME 

Definition at line 80 of file i2400m-usb.h.

anonymous enum
Enumerator:
I2400M_USB_BOOT_RETRIES 
I2400MU_MAX_NOTIFICATION_LEN 
I2400MU_BLK_SIZE 
I2400MU_PL_SIZE_MAX 
USB_DEVICE_ID_I6050 
USB_DEVICE_ID_I6050_2 
USB_DEVICE_ID_I6250 

Definition at line 146 of file i2400m-usb.h.

Function Documentation

ssize_t i2400mu_bus_bm_cmd_send ( struct i2400m ,
const struct i2400m_bootrom_header ,
size_t  ,
int   
)

Definition at line 181 of file usb-fw.c.

ssize_t i2400mu_bus_bm_wait_for_ack ( struct i2400m ,
struct i2400m_bootrom_header ,
size_t   
)

Definition at line 276 of file usb-fw.c.

void i2400mu_bus_tx_kick ( struct i2400m )

Definition at line 229 of file usb-tx.c.

void i2400mu_notification_release ( struct i2400mu )

Definition at line 248 of file usb-notif.c.

int i2400mu_notification_setup ( struct i2400mu )

Definition at line 192 of file usb-notif.c.

void i2400mu_rx_kick ( struct i2400mu )

Definition at line 418 of file usb-rx.c.

void i2400mu_rx_release ( struct i2400mu )

Definition at line 449 of file usb-rx.c.

int i2400mu_rx_setup ( struct i2400mu )

Definition at line 430 of file usb-rx.c.

void i2400mu_tx_release ( struct i2400mu )

Definition at line 258 of file usb-tx.c.

int i2400mu_tx_setup ( struct i2400mu )

Definition at line 240 of file usb-tx.c.