drivers/pcmcia/yenta_socket.h
Source file repositories/reference/linux-study-clean/drivers/pcmcia/yenta_socket.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/pcmcia/yenta_socket.h- Extension
.h- Size
- 4926 bytes
- Lines
- 137
- Domain
- Driver Families
- Bucket
- drivers/pcmcia
- 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
asm/io.h
Detected Declarations
struct yenta_socketstruct cardbus_typestruct yenta_socket
Annotated Snippet
struct cardbus_type {
int (*override)(struct yenta_socket *);
void (*save_state)(struct yenta_socket *);
void (*restore_state)(struct yenta_socket *);
int (*sock_init)(struct yenta_socket *);
};
struct yenta_socket {
struct pci_dev *dev;
int cb_irq, io_irq;
void __iomem *base;
struct timer_list poll_timer;
struct pcmcia_socket socket;
struct cardbus_type *type;
u32 flags;
/* for PCI interrupt probing */
unsigned int probe_status;
/* A few words of private data for special stuff of overrides... */
unsigned int private[8];
/* PCI saved state */
u32 saved_state[2];
};
#endif
Annotation
- Immediate include surface: `asm/io.h`.
- Detected declarations: `struct yenta_socket`, `struct cardbus_type`, `struct yenta_socket`.
- Atlas domain: Driver Families / drivers/pcmcia.
- 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.