1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Support for Intel Camera Imaging ISP subsystem.
4 * Copyright (c) 2015, Intel Corporation.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 #ifndef __IA_CSS_PRBS_H
17 #define __IA_CSS_PRBS_H
20 * This file contains support for Pseudo Random Bit Sequence (PRBS) inputs
23 /* Enumerate the PRBS IDs.
32 * Maximum number of PRBS IDs.
34 * Make sure the value of this define gets changed to reflect the correct
35 * number of ia_css_prbs_id enum if you add/delete an item in the enum.
37 #define N_CSS_PRBS_IDS (IA_CSS_PRBS_ID2 + 1)
40 * PRBS configuration structure.
42 * Seed the for the Pseudo Random Bit Sequence.
44 * @deprecated{This interface is deprecated, it is not portable -> move to input system API}
46 struct ia_css_prbs_config {
47 enum ia_css_prbs_id id;
48 unsigned int h_blank; /** horizontal blank */
49 unsigned int v_blank; /** vertical blank */
50 int seed; /** random seed for the 1st 2-pixel-components/clock */
51 int seed1; /** random seed for the 2nd 2-pixel-components/clock */
54 #endif /* __IA_CSS_PRBS_H */