linux/drivers/staging/rtl8723bs/include/hal_pwr_seq.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef REALTEK_POWER_SEQUENCE_8723B
#define REALTEK_POWER_SEQUENCE_8723B

#include "HalPwrSeqCmd.h"

/*
	Check document WM-20130815-JackieLau-RTL8723B_Power_Architecture v08.vsd
	There are 6 HW Power States:
	0: POFF--Power Off
	1: PDN--Power Down
	2: CARDEMU--Card Emulation
	3: ACT--Active Mode
	4: LPS--Low Power State
	5: SUS--Suspend

	The transition from different states are defined below
	TRANS_CARDEMU_TO_ACT
	TRANS_ACT_TO_CARDEMU
	TRANS_CARDEMU_TO_SUS
	TRANS_SUS_TO_CARDEMU
	TRANS_CARDEMU_TO_PDN
	TRANS_ACT_TO_LPS
	TRANS_LPS_TO_ACT

	TRANS_END
*/
#define RTL8723B_TRANS_CARDEMU_TO_ACT_STEPS
#define RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS
#define RTL8723B_TRANS_CARDEMU_TO_SUS_STEPS
#define RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS
#define RTL8723B_TRANS_ACT_TO_LPS_STEPS
#define RTL8723B_TRANS_LPS_TO_ACT_STEPS
#define RTL8723B_TRANS_ACT_TO_SWLPS_STEPS
#define RTL8723B_TRANS_SWLPS_TO_ACT_STEPS
#define RTL8723B_TRANS_END_STEPS


#define RTL8723B_TRANS_CARDEMU_TO_ACT\


#define RTL8723B_TRANS_ACT_TO_CARDEMU\


#define RTL8723B_TRANS_CARDEMU_TO_SUS

#define RTL8723B_TRANS_SUS_TO_CARDEMU

#define RTL8723B_TRANS_CARDEMU_TO_CARDDIS

#define RTL8723B_TRANS_CARDDIS_TO_CARDEMU


#define RTL8723B_TRANS_CARDEMU_TO_PDN

#define RTL8723B_TRANS_ACT_TO_LPS	\


#define RTL8723B_TRANS_LPS_TO_ACT


 #define RTL8723B_TRANS_ACT_TO_SWLPS


#define RTL8723B_TRANS_SWLPS_TO_ACT

#define RTL8723B_TRANS_END 


extern struct wlan_pwr_cfg rtl8723B_power_on_flow[RTL8723B_TRANS_CARDEMU_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS];
extern struct wlan_pwr_cfg rtl8723B_radio_off_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_END_STEPS];
extern struct wlan_pwr_cfg rtl8723B_card_disable_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+RTL8723B_TRANS_END_STEPS];
extern struct wlan_pwr_cfg rtl8723B_card_enable_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+RTL8723B_TRANS_END_STEPS];
extern struct wlan_pwr_cfg rtl8723B_suspend_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_CARDEMU_TO_SUS_STEPS+RTL8723B_TRANS_END_STEPS];
extern struct wlan_pwr_cfg rtl8723B_resume_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_CARDEMU_TO_SUS_STEPS+RTL8723B_TRANS_END_STEPS];
extern struct wlan_pwr_cfg rtl8723B_hwpdn_flow[RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+RTL8723B_TRANS_END_STEPS];
extern struct wlan_pwr_cfg rtl8723B_enter_lps_flow[RTL8723B_TRANS_ACT_TO_LPS_STEPS+RTL8723B_TRANS_END_STEPS];
extern struct wlan_pwr_cfg rtl8723B_leave_lps_flow[RTL8723B_TRANS_LPS_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS];
extern struct wlan_pwr_cfg rtl8723B_enter_swlps_flow[RTL8723B_TRANS_ACT_TO_SWLPS_STEPS+RTL8723B_TRANS_END_STEPS];
extern struct wlan_pwr_cfg rtl8723B_leave_swlps_flow[RTL8723B_TRANS_SWLPS_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS];
#endif