drivers/media/pci/mantis/mantis_ioc.h
Source file repositories/reference/linux-study-clean/drivers/media/pci/mantis/mantis_ioc.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/pci/mantis/mantis_ioc.h- Extension
.h- Size
- 865 bytes
- Lines
- 40
- Domain
- Driver Families
- Bucket
- drivers/media
- 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
enum mantis_stream_control
Annotated Snippet
Mantis PCI bridge driver
Copyright (C) Manu Abraham (abraham.manu@gmail.com)
*/
#ifndef __MANTIS_IOC_H
#define __MANTIS_IOC_H
#define GPIF_A00 0x00
#define GPIF_A01 0x01
#define GPIF_A02 0x02
#define GPIF_A03 0x03
#define GPIF_A04 0x04
#define GPIF_A05 0x05
#define GPIF_A06 0x06
#define GPIF_A07 0x07
#define GPIF_A08 0x08
#define GPIF_A09 0x09
#define GPIF_A10 0x0a
#define GPIF_A11 0x0b
#define GPIF_A12 0x0c
#define GPIF_A13 0x0d
#define GPIF_A14 0x0e
enum mantis_stream_control {
STREAM_TO_HIF = 0,
STREAM_TO_CAM
};
extern int mantis_get_mac(struct mantis_pci *mantis);
extern void mantis_gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
extern int mantis_stream_control(struct mantis_pci *mantis, enum mantis_stream_control stream_ctl);
#endif /* __MANTIS_IOC_H */
Annotation
- Detected declarations: `enum mantis_stream_control`.
- Atlas domain: Driver Families / drivers/media.
- 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.