Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
st5481.h File Reference
#include <linux/isdn/hdlc.h>
#include "fsm.h"
#include "hisax_if.h"
#include <linux/skbuff.h>
#include "hisax_debug.h"

Go to the source code of this file.

Data Structures

struct  fifo
 
struct  ctrl_msg
 
struct  ctrl_msg_fifo
 
struct  st5481_ctrl
 
struct  st5481_intr
 
struct  st5481_d_out
 
struct  st5481_b_out
 
struct  st5481_in
 
struct  st5481_bcs
 
struct  st5481_adapter
 

Macros

#define ST_VENDOR_ID   0x0483
 
#define ST5481_PRODUCT_ID   0x4810
 
#define ST5481_PRODUCT_ID_MASK   0xFFF0
 
#define EP_CTRL   0x00U /* Control endpoint */
 
#define EP_INT   0x01U /* Interrupt endpoint */
 
#define EP_B1_OUT   0x02U /* B1 channel out */
 
#define EP_B1_IN   0x03U /* B1 channel in */
 
#define EP_B2_OUT   0x04U /* B2 channel out */
 
#define EP_B2_IN   0x05U /* B2 channel in */
 
#define EP_D_OUT   0x06U /* D channel out */
 
#define EP_D_IN   0x07U /* D channel in */
 
#define NUM_ISO_PACKETS_D   20
 
#define NUM_ISO_PACKETS_B   20
 
#define SIZE_ISO_PACKETS_D_IN   16
 
#define SIZE_ISO_PACKETS_D_OUT   2
 
#define SIZE_ISO_PACKETS_B_IN   32
 
#define SIZE_ISO_PACKETS_B_OUT   8
 
#define B_FLOW_ADJUST   2
 
#define LBA   0x02 /* S loopback */
 
#define SET_DEFAULT   0x06 /* Soft reset */
 
#define LBB   0x1D /* S maintenance loopback */
 
#define STT   0x1e /* S force transmission signals */
 
#define SDA_MIN   0x20 /* SDA-sin minimal value */
 
#define SDA_MAX   0x21 /* SDA-sin maximal value */
 
#define SDELAY_VALUE   0x22 /* Delay between Tx and Rx clock */
 
#define IN_D_COUNTER   0x36 /* D receive channel fifo counter */
 
#define OUT_D_COUNTER   0x37 /* D transmit channel fifo counter */
 
#define IN_B1_COUNTER   0x38 /* B1 receive channel fifo counter */
 
#define OUT_B1_COUNTER   0x39 /* B1 transmit channel fifo counter */
 
#define IN_B2_COUNTER   0x3a /* B2 receive channel fifo counter */
 
#define OUT_B2_COUNTER   0x3b /* B2 transmit channel fifo counter */
 
#define FFCTRL_IN_D   0x3C /* D receive channel fifo threshold low */
 
#define FFCTRH_IN_D   0x3D /* D receive channel fifo threshold high */
 
#define FFCTRL_OUT_D   0x3E /* D transmit channel fifo threshold low */
 
#define FFCTRH_OUT_D   0x3F /* D transmit channel fifo threshold high */
 
#define FFCTRL_IN_B1   0x40 /* B1 receive channel fifo threshold low */
 
#define FFCTRH_IN_B1   0x41 /* B1 receive channel fifo threshold high */
 
#define FFCTRL_OUT_B1   0x42 /* B1 transmit channel fifo threshold low */
 
#define FFCTRH_OUT_B1   0x43 /* B1 transmit channel fifo threshold high */
 
#define FFCTRL_IN_B2   0x44 /* B2 receive channel fifo threshold low */
 
#define FFCTRH_IN_B2   0x45 /* B2 receive channel fifo threshold high */
 
#define FFCTRL_OUT_B2   0x46 /* B2 transmit channel fifo threshold low */
 
#define FFCTRH_OUT_B2   0x47 /* B2 transmit channel fifo threshold high */
 
#define MPMSK   0x4A /* Multi purpose interrupt MASK register */
 
