drivers/hid/intel-ish-hid/ipc/pci-ish.c
Source file repositories/reference/linux-study-clean/drivers/hid/intel-ish-hid/ipc/pci-ish.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/hid/intel-ish-hid/ipc/pci-ish.c- Extension
.c- Size
- 12904 bytes
- Lines
- 493
- Domain
- Driver Families
- Bucket
- drivers/hid
- Inferred role
- Driver Families: operation-table or driver-model contract
- Status
- pattern 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 an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/acpi.hlinux/module.hlinux/moduleparam.hlinux/kernel.hlinux/device.hlinux/fs.hlinux/errno.hlinux/types.hlinux/pci.hlinux/sched.hlinux/suspend.hlinux/interrupt.hlinux/workqueue.htrace/events/intel_ish.hishtp-dev.hhw-ish.h
Detected Declarations
enum ishtp_driver_data_indexfunction ish_event_tracerfunction ish_initfunction ish_should_enter_d0i3function ish_should_leave_d0i3function ish_probefunction ish_removefunction ish_shutdownfunction ish_resume_handlerfunction ish_suspendfunction ish_resumefunction ish_freezefunction base_version_showfunction project_version_showfunction firmware_is_visible
Annotated Snippet
static struct pci_driver ish_driver = {
.name = KBUILD_MODNAME,
.id_table = ish_pci_tbl,
.probe = ish_probe,
.remove = ish_remove,
.shutdown = ish_shutdown,
.driver.pm = &ish_pm_ops,
.dev_groups = ish_firmware_groups,
};
module_pci_driver(ish_driver);
/* Original author */
MODULE_AUTHOR("Daniel Drubin <daniel.drubin@intel.com>");
/* Adoption to upstream Linux kernel */
MODULE_AUTHOR("Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>");
MODULE_DESCRIPTION("Intel(R) Integrated Sensor Hub PCI Device Driver");
MODULE_LICENSE("GPL");
MODULE_FIRMWARE(ISH_FIRMWARE_PATH(ISH_FW_GEN_LNL_M));
MODULE_FIRMWARE(ISH_FIRMWARE_PATH_ALL);
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/module.h`, `linux/moduleparam.h`, `linux/kernel.h`, `linux/device.h`, `linux/fs.h`, `linux/errno.h`, `linux/types.h`.
- Detected declarations: `enum ishtp_driver_data_index`, `function ish_event_tracer`, `function ish_init`, `function ish_should_enter_d0i3`, `function ish_should_leave_d0i3`, `function ish_probe`, `function ish_remove`, `function ish_shutdown`, `function ish_resume_handler`, `function ish_suspend`.
- Atlas domain: Driver Families / drivers/hid.
- Implementation status: pattern implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.