drivers/staging/media/atomisp/pci/hive_isp_css_common/sp_global.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/hive_isp_css_common/sp_global.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/hive_isp_css_common/sp_global.h- Extension
.h- Size
- 2032 bytes
- Lines
- 76
- 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.
- 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
system_local.hscalar_processor_2400_params.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __SP_GLOBAL_H_INCLUDED__
#define __SP_GLOBAL_H_INCLUDED__
#include <system_local.h>
#include <scalar_processor_2400_params.h>
#define SP_PMEM_WIDTH_LOG2 SP_PMEM_LOG_WIDTH_BITS
#define SP_PMEM_SIZE SP_PMEM_DEPTH
#define SP_DMEM_SIZE 0x4000
/* SP Registers */
#define SP_PC_REG 0x09
#define SP_SC_REG 0x00
#define SP_START_ADDR_REG 0x01
#define SP_ICACHE_ADDR_REG 0x05
#define SP_IRQ_READY_REG 0x00
#define SP_IRQ_CLEAR_REG 0x00
#define SP_ICACHE_INV_REG 0x00
#define SP_CTRL_SINK_REG 0x0A
/* SP Register bits */
#define SP_RST_BIT 0x00
#define SP_START_BIT 0x01
#define SP_BREAK_BIT 0x02
#define SP_RUN_BIT 0x03
#define SP_BROKEN_BIT 0x04
#define SP_IDLE_BIT 0x05 /* READY */
#define SP_SLEEPING_BIT 0x06
#define SP_STALLING_BIT 0x07
#define SP_IRQ_CLEAR_BIT 0x08
#define SP_IRQ_READY_BIT 0x0A
#define SP_IRQ_SLEEPING_BIT 0x0B
#define SP_ICACHE_INV_BIT 0x0C
#define SP_IPREFETCH_EN_BIT 0x0D
#define SP_FIFO0_SINK_BIT 0x00
#define SP_FIFO1_SINK_BIT 0x01
#define SP_FIFO2_SINK_BIT 0x02
#define SP_FIFO3_SINK_BIT 0x03
#define SP_FIFO4_SINK_BIT 0x04
#define SP_FIFO5_SINK_BIT 0x05
#define SP_FIFO6_SINK_BIT 0x06
#define SP_FIFO7_SINK_BIT 0x07
#define SP_FIFO8_SINK_BIT 0x08
#define SP_FIFO9_SINK_BIT 0x09
#define SP_FIFOA_SINK_BIT 0x0A
#define SP_DMEM_SINK_BIT 0x0B
#define SP_CTRL_MT_SINK_BIT 0x0C
#define SP_ICACHE_MT_SINK_BIT 0x0D
#define SP_FIFO0_SINK_REG 0x0A
#define SP_FIFO1_SINK_REG 0x0A
#define SP_FIFO2_SINK_REG 0x0A
#define SP_FIFO3_SINK_REG 0x0A
#define SP_FIFO4_SINK_REG 0x0A
#define SP_FIFO5_SINK_REG 0x0A
#define SP_FIFO6_SINK_REG 0x0A
#define SP_FIFO7_SINK_REG 0x0A
#define SP_FIFO8_SINK_REG 0x0A
#define SP_FIFO9_SINK_REG 0x0A
#define SP_FIFOA_SINK_REG 0x0A
#define SP_DMEM_SINK_REG 0x0A
#define SP_CTRL_MT_SINK_REG 0x0A
#define SP_ICACHE_MT_SINK_REG 0x0A
#endif /* __SP_GLOBAL_H_INCLUDED__ */
Annotation
- Immediate include surface: `system_local.h`, `scalar_processor_2400_params.h`.
- Atlas domain: Driver Families / drivers/staging.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.