#define FFMSK_D   0x4c /* D fifo interrupt MASK register */
 
#define FFMSK_B1   0x4e /* B1 fifo interrupt MASK register */
 
#define FFMSK_B2   0x50 /* B2 fifo interrupt MASK register */
 
#define GPIO_DIR   0x52 /* GPIO pins direction registers */
 
#define GPIO_OUT   0x53 /* GPIO pins output register */
 
#define GPIO_IN   0x54 /* GPIO pins input register */
 
#define TXCI   0x56 /* CI command to be transmitted */
 
#define MPINT   0
 
#define FFINT_D   1
 
#define FFINT_B1   2
 
#define FFINT_B2   3
 
#define CCIST   4
 
#define GPIO_INT   5
 
#define INT_PKT_SIZE   6
 
#define LSD_INT   0x80 /* S line activity detected */
 
#define RXCI_INT   0x40 /* Indicate primitive arrived */
 
#define DEN_INT   0x20 /* Signal enabling data out of D Tx fifo */
 
#define DCOLL_INT   0x10 /* D channel collision */
 
#define AMIVN_INT   0x04 /* AMI violation number reached 2 */
 
#define INFOI_INT   0x04 /* INFOi changed */
 
#define DRXON_INT   0x02 /* Reception channel active */
 
#define GPCHG_INT   0x01 /* GPIO pin value changed */
 
#define IN_OVERRUN   0x80 /* In fifo overrun */
 
#define OUT_UNDERRUN   0x40 /* Out fifo underrun */
 
#define IN_UP   0x20 /* In fifo thresholdh up-crossed */
 
#define IN_DOWN   0x10 /* In fifo thresholdl down-crossed */
 
#define OUT_UP   0x08 /* Out fifo thresholdh up-crossed */
 
#define OUT_DOWN   0x04 /* Out fifo thresholdl down-crossed */
 
#define IN_COUNTER_ZEROED   0x02 /* In down-counter reached 0 */
 
#define OUT_COUNTER_ZEROED   0x01 /* Out down-counter reached 0 */
 
#define ANY_REC_INT   (IN_OVERRUN + IN_UP + IN_DOWN + IN_COUNTER_ZEROED)
 
#define ANY_XMIT_INT   (OUT_UNDERRUN + OUT_UP + OUT_DOWN + OUT_COUNTER_ZEROED)
 
#define ST5481_CMD_DR   0x0 /* Deactivation Request */
 
#define ST5481_CMD_RES   0x1 /* state machine RESet */
 
#define ST5481_CMD_TM1   0x2 /* Test Mode 1 */
 
#define ST5481_CMD_TM2   0x3 /* Test Mode 2 */
 
#define ST5481_CMD_PUP   0x7 /* Power UP */
 
#define ST5481_CMD_AR8   0x8 /* Activation Request class 1 */
 
#define ST5481_CMD_AR10   0x9 /* Activation Request class 2 */
 
#define ST5481_CMD_ARL   0xA /* Activation Request Loopback */
 
#define ST5481_CMD_PDN   0xF /* Power DoWn */
 
#define B1_LED   0x10U
 
#define B2_LED   0x20U
 
#define GREEN_LED   0x40U
 
#define RED_LED   0x80U
 
#define DOUT_STATE_COUNT   (ST_DOUT_WAIT_FOR_RESET + 1)
 
#define DOUT_EVENT_COUNT   (EV_DOUT_UNDERRUN + 1)
 
#define L1_STATE_COUNT   (ST_L1_F8 + 1)
 
#define L1_EVENT_COUNT   (EV_TIMER3 + 1)
 
#define ERR(format, arg...)   printk(KERN_ERR "%s:%s: " format "\n" , __FILE__, __func__ , ## arg)
 
#define WARNING(format, arg...)   printk(KERN_WARNING "%s:%s: " format "\n" , __FILE__, __func__ , ## arg)
 
#define INFO(format, arg...)   printk(KERN_INFO "%s:%s: " format "\n" , __FILE__, __func__ , ## arg)
 
#define MAX_EP0_MSG   16
 
