Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/firmware.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-event.h>
#include <media/cx2341x.h>
#include "cx88.h"
Go to the source code of this file.
Macros | |
#define | dprintk(level, fmt, arg...) |
#define | BLACKBIRD_FIRM_IMAGE_SIZE 376836 |
#define | IVTV_CMD_HW_BLOCKS_RST 0xFFFFFFFF |
#define | IVTV_API_STD_TIMEOUT 500 |
#define | IVTV_REG_ENC_SDRAM_REFRESH (0x07F8 /*| IVTV_REG_OFFSET*/) |
#define | IVTV_REG_ENC_SDRAM_PRECHARGE (0x07FC /*| IVTV_REG_OFFSET*/) |
#define | IVTV_REG_SPU (0x9050 /*| IVTV_REG_OFFSET*/) |
#define | IVTV_REG_HW_BLOCKS (0x9054 /*| IVTV_REG_OFFSET*/) |
#define | IVTV_REG_VPU (0x9058 /*| IVTV_REG_OFFSET*/) |
#define | IVTV_REG_APU (0xA064 /*| IVTV_REG_OFFSET*/) |
#define | P1_MDATA0 0x390000 |
#define | P1_MDATA1 0x390001 |
#define | P1_MDATA2 0x390002 |
#define | P1_MDATA3 0x390003 |
#define | P1_MADDR2 0x390004 |
#define | P1_MADDR1 0x390005 |
#define | P1_MADDR0 0x390006 |
#define | P1_RDATA0 0x390008 |
#define | P1_RDATA1 0x390009 |
#define | P1_RDATA2 0x39000A |
#define | P1_RDATA3 0x39000B |
#define | P1_RADDR0 0x39000C |
#define | P1_RADDR1 0x39000D |
#define | P1_RRDWR 0x39000E |
Functions | |
MODULE_DESCRIPTION ("driver for cx2388x/cx23416 based mpeg encoder cards") | |
MODULE_AUTHOR ("Jelle Foks <[email protected]>, Gerd Knorr <[email protected]> [SuSE Labs]") | |
MODULE_LICENSE ("GPL") | |
MODULE_VERSION (CX88_VERSION) | |
module_param (mpegbufs, int, 0644) | |
MODULE_PARM_DESC (mpegbufs,"number of mpeg buffers, range 2-32") | |
module_param (debug, int, 0644) | |
MODULE_PARM_DESC (debug,"enable debug messages [blackbird]") | |
module_init (blackbird_init) | |
module_exit (blackbird_fini) | |
module_param_named (video_debug, cx8802_mpeg_template.debug, int, 0644) | |
MODULE_PARM_DESC (debug,"enable debug messages [video]") | |
#define BLACKBIRD_FIRM_IMAGE_SIZE 376836 |
Definition at line 62 of file cx88-blackbird.c.
Definition at line 56 of file cx88-blackbird.c.
#define IVTV_API_STD_TIMEOUT 500 |
Definition at line 69 of file cx88-blackbird.c.
#define IVTV_CMD_HW_BLOCKS_RST 0xFFFFFFFF |
Definition at line 66 of file cx88-blackbird.c.
#define IVTV_REG_APU (0xA064 /*| IVTV_REG_OFFSET*/) |
Definition at line 180 of file cx88-blackbird.c.
#define IVTV_REG_ENC_SDRAM_PRECHARGE (0x07FC /*| IVTV_REG_OFFSET*/) |
Definition at line 176 of file cx88-blackbird.c.
#define IVTV_REG_ENC_SDRAM_REFRESH (0x07F8 /*| IVTV_REG_OFFSET*/) |
Definition at line 175 of file cx88-blackbird.c.
#define IVTV_REG_HW_BLOCKS (0x9054 /*| IVTV_REG_OFFSET*/) |
Definition at line 178 of file cx88-blackbird.c.
#define IVTV_REG_SPU (0x9050 /*| IVTV_REG_OFFSET*/) |
Definition at line 177 of file cx88-blackbird.c.
#define IVTV_REG_VPU (0x9058 /*| IVTV_REG_OFFSET*/) |
Definition at line 179 of file cx88-blackbird.c.
#define P1_MADDR0 0x390006 |
Definition at line 209 of file cx88-blackbird.c.
#define P1_MADDR1 0x390005 |
Definition at line 208 of file cx88-blackbird.c.
#define P1_MADDR2 0x390004 |
Definition at line 207 of file cx88-blackbird.c.
#define P1_MDATA0 0x390000 |
Definition at line 203 of file cx88-blackbird.c.
#define P1_MDATA1 0x390001 |
Definition at line 204 of file cx88-blackbird.c.
#define P1_MDATA2 0x390002 |
Definition at line 205 of file cx88-blackbird.c.
#define P1_MDATA3 0x390003 |
Definition at line 206 of file cx88-blackbird.c.
#define P1_RADDR0 0x39000C |
Definition at line 214 of file cx88-blackbird.c.
#define P1_RADDR1 0x39000D |
Definition at line 215 of file cx88-blackbird.c.
#define P1_RDATA0 0x390008 |
Definition at line 210 of file cx88-blackbird.c.
#define P1_RDATA1 0x390009 |
Definition at line 211 of file cx88-blackbird.c.
#define P1_RDATA2 0x39000A |
Definition at line 212 of file cx88-blackbird.c.
#define P1_RDATA3 0x39000B |
Definition at line 213 of file cx88-blackbird.c.
#define P1_RRDWR 0x39000E |
Definition at line 216 of file cx88-blackbird.c.
BLACKBIRD_RAW_BITS_NONE | |
BLACKBIRD_RAW_BITS_YUV_CAPTURE | |
BLACKBIRD_RAW_BITS_PCM_CAPTURE | |
BLACKBIRD_RAW_BITS_VBI_CAPTURE | |
BLACKBIRD_RAW_BITS_PASSTHRU_CAPTURE | |
BLACKBIRD_RAW_BITS_TO_HOST_CAPTURE |
Definition at line 76 of file cx88-blackbird.c.
Definition at line 84 of file cx88-blackbird.c.
Definition at line 71 of file cx88-blackbird.c.
enum blackbird_copyright |
Definition at line 131 of file cx88-blackbird.c.
Definition at line 155 of file cx88-blackbird.c.
Definition at line 97 of file cx88-blackbird.c.
BLACKBIRD_DMA_TRANSFER_BITS_DONE | |
BLACKBIRD_DMA_TRANSFER_BITS_ERROR | |
BLACKBIRD_DMA_TRANSFER_BITS_LL_ERROR |
Definition at line 122 of file cx88-blackbird.c.
enum blackbird_dma_unit |
Definition at line 118 of file cx88-blackbird.c.
Definition at line 145 of file cx88-blackbird.c.
Definition at line 150 of file cx88-blackbird.c.
enum blackbird_framerate |
Definition at line 88 of file cx88-blackbird.c.
enum blackbird_mute |
Definition at line 159 of file cx88-blackbird.c.
Definition at line 163 of file cx88-blackbird.c.
Definition at line 168 of file cx88-blackbird.c.
Definition at line 142 of file cx88-blackbird.c.
Definition at line 138 of file cx88-blackbird.c.
Definition at line 135 of file cx88-blackbird.c.
enum blackbird_pause |
Definition at line 127 of file cx88-blackbird.c.
BLACKBIRD_PICTURE_MASK_NONE | |
BLACKBIRD_PICTURE_MASK_I_FRAMES | |
BLACKBIRD_PICTURE_MASK_I_P_FRAMES | |
BLACKBIRD_PICTURE_MASK_ALL_FRAMES |
Definition at line 101 of file cx88-blackbird.c.
BLACKBIRD_OUTPUT_PORT_MEMORY | |
BLACKBIRD_OUTPUT_PORT_STREAMING | |
BLACKBIRD_OUTPUT_PORT_SERIAL |
Definition at line 92 of file cx88-blackbird.c.
Definition at line 111 of file cx88-blackbird.c.
Definition at line 107 of file cx88-blackbird.c.
MODULE_AUTHOR | ( | "Jelle Foks <[email protected]> | , |
Gerd Knorr< kraxel @bytesex.org >" | [SuSE Labs] | ||
) |
module_exit | ( | blackbird_fini | ) |
module_init | ( | blackbird_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | mpegbufs | , |
int | , | ||
0644 | |||
) |
module_param_named | ( | video_debug | , |
cx8802_mpeg_template. | debug, | ||
int | , | ||
0644 | |||
) |
MODULE_PARM_DESC | ( | mpegbufs | , |
"number of mpeg | buffers, | ||
range 2-32" | |||
) |
MODULE_VERSION | ( | CX88_VERSION | ) |