drivers/net/wireless/ath/ath10k/leds.h

Source file repositories/reference/linux-study-clean/drivers/net/wireless/ath/ath10k/leds.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wireless/ath/ath10k/leds.h
Extension
.h
Size
743 bytes
Lines
35
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _LEDS_H_
#define _LEDS_H_

#include "core.h"

#ifdef CONFIG_ATH10K_LEDS
void ath10k_leds_unregister(struct ath10k *ar);
int ath10k_leds_start(struct ath10k *ar);
int ath10k_leds_register(struct ath10k *ar);
#else
static inline void ath10k_leds_unregister(struct ath10k *ar)
{
}

static inline int ath10k_leds_start(struct ath10k *ar)
{
	return 0;
}

static inline int ath10k_leds_register(struct ath10k *ar)
{
	return 0;
}

#endif
#endif /* _LEDS_H_ */

Annotation

Implementation Notes