drivers/staging/media/atomisp/pci/cell_params.h

Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/cell_params.h

File Facts

System
Linux kernel
Corpus path
drivers/staging/media/atomisp/pci/cell_params.h
Extension
.h
Size
990 bytes
Lines
33
Domain
Driver Families
Bucket
drivers/staging
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _cell_params_h
#define _cell_params_h

#define SP_PMEM_LOG_WIDTH_BITS           6  /*Width of PC, 64 bits, 8 bytes*/
#define SP_ICACHE_TAG_BITS               4  /*size of tag*/
#define SP_ICACHE_SET_BITS               8  /* 256 sets*/
#define SP_ICACHE_BLOCKS_PER_SET_BITS    1  /* 2 way associative*/
#define SP_ICACHE_BLOCK_ADDRESS_BITS     11 /* 2048 lines capacity*/

#define SP_ICACHE_ADDRESS_BITS \
			    (SP_ICACHE_TAG_BITS + SP_ICACHE_BLOCK_ADDRESS_BITS)

#define SP_PMEM_DEPTH        BIT(SP_ICACHE_ADDRESS_BITS)

#define SP_FIFO_0_DEPTH      0
#define SP_FIFO_1_DEPTH      0
#define SP_FIFO_2_DEPTH      0
#define SP_FIFO_3_DEPTH      0
#define SP_FIFO_4_DEPTH      0
#define SP_FIFO_5_DEPTH      0
#define SP_FIFO_6_DEPTH      0
#define SP_FIFO_7_DEPTH      0

#define SP_SLV_BUS_MAXBURSTSIZE        1

#endif /* _cell_params_h */

Annotation

Implementation Notes