1 // SPDX-License-Identifier: GPL-2.0
2 /******************************************************************************
4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
6 ******************************************************************************/
10 This file includes all kinds of Power Action event for RTL8723B
11 and corresponding hardware configurtions which are released from HW SD.
15 ---------- --------------- -------------------------------
16 2011-08-08 Roger Create.
20 #include "hal_pwr_seq.h"
22 /* drivers should parse below arrays and do the corresponding actions */
23 /* 3 Power on Array */
24 struct wlan_pwr_cfg rtl8723B_power_on_flow[
25 RTL8723B_TRANS_CARDEMU_TO_ACT_STEPS+
26 RTL8723B_TRANS_END_STEPS
28 RTL8723B_TRANS_CARDEMU_TO_ACT
32 /* 3Radio off GPIO Array */
33 struct wlan_pwr_cfg rtl8723B_radio_off_flow[
34 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
35 RTL8723B_TRANS_END_STEPS
37 RTL8723B_TRANS_ACT_TO_CARDEMU
41 /* 3Card Disable Array */
42 struct wlan_pwr_cfg rtl8723B_card_disable_flow[
43 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
44 RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+
45 RTL8723B_TRANS_END_STEPS
47 RTL8723B_TRANS_ACT_TO_CARDEMU
48 RTL8723B_TRANS_CARDEMU_TO_CARDDIS
52 /* 3 Card Enable Array */
53 struct wlan_pwr_cfg rtl8723B_card_enable_flow[
54 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
55 RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+
56 RTL8723B_TRANS_END_STEPS
58 RTL8723B_TRANS_CARDDIS_TO_CARDEMU
59 RTL8723B_TRANS_CARDEMU_TO_ACT
64 struct wlan_pwr_cfg rtl8723B_suspend_flow[
65 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
66 RTL8723B_TRANS_CARDEMU_TO_SUS_STEPS+
67 RTL8723B_TRANS_END_STEPS
69 RTL8723B_TRANS_ACT_TO_CARDEMU
70 RTL8723B_TRANS_CARDEMU_TO_SUS
75 struct wlan_pwr_cfg rtl8723B_resume_flow[
76 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
77 RTL8723B_TRANS_CARDEMU_TO_SUS_STEPS+
78 RTL8723B_TRANS_END_STEPS
80 RTL8723B_TRANS_SUS_TO_CARDEMU
81 RTL8723B_TRANS_CARDEMU_TO_ACT
86 struct wlan_pwr_cfg rtl8723B_hwpdn_flow[
87 RTL8723B_TRANS_ACT_TO_CARDEMU_STEPS+
88 RTL8723B_TRANS_CARDEMU_TO_PDN_STEPS+
89 RTL8723B_TRANS_END_STEPS
91 RTL8723B_TRANS_ACT_TO_CARDEMU
92 RTL8723B_TRANS_CARDEMU_TO_PDN
97 struct wlan_pwr_cfg rtl8723B_enter_lps_flow[
98 RTL8723B_TRANS_ACT_TO_LPS_STEPS+RTL8723B_TRANS_END_STEPS
101 RTL8723B_TRANS_ACT_TO_LPS
106 struct wlan_pwr_cfg rtl8723B_leave_lps_flow[
107 RTL8723B_TRANS_LPS_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS
110 RTL8723B_TRANS_LPS_TO_ACT
115 struct wlan_pwr_cfg rtl8723B_enter_swlps_flow[
116 RTL8723B_TRANS_ACT_TO_SWLPS_STEPS+RTL8723B_TRANS_END_STEPS
119 RTL8723B_TRANS_ACT_TO_SWLPS
124 struct wlan_pwr_cfg rtl8723B_leave_swlps_flow[
125 RTL8723B_TRANS_SWLPS_TO_ACT_STEPS+RTL8723B_TRANS_END_STEPS
128 RTL8723B_TRANS_SWLPS_TO_ACT