drivers/net/dsa/qca/qca8k_leds.h

Source file repositories/reference/linux-study-clean/drivers/net/dsa/qca/qca8k_leds.h

File Facts

System
Linux kernel
Corpus path
drivers/net/dsa/qca/qca8k_leds.h
Extension
.h
Size
333 bytes
Lines
17
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 __QCA8K_LEDS_H
#define __QCA8K_LEDS_H

/* Leds Support function */
#ifdef CONFIG_NET_DSA_QCA8K_LEDS_SUPPORT
int qca8k_setup_led_ctrl(struct qca8k_priv *priv);
#else
static inline int qca8k_setup_led_ctrl(struct qca8k_priv *priv)
{
	return 0;
}
#endif

#endif /* __QCA8K_LEDS_H */

Annotation

Implementation Notes