Linux Kernel
3.7.1
|
#include <linux/fs.h>
#include <linux/wait.h>
#include <linux/list.h>
#include <linux/videodev2.h>
#include <linux/semaphore.h>
#include <linux/usb.h>
#include <linux/poll.h>
#include <media/videobuf-vmalloc.h>
#include <media/v4l2-device.h>
#include "dvb_frontend.h"
#include "dvbdev.h"
#include "dvb_demux.h"
#include "dmxdev.h"
Go to the source code of this file.
Data Structures | |
struct | vbi_data |
struct | running_context |
struct | video_data |
struct | poseidon_audio |
struct | radio_data |
struct | pd_dvb_adapter |
struct | front_face |
struct | poseidon |
struct | poseidon_format |
struct | poseidon_tvnorm |
Macros | |
#define | SBUF_NUM 8 |
#define | MAX_BUFFER_NUM 6 |
#define | PK_PER_URB 32 |
#define | ISO_PKT_SIZE 3072 |
#define | POSEIDON_STATE_NONE (0x0000) |
#define | POSEIDON_STATE_ANALOG (0x0001) |
#define | POSEIDON_STATE_FM (0x0002) |
#define | POSEIDON_STATE_DVBT (0x0004) |
#define | POSEIDON_STATE_VBI (0x0008) |
#define | POSEIDON_STATE_DISCONNECT (0x0080) |
#define | PM_SUSPEND_DELAY 3 |
#define | V4L_PAL_VBI_LINES 18 |
#define | V4L_NTSC_VBI_LINES 12 |
#define | V4L_PAL_VBI_FRAMESIZE (V4L_PAL_VBI_LINES * 1440 * 2) |
#define | V4L_NTSC_VBI_FRAMESIZE (V4L_NTSC_VBI_LINES * 1440 * 2) |
#define | TUNER_FREQ_MIN (45000000) |
#define | TUNER_FREQ_MAX (862000000) |
#define | AUDIO_BUFS (3) |
#define | CAPTURE_STREAM_EN 1 |
#define | DVB_SBUF_NUM 4 |
#define | DVB_URB_BUF_SIZE 0x2000 |
#define | in_hibernation(pd) (0) |
#define | get_pm_count(p) (atomic_read(&(p)->interface->pm_usage_cnt)) |
#define | log(a,...) |
#define | logpm(pd) |
#define | logs(f) |
Enumerations | |
enum | pcm_stream_state { STREAM_OFF, STREAM_ON, STREAM_SUSPEND } |
Variables | |
int | debug_mode |
#define AUDIO_BUFS (3) |
Definition at line 100 of file pd-common.h.
#define CAPTURE_STREAM_EN 1 |
Definition at line 101 of file pd-common.h.
#define DVB_SBUF_NUM 4 |
Definition at line 124 of file pd-common.h.
#define DVB_URB_BUF_SIZE 0x2000 |
Definition at line 125 of file pd-common.h.
#define get_pm_count | ( | p | ) | (atomic_read(&(p)->interface->pm_usage_cnt)) |
Definition at line 261 of file pd-common.h.
#define in_hibernation | ( | pd | ) | (0) |
Definition at line 259 of file pd-common.h.
#define ISO_PKT_SIZE 3072 |
Definition at line 22 of file pd-common.h.
Definition at line 263 of file pd-common.h.
#define logpm | ( | pd | ) |
Definition at line 267 of file pd-common.h.
#define logs | ( | f | ) |
Definition at line 272 of file pd-common.h.
#define MAX_BUFFER_NUM 6 |
Definition at line 20 of file pd-common.h.
#define PK_PER_URB 32 |
Definition at line 21 of file pd-common.h.
#define PM_SUSPEND_DELAY 3 |
Definition at line 31 of file pd-common.h.
#define POSEIDON_STATE_ANALOG (0x0001) |
Definition at line 25 of file pd-common.h.
#define POSEIDON_STATE_DISCONNECT (0x0080) |
Definition at line 29 of file pd-common.h.
#define POSEIDON_STATE_DVBT (0x0004) |
Definition at line 27 of file pd-common.h.
#define POSEIDON_STATE_FM (0x0002) |
Definition at line 26 of file pd-common.h.
#define POSEIDON_STATE_NONE (0x0000) |
Definition at line 24 of file pd-common.h.
#define POSEIDON_STATE_VBI (0x0008) |
Definition at line 28 of file pd-common.h.
#define SBUF_NUM 8 |
Definition at line 19 of file pd-common.h.
#define TUNER_FREQ_MAX (862000000) |
Definition at line 39 of file pd-common.h.
#define TUNER_FREQ_MIN (45000000) |
Definition at line 38 of file pd-common.h.
#define V4L_NTSC_VBI_FRAMESIZE (V4L_NTSC_VBI_LINES * 1440 * 2) |
Definition at line 36 of file pd-common.h.
#define V4L_NTSC_VBI_LINES 12 |
Definition at line 34 of file pd-common.h.
#define V4L_PAL_VBI_FRAMESIZE (V4L_PAL_VBI_LINES * 1440 * 2) |
Definition at line 35 of file pd-common.h.
#define V4L_PAL_VBI_LINES 18 |
Definition at line 33 of file pd-common.h.
enum pcm_stream_state |
Definition at line 94 of file pd-common.h.
int alloc_bulk_urbs_generic | ( | struct urb ** | urb_array, |
int | num, | ||
struct usb_device * | udev, | ||
u8 | ep_addr, | ||
int | buf_size, | ||
gfp_t | gfp_flags, | ||
usb_complete_t | complete_fn, | ||
void * | context | ||
) |
Definition at line 509 of file pd-video.c.
void destroy_video_device | ( | struct video_device ** | v_dev | ) |
Definition at line 1614 of file pd-video.c.
void dvb_stop_streaming | ( | struct pd_dvb_adapter * | ) |
Definition at line 537 of file pd-video.c.
int pd_dvb_get_adapter_num | ( | struct pd_dvb_adapter * | ) |
Definition at line 1628 of file pd-video.c.
Definition at line 1638 of file pd-video.c.
Definition at line 417 of file pd-radio.c.
Definition at line 401 of file pd-radio.c.
void set_debug_mode | ( | struct video_device * | vfd, |
int | debug_mode | ||
) |
Definition at line 1373 of file pd-video.c.
Definition at line 1211 of file pd-video.c.
|
read |
Definition at line 1598 of file pd-video.c.