drivers/net/wireless/ath/ath9k/ar9003_rtt.h

Source file repositories/reference/linux-study-clean/drivers/net/wireless/ath/ath9k/ar9003_rtt.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wireless/ath/ath9k/ar9003_rtt.h
Extension
.h
Size
1920 bytes
Lines
66
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 AR9003_RTT_H
#define AR9003_RTT_H

#ifdef CONFIG_ATH9K_PCOEM
void ar9003_hw_rtt_enable(struct ath_hw *ah);
void ar9003_hw_rtt_disable(struct ath_hw *ah);
void ar9003_hw_rtt_set_mask(struct ath_hw *ah, u32 rtt_mask);
bool ar9003_hw_rtt_force_restore(struct ath_hw *ah);
void ar9003_hw_rtt_load_hist(struct ath_hw *ah);
void ar9003_hw_rtt_fill_hist(struct ath_hw *ah);
void ar9003_hw_rtt_clear_hist(struct ath_hw *ah);
bool ar9003_hw_rtt_restore(struct ath_hw *ah, struct ath9k_channel *chan);
#else
static inline void ar9003_hw_rtt_enable(struct ath_hw *ah)
{
}

static inline void ar9003_hw_rtt_disable(struct ath_hw *ah)
{
}

static inline void ar9003_hw_rtt_set_mask(struct ath_hw *ah, u32 rtt_mask)
{
}

static inline bool ar9003_hw_rtt_force_restore(struct ath_hw *ah)
{
	return false;
}

static inline void ar9003_hw_rtt_load_hist(struct ath_hw *ah)
{
}

static inline void ar9003_hw_rtt_fill_hist(struct ath_hw *ah)
{
}

static inline void ar9003_hw_rtt_clear_hist(struct ath_hw *ah)
{
}

static inline bool ar9003_hw_rtt_restore(struct ath_hw *ah, struct ath9k_channel *chan)
{
	return false;
}
#endif

#endif

Annotation

Implementation Notes