]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/media/pci/intel/ipu6/ipu-platform.h
e98b9672b74b6d177c179133a2dcea66efefae2f
[mirror_ubuntu-jammy-kernel.git] / drivers / media / pci / intel / ipu6 / ipu-platform.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (C) 2013 - 2020 Intel Corporation */
3
4 #ifndef IPU_PLATFORM_H
5 #define IPU_PLATFORM_H
6
7 #define IPU_NAME "intel-ipu6"
8
9 #define IPU6SE_FIRMWARE_NAME "intel/ipu6se_fw.bin"
10 #define IPU6_FIRMWARE_NAME "intel/ipu6_fw.bin"
11
12 /*
13 * The following definitions are encoded to the media_device's model field so
14 * that the software components which uses IPU driver can get the hw stepping
15 * information.
16 */
17 #define IPU_MEDIA_DEV_MODEL_NAME "ipu6"
18
19 #define IPU6SE_ISYS_NUM_STREAMS 8 /* Max 8 */
20 #define IPU6_ISYS_NUM_STREAMS 16 /* Max 16 */
21
22 /* declearations, definitions in ipu6.c */
23 extern struct ipu_isys_internal_pdata isys_ipdata;
24 extern struct ipu_psys_internal_pdata psys_ipdata;
25 extern const struct ipu_buttress_ctrl isys_buttress_ctrl;
26 extern const struct ipu_buttress_ctrl psys_buttress_ctrl;
27
28 /* definitions in ipu6-isys.c */
29 extern struct ipu_trace_block isys_trace_blocks[];
30 /* definitions in ipu6-psys.c */
31 extern struct ipu_trace_block psys_trace_blocks[];
32
33 #endif