drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq.c
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq.c- Extension
.c- Size
- 992 bytes
- Lines
- 35
- 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.hdevice_access.hassert_support.hia_css_debug.hisys_irq.hisys_irq_private.h
Detected Declarations
function Copyright
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0
/*
* Support for Intel Camera Imaging ISP subsystem.
* Copyright (c) 2015, Intel Corporation.
*/
#include <system_local.h>
#include "device_access.h"
#include "assert_support.h"
#include "ia_css_debug.h"
#include "isys_irq.h"
#ifndef __INLINE_ISYS2401_IRQ__
/*
* Include definitions for isys irq private functions. isys_irq.h includes
* declarations of these functions by including isys_irq_public.h.
*/
#include "isys_irq_private.h"
#endif
/* Public interface */
void isys_irqc_status_enable(const isys_irq_ID_t isys_irqc_id)
{
assert(isys_irqc_id < N_ISYS_IRQ_ID);
ia_css_debug_dtrace(IA_CSS_DEBUG_TRACE, "Setting irq mask for port %u\n",
isys_irqc_id);
isys_irqc_reg_store(isys_irqc_id, ISYS_IRQ_MASK_REG_IDX,
ISYS_IRQ_MASK_REG_VALUE);
isys_irqc_reg_store(isys_irqc_id, ISYS_IRQ_CLEAR_REG_IDX,
ISYS_IRQ_CLEAR_REG_VALUE);
isys_irqc_reg_store(isys_irqc_id, ISYS_IRQ_ENABLE_REG_IDX,
ISYS_IRQ_ENABLE_REG_VALUE);
}
Annotation
- Immediate include surface: `system_local.h`, `device_access.h`, `assert_support.h`, `ia_css_debug.h`, `isys_irq.h`, `isys_irq_private.h`.
- Detected declarations: `function Copyright`.
- 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.