drivers/net/wireless/broadcom/b43/radio_2057.h

Source file repositories/reference/linux-study-clean/drivers/net/wireless/broadcom/b43/radio_2057.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wireless/broadcom/b43/radio_2057.h
Extension
.h
Size
19141 bytes
Lines
508
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

struct b43_nphy_chantabent_rev7 {
	/* The channel frequency in MHz */
	u16 freq;
	/* Radio regs values on channelswitch */
	u8 radio_vcocal_countval0;
	u8 radio_vcocal_countval1;
	u8 radio_rfpll_refmaster_sparextalsize;
	u8 radio_rfpll_loopfilter_r1;
	u8 radio_rfpll_loopfilter_c2;
	u8 radio_rfpll_loopfilter_c1;
	u8 radio_cp_kpd_idac;
	u8 radio_rfpll_mmd0;
	u8 radio_rfpll_mmd1;
	u8 radio_vcobuf_tune;
	u8 radio_logen_mx2g_tune;
	u8 radio_logen_mx5g_tune;
	u8 radio_logen_indbuf2g_tune;
	u8 radio_logen_indbuf5g_tune;
	u8 radio_txmix2g_tune_boost_pu_core0;
	u8 radio_pad2g_tune_pus_core0;
	u8 radio_pga_boost_tune_core0;
	u8 radio_txmix5g_boost_tune_core0;
	u8 radio_pad5g_tune_misc_pus_core0;
	u8 radio_lna2g_tune_core0;
	u8 radio_lna5g_tune_core0;
	u8 radio_txmix2g_tune_boost_pu_core1;
	u8 radio_pad2g_tune_pus_core1;
	u8 radio_pga_boost_tune_core1;
	u8 radio_txmix5g_boost_tune_core1;
	u8 radio_pad5g_tune_misc_pus_core1;
	u8 radio_lna2g_tune_core1;
	u8 radio_lna5g_tune_core1;
	/* PHY res values on channelswitch */
	struct b43_phy_n_sfo_cfg phy_regs;
};

struct b43_nphy_chantabent_rev7_2g {
	/* The channel frequency in MHz */
	u16 freq;
	/* Radio regs values on channelswitch */
	u8 radio_vcocal_countval0;
	u8 radio_vcocal_countval1;
	u8 radio_rfpll_refmaster_sparextalsize;
	u8 radio_rfpll_loopfilter_r1;
	u8 radio_rfpll_loopfilter_c2;
	u8 radio_rfpll_loopfilter_c1;
	u8 radio_cp_kpd_idac;
	u8 radio_rfpll_mmd0;
	u8 radio_rfpll_mmd1;
	u8 radio_vcobuf_tune;
	u8 radio_logen_mx2g_tune;
	u8 radio_logen_indbuf2g_tune;
	u8 radio_txmix2g_tune_boost_pu_core0;
	u8 radio_pad2g_tune_pus_core0;
	u8 radio_lna2g_tune_core0;
	u8 radio_txmix2g_tune_boost_pu_core1;
	u8 radio_pad2g_tune_pus_core1;
	u8 radio_lna2g_tune_core1;
	/* PHY regs values on channelswitch */
	struct b43_phy_n_sfo_cfg phy_regs;
};

void r2057_upload_inittabs(struct b43_wldev *dev);

void r2057_get_chantabent_rev7(struct b43_wldev *dev, u16 freq,
			       const struct b43_nphy_chantabent_rev7 **tabent_r7,
			       const struct b43_nphy_chantabent_rev7_2g **tabent_r7_2g);

#endif /* B43_RADIO_2057_H_ */

Annotation

Implementation Notes