include/linux/mfd/nct6694.h
Source file repositories/reference/linux-study-clean/include/linux/mfd/nct6694.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/mfd/nct6694.h- Extension
.h- Size
- 2060 bytes
- Lines
- 103
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- 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
struct __packedstruct nct6694enum nct6694_irq_idenum nct6694_response_err_status
Annotated Snippet
struct __packed {
u8 cmd;
u8 sel;
};
};
u8 hctrl;
u8 rsv2;
__le16 len;
};
struct __packed nct6694_response_header {
u8 sequence_id;
u8 sts;
u8 reserved[4];
__le16 len;
};
union __packed nct6694_usb_msg {
struct nct6694_cmd_header cmd_header;
struct nct6694_response_header response_header;
};
struct nct6694 {
struct device *dev;
struct ida gpio_ida;
struct ida i2c_ida;
struct ida canfd_ida;
struct ida wdt_ida;
struct irq_domain *domain;
struct mutex access_lock;
spinlock_t irq_lock;
struct urb *int_in_urb;
struct usb_device *udev;
union nct6694_usb_msg *usb_msg;
__le32 *int_buffer;
unsigned int irq_enable;
};
int nct6694_read_msg(struct nct6694 *nct6694, const struct nct6694_cmd_header *cmd_hd, void *buf);
int nct6694_write_msg(struct nct6694 *nct6694, const struct nct6694_cmd_header *cmd_hd, void *buf);
#endif
Annotation
- Detected declarations: `struct __packed`, `struct nct6694`, `enum nct6694_irq_id`, `enum nct6694_response_err_status`.
- Atlas domain: Core OS / Core Kernel Interface.
- 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.