VaKeR CYBER ARMY
Logo of a company Server : Apache/2.4.41 (Ubuntu)
System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Directory :  /lib/modules/5.4.0-193-generic/build/include/linux/platform_data/media/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/modules/5.4.0-193-generic/build/include/linux/platform_data/media/omap1_camera.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Header for V4L2 SoC Camera driver for OMAP1 Camera Interface
 *
 * Copyright (C) 2010, Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
 */

#ifndef __MEDIA_OMAP1_CAMERA_H_
#define __MEDIA_OMAP1_CAMERA_H_

#include <linux/bitops.h>

#define OMAP1_CAMERA_IOSIZE		0x1c

enum omap1_cam_vb_mode {
	OMAP1_CAM_DMA_CONTIG = 0,
	OMAP1_CAM_DMA_SG,
};

#define OMAP1_CAMERA_MIN_BUF_COUNT(x)	((x) == OMAP1_CAM_DMA_CONTIG ? 3 : 2)

struct omap1_cam_platform_data {
	unsigned long	camexclk_khz;
	unsigned long	lclk_khz_max;
	unsigned long	flags;
};

#define OMAP1_CAMERA_LCLK_RISING	BIT(0)
#define OMAP1_CAMERA_RST_LOW		BIT(1)
#define OMAP1_CAMERA_RST_HIGH		BIT(2)

#endif /* __MEDIA_OMAP1_CAMERA_H_ */

VaKeR 2022