|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 25.48 GB of 70.42 GB (36.19%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
src/
linux-headers-3.0.0-14/
include/
media/
- drwxr-xr-x
|
Viewing file: soc_camera_platform.h (1.67 KB) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
/* * Generic Platform Camera Driver Header * * Copyright (C) 2008 Magnus Damm * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */
#ifndef __SOC_CAMERA_H__ #define __SOC_CAMERA_H__
#include <linux/videodev2.h> #include <media/soc_camera.h>
struct device;
struct soc_camera_platform_info { const char *format_name; unsigned long format_depth; struct v4l2_mbus_framefmt format; unsigned long bus_param; struct device *dev; int (*set_capture)(struct soc_camera_platform_info *info, int enable); };
static inline void soc_camera_platform_release(struct platform_device **pdev) { *pdev = NULL; }
static inline int soc_camera_platform_add(const struct soc_camera_link *icl, struct device *dev, struct platform_device **pdev, struct soc_camera_link *plink, void (*release)(struct device *dev), int id) { struct soc_camera_platform_info *info = plink->priv; int ret;
if (icl != plink) return -ENODEV;
if (*pdev) return -EBUSY;
*pdev = platform_device_alloc("soc_camera_platform", id); if (!*pdev) return -ENOMEM;
info->dev = dev;
(*pdev)->dev.platform_data = info; (*pdev)->dev.release = release;
ret = platform_device_add(*pdev); if (ret < 0) { platform_device_put(*pdev); *pdev = NULL; info->dev = NULL; }
return ret; }
static inline void soc_camera_platform_del(const struct soc_camera_link *icl, struct platform_device *pdev, const struct soc_camera_link *plink) { if (icl != plink || !pdev) return;
platform_device_unregister(pdev); }
#endif /* __SOC_CAMERA_H__ */
|