drivers/comedi/drivers/ni_labpc_isadma.h
Source file repositories/reference/linux-study-clean/drivers/comedi/drivers/ni_labpc_isadma.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/comedi/drivers/ni_labpc_isadma.h- Extension
.h- Size
- 958 bytes
- Lines
- 44
- Domain
- Driver Families
- Bucket
- drivers/comedi
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
function labpc_init_dma_chan
Annotated Snippet
#ifndef _NI_LABPC_ISADMA_H
#define _NI_LABPC_ISADMA_H
#if IS_ENABLED(CONFIG_COMEDI_NI_LABPC_ISADMA)
void labpc_init_dma_chan(struct comedi_device *dev, unsigned int dma_chan);
void labpc_free_dma_chan(struct comedi_device *dev);
void labpc_setup_dma(struct comedi_device *dev, struct comedi_subdevice *s);
void labpc_drain_dma(struct comedi_device *dev);
void labpc_handle_dma_status(struct comedi_device *dev);
#else
static inline void labpc_init_dma_chan(struct comedi_device *dev,
unsigned int dma_chan)
{
}
static inline void labpc_free_dma_chan(struct comedi_device *dev)
{
}
static inline void labpc_setup_dma(struct comedi_device *dev,
struct comedi_subdevice *s)
{
}
static inline void labpc_drain_dma(struct comedi_device *dev)
{
}
static inline void labpc_handle_dma_status(struct comedi_device *dev)
{
}
#endif
#endif /* _NI_LABPC_ISADMA_H */
Annotation
- Detected declarations: `function labpc_init_dma_chan`.
- Atlas domain: Driver Families / drivers/comedi.
- 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.