Lines Matching +full:aspm +full:- +full:no +full:- +full:l0s
2 * Copyright (c) 2008-2011 Atheros Communications Inc.
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
45 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
47 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
51 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
53 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
57 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
61 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
63 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
67 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
69 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
73 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
77 if (ah->is_clk_25mhz) in ar9003_hw_init_mode_regs()
78 INIT_INI_ARRAY(&ah->iniAdditional, in ar9003_hw_init_mode_regs()
81 INIT_INI_ARRAY(&ah->iniAdditional, in ar9003_hw_init_mode_regs()
85 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
87 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
91 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
93 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
97 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
101 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
103 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
107 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
109 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
113 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
117 if (ah->is_clk_25mhz) in ar9003_hw_init_mode_regs()
118 INIT_INI_ARRAY(&ah->iniAdditional, in ar9003_hw_init_mode_regs()
121 INIT_INI_ARRAY(&ah->iniAdditional, in ar9003_hw_init_mode_regs()
125 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
127 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
131 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
133 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
137 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
139 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
143 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
145 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
149 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
151 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
154 INIT_INI_ARRAY(&ah->iniModesFastClock, in ar9003_hw_init_mode_regs()
156 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
158 INIT_INI_ARRAY(&ah->ini_dfs, in ar9003_hw_init_mode_regs()
161 if (!ah->is_clk_25mhz) in ar9003_hw_init_mode_regs()
162 INIT_INI_ARRAY(&ah->iniAdditional, in ar9003_hw_init_mode_regs()
166 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
168 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
172 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_PRE], ar9485_1_1); in ar9003_hw_init_mode_regs()
173 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
175 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
179 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
181 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
185 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
189 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
191 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
195 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
198 if (ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_CONTROL) { in ar9003_hw_init_mode_regs()
199 INIT_INI_ARRAY(&ah->iniPcieSerdes, in ar9003_hw_init_mode_regs()
201 INIT_INI_ARRAY(&ah->iniPcieSerdesLowPower, in ar9003_hw_init_mode_regs()
204 INIT_INI_ARRAY(&ah->iniPcieSerdes, in ar9003_hw_init_mode_regs()
206 INIT_INI_ARRAY(&ah->iniPcieSerdesLowPower, in ar9003_hw_init_mode_regs()
210 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
212 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
214 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
216 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
218 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
220 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
222 INIT_INI_ARRAY(&ah->ini_radio_post_sys2ant, in ar9003_hw_init_mode_regs()
224 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
226 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
228 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
230 INIT_INI_ARRAY(&ah->iniModesFastClock, in ar9003_hw_init_mode_regs()
232 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
235 /* Awake -> Sleep Setting */ in ar9003_hw_init_mode_regs()
236 if ((ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_CONTROL) && in ar9003_hw_init_mode_regs()
237 (ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_ON_D3)) { in ar9003_hw_init_mode_regs()
238 INIT_INI_ARRAY(&ah->iniPcieSerdes, in ar9003_hw_init_mode_regs()
242 /* Sleep -> Awake Setting */ in ar9003_hw_init_mode_regs()
243 if ((ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_CONTROL) && in ar9003_hw_init_mode_regs()
244 (ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_ON_D0)) { in ar9003_hw_init_mode_regs()
245 INIT_INI_ARRAY(&ah->iniPcieSerdesLowPower, in ar9003_hw_init_mode_regs()
250 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], ar9462_2p0_mac_core); in ar9003_hw_init_mode_regs()
251 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
254 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
256 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
259 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
261 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
263 INIT_INI_ARRAY(&ah->ini_radio_post_sys2ant, in ar9003_hw_init_mode_regs()
266 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
268 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
271 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
274 /* Awake -> Sleep Setting */ in ar9003_hw_init_mode_regs()
275 if ((ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_CONTROL) && in ar9003_hw_init_mode_regs()
276 (ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_ON_D3)) { in ar9003_hw_init_mode_regs()
277 INIT_INI_ARRAY(&ah->iniPcieSerdes, in ar9003_hw_init_mode_regs()
281 /* Sleep -> Awake Setting */ in ar9003_hw_init_mode_regs()
282 if ((ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_CONTROL) && in ar9003_hw_init_mode_regs()
283 (ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_ON_D0)) { in ar9003_hw_init_mode_regs()
284 INIT_INI_ARRAY(&ah->iniPcieSerdesLowPower, in ar9003_hw_init_mode_regs()
289 INIT_INI_ARRAY(&ah->iniModesFastClock, in ar9003_hw_init_mode_regs()
292 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
296 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
298 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
302 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
304 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
308 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
310 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
314 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
316 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
320 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
322 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_hw_init_mode_regs()
324 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
328 INIT_INI_ARRAY(&ah->iniModesFastClock, in ar9003_hw_init_mode_regs()
331 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
333 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
336 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
338 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
341 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
343 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
346 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
348 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
350 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
352 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
356 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
358 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_hw_init_mode_regs()
361 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
363 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_hw_init_mode_regs()
368 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
371 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
374 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
377 INIT_INI_ARRAY(&ah->iniModesFastClock, in ar9003_hw_init_mode_regs()
380 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
382 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
385 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
387 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
390 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
392 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
395 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
397 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
400 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
402 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_hw_init_mode_regs()
404 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
407 INIT_INI_ARRAY(&ah->ini_dfs, in ar9003_hw_init_mode_regs()
409 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
411 INIT_INI_ARRAY(&ah->iniModesFastClock, in ar9003_hw_init_mode_regs()
415 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
417 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
421 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
423 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
427 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
429 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
433 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
435 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
439 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
441 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
444 INIT_INI_ARRAY(&ah->iniModesFastClock, in ar9003_hw_init_mode_regs()
446 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
448 INIT_INI_ARRAY(&ah->ini_dfs, in ar9003_hw_init_mode_regs()
451 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
453 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
456 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
458 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
461 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
463 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
466 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
468 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
471 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
473 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
476 /* Awake -> Sleep Setting */ in ar9003_hw_init_mode_regs()
477 if ((ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_CONTROL) && in ar9003_hw_init_mode_regs()
478 (ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_ON_D3)) { in ar9003_hw_init_mode_regs()
479 INIT_INI_ARRAY(&ah->iniPcieSerdes, in ar9003_hw_init_mode_regs()
483 /* Sleep -> Awake Setting */ in ar9003_hw_init_mode_regs()
484 if ((ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_CONTROL) && in ar9003_hw_init_mode_regs()
485 (ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_ON_D0)) { in ar9003_hw_init_mode_regs()
486 INIT_INI_ARRAY(&ah->iniPcieSerdesLowPower, in ar9003_hw_init_mode_regs()
490 INIT_INI_ARRAY(&ah->iniModesFastClock, in ar9003_hw_init_mode_regs()
492 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
495 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
497 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
500 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
502 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
505 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
507 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
510 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
512 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
515 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
517 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
520 /* Awake -> Sleep Setting */ in ar9003_hw_init_mode_regs()
521 if ((ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_CONTROL) && in ar9003_hw_init_mode_regs()
522 (ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_ON_D3)) { in ar9003_hw_init_mode_regs()
523 INIT_INI_ARRAY(&ah->iniPcieSerdes, in ar9003_hw_init_mode_regs()
527 /* Sleep -> Awake Setting */ in ar9003_hw_init_mode_regs()
528 if ((ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_CONTROL) && in ar9003_hw_init_mode_regs()
529 (ah->config.pll_pwrsave & AR_PCIE_PLL_PWRSAVE_ON_D0)) { in ar9003_hw_init_mode_regs()
530 INIT_INI_ARRAY(&ah->iniPcieSerdesLowPower, in ar9003_hw_init_mode_regs()
534 INIT_INI_ARRAY(&ah->iniModesFastClock, in ar9003_hw_init_mode_regs()
536 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
540 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
542 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
546 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
548 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
552 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
554 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_POST], in ar9003_hw_init_mode_regs()
558 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
560 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
564 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_hw_init_mode_regs()
566 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_hw_init_mode_regs()
573 INIT_INI_ARRAY(&ah->iniPcieSerdes, in ar9003_hw_init_mode_regs()
578 INIT_INI_ARRAY(&ah->iniPcieSerdesLowPower, in ar9003_hw_init_mode_regs()
582 INIT_INI_ARRAY(&ah->iniModesFastClock, in ar9003_hw_init_mode_regs()
584 INIT_INI_ARRAY(&ah->iniCckfirJapan2484, in ar9003_hw_init_mode_regs()
586 INIT_INI_ARRAY(&ah->ini_dfs, in ar9003_hw_init_mode_regs()
594 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
597 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
600 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
603 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
606 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
609 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
612 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
615 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
618 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
621 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
624 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
627 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
630 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
633 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
636 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode0()
643 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
646 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
649 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
652 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
655 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
658 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
662 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
665 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
668 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
671 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
674 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
677 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
680 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
683 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
686 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode1()
693 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode2()
696 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode2()
699 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode2()
702 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode2()
705 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode2()
708 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode2()
711 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode2()
714 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode2()
717 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode2()
720 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode2()
727 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode3()
730 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode3()
733 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode3()
736 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode3()
739 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode3()
742 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode3()
745 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode3()
748 if (ah->config.tx_gain_buffalo) in ar9003_tx_gain_table_mode3()
749 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode3()
752 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode3()
760 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode4()
763 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode4()
766 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode4()
769 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode4()
772 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode4()
779 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode5()
782 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode5()
785 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode5()
788 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode5()
795 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode6()
798 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode6()
801 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode6()
808 INIT_INI_ARRAY(&ah->iniModesTxGain, in ar9003_tx_gain_table_mode7()
837 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
840 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
843 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
846 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
849 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
851 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_rx_gain_table_mode0()
854 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
856 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_rx_gain_table_mode0()
859 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
861 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_rx_gain_table_mode0()
863 INIT_INI_ARRAY(&ah->ini_modes_rxgain_xlna, in ar9003_rx_gain_table_mode0()
866 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
869 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
872 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
875 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
878 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
881 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode0()
888 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
891 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
894 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
897 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
900 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
903 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
906 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
908 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_rx_gain_table_mode1()
911 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
913 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_rx_gain_table_mode1()
916 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
918 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_rx_gain_table_mode1()
921 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
923 INIT_INI_ARRAY(&ah->ini_modes_rx_gain_bounds, in ar9003_rx_gain_table_mode1()
926 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
929 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
932 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
935 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode1()
942 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode2()
944 INIT_INI_ARRAY(&ah->ini_modes_rxgain_bb_core, in ar9003_rx_gain_table_mode2()
946 INIT_INI_ARRAY(&ah->ini_modes_rxgain_bb_postamble, in ar9003_rx_gain_table_mode2()
948 INIT_INI_ARRAY(&ah->ini_modes_rxgain_xlna, in ar9003_rx_gain_table_mode2()
951 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode2()
953 INIT_INI_ARRAY(&ah->ini_modes_rxgain_bb_core, in ar9003_rx_gain_table_mode2()
955 INIT_INI_ARRAY(&ah->ini_modes_rxgain_bb_postamble, in ar9003_rx_gain_table_mode2()
957 INIT_INI_ARRAY(&ah->ini_modes_rxgain_xlna, in ar9003_rx_gain_table_mode2()
965 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode3()
967 INIT_INI_ARRAY(&ah->ini_modes_rxgain_xlna, in ar9003_rx_gain_table_mode3()
970 INIT_INI_ARRAY(&ah->iniModesRxGain, in ar9003_rx_gain_table_mode3()
972 INIT_INI_ARRAY(&ah->ini_modes_rxgain_xlna, in ar9003_rx_gain_table_mode3()
1004 * Helper for ASPM support.
1006 * Disable PLL when in L0s as well as receiver clock when in L1.
1024 u32 val = ah->config.aspm_l1_fix; in ar9003_hw_configpcipowersave()
1036 REG_WRITE(ah, AR_WA(ah), ah->WARegVal); in ar9003_hw_configpcipowersave()
1043 array = power_off ? &ah->iniPcieSerdes : in ar9003_hw_configpcipowersave()
1044 &ah->iniPcieSerdesLowPower; in ar9003_hw_configpcipowersave()
1046 for (i = 0; i < array->ia_rows; i++) { in ar9003_hw_configpcipowersave()
1058 ah->config.hw_hang_checks |= HW_BB_WATCHDOG; in ar9003_hw_init_hang_checks()
1059 ah->config.hw_hang_checks |= HW_MAC_HANG; in ar9003_hw_init_hang_checks()
1065 ah->config.hw_hang_checks |= HW_PHYRESTART_CLC_WAR; in ar9003_hw_init_hang_checks()
1068 ah->bb_watchdog_timeout_ms = 85; in ar9003_hw_init_hang_checks()
1070 ah->bb_watchdog_timeout_ms = 25; in ar9003_hw_init_hang_checks()
1093 * The DCU chain state "0x6" means "WAIT_FRDONE" - wait for TX frame to be done.
1110 reg_offset = (queue - 6) * 5; in ath9k_hw_verify_hang()
1153 reg_offset = (i - 6) * 5; in ar9003_hw_detect_mac_hang()
1182 WARN_ON(!ah->iniPcieSerdes.ia_array); in ar9003_hw_attach_ops()
1183 WARN_ON(!ah->iniPcieSerdesLowPower.ia_array); in ar9003_hw_attach_ops()
1186 priv_ops->init_mode_gain_regs = ar9003_hw_init_mode_gain_regs; in ar9003_hw_attach_ops()
1187 priv_ops->init_hang_checks = ar9003_hw_init_hang_checks; in ar9003_hw_attach_ops()
1188 priv_ops->detect_mac_hang = ar9003_hw_detect_mac_hang; in ar9003_hw_attach_ops()
1190 ops->config_pci_powersave = ar9003_hw_configpcipowersave; in ar9003_hw_attach_ops()