File Index
Files and directories
Sign in
FILE

str2mem_defs.h

File preview with syntax highlighting.

linux-6.19.14/drivers/staging/media/atomisp/pci/str2mem_defs.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * Support for Intel Camera Imaging ISP subsystem.
 4 * Copyright (c) 2015, Intel Corporation.
 5 */
 6
 7#ifndef _ST2MEM_DEFS_H
 8#define _ST2MEM_DEFS_H
 9
10#define _STR2MEM_CRUN_BIT               0x100000
11#define _STR2MEM_CMD_BITS               0x0F0000
12#define _STR2MEM_COUNT_BITS             0x00FFFF
13
14#define _STR2MEM_BLOCKS_CMD             0xA0000
15#define _STR2MEM_PACKETS_CMD            0xB0000
16#define _STR2MEM_BYTES_CMD              0xC0000
17#define _STR2MEM_BYTES_FROM_PACKET_CMD  0xD0000
18
19#define _STR2MEM_SOFT_RESET_REG_ID                   0
20#define _STR2MEM_INPUT_ENDIANNESS_REG_ID             1
21#define _STR2MEM_OUTPUT_ENDIANNESS_REG_ID            2
22#define _STR2MEM_BIT_SWAPPING_REG_ID                 3
23#define _STR2MEM_BLOCK_SYNC_LEVEL_REG_ID             4
24#define _STR2MEM_PACKET_SYNC_LEVEL_REG_ID            5
25#define _STR2MEM_READ_POST_WRITE_SYNC_ENABLE_REG_ID  6
26#define _STR2MEM_DUAL_BYTE_INPUTS_ENABLED_REG_ID     7
27#define _STR2MEM_EN_STAT_UPDATE_ID                   8
28
29#define _STR2MEM_REG_ALIGN      4
30
31#endif /* _ST2MEM_DEFS_H */
~/ Read-only file preview.