Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
pvrusb2-hdw.c File Reference
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/firmware.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
#include <media/tuner.h>
#include "pvrusb2.h"
#include "pvrusb2-std.h"
#include "pvrusb2-util.h"
#include "pvrusb2-hdw.h"
#include "pvrusb2-i2c-core.h"
#include "pvrusb2-eeprom.h"
#include "pvrusb2-hdw-internal.h"
#include "pvrusb2-encoder.h"
#include "pvrusb2-debug.h"
#include "pvrusb2-fx2-cmd.h"
#include "pvrusb2-wm8775.h"
#include "pvrusb2-video-v4l.h"
#include "pvrusb2-cx2584x-v4l.h"
#include "pvrusb2-cs53l32a.h"
#include "pvrusb2-audio.h"

Go to the source code of this file.

Data Structures

struct  pvr2_mpeg_ids
 
struct  pvr2_fx2cmd_descdef
 
struct  pvr2_std_hack
 

Macros

#define TV_MIN_FREQ   55250000L
 
#define TV_MAX_FREQ   850000000L
 
#define TIME_MSEC_DECODER_WAIT   50
 
#define TIME_MSEC_DECODER_STABILIZATION_WAIT   300
 
#define TIME_MSEC_ENCODER_WAIT   50
 
#define TIME_MSEC_ENCODER_OK   250
 
#define PVR2_CTL_WRITE_ENDPOINT   0x01
 
#define PVR2_CTL_READ_ENDPOINT   0x81
 
#define PVR2_GPIO_IN   0x9008
 
#define PVR2_GPIO_OUT   0x900c
 
#define PVR2_GPIO_DIR   0x9020
 
#define trace_firmware(...)   pvr2_trace(PVR2_TRACE_FIRMWARE,__VA_ARGS__)
 
#define PVR2_FIRMWARE_ENDPOINT   0x02
 
#define FIRMWARE_CHUNK_SIZE   0x2000
 
#define MPEGDEF_COUNT   ARRAY_SIZE(mpeg_ids)
 
#define DEFINT(vmin, vmax)
 
#define DEFENUM(tab)
 
#define DEFBOOL   .type = pvr2_ctl_bool
 
#define DEFMASK(msk, tab)
 
#define DEFREF(vname)
 
#define VCREATE_FUNCS(vname)
 
#define CTRLDEF_COUNT   ARRAY_SIZE(control_defs)
 
#define PVR2_SUBDEV_SET_CONTROL(hdw, id, lab)
 
#define EEPROM_SIZE   8192
 
#define trace_eeprom(...)   pvr2_trace(PVR2_TRACE_EEPROM,__VA_ARGS__)
 

Typedefs

typedef void(* pvr2_subdev_update_func )(struct pvr2_hdw *, struct v4l2_subdev *)
 
typedef void(* led_method_func )(struct pvr2_hdw *, int)
 
typedef int(* state_eval_func )(struct pvr2_hdw *)
 

Functions

 module_param (ctlchg, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (ctlchg,"0=optimize ctl change 1=always accept new ctl value")
 
 module_param (init_pause_msec, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (init_pause_msec,"hardware initialization settling delay")
 
 module_param (procreload, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (procreload,"Attempt init failure recovery with firmware reload")
 
 module_param_array (tuner, int, NULL, 0444)
 
 MODULE_PARM_DESC (tuner,"specify installed tuner type")
 
 module_param_array (video_std, int, NULL, 0444)
 
 MODULE_PARM_DESC (video_std,"specify initial video standard")
 
 module_param_array (tolerance, int, NULL, 0444)
 
 MODULE_PARM_DESC (tolerance,"specify stream error tolerance")
 
 module_param_named (tv_freq, default_tv_freq, int, 0444)
 
 MODULE_PARM_DESC (tv_freq,"specify initial television frequency")
 
 module_param_named (radio_freq, default_radio_freq, int, 0444)
 
 MODULE_PARM_DESC (radio_freq,"specify initial radio frequency")
 
const charpvr2_config_get_name (enum pvr2_config cfg)
 
struct usb_device * pvr2_hdw_get_dev (struct pvr2_hdw *hdw)
 
unsigned long pvr2_hdw_get_sn (struct pvr2_hdw *hdw)
 
const charpvr2_hdw_get_bus_info (struct pvr2_hdw *hdw)
 
const charpvr2_hdw_get_device_identifier (struct pvr2_hdw *hdw)
 
unsigned long pvr2_hdw_get_cur_freq (struct pvr2_hdw *hdw)
 
int pvr2_hdw_get_unit_number (struct pvr2_hdw *hdw)
 
int pvr2_upload_firmware2 (struct pvr2_hdw *hdw)
 
int pvr2_hdw_get_state (struct pvr2_hdw *hdw)
 
int pvr2_hdw_untrip (struct pvr2_hdw *hdw)
 
int pvr2_hdw_get_streaming (struct pvr2_hdw *hdw)
 
int pvr2_hdw_set_streaming (struct pvr2_hdw *hdw, int enable_flag)
 
int pvr2_hdw_set_stream_type (struct pvr2_hdw *hdw, enum pvr2_config config)
 
int pvr2_hdw_initialize (struct pvr2_hdw *hdw, void(*callback_func)(void *), void *callback_data)
 
struct pvr2_hdwpvr2_hdw_create (struct usb_interface *intf, const struct usb_device_id *devid)
 
void pvr2_hdw_destroy (struct pvr2_hdw *hdw)
 
int pvr2_hdw_dev_ok (struct pvr2_hdw *hdw)
 
void pvr2_hdw_disconnect (struct pvr2_hdw *hdw)
 
unsigned int pvr2_hdw_get_ctrl_count (struct pvr2_hdw *hdw)
 
struct pvr2_ctrlpvr2_hdw_get_ctrl_by_index (struct pvr2_hdw *hdw, unsigned int idx)
 
struct pvr2_ctrlpvr2_hdw_get_ctrl_by_id (struct pvr2_hdw *hdw, unsigned int ctl_id)
 
struct pvr2_ctrlpvr2_hdw_get_ctrl_v4l (struct pvr2_hdw *hdw, unsigned int ctl_id)
 
struct pvr2_ctrlpvr2_hdw_get_ctrl_nextv4l (struct pvr2_hdw *hdw, unsigned int ctl_id)
 
int pvr2_hdw_commit_ctl (struct pvr2_hdw *hdw)
 
const charpvr2_hdw_get_driver_name (struct pvr2_hdw *hdw)
 
const charpvr2_hdw_get_desc (struct pvr2_hdw *hdw)
 
const charpvr2_hdw_get_type (struct pvr2_hdw *hdw)
 
int pvr2_hdw_is_hsm (struct pvr2_hdw *hdw)
 
void pvr2_hdw_execute_tuner_poll (struct pvr2_hdw *hdw)
 
int pvr2_hdw_get_cropcap (struct pvr2_hdw *hdw, struct v4l2_cropcap *pp)
 
int pvr2_hdw_get_tuner_status (struct pvr2_hdw *hdw, struct v4l2_tuner *vtp)
 
struct pvr2_streampvr2_hdw_get_video_stream (struct pvr2_hdw *hp)
 
void pvr2_hdw_trigger_module_log (struct pvr2_hdw *hdw)
 
void pvr2_hdw_cpufw_set_enabled (struct pvr2_hdw *hdw, int mode, int enable_flag)
 
int pvr2_hdw_cpufw_get_enabled (struct pvr2_hdw *hdw)
 
int pvr2_hdw_cpufw_get (struct pvr2_hdw *hdw, unsigned int offs, char *buf, unsigned int cnt)
 
int pvr2_hdw_v4l_get_minor_number (struct pvr2_hdw *hdw, enum pvr2_v4l_type index)
 
void pvr2_hdw_v4l_store_minor_number (struct pvr2_hdw *hdw, enum pvr2_v4l_type index, int v)
 
int pvr2_send_request (struct pvr2_hdw *hdw, void *write_data, unsigned int write_len, void *read_data, unsigned int read_len)
 
int pvr2_write_register (struct pvr2_hdw *hdw, u16 reg, u32 data)
 
void pvr2_hdw_render_useless (struct pvr2_hdw *hdw)
 
void pvr2_hdw_device_reset (struct pvr2_hdw *hdw)
 
void pvr2_hdw_cpureset_assert (struct pvr2_hdw *hdw, int val)
 
int pvr2_hdw_cmd_deep_reset (struct pvr2_hdw *hdw)
 
int pvr2_hdw_cmd_powerup (struct pvr2_hdw *hdw)
 
int pvr2_hdw_cmd_powerdown (struct pvr2_hdw *hdw)
 
int pvr2_hdw_cmd_decoder_reset (struct pvr2_hdw *hdw)
 
unsigned int pvr2_hdw_state_report (struct pvr2_hdw *hdw, char *buf, unsigned int acnt)
 
int pvr2_hdw_gpio_get_dir (struct pvr2_hdw *hdw, u32 *dp)
 
int pvr2_hdw_gpio_get_out (struct pvr2_hdw *hdw, u32 *dp)
 
int pvr2_hdw_gpio_get_in (struct pvr2_hdw *hdw, u32 *dp)
 
int pvr2_hdw_gpio_chg_dir (struct pvr2_hdw *hdw, u32 msk, u32 val)
 
int pvr2_hdw_gpio_chg_out (struct pvr2_hdw *hdw, u32 msk, u32 val)
 
void pvr2_hdw_status_poll (struct pvr2_hdw *hdw)
 
unsigned int pvr2_hdw_get_input_available (struct pvr2_hdw *hdw)
 
unsigned int pvr2_hdw_get_input_allowed (struct pvr2_hdw *hdw)
 
int pvr2_hdw_set_input_allowed (struct pvr2_hdw *hdw, unsigned int change_mask, unsigned int change_val)
 
int pvr2_hdw_register_access (struct pvr2_hdw *hdw, struct v4l2_dbg_match *match, u64 reg_id, int setFl, u64 *val_ptr)
 

Macro Definition Documentation

#define CTRLDEF_COUNT   ARRAY_SIZE(control_defs)

Definition at line 1275 of file pvrusb2-hdw.c.

#define DEFBOOL   .type = pvr2_ctl_bool

Definition at line 956 of file pvrusb2-hdw.c.

#define DEFENUM (   tab)
Value:
.type = pvr2_ctl_enum, \
.def.type_enum.count = ARRAY_SIZE(tab), \
.def.type_enum.value_names = tab

Definition at line 951 of file pvrusb2-hdw.c.

#define DEFINT (   vmin,
  vmax 
)
Value:
.type = pvr2_ctl_int, \
.def.type_int.min_value = vmin, \
.def.type_int.max_value = vmax

Definition at line 946 of file pvrusb2-hdw.c.

#define DEFMASK (   msk,
  tab 
)
Value:
.type = pvr2_ctl_bitmask, \
.def.type_bitmask.valid_bits = msk, \
.def.type_bitmask.bit_names = tab

Definition at line 959 of file pvrusb2-hdw.c.

#define DEFREF (   vname)
Value:
.set_value = ctrl_set_##vname, \
.get_value = ctrl_get_##vname, \
.is_dirty = ctrl_isdirty_##vname, \
.clear_dirty = ctrl_cleardirty_##vname

Definition at line 964 of file pvrusb2-hdw.c.

#define EEPROM_SIZE   8192

Definition at line 3358 of file pvrusb2-hdw.c.

#define FIRMWARE_CHUNK_SIZE   0x2000

Definition at line 113 of file pvrusb2-hdw.c.

#define MPEGDEF_COUNT   ARRAY_SIZE(mpeg_ids)

Definition at line 245 of file pvrusb2-hdw.c.

#define PVR2_CTL_READ_ENDPOINT   0x81

Definition at line 102 of file pvrusb2-hdw.c.

#define PVR2_CTL_WRITE_ENDPOINT   0x01

Definition at line 101 of file pvrusb2-hdw.c.

#define PVR2_FIRMWARE_ENDPOINT   0x02

Definition at line 110 of file pvrusb2-hdw.c.

#define PVR2_GPIO_DIR   0x9020

Definition at line 106 of file pvrusb2-hdw.c.

#define PVR2_GPIO_IN   0x9008

Definition at line 104 of file pvrusb2-hdw.c.

#define PVR2_GPIO_OUT   0x900c

Definition at line 105 of file pvrusb2-hdw.c.

#define PVR2_SUBDEV_SET_CONTROL (   hdw,
  id,
  lab 
)
Value:
if ((hdw)->lab##_dirty || (hdw)->force_dirty) { \
pvr2_subdev_set_control(hdw, id, #lab, (hdw)->lab##_val); \
}

Definition at line 2862 of file pvrusb2-hdw.c.

#define TIME_MSEC_DECODER_STABILIZATION_WAIT   300

Definition at line 54 of file pvrusb2-hdw.c.

#define TIME_MSEC_DECODER_WAIT   50

Definition at line 50 of file pvrusb2-hdw.c.

#define TIME_MSEC_ENCODER_OK   250

Definition at line 65 of file pvrusb2-hdw.c.

#define TIME_MSEC_ENCODER_WAIT   50

Definition at line 58 of file pvrusb2-hdw.c.

#define trace_eeprom (   ...)    pvr2_trace(PVR2_TRACE_EEPROM,__VA_ARGS__)

Definition at line 3359 of file pvrusb2-hdw.c.

#define trace_firmware (   ...)    pvr2_trace(PVR2_TRACE_FIRMWARE,__VA_ARGS__)

Definition at line 108 of file pvrusb2-hdw.c.

#define TV_MAX_FREQ   850000000L

Definition at line 46 of file pvrusb2-hdw.c.

#define TV_MIN_FREQ   55250000L

Definition at line 45 of file pvrusb2-hdw.c.

#define VCREATE_FUNCS (   vname)
Value:
static int ctrl_get_##vname(struct pvr2_ctrl *cptr,int *vp) \
{*vp = cptr->hdw->vname##_val; return 0;} \
static int ctrl_set_##vname(struct pvr2_ctrl *cptr,int m,int v) \
{cptr->hdw->vname##_val = v; cptr->hdw->vname##_dirty = !0; return 0;} \
static int ctrl_isdirty_##vname(struct pvr2_ctrl *cptr) \
{return cptr->hdw->vname##_dirty != 0;} \
static void ctrl_cleardirty_##vname(struct pvr2_ctrl *cptr) \
{cptr->hdw->vname##_dirty = 0;}

Definition at line 971 of file pvrusb2-hdw.c.

Typedef Documentation

typedef void(* led_method_func)(struct pvr2_hdw *, int)

Definition at line 4137 of file pvrusb2-hdw.c.

typedef void(* pvr2_subdev_update_func)(struct pvr2_hdw *, struct v4l2_subdev *)

Definition at line 115 of file pvrusb2-hdw.c.

typedef int(* state_eval_func)(struct pvr2_hdw *)

Definition at line 4641 of file pvrusb2-hdw.c.

Function Documentation

module_param ( ctlchg  ,
int  ,
S_IRUGO S_IWUSR 
)
module_param ( init_pause_msec  ,
int  ,
S_IRUGO S_IWUSR 
)
module_param ( procreload  ,
int  ,
S_IRUGO S_IWUSR 
)
module_param_array ( tuner  ,
int  ,
NULL  ,
0444   
)
module_param_array ( video_std  ,
int  ,
NULL  ,
0444   
)
module_param_array ( tolerance  ,
int  ,
NULL  ,
0444   
)
module_param_named ( tv_freq  ,
default_tv_freq  ,
int  ,
0444   
)
module_param_named ( radio_freq  ,
default_radio_freq  ,
int  ,
0444   
)
MODULE_PARM_DESC ( ctlchg  )
MODULE_PARM_DESC ( init_pause_msec  ,
"hardware initialization settling delay  
)
MODULE_PARM_DESC ( procreload  ,
"Attempt init failure recovery with firmware reload"   
)
MODULE_PARM_DESC ( tuner  ,
"specify installed tuner type  
)
MODULE_PARM_DESC ( video_std  ,
"specify initial video standard"   
)
MODULE_PARM_DESC ( tolerance  ,
"specify stream error tolerance"   
)
MODULE_PARM_DESC ( tv_freq  ,
"specify initial television frequency  
)
MODULE_PARM_DESC ( radio_freq  ,
"specify initial radio frequency  
)
const char* pvr2_config_get_name ( enum pvr2_config  cfg)

Definition at line 1278 of file pvrusb2-hdw.c.

int pvr2_hdw_cmd_decoder_reset ( struct pvr2_hdw hdw)

Definition at line 4040 of file pvrusb2-hdw.c.

int pvr2_hdw_cmd_deep_reset ( struct pvr2_hdw hdw)

Definition at line 4022 of file pvrusb2-hdw.c.

int pvr2_hdw_cmd_powerdown ( struct pvr2_hdw hdw)

Definition at line 4034 of file pvrusb2-hdw.c.

int pvr2_hdw_cmd_powerup ( struct pvr2_hdw hdw)

Definition at line 4028 of file pvrusb2-hdw.c.

int pvr2_hdw_commit_ctl ( struct pvr2_hdw hdw)

Definition at line 3220 of file pvrusb2-hdw.c.

int pvr2_hdw_cpufw_get ( struct pvr2_hdw hdw,
unsigned int  offs,
char buf,
unsigned int  cnt 
)

Definition at line 3514 of file pvrusb2-hdw.c.

int pvr2_hdw_cpufw_get_enabled ( struct pvr2_hdw hdw)

Definition at line 3508 of file pvrusb2-hdw.c.

void pvr2_hdw_cpufw_set_enabled ( struct pvr2_hdw hdw,
int  mode,
int  enable_flag 
)

Definition at line 3432 of file pvrusb2-hdw.c.

void pvr2_hdw_cpureset_assert ( struct pvr2_hdw hdw,
int  val 
)

Definition at line 3988 of file pvrusb2-hdw.c.

struct pvr2_hdw* pvr2_hdw_create ( struct usb_interface intf,
const struct usb_device_id devid 
)
read

Definition at line 2381 of file pvrusb2-hdw.c.

void pvr2_hdw_destroy ( struct pvr2_hdw hdw)

Definition at line 2709 of file pvrusb2-hdw.c.

int pvr2_hdw_dev_ok ( struct pvr2_hdw hdw)

Definition at line 2746 of file pvrusb2-hdw.c.

void pvr2_hdw_device_reset ( struct pvr2_hdw hdw)

Definition at line 3966 of file pvrusb2-hdw.c.

void pvr2_hdw_disconnect ( struct pvr2_hdw hdw)

Definition at line 2753 of file pvrusb2-hdw.c.

void pvr2_hdw_execute_tuner_poll ( struct pvr2_hdw hdw)

Definition at line 3288 of file pvrusb2-hdw.c.

const char* pvr2_hdw_get_bus_info ( struct pvr2_hdw hdw)

Definition at line 1303 of file pvrusb2-hdw.c.

int pvr2_hdw_get_cropcap ( struct pvr2_hdw hdw,
struct v4l2_cropcap pp 
)

Definition at line 3310 of file pvrusb2-hdw.c.

struct pvr2_ctrl* pvr2_hdw_get_ctrl_by_id ( struct pvr2_hdw hdw,
unsigned int  ctl_id 
)
read

Definition at line 2781 of file pvrusb2-hdw.c.

struct pvr2_ctrl* pvr2_hdw_get_ctrl_by_index ( struct pvr2_hdw hdw,
unsigned int  idx 
)
read

Definition at line 2772 of file pvrusb2-hdw.c.

unsigned int pvr2_hdw_get_ctrl_count ( struct pvr2_hdw hdw)

Definition at line 2765 of file pvrusb2-hdw.c.

struct pvr2_ctrl* pvr2_hdw_get_ctrl_nextv4l ( struct pvr2_hdw hdw,
unsigned int  ctl_id 
)
read

Definition at line 2817 of file pvrusb2-hdw.c.

struct pvr2_ctrl* pvr2_hdw_get_ctrl_v4l ( struct pvr2_hdw hdw,
unsigned int  ctl_id 
)
read

Definition at line 2799 of file pvrusb2-hdw.c.

unsigned long pvr2_hdw_get_cur_freq ( struct pvr2_hdw hdw)

Definition at line 1315 of file pvrusb2-hdw.c.

const char* pvr2_hdw_get_desc ( struct pvr2_hdw hdw)

Definition at line 3260 of file pvrusb2-hdw.c.

struct usb_device* pvr2_hdw_get_dev ( struct pvr2_hdw hdw)
read

Definition at line 1291 of file pvrusb2-hdw.c.

const char* pvr2_hdw_get_device_identifier ( struct pvr2_hdw hdw)

Definition at line 1309 of file pvrusb2-hdw.c.

const char* pvr2_hdw_get_driver_name ( struct pvr2_hdw hdw)

Definition at line 3254 of file pvrusb2-hdw.c.

unsigned int pvr2_hdw_get_input_allowed ( struct pvr2_hdw hdw)

Definition at line 5083 of file pvrusb2-hdw.c.

unsigned int pvr2_hdw_get_input_available ( struct pvr2_hdw hdw)

Definition at line 5077 of file pvrusb2-hdw.c.

unsigned long pvr2_hdw_get_sn ( struct pvr2_hdw hdw)

Definition at line 1297 of file pvrusb2-hdw.c.

int pvr2_hdw_get_state ( struct pvr2_hdw hdw)

Definition at line 1703 of file pvrusb2-hdw.c.

int pvr2_hdw_get_streaming ( struct pvr2_hdw hdw)

Definition at line 1732 of file pvrusb2-hdw.c.

int pvr2_hdw_get_tuner_status ( struct pvr2_hdw hdw,
struct v4l2_tuner vtp 
)

Definition at line 3324 of file pvrusb2-hdw.c.

const char* pvr2_hdw_get_type ( struct pvr2_hdw hdw)

Definition at line 3266 of file pvrusb2-hdw.c.

int pvr2_hdw_get_unit_number ( struct pvr2_hdw hdw)

Definition at line 1349 of file pvrusb2-hdw.c.

struct pvr2_stream* pvr2_hdw_get_video_stream ( struct pvr2_hdw hp)
read

Definition at line 3337 of file pvrusb2-hdw.c.

int pvr2_hdw_gpio_chg_dir ( struct pvr2_hdw hdw,
u32  msk,
u32  val 
)

Definition at line 5011 of file pvrusb2-hdw.c.

int pvr2_hdw_gpio_chg_out ( struct pvr2_hdw hdw,
u32  msk,
u32  val 
)

Definition at line 5032 of file pvrusb2-hdw.c.

int pvr2_hdw_gpio_get_dir ( struct pvr2_hdw hdw,
u32 dp 
)

Definition at line 4993 of file pvrusb2-hdw.c.

int pvr2_hdw_gpio_get_in ( struct pvr2_hdw hdw,
u32 dp 
)

Definition at line 5005 of file pvrusb2-hdw.c.

int pvr2_hdw_gpio_get_out ( struct pvr2_hdw hdw,
u32 dp 
)

Definition at line 4999 of file pvrusb2-hdw.c.

int pvr2_hdw_initialize ( struct pvr2_hdw hdw,
void(*)(void *)  callback_func,
void callback_data 
)

Definition at line 2357 of file pvrusb2-hdw.c.

int pvr2_hdw_is_hsm ( struct pvr2_hdw hdw)

Definition at line 3272 of file pvrusb2-hdw.c.

int pvr2_hdw_register_access ( struct pvr2_hdw hdw,
struct v4l2_dbg_match match,
u64  reg_id,
int  setFl,
u64 val_ptr 
)

Definition at line 5167 of file pvrusb2-hdw.c.

void pvr2_hdw_render_useless ( struct pvr2_hdw hdw)

Definition at line 3952 of file pvrusb2-hdw.c.

int pvr2_hdw_set_input_allowed ( struct pvr2_hdw hdw,
unsigned int  change_mask,
unsigned int  change_val 
)

Definition at line 5111 of file pvrusb2-hdw.c.

int pvr2_hdw_set_stream_type ( struct pvr2_hdw hdw,
enum pvr2_config  config 
)

Definition at line 1762 of file pvrusb2-hdw.c.

int pvr2_hdw_set_streaming ( struct pvr2_hdw hdw,
int  enable_flag 
)

Definition at line 1738 of file pvrusb2-hdw.c.

unsigned int pvr2_hdw_state_report ( struct pvr2_hdw hdw,
char buf,
unsigned int  acnt 
)

Definition at line 4874 of file pvrusb2-hdw.c.

void pvr2_hdw_status_poll ( struct pvr2_hdw hdw)

Definition at line 5052 of file pvrusb2-hdw.c.

void pvr2_hdw_trigger_module_log ( struct pvr2_hdw hdw)

Definition at line 3343 of file pvrusb2-hdw.c.

int pvr2_hdw_untrip ( struct pvr2_hdw hdw)

Definition at line 1719 of file pvrusb2-hdw.c.

int pvr2_hdw_v4l_get_minor_number ( struct pvr2_hdw hdw,
enum pvr2_v4l_type  index 
)

Definition at line 3549 of file pvrusb2-hdw.c.

void pvr2_hdw_v4l_store_minor_number ( struct pvr2_hdw hdw,
enum pvr2_v4l_type  index,
int  v 
)

Definition at line 3562 of file pvrusb2-hdw.c.

int pvr2_send_request ( struct pvr2_hdw hdw,
void write_data,
unsigned int  write_len,
void read_data,
unsigned int  read_len 
)

Definition at line 3837 of file pvrusb2-hdw.c.

int pvr2_upload_firmware2 ( struct pvr2_hdw hdw)

Definition at line 1519 of file pvrusb2-hdw.c.

int pvr2_write_register ( struct pvr2_hdw hdw,
u16  reg,
u32  data 
)

Definition at line 3907 of file pvrusb2-hdw.c.