drivers/accel/habanalabs/include/goya/asic_reg/stlb_masks.h
Source file repositories/reference/linux-study-clean/drivers/accel/habanalabs/include/goya/asic_reg/stlb_masks.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/accel/habanalabs/include/goya/asic_reg/stlb_masks.h- Extension
.h- Size
- 5432 bytes
- Lines
- 117
- Domain
- Driver Families
- Bucket
- drivers/accel
- 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
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef ASIC_REG_STLB_MASKS_H_
#define ASIC_REG_STLB_MASKS_H_
/*
*****************************************
* STLB (Prototype: STLB)
*****************************************
*/
/* STLB_CACHE_INV */
#define STLB_CACHE_INV_PRODUCER_INDEX_SHIFT 0
#define STLB_CACHE_INV_PRODUCER_INDEX_MASK 0xFF
#define STLB_CACHE_INV_INDEX_MASK_SHIFT 8
#define STLB_CACHE_INV_INDEX_MASK_MASK 0xFF00
/* STLB_CACHE_INV_BASE_39_8 */
#define STLB_CACHE_INV_BASE_39_8_PA_SHIFT 0
#define STLB_CACHE_INV_BASE_39_8_PA_MASK 0xFFFFFFFF
/* STLB_CACHE_INV_BASE_49_40 */
#define STLB_CACHE_INV_BASE_49_40_PA_SHIFT 0
#define STLB_CACHE_INV_BASE_49_40_PA_MASK 0x3FF
/* STLB_STLB_FEATURE_EN */
#define STLB_STLB_FEATURE_EN_STLB_CTRL_MULTI_PAGE_SIZE_EN_SHIFT 0
#define STLB_STLB_FEATURE_EN_STLB_CTRL_MULTI_PAGE_SIZE_EN_MASK 0x1
#define STLB_STLB_FEATURE_EN_MULTI_PAGE_SIZE_EN_SHIFT 1
#define STLB_STLB_FEATURE_EN_MULTI_PAGE_SIZE_EN_MASK 0x2
#define STLB_STLB_FEATURE_EN_LOOKUP_EN_SHIFT 2
#define STLB_STLB_FEATURE_EN_LOOKUP_EN_MASK 0x4
#define STLB_STLB_FEATURE_EN_BYPASS_SHIFT 3
#define STLB_STLB_FEATURE_EN_BYPASS_MASK 0x8
#define STLB_STLB_FEATURE_EN_BANK_STOP_SHIFT 4
#define STLB_STLB_FEATURE_EN_BANK_STOP_MASK 0x10
#define STLB_STLB_FEATURE_EN_TRACE_EN_SHIFT 5
#define STLB_STLB_FEATURE_EN_TRACE_EN_MASK 0x20
#define STLB_STLB_FEATURE_EN_FOLLOWER_EN_SHIFT 6
#define STLB_STLB_FEATURE_EN_FOLLOWER_EN_MASK 0x40
#define STLB_STLB_FEATURE_EN_CACHING_EN_SHIFT 7
#define STLB_STLB_FEATURE_EN_CACHING_EN_MASK 0xF80
/* STLB_STLB_AXI_CACHE */
#define STLB_STLB_AXI_CACHE_STLB_CTRL_ARCACHE_SHIFT 0
#define STLB_STLB_AXI_CACHE_STLB_CTRL_ARCACHE_MASK 0xF
#define STLB_STLB_AXI_CACHE_STLB_CTRL_AWCACHE_SHIFT 4
#define STLB_STLB_AXI_CACHE_STLB_CTRL_AWCACHE_MASK 0xF0
#define STLB_STLB_AXI_CACHE_INV_ARCACHE_SHIFT 8
#define STLB_STLB_AXI_CACHE_INV_ARCACHE_MASK 0xF00
/* STLB_HOP_CONFIGURATION */
#define STLB_HOP_CONFIGURATION_FIRST_HOP_SHIFT 0
#define STLB_HOP_CONFIGURATION_FIRST_HOP_MASK 0x7
#define STLB_HOP_CONFIGURATION_FIRST_LOOKUP_HOP_SHIFT 4
#define STLB_HOP_CONFIGURATION_FIRST_LOOKUP_HOP_MASK 0x70
#define STLB_HOP_CONFIGURATION_LAST_HOP_SHIFT 8
#define STLB_HOP_CONFIGURATION_LAST_HOP_MASK 0x700
/* STLB_LINK_LIST_LOOKUP_MASK_49_32 */
#define STLB_LINK_LIST_LOOKUP_MASK_49_32_R_SHIFT 0
#define STLB_LINK_LIST_LOOKUP_MASK_49_32_R_MASK 0x3FFFF
/* STLB_LINK_LIST_LOOKUP_MASK_31_0 */
#define STLB_LINK_LIST_LOOKUP_MASK_31_0_R_SHIFT 0
#define STLB_LINK_LIST_LOOKUP_MASK_31_0_R_MASK 0xFFFFFFFF
/* STLB_LINK_LIST */
#define STLB_LINK_LIST_CLEAR_SHIFT 0
#define STLB_LINK_LIST_CLEAR_MASK 0x1
#define STLB_LINK_LIST_EN_SHIFT 1
#define STLB_LINK_LIST_EN_MASK 0x2
/* STLB_INV_ALL_START */
#define STLB_INV_ALL_START_R_SHIFT 0
#define STLB_INV_ALL_START_R_MASK 0x1
/* STLB_INV_ALL_SET */
#define STLB_INV_ALL_SET_R_SHIFT 0
#define STLB_INV_ALL_SET_R_MASK 0xFF
/* STLB_INV_PS */
#define STLB_INV_PS_R_SHIFT 0
#define STLB_INV_PS_R_MASK 0x3
/* STLB_INV_CONSUMER_INDEX */
#define STLB_INV_CONSUMER_INDEX_R_SHIFT 0
#define STLB_INV_CONSUMER_INDEX_R_MASK 0xFF
/* STLB_INV_HIT_COUNT */
#define STLB_INV_HIT_COUNT_R_SHIFT 0
#define STLB_INV_HIT_COUNT_R_MASK 0x7FF
Annotation
- Atlas domain: Driver Families / drivers/accel.
- 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.