drivers/comedi/drivers/ni_routing/ni_device_routes.c
Source file repositories/reference/linux-study-clean/drivers/comedi/drivers/ni_routing/ni_device_routes.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/comedi/drivers/ni_routing/ni_device_routes.c- Extension
.c- Size
- 1615 bytes
- Lines
- 51
- 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
ni_device_routes.hni_device_routes/all.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0+
/*
* comedi/drivers/ni_routing/ni_device_routes.c
* List of valid routes for specific NI boards.
*
* COMEDI - Linux Control and Measurement Device Interface
* Copyright (C) 2016 Spencer E. Olson <olsonse@umich.edu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/*
* The contents of this file are generated using the tools in
* comedi/drivers/ni_routing/tools
*
* Please use those tools to help maintain the contents of this file.
*/
#include "ni_device_routes.h"
#include "ni_device_routes/all.h"
struct ni_device_routes *const ni_device_routes_list[] = {
&ni_pxi_6030e_device_routes,
&ni_pci_6070e_device_routes,
&ni_pci_6220_device_routes,
&ni_pci_6221_device_routes,
&ni_pxi_6224_device_routes,
&ni_pxi_6225_device_routes,
&ni_pci_6229_device_routes,
&ni_pci_6251_device_routes,
&ni_pxi_6251_device_routes,
&ni_pxie_6251_device_routes,
&ni_pci_6254_device_routes,
&ni_pci_6259_device_routes,
&ni_pci_6534_device_routes,
&ni_pci_6602_device_routes,
&ni_pci_6713_device_routes,
&ni_pci_6723_device_routes,
&ni_pci_6733_device_routes,
&ni_pxi_6733_device_routes,
NULL,
};
Annotation
- Immediate include surface: `ni_device_routes.h`, `ni_device_routes/all.h`.
- 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.