#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/wait.h>
#include <asm/unistd.h>
#include <asm/semaphore.h>
#include <asm/atomic.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/vmalloc.h>
#include <linux/rwsem.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/time.h>
#include <asm/io.h>
#include <asm/page.h>
#include <asm/elphel/driver_numbers.h>
#include <asm/elphel/c313a.h>
#include <asm/elphel/hist.h>
#include <asm/elphel/autoexp.h>
#include "fpgactrl.h"
#include "quantization_tables.h"
#include "framepars.h"
#include "cxdma.h"
#include "jpeghead.h"
#include "x3x3.h"
#include "fpga_io.h"
Include dependency graph for stream.c:
Go to the source code of this file.
Data Structures | |
struct | stream_ctx_t |
Defines | |
#define | MD1(x) |
Functions | |
DECLARE_MUTEX (stream_lock) | |
static int | stream__open (struct inode *inode, struct file *filp) |
static int | stream__ioctl (struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) |
static int | stream__release (struct inode *inode, struct file *filp) |
static int __init | stream__init (void) |
static void __exit | stream__exit (void) |
module_init (stream__init) | |
module_exit (stream__exit) | |
Variables | |
static struct file_operations | stream__fops |
DECLARE_MUTEX | ( | stream_lock | ) |
module_exit | ( | stream__exit | ) |
module_init | ( | stream__init | ) |
static void __exit stream__exit | ( | void | ) | [static] |
static int __init stream__init | ( | void | ) | [static] |
static int stream__ioctl | ( | struct inode * | inode, | |
struct file * | filp, | |||
unsigned int | cmd, | |||
unsigned long | arg | |||
) | [static] |
Definition at line 125 of file stream.c.
References stream_ctx_t::fps_flag, framepars, get_imageParamsThis, getThisFrameNumber(), IOC_STREAM_GET_TIME, IOC_STREAM_SET_FPS, P_FP1000SLIM, stream_ctx_t::p_fp1000slim, P_FPSFLAGS, stream_ctx_t::p_fpsflags, PARS_FRAMES_MASK, setFramePar(), and X313_GET_FPGA_TIME.
int stream__open | ( | struct inode * | inode, | |
struct file * | filp | |||
) | [static] |
int stream__release | ( | struct inode * | inode, | |
struct file * | filp | |||
) | [static] |
Definition at line 166 of file stream.c.
References stream_ctx_t::fps_flag, framepars, getThisFrameNumber(), kfree, stream_ctx_t::p_fp1000slim, P_FP1000SLIM, stream_ctx_t::p_fpsflags, P_FPSFLAGS, PARS_FRAMES_MASK, and setFramePar().
struct file_operations stream__fops [static] |
Initial value:
{ owner: THIS_MODULE, open: stream__open, ioctl: stream__ioctl, release: stream__release, }
Definition at line 98 of file stream.c.
Referenced by stream__init().