#define MAX_DFRAME_LEN_L1   300
 
#define HSCX_BUFMAX   4096
 
#define TIMER3_VALUE   7000
 
#define SUBMIT_URB(urb, mem_flags)
 
#define __debug_variable   st5481_debug
 
#define DBG_ISO_PACKET(level, urb)   do {} while (0)
 

Typedefs

typedef void(* ctrl_complete_t )(void *)
 
typedef struct ctrl_msg ctrl_msg
 

Enumerations

enum  {
  ST_DOUT_NONE, ST_DOUT_SHORT_INIT, ST_DOUT_SHORT_WAIT_DEN, ST_DOUT_LONG_INIT,
  ST_DOUT_LONG_WAIT_DEN, ST_DOUT_NORMAL, ST_DOUT_WAIT_FOR_UNDERRUN, ST_DOUT_WAIT_FOR_NOT_BUSY,
  ST_DOUT_WAIT_FOR_STOP, ST_DOUT_WAIT_FOR_RESET
}
 
enum  {
  EV_DOUT_START_XMIT, EV_DOUT_COMPLETE, EV_DOUT_DEN, EV_DOUT_RESETED,
  EV_DOUT_STOPPED, EV_DOUT_COLL, EV_DOUT_UNDERRUN
}
 
enum  {
  ST_L1_F3, ST_L1_F4, ST_L1_F6, ST_L1_F7,
  ST_L1_F8
}
 
enum  {
  EV_IND_DP, EV_IND_1, EV_IND_2, EV_IND_3,
  EV_IND_RSY, EV_IND_5, EV_IND_6, EV_IND_7,
  EV_IND_AP, EV_IND_9, EV_IND_10, EV_IND_11,
  EV_IND_AI8, EV_IND_AI10, EV_IND_AIL, EV_IND_DI,
  EV_PH_ACTIVATE_REQ, EV_PH_DEACTIVATE_REQ, EV_TIMER3
}
 

Functions

int st5481_setup_in (struct st5481_in *in)
 
void st5481_release_in (struct st5481_in *in)
 
void st5481_in_mode (struct st5481_in *in, int mode)
 
int st5481_setup_b (struct st5481_bcs *bcs)
 
void st5481_release_b (struct st5481_bcs *bcs)
 
void st5481_d_l2l1 (struct hisax_if *hisax_d_if, int pr, void *arg)
 
int st5481_setup_d (struct st5481_adapter *adapter)
 
void st5481_release_d (struct st5481_adapter *adapter)
 
void st5481_b_l2l1 (struct hisax_if *b_if, int pr, void *arg)
 
int st5481_d_init (void)
 
void st5481_d_exit (void)
 
void st5481_ph_command (struct st5481_adapter *adapter, unsigned int command)
 
int st5481_setup_isocpipes (struct urb *urb[2], struct usb_device *dev, unsigned int pipe, int num_packets, int packet_size, int buf_size, usb_complete_t complete, void *context)
 
void st5481_release_isocpipes (struct urb *urb[2])
 
void st5481_usb_pipe_reset (struct st5481_adapter *adapter, u_char pipe, ctrl_complete_t complete, void *context)
 
void st5481_usb_device_ctrl_msg (struct st5481_adapter *adapter, u8 request, u16 value, ctrl_complete_t complete, void *context)
 
int st5481_setup_usb (struct st5481_adapter *adapter)
 
void st5481_release_usb (struct st5481_adapter *adapter)
 
void st5481_start (struct st5481_adapter *adapter)
 
void st5481_stop (struct st5481_adapter *adapter)
 

Variables

int st5481_debug
 

Macro Definition Documentation

#define __debug_variable   st5481_debug

Definition at line 464 of file st5481.h.

#define AMIVN_INT   0x04 /* AMI violation number reached 2 */

Definition at line 112 of file st5481.h.

#define ANY_REC_INT   (IN_OVERRUN + IN_UP + IN_DOWN + IN_COUNTER_ZEROED)

Definition at line 127 of file st5481.h.

#define ANY_XMIT_INT   (OUT_UNDERRUN + OUT_UP + OUT_DOWN + OUT_COUNTER_ZEROED)

Definition at line 128 of file st5481.h.

#define B1_LED   0x10U

Definition at line 144 of file st5481.h.

#define B2_LED   0x20U

Definition at line 145 of file st5481.h.

#define B_FLOW_ADJUST   2

Definition at line 51 of file st5481.h.

#define CCIST   4

Definition at line 103 of file st5481.h.

#define DBG_ISO_PACKET (   level,
  urb 
)    do {} while (0)

Definition at line 523 of file st5481.h.

#define DCOLL_INT   0x10 /* D channel collision */

Definition at line 111 of file st5481.h.

#define DEN_INT   0x20 /* Signal enabling data out of D Tx fifo */

Definition at line 110 of file st5481.h.

#define DOUT_EVENT_COUNT   (EV_DOUT_UNDERRUN + 1)

Definition at line 179 of file st5481.h.

#define DOUT_STATE_COUNT   (ST_DOUT_WAIT_FOR_RESET + 1)

Definition at line 166 of file st5481.h.

#define DRXON_INT   0x02 /* Reception channel active */

Definition at line 114 of file st5481.h.

#define EP_B1_IN   0x03U /* B1 channel in */

Definition at line 29 of file st5481.h.

#define EP_B1_OUT   0x02U /* B1 channel out */

Definition at line 28 of file st5481.h.

#define EP_B2_IN   0x05U /* B2 channel in */

Definition at line 31 of file st5481.h.

#define EP_B2_OUT   0x04U /* B2 channel out */

Definition at line 30 of file st5481.h.

#define EP_CTRL   0x00U /* Control endpoint */

Definition at line 26 of file st5481.h.

#define EP_D_IN   0x07U /* D channel in */

Definition at line 33 of file st5481.h.

#define EP_D_OUT   0x06U /* D channel out */

Definition at line 32 of file st5481.h.

#define EP_INT   0x01U /* Interrupt endpoint */

Definition at line 27 of file st5481.h.

#define ERR (   format,
  arg... 
)    printk(KERN_ERR "%s:%s: " format "\n" , __FILE__, __func__ , ## arg)

Definition at line 220 of file st5481.h.

#define FFCTRH_IN_B1   0x41 /* B1 receive channel fifo threshold high */

Definition at line 74 of file st5481.h.

#define FFCTRH_IN_B2   0x45 /* B2 receive channel fifo threshold high */

Definition at line 78 of file st5481.h.

#define FFCTRH_IN_D   0x3D /* D receive channel fifo threshold high */

Definition at line 70 of file st5481.h.

#define FFCTRH_OUT_B1   0x43 /* B1 transmit channel fifo threshold high */

Definition at line 76 of file st5481.h.

#define FFCTRH_OUT_B2   0x47 /* B2 transmit channel fifo threshold high */

Definition at line 80 of file st5481.h.

#define FFCTRH_OUT_D   0x3F /* D transmit channel fifo threshold high */

Definition at line 72 of file st5481.h.

#define FFCTRL_IN_B1   0x40 /* B1 receive channel fifo threshold low */

Definition at line 73 of file st5481.h.

#define FFCTRL_IN_B2   0x44 /* B2 receive channel fifo threshold low */

Definition at line 77 of file st5481.h.

#define FFCTRL_IN_D   0x3C /* D receive channel fifo threshold low */

Definition at line 69 of file st5481.h.

#define FFCTRL_OUT_B1   0x42 /* B1 transmit channel fifo threshold low */

Definition at line 75 of file st5481.h.

#define FFCTRL_OUT_B2   0x46 /* B2 transmit channel fifo threshold low */

Definition at line 79 of file st5481.h.

#define FFCTRL_OUT_D   0x3E /* D transmit channel fifo threshold low */

Definition at line 71 of file st5481.h.

#define FFINT_B1   2

Definition at line 101 of file st5481.h.

#define FFINT_B2   3

Definition at line 102 of file st5481.h.

#define FFINT_D   1

Definition at line 100 of file st5481.h.

#define FFMSK_B1   0x4e /* B1 fifo interrupt MASK register */

Definition at line 83 of file st5481.h.

#define FFMSK_B2   0x50 /* B2 fifo interrupt MASK register */

Definition at line 84 of file st5481.h.

#define FFMSK_D   0x4c /* D fifo interrupt MASK register */

Definition at line 82 of file st5481.h.

#define GPCHG_INT   0x01 /* GPIO pin value changed */

Definition at line 115 of file st5481.h.

#define GPIO_DIR   0x52 /* GPIO pins direction registers */

Definition at line 85 of file st5481.h.

#define GPIO_IN   0x54 /* GPIO pins input register */

Definition at line 87 of file st5481.h.

#define GPIO_INT   5

Definition at line 104 of file st5481.h.

#define GPIO_OUT   0x53 /* GPIO pins output register */

Definition at line 86 of file st5481.h.

#define GREEN_LED   0x40U

Definition at line 146 of file st5481.h.

#define HSCX_BUFMAX   4096

Definition at line 324 of file st5481.h.

#define IN_B1_COUNTER   0x38 /* B1 receive channel fifo counter */

Definition at line 65 of file st5481.h.

#define IN_B2_COUNTER   0x3a /* B2 receive channel fifo counter */

Definition at line 67 of file st5481.h.

#define IN_COUNTER_ZEROED   0x02 /* In down-counter reached 0 */

Definition at line 124 of file st5481.h.

#define IN_D_COUNTER   0x36 /* D receive channel fifo counter */

Definition at line 63 of file st5481.h.

#define IN_DOWN   0x10 /* In fifo thresholdl down-crossed */

Definition at line 121 of file st5481.h.

#define IN_OVERRUN   0x80 /* In fifo overrun */

Definition at line 118 of file st5481.h.

#define IN_UP   0x20 /* In fifo thresholdh up-crossed */

Definition at line 120 of file st5481.h.

#define INFO (   format,
  arg... 
)    printk(KERN_INFO "%s:%s: " format "\n" , __FILE__, __func__ , ## arg)

Definition at line 226 of file st5481.h.

#define INFOI_INT   0x04 /* INFOi changed */

Definition at line 113 of file st5481.h.

#define INT_PKT_SIZE   6

Definition at line 105 of file st5481.h.

#define L1_EVENT_COUNT   (EV_TIMER3 + 1)

Definition at line 218 of file st5481.h.

#define L1_STATE_COUNT   (ST_L1_F8 + 1)

Definition at line 191 of file st5481.h.

#define LBA   0x02 /* S loopback */

Definition at line 56 of file st5481.h.

#define LBB   0x1D /* S maintenance loopback */

Definition at line 58 of file st5481.h.

#define LSD_INT   0x80 /* S line activity detected */

Definition at line 108 of file st5481.h.

#define MAX_DFRAME_LEN_L1   300

Definition at line 323 of file st5481.h.

#define MAX_EP0_MSG   16

Definition at line 317 of file st5481.h.

#define MPINT   0

Definition at line 99 of file st5481.h.

#define MPMSK   0x4A /* Multi purpose interrupt MASK register */

Definition at line 81 of file st5481.h.

#define NUM_ISO_PACKETS_B   20

Definition at line 39 of file st5481.h.

#define NUM_ISO_PACKETS_D   20

Definition at line 38 of file st5481.h.

#define OUT_B1_COUNTER   0x39 /* B1 transmit channel fifo counter */

Definition at line 66 of file st5481.h.

#define OUT_B2_COUNTER   0x3b /* B2 transmit channel fifo counter */

Definition at line 68 of file st5481.h.

#define OUT_COUNTER_ZEROED   0x01 /* Out down-counter reached 0 */

Definition at line 125 of file st5481.h.

#define OUT_D_COUNTER   0x37 /* D transmit channel fifo counter */

Definition at line 64 of file st5481.h.

#define OUT_DOWN   0x04 /* Out fifo thresholdl down-crossed */

Definition at line 123 of file st5481.h.

#define OUT_UNDERRUN   0x40 /* Out fifo underrun */

Definition at line 119 of file st5481.h.

#define OUT_UP   0x08 /* Out fifo thresholdh up-crossed */

Definition at line 122 of file st5481.h.

#define RED_LED   0x80U

Definition at line 147 of file st5481.h.

#define RXCI_INT   0x40 /* Indicate primitive arrived */

Definition at line 109 of file st5481.h.

#define SDA_MAX   0x21 /* SDA-sin maximal value */

Definition at line 61 of file st5481.h.

#define SDA_MIN   0x20 /* SDA-sin minimal value */

Definition at line 60 of file st5481.h.

#define SDELAY_VALUE   0x22 /* Delay between Tx and Rx clock */

Definition at line 62 of file st5481.h.

#define SET_DEFAULT   0x06 /* Soft reset */

Definition at line 57 of file st5481.h.

#define SIZE_ISO_PACKETS_B_IN   32

Definition at line 47 of file st5481.h.

#define SIZE_ISO_PACKETS_B_OUT   8

Definition at line 48 of file st5481.h.

#define SIZE_ISO_PACKETS_D_IN   16

Definition at line 45 of file st5481.h.

#define SIZE_ISO_PACKETS_D_OUT   2

Definition at line 46 of file st5481.h.

#define ST5481_CMD_AR10   0x9 /* Activation Request class 2 */

Definition at line 138 of file st5481.h.

#define ST5481_CMD_AR8   0x8 /* Activation Request class 1 */

Definition at line 137 of file st5481.h.

#define ST5481_CMD_ARL   0xA /* Activation Request Loopback */

Definition at line 139 of file st5481.h.

#define ST5481_CMD_DR   0x0 /* Deactivation Request */

Definition at line 132 of file st5481.h.

#define ST5481_CMD_PDN   0xF /* Power DoWn */

Definition at line 140 of file st5481.h.

#define ST5481_CMD_PUP   0x7 /* Power UP */

Definition at line 136 of file st5481.h.

#define ST5481_CMD_RES   0x1 /* state machine RESet */

Definition at line 133 of file st5481.h.

#define ST5481_CMD_TM1   0x2 /* Test Mode 1 */

Definition at line 134 of file st5481.h.

#define ST5481_CMD_TM2   0x3 /* Test Mode 2 */

Definition at line 135 of file st5481.h.

#define ST5481_PRODUCT_ID   0x4810

Definition at line 20 of file st5481.h.

#define ST5481_PRODUCT_ID_MASK   0xFFF0

Definition at line 21 of file st5481.h.

#define ST_VENDOR_ID   0x0483

Definition at line 19 of file st5481.h.

#define STT   0x1e /* S force transmission signals */

Definition at line 59 of file st5481.h.

#define SUBMIT_URB (   urb,
  mem_flags 
)
Value:
({ \
int status; \
if ((status = usb_submit_urb(urb, mem_flags)) < 0) { \
WARNING("usb_submit_urb failed,status=%d", status); \
} \
})

Definition at line 410 of file st5481.h.

#define TIMER3_VALUE   7000

Definition at line 400 of file st5481.h.

#define TXCI   0x56 /* CI command to be transmitted */

Definition at line 88 of file st5481.h.

#define WARNING (   format,
  arg... 
)    printk(KERN_WARNING "%s:%s: " format "\n" , __FILE__, __func__ , ## arg)

Definition at line 223 of file st5481.h.

Typedef Documentation

typedef void(* ctrl_complete_t)(void *)

Definition at line 308 of file st5481.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
ST_DOUT_NONE 
ST_DOUT_SHORT_INIT 
ST_DOUT_SHORT_WAIT_DEN 
ST_DOUT_LONG_INIT 
ST_DOUT_LONG_WAIT_DEN 
ST_DOUT_NORMAL 
ST_DOUT_WAIT_FOR_UNDERRUN 
ST_DOUT_WAIT_FOR_NOT_BUSY 
ST_DOUT_WAIT_FOR_STOP 
ST_DOUT_WAIT_FOR_RESET 

Definition at line 150 of file st5481.h.

anonymous enum
Enumerator:
EV_DOUT_START_XMIT 
EV_DOUT_COMPLETE 
EV_DOUT_DEN 
EV_DOUT_RESETED 
EV_DOUT_STOPPED 
EV_DOUT_COLL 
EV_DOUT_UNDERRUN 

Definition at line 169 of file st5481.h.

anonymous enum
Enumerator:
ST_L1_F3 
ST_L1_F4 
ST_L1_F6 
ST_L1_F7 
ST_L1_F8 

Definition at line 183 of file st5481.h.

anonymous enum
Enumerator:
EV_IND_DP 
EV_IND_1 
EV_IND_2 
EV_IND_3 
EV_IND_RSY 
EV_IND_5 
EV_IND_6 
EV_IND_7 
EV_IND_AP 
EV_IND_9 
EV_IND_10 
EV_IND_11 
EV_IND_AI8 
EV_IND_AI10 
EV_IND_AIL 
EV_IND_DI 
EV_PH_ACTIVATE_REQ 
EV_PH_DEACTIVATE_REQ 
EV_TIMER3 

Definition at line 196 of file st5481.h.

Function Documentation

void st5481_b_l2l1 ( struct hisax_if b_if,
int  pr,
void arg 
)

Definition at line 353 of file st5481_b.c.

void st5481_d_exit ( void  )

Definition at line 776 of file st5481_d.c.

int st5481_d_init ( void  )

Definition at line 747 of file st5481_d.c.

void st5481_d_l2l1 ( struct hisax_if hisax_d_if,
int  pr,
void arg 
)

Definition at line 587 of file st5481_d.c.

void st5481_in_mode ( struct st5481_in in,
int  mode 
)

Definition at line 629 of file st5481_usb.c.

void st5481_ph_command ( struct st5481_adapter adapter,
unsigned int  command 
)

Definition at line 116 of file st5481_usb.c.

void st5481_release_b ( struct st5481_bcs bcs)

Definition at line 336 of file st5481_b.c.

void st5481_release_d ( struct st5481_adapter adapter)

Definition at line 735 of file st5481_d.c.

void st5481_release_in ( struct st5481_in in)

Definition at line 567 of file st5481_usb.c.

void st5481_release_isocpipes ( struct urb urb[2])

Definition at line 459 of file st5481_usb.c.

void st5481_release_usb ( struct st5481_adapter adapter)

Definition at line 322 of file st5481_usb.c.

int st5481_setup_b ( struct st5481_bcs bcs)

Definition at line 304 of file st5481_b.c.

int st5481_setup_d ( struct st5481_adapter adapter)

Definition at line 694 of file st5481_d.c.

int st5481_setup_in ( struct st5481_in in)

Definition at line 540 of file st5481_usb.c.

int st5481_setup_isocpipes ( struct urb urb[2],
struct usb_device *  dev,
unsigned int  pipe,
int  num_packets,
int  packet_size,
int  buf_size,
usb_complete_t  complete,
void context 
)

Definition at line 421 of file st5481_usb.c.

int st5481_setup_usb ( struct st5481_adapter adapter)

Definition at line 238 of file st5481_usb.c.

void st5481_start ( struct st5481_adapter adapter)

Definition at line 344 of file st5481_usb.c.

void st5481_stop ( struct st5481_adapter adapter)

Definition at line 384 of file st5481_usb.c.

void st5481_usb_device_ctrl_msg ( struct st5481_adapter adapter,
u8  request,
u16  value,
ctrl_complete_t  complete,
void context 
)

Definition at line 88 of file st5481_usb.c.

void st5481_usb_pipe_reset ( struct st5481_adapter adapter,
u_char  pipe,
ctrl_complete_t  complete,
void context 
)

Definition at line 100 of file st5481_usb.c.

Variable Documentation

int st5481_debug

Definition at line 47 of file st5481_init.c.