drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h

Source file repositories/reference/linux-study-clean/drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h

File Facts

System
Linux kernel
Corpus path
drivers/staging/rtl8723bs/include/HalPwrSeqCmd.h
Extension
.h
Size
3323 bytes
Lines
112
Domain
Driver Families
Bucket
drivers/staging
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 wlan_pwr_cfg {
	u16 offset;
	u8 cut_msk;
	u8 fab_msk:4;
	u8 interface_msk:4;
	u8 base:4;
	u8 cmd:4;
	u8 msk;
	u8 value;
};


#define GET_PWR_CFG_OFFSET(__PWR_CMD)		__PWR_CMD.offset
#define GET_PWR_CFG_CUT_MASK(__PWR_CMD)		__PWR_CMD.cut_msk
#define GET_PWR_CFG_FAB_MASK(__PWR_CMD)		__PWR_CMD.fab_msk
#define GET_PWR_CFG_INTF_MASK(__PWR_CMD)	__PWR_CMD.interface_msk
#define GET_PWR_CFG_BASE(__PWR_CMD)			__PWR_CMD.base
#define GET_PWR_CFG_CMD(__PWR_CMD)			__PWR_CMD.cmd
#define GET_PWR_CFG_MASK(__PWR_CMD)			__PWR_CMD.msk
#define GET_PWR_CFG_VALUE(__PWR_CMD)		__PWR_CMD.value


/*  */
/* 	Prototype of protected function. */
/*  */
u8 HalPwrSeqCmdParsing(
	struct adapter *padapter,
	u8 		CutVersion,
	u8 		FabVersion,
	u8 		InterfaceType,
	struct wlan_pwr_cfg	PwrCfgCmd[]);

#endif

Annotation

Implementation Notes