]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_prbs.h
2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 #ifndef __IA_CSS_PRBS_H
16 #define __IA_CSS_PRBS_H
19 * This file contains support for Pseudo Random Bit Sequence (PRBS) inputs
22 /* Enumerate the PRBS IDs.
31 * Maximum number of PRBS IDs.
33 * Make sure the value of this define gets changed to reflect the correct
34 * number of ia_css_prbs_id enum if you add/delete an item in the enum.
36 #define N_CSS_PRBS_IDS (IA_CSS_PRBS_ID2+1)
39 * PRBS configuration structure.
41 * Seed the for the Pseudo Random Bit Sequence.
43 * @deprecated{This interface is deprecated, it is not portable -> move to input system API}
45 struct ia_css_prbs_config
{
46 enum ia_css_prbs_id id
;
47 unsigned int h_blank
; /** horizontal blank */
48 unsigned int v_blank
; /** vertical blank */
49 int seed
; /** random seed for the 1st 2-pixel-components/clock */
50 int seed1
; /** random seed for the 2nd 2-pixel-components/clock */
53 #endif /* __IA_CSS_PRBS_H */