#include <linux/device.h>
#include <linux/firmware.h>
#include "pvrusb2-util.h"
#include "pvrusb2-encoder.h"
#include "pvrusb2-hdw-internal.h"
#include "pvrusb2-debug.h"
#include "pvrusb2-fx2-cmd.h"
#define IVTV_MBOX_FIRMWARE_DONE …
#define IVTV_MBOX_DRIVER_DONE …
#define IVTV_MBOX_DRIVER_BUSY …
#define MBOX_BASE …
static int pvr2_encoder_write_words(struct pvr2_hdw *hdw,
unsigned int offs,
const u32 *data, unsigned int dlen)
{ … }
static int pvr2_encoder_read_words(struct pvr2_hdw *hdw,
unsigned int offs,
u32 *data, unsigned int dlen)
{ … }
static int pvr2_encoder_cmd(void *ctxt,
u32 cmd,
int arg_cnt_send,
int arg_cnt_recv,
u32 *argp)
{ … }
static int pvr2_encoder_vcmd(struct pvr2_hdw *hdw, int cmd,
int args, ...)
{ … }
static int pvr2_encoder_prep_config(struct pvr2_hdw *hdw)
{ … }
int pvr2_encoder_adjust(struct pvr2_hdw *hdw)
{ … }
int pvr2_encoder_configure(struct pvr2_hdw *hdw)
{ … }
int pvr2_encoder_start(struct pvr2_hdw *hdw)
{ … }
int pvr2_encoder_stop(struct pvr2_hdw *hdw)
{ … }