drivers/net/wireless/ath/wil6210/wil_platform.c
Source file repositories/reference/linux-study-clean/drivers/net/wireless/ath/wil6210/wil_platform.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/ath/wil6210/wil_platform.c- Extension
.c- Size
- 822 bytes
- Lines
- 39
- Domain
- Driver Families
- Bucket
- drivers/net
- 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
linux/device.hwil_platform.h
Detected Declarations
function Copyrightfunction wil_platform_modexit
Annotated Snippet
// SPDX-License-Identifier: ISC
/*
* Copyright (c) 2014-2016 Qualcomm Atheros, Inc.
*/
#include <linux/device.h>
#include "wil_platform.h"
int __init wil_platform_modinit(void)
{
return 0;
}
void wil_platform_modexit(void)
{
}
/* wil_platform_init() - wil6210 platform module init
*
* The function must be called before all other functions in this module.
* It returns a handle which is used with the rest of the API
*
*/
void *wil_platform_init(struct device *dev, struct wil_platform_ops *ops,
const struct wil_platform_rops *rops, void *wil_handle)
{
void *handle = ops; /* to return some non-NULL for 'void' impl. */
if (!ops) {
dev_err(dev,
"Invalid parameter. Cannot init platform module\n");
return NULL;
}
/* platform specific init functions should be called here */
return handle;
}
Annotation
- Immediate include surface: `linux/device.h`, `wil_platform.h`.
- Detected declarations: `function Copyright`, `function wil_platform_modexit`.
- Atlas domain: Driver Families / drivers/net.
- 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.