iPXE
Functions
hw-ops.h File Reference
#include "hw.h"

Go to the source code of this file.

Functions

 FILE_LICENCE (BSD2)
 
static void ath9k_hw_configpcipowersave (struct ath_hw *ah, int restore, int power_off)
 
static void ath9k_hw_rxena (struct ath_hw *ah)
 
static void ath9k_hw_set_desc_link (struct ath_hw *ah, void *ds, u32 link)
 
static void ath9k_hw_get_desc_link (struct ath_hw *ah, void *ds, u32 **link)
 
static int ath9k_hw_calibrate (struct ath_hw *ah, struct ath9k_channel *chan, u8 rxchainmask, int longcal)
 
static int ath9k_hw_getisr (struct ath_hw *ah, enum ath9k_int *masked)
 
static void ath9k_hw_filltxdesc (struct ath_hw *ah, void *ds, u32 seglen, int is_firstseg, int is_lastseg, const void *ds0, u32 buf_addr, unsigned int qcu)
 
static int ath9k_hw_txprocdesc (struct ath_hw *ah, void *ds, struct ath_tx_status *ts)
 
static void ath9k_hw_set11n_txdesc (struct ath_hw *ah, void *ds, u32 pktLen, enum ath9k_pkt_type type, u32 txPower, u32 keyIx, enum ath9k_key_type keyType, u32 flags)
 
static void ath9k_hw_set11n_ratescenario (struct ath_hw *ah, void *ds, void *lastds, u32 durUpdateEn, u32 rtsctsRate, u32 rtsctsDuration, struct ath9k_11n_rate_series series[], u32 nseries, u32 flags)
 
static void ath9k_hw_set11n_aggr_first (struct ath_hw *ah, void *ds, u32 aggrLen)
 
static void ath9k_hw_set11n_aggr_middle (struct ath_hw *ah, void *ds, u32 numDelims)
 
static void ath9k_hw_set11n_aggr_last (struct ath_hw *ah, void *ds)
 
static void ath9k_hw_clr11n_aggr (struct ath_hw *ah, void *ds)
 
static void ath9k_hw_set_clrdmask (struct ath_hw *ah, void *ds, int val)
 
static void ath9k_hw_antdiv_comb_conf_get (struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf)
 
static void ath9k_hw_antdiv_comb_conf_set (struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf)
 
static int ath9k_hw_rf_set_freq (struct ath_hw *ah, struct ath9k_channel *chan)
 
static void ath9k_hw_spur_mitigate_freq (struct ath_hw *ah, struct ath9k_channel *chan)
 
static int ath9k_hw_rf_alloc_ext_banks (struct ath_hw *ah)
 
static void ath9k_hw_rf_free_ext_banks (struct ath_hw *ah)
 
static int ath9k_hw_set_rf_regs (struct ath_hw *ah, struct ath9k_channel *chan, u16 modesIndex)
 
static void ath9k_hw_init_bb (struct ath_hw *ah, struct ath9k_channel *chan)
 
static void ath9k_hw_set_channel_regs (struct ath_hw *ah, struct ath9k_channel *chan)
 
static int ath9k_hw_process_ini (struct ath_hw *ah, struct ath9k_channel *chan)
 
static void ath9k_olc_init (struct ath_hw *ah)
 
static void ath9k_hw_set_rfmode (struct ath_hw *ah, struct ath9k_channel *chan)
 
static void ath9k_hw_mark_phy_inactive (struct ath_hw *ah)
 
static void ath9k_hw_set_delta_slope (struct ath_hw *ah, struct ath9k_channel *chan)
 
static int ath9k_hw_rfbus_req (struct ath_hw *ah)
 
static void ath9k_hw_rfbus_done (struct ath_hw *ah)
 
static void ath9k_hw_restore_chainmask (struct ath_hw *ah)
 
static void ath9k_hw_set_diversity (struct ath_hw *ah, int value)
 
static int ath9k_hw_ani_control (struct ath_hw *ah, enum ath9k_ani_cmd cmd, int param)
 
static void ath9k_hw_do_getnf (struct ath_hw *ah, int16_t nfarray[NUM_NF_READINGS])
 
static int ath9k_hw_init_cal (struct ath_hw *ah, struct ath9k_channel *chan)
 
static void ath9k_hw_setup_calibration (struct ath_hw *ah, struct ath9k_cal_list *currCal)
 

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( BSD2  )

◆ ath9k_hw_configpcipowersave()

static void ath9k_hw_configpcipowersave ( struct ath_hw ah,
int  restore,
int  power_off 
)
inlinestatic

Definition at line 26 of file hw-ops.h.

29 {
30  ath9k_hw_ops(ah)->config_pci_powersave(ah, restore, power_off);
31 }
void(* config_pci_powersave)(struct ath_hw *ah, int restore, int power_off)
Definition: hw.h:604
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85

References ah, ath9k_hw_ops(), and ath_hw_ops::config_pci_powersave.

Referenced by __ath9k_hw_init(), ath9k_start(), ath9k_stop(), and ath_radio_disable().

◆ ath9k_hw_rxena()

static void ath9k_hw_rxena ( struct ath_hw ah)
inlinestatic

Definition at line 33 of file hw-ops.h.

34 {
36 }
void(* rx_enable)(struct ath_hw *ah)
Definition: hw.h:607
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85

References ah, ath9k_hw_ops(), and ath_hw_ops::rx_enable.

Referenced by ath_rx_tasklet(), and ath_startrecv().

◆ ath9k_hw_set_desc_link()

static void ath9k_hw_set_desc_link ( struct ath_hw ah,
void *  ds,
u32  link 
)
inlinestatic

Definition at line 38 of file hw-ops.h.

40 {
42 }
u32 link
Link to next descriptor.
Definition: ar9003_mac.h:68
uint32_t ds
Definition: librm.h:254
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85
void(* set_desc_link)(void *ds, u32 link)
Definition: hw.h:608

References ah, ath9k_hw_ops(), ds, link, and ath_hw_ops::set_desc_link.

Referenced by ath_tx_setup_buffer().

◆ ath9k_hw_get_desc_link()

static void ath9k_hw_get_desc_link ( struct ath_hw ah,
void *  ds,
u32 **  link 
)
inlinestatic

Definition at line 44 of file hw-ops.h.

46 {
48 }
u32 link
Link to next descriptor.
Definition: ar9003_mac.h:68
uint32_t ds
Definition: librm.h:254
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85
void(* get_desc_link)(void *ds, u32 **link)
Definition: hw.h:609

References ah, ath9k_hw_ops(), ds, ath_hw_ops::get_desc_link, and link.

Referenced by ath_tx_txqaddbuf().

◆ ath9k_hw_calibrate()

static int ath9k_hw_calibrate ( struct ath_hw ah,
struct ath9k_channel chan,
u8  rxchainmask,
int  longcal 
)
inlinestatic

Definition at line 49 of file hw-ops.h.

53 {
54  return ath9k_hw_ops(ah)->calibrate(ah, chan, rxchainmask, longcal);
55 }
struct net80211_channel * chan
Definition: hw.h:347
int(* calibrate)(struct ath_hw *ah, struct ath9k_channel *chan, u8 rxchainmask, int longcal)
Definition: hw.h:610
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85

References ah, ath9k_hw_ops(), ath_hw_ops::calibrate, and ath9k_channel::chan.

Referenced by ath_ani_calibrate().

◆ ath9k_hw_getisr()

static int ath9k_hw_getisr ( struct ath_hw ah,
enum ath9k_int masked 
)
inlinestatic

Definition at line 57 of file hw-ops.h.

58 {
59  return ath9k_hw_ops(ah)->get_isr(ah, masked);
60 }
int(* get_isr)(struct ath_hw *ah, enum ath9k_int *masked)
Definition: hw.h:614
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85

References ah, ath9k_hw_ops(), and ath_hw_ops::get_isr.

Referenced by ath_isr().

◆ ath9k_hw_filltxdesc()

static void ath9k_hw_filltxdesc ( struct ath_hw ah,
void *  ds,
u32  seglen,
int  is_firstseg,
int  is_lastseg,
const void *  ds0,
u32  buf_addr,
unsigned int  qcu 
)
inlinestatic

Definition at line 62 of file hw-ops.h.

66 {
67  ath9k_hw_ops(ah)->fill_txdesc(ah, ds, seglen, is_firstseg, is_lastseg,
68  ds0, buf_addr, qcu);
69 }
uint32_t ds
Definition: librm.h:254
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85
void(* fill_txdesc)(struct ath_hw *ah, void *ds, u32 seglen, int is_firstseg, int is_is_lastseg, const void *ds0, u32 buf_addr, unsigned int qcu)
Definition: hw.h:615

References ah, ath9k_hw_ops(), ds, and ath_hw_ops::fill_txdesc.

Referenced by ath_tx_setup_buffer().

◆ ath9k_hw_txprocdesc()

static int ath9k_hw_txprocdesc ( struct ath_hw ah,
void *  ds,
struct ath_tx_status ts 
)
inlinestatic

Definition at line 71 of file hw-ops.h.

73 {
74  return ath9k_hw_ops(ah)->proc_txdesc(ah, ds, ts);
75 }
uint32_t ds
Definition: librm.h:254
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
int(* proc_txdesc)(struct ath_hw *ah, void *ds, struct ath_tx_status *ts)
Definition: hw.h:619
uint8_t ah
Definition: registers.h:85

References ah, ath9k_hw_ops(), ds, and ath_hw_ops::proc_txdesc.

Referenced by ath_tx_processq().

◆ ath9k_hw_set11n_txdesc()

static void ath9k_hw_set11n_txdesc ( struct ath_hw ah,
void *  ds,
u32  pktLen,
enum ath9k_pkt_type  type,
u32  txPower,
u32  keyIx,
enum ath9k_key_type  keyType,
u32  flags 
)
inlinestatic

Definition at line 77 of file hw-ops.h.

82 {
83  ath9k_hw_ops(ah)->set11n_txdesc(ah, ds, pktLen, type, txPower, keyIx,
84  keyType, flags);
85 }
void(* set11n_txdesc)(struct ath_hw *ah, void *ds, u32 pktLen, enum ath9k_pkt_type type, u32 txPower, u32 keyIx, enum ath9k_key_type keyType, u32 flags)
Definition: hw.h:621
uint32_t ds
Definition: librm.h:254
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint32_t type
Operating system type.
Definition: ena.h:12
uint8_t ah
Definition: registers.h:85
uint8_t flags
Flags.
Definition: ena.h:18

References ah, ath9k_hw_ops(), ds, flags, ath_hw_ops::set11n_txdesc, and type.

Referenced by ath_tx_setup_buffer().

◆ ath9k_hw_set11n_ratescenario()

static void ath9k_hw_set11n_ratescenario ( struct ath_hw ah,
void *  ds,
void *  lastds,
u32  durUpdateEn,
u32  rtsctsRate,
u32  rtsctsDuration,
struct ath9k_11n_rate_series  series[],
u32  nseries,
u32  flags 
)
inlinestatic

Definition at line 87 of file hw-ops.h.

93 {
94  ath9k_hw_ops(ah)->set11n_ratescenario(ah, ds, lastds, durUpdateEn,
95  rtsctsRate, rtsctsDuration, series,
96  nseries, flags);
97 }
void(* set11n_ratescenario)(struct ath_hw *ah, void *ds, void *lastds, u32 durUpdateEn, u32 rtsctsRate, u32 rtsctsDuration, struct ath9k_11n_rate_series series[], u32 nseries, u32 flags)
Definition: hw.h:626
uint32_t ds
Definition: librm.h:254
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85
uint8_t flags
Flags.
Definition: ena.h:18

References ah, ath9k_hw_ops(), ds, flags, and ath_hw_ops::set11n_ratescenario.

Referenced by ath_buf_set_rate().

◆ ath9k_hw_set11n_aggr_first()

static void ath9k_hw_set11n_aggr_first ( struct ath_hw ah,
void *  ds,
u32  aggrLen 
)
inlinestatic

Definition at line 99 of file hw-ops.h.

101 {
102  ath9k_hw_ops(ah)->set11n_aggr_first(ah, ds, aggrLen);
103 }
uint32_t ds
Definition: librm.h:254
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
void(* set11n_aggr_first)(struct ath_hw *ah, void *ds, u32 aggrLen)
Definition: hw.h:632
uint8_t ah
Definition: registers.h:85

References ah, ath9k_hw_ops(), ds, and ath_hw_ops::set11n_aggr_first.

◆ ath9k_hw_set11n_aggr_middle()

static void ath9k_hw_set11n_aggr_middle ( struct ath_hw ah,
void *  ds,
u32  numDelims 
)
inlinestatic

Definition at line 105 of file hw-ops.h.

107 {
108  ath9k_hw_ops(ah)->set11n_aggr_middle(ah, ds, numDelims);
109 }
uint32_t ds
Definition: librm.h:254
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
void(* set11n_aggr_middle)(struct ath_hw *ah, void *ds, u32 numDelims)
Definition: hw.h:634
uint8_t ah
Definition: registers.h:85

References ah, ath9k_hw_ops(), ds, and ath_hw_ops::set11n_aggr_middle.

◆ ath9k_hw_set11n_aggr_last()

static void ath9k_hw_set11n_aggr_last ( struct ath_hw ah,
void *  ds 
)
inlinestatic

Definition at line 111 of file hw-ops.h.

112 {
114 }
void(* set11n_aggr_last)(struct ath_hw *ah, void *ds)
Definition: hw.h:636
uint32_t ds
Definition: librm.h:254
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85

References ah, ath9k_hw_ops(), ds, and ath_hw_ops::set11n_aggr_last.

◆ ath9k_hw_clr11n_aggr()

static void ath9k_hw_clr11n_aggr ( struct ath_hw ah,
void *  ds 
)
inlinestatic

Definition at line 116 of file hw-ops.h.

117 {
119 }
void(* clr11n_aggr)(struct ath_hw *ah, void *ds)
Definition: hw.h:637
uint32_t ds
Definition: librm.h:254
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85

References ah, ath9k_hw_ops(), ath_hw_ops::clr11n_aggr, and ds.

◆ ath9k_hw_set_clrdmask()

static void ath9k_hw_set_clrdmask ( struct ath_hw ah,
void *  ds,
int  val 
)
inlinestatic

Definition at line 121 of file hw-ops.h.

122 {
124 }
void(* set_clrdmask)(struct ath_hw *ah, void *ds, int val)
Definition: hw.h:638
uint32_t ds
Definition: librm.h:254
void __asmcall int val
Definition: setjmp.h:28
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85

References ah, ath9k_hw_ops(), ds, ath_hw_ops::set_clrdmask, and val.

Referenced by ath_tx_start_dma().

◆ ath9k_hw_antdiv_comb_conf_get()

static void ath9k_hw_antdiv_comb_conf_get ( struct ath_hw ah,
struct ath_hw_antcomb_conf antconf 
)
inlinestatic

Definition at line 126 of file hw-ops.h.

128 {
130 }
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
void(* antdiv_comb_conf_get)(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf)
Definition: hw.h:639
uint8_t ah
Definition: registers.h:85

References ah, ath_hw_ops::antdiv_comb_conf_get, and ath9k_hw_ops().

◆ ath9k_hw_antdiv_comb_conf_set()

static void ath9k_hw_antdiv_comb_conf_set ( struct ath_hw ah,
struct ath_hw_antcomb_conf antconf 
)
inlinestatic

Definition at line 132 of file hw-ops.h.

134 {
136 }
void(* antdiv_comb_conf_set)(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf)
Definition: hw.h:641
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:884
uint8_t ah
Definition: registers.h:85

References ah, ath_hw_ops::antdiv_comb_conf_set, and ath9k_hw_ops().

◆ ath9k_hw_rf_set_freq()

static int ath9k_hw_rf_set_freq ( struct ath_hw ah,
struct ath9k_channel chan 
)
inlinestatic

Definition at line 142 of file hw-ops.h.

144 {
146 }
struct net80211_channel * chan
Definition: hw.h:347
int(* rf_set_freq)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:561
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), ath9k_channel::chan, and ath_hw_private_ops::rf_set_freq.

Referenced by ath9k_hw_channel_change(), and ath9k_hw_reset().

◆ ath9k_hw_spur_mitigate_freq()

static void ath9k_hw_spur_mitigate_freq ( struct ath_hw ah,
struct ath9k_channel chan 
)
inlinestatic

Definition at line 148 of file hw-ops.h.

150 {
152 }
void(* spur_mitigate_freq)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:563
struct net80211_channel * chan
Definition: hw.h:347
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), ath9k_channel::chan, and ath_hw_private_ops::spur_mitigate_freq.

Referenced by ath9k_hw_channel_change(), and ath9k_hw_reset().

◆ ath9k_hw_rf_alloc_ext_banks()

static int ath9k_hw_rf_alloc_ext_banks ( struct ath_hw ah)
inlinestatic

Definition at line 154 of file hw-ops.h.

155 {
156  if (!ath9k_hw_private_ops(ah)->rf_alloc_ext_banks)
157  return 0;
158 
160 }
int(* rf_alloc_ext_banks)(struct ath_hw *ah)
Definition: hw.h:565
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), and ath_hw_private_ops::rf_alloc_ext_banks.

Referenced by ath9k_hw_post_init().

◆ ath9k_hw_rf_free_ext_banks()

static void ath9k_hw_rf_free_ext_banks ( struct ath_hw ah)
inlinestatic

Definition at line 162 of file hw-ops.h.

163 {
164  if (!ath9k_hw_private_ops(ah)->rf_free_ext_banks)
165  return;
166 
168 }
void(* rf_free_ext_banks)(struct ath_hw *ah)
Definition: hw.h:566
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), and ath_hw_private_ops::rf_free_ext_banks.

Referenced by ath9k_hw_deinit(), and ath9k_hw_post_init().

◆ ath9k_hw_set_rf_regs()

static int ath9k_hw_set_rf_regs ( struct ath_hw ah,
struct ath9k_channel chan,
u16  modesIndex 
)
inlinestatic

Definition at line 170 of file hw-ops.h.

173 {
174  if (!ath9k_hw_private_ops(ah)->set_rf_regs)
175  return 1;
176 
177  return ath9k_hw_private_ops(ah)->set_rf_regs(ah, chan, modesIndex);
178 }
struct net80211_channel * chan
Definition: hw.h:347
int(* set_rf_regs)(struct ath_hw *ah, struct ath9k_channel *chan, u16 modesIndex)
Definition: hw.h:567
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), ath9k_channel::chan, and ath_hw_private_ops::set_rf_regs.

Referenced by ar5008_hw_process_ini().

◆ ath9k_hw_init_bb()

static void ath9k_hw_init_bb ( struct ath_hw ah,
struct ath9k_channel chan 
)
inlinestatic

Definition at line 180 of file hw-ops.h.

182 {
184 }
void(* init_bb)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:571
struct net80211_channel * chan
Definition: hw.h:347
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), ath9k_channel::chan, and ath_hw_private_ops::init_bb.

Referenced by ath9k_hw_reset().

◆ ath9k_hw_set_channel_regs()

static void ath9k_hw_set_channel_regs ( struct ath_hw ah,
struct ath9k_channel chan 
)
inlinestatic

Definition at line 186 of file hw-ops.h.

188 {
190 }
struct net80211_channel * chan
Definition: hw.h:347
void(* set_channel_regs)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:570
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), ath9k_channel::chan, and ath_hw_private_ops::set_channel_regs.

Referenced by ath9k_hw_channel_change().

◆ ath9k_hw_process_ini()

static int ath9k_hw_process_ini ( struct ath_hw ah,
struct ath9k_channel chan 
)
inlinestatic

Definition at line 192 of file hw-ops.h.

194 {
196 }
struct net80211_channel * chan
Definition: hw.h:347
int(* process_ini)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:573
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), ath9k_channel::chan, and ath_hw_private_ops::process_ini.

Referenced by ath9k_hw_reset().

◆ ath9k_olc_init()

static void ath9k_olc_init ( struct ath_hw ah)
inlinestatic

Definition at line 198 of file hw-ops.h.

199 {
200  if (!ath9k_hw_private_ops(ah)->olc_init)
201  return;
202 
204 }
void(* olc_init)(struct ath_hw *ah)
Definition: hw.h:574
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), and ath_hw_private_ops::olc_init.

Referenced by ar5008_hw_process_ini().

◆ ath9k_hw_set_rfmode()

static void ath9k_hw_set_rfmode ( struct ath_hw ah,
struct ath9k_channel chan 
)
inlinestatic

Definition at line 206 of file hw-ops.h.

208 {
210 }
struct net80211_channel * chan
Definition: hw.h:347
void(* set_rfmode)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:575
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), ath9k_channel::chan, and ath_hw_private_ops::set_rfmode.

Referenced by ath9k_hw_chip_reset().

◆ ath9k_hw_mark_phy_inactive()

static void ath9k_hw_mark_phy_inactive ( struct ath_hw ah)
inlinestatic

Definition at line 212 of file hw-ops.h.

213 {
215 }
void(* mark_phy_inactive)(struct ath_hw *ah)
Definition: hw.h:576
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), and ath_hw_private_ops::mark_phy_inactive.

Referenced by ath9k_hw_reset().

◆ ath9k_hw_set_delta_slope()

static void ath9k_hw_set_delta_slope ( struct ath_hw ah,
struct ath9k_channel chan 
)
inlinestatic

Definition at line 217 of file hw-ops.h.

219 {
221 }
void(* set_delta_slope)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:577
struct net80211_channel * chan
Definition: hw.h:347
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), ath9k_channel::chan, and ath_hw_private_ops::set_delta_slope.

Referenced by ath9k_hw_channel_change(), and ath9k_hw_reset().

◆ ath9k_hw_rfbus_req()

static int ath9k_hw_rfbus_req ( struct ath_hw ah)
inlinestatic

Definition at line 223 of file hw-ops.h.

224 {
226 }
int(* rfbus_req)(struct ath_hw *ah)
Definition: hw.h:578
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), and ath_hw_private_ops::rfbus_req.

Referenced by ath9k_hw_channel_change().

◆ ath9k_hw_rfbus_done()

static void ath9k_hw_rfbus_done ( struct ath_hw ah)
inlinestatic

Definition at line 228 of file hw-ops.h.

229 {
231 }
void(* rfbus_done)(struct ath_hw *ah)
Definition: hw.h:579
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), and ath_hw_private_ops::rfbus_done.

Referenced by ath9k_hw_channel_change().

◆ ath9k_hw_restore_chainmask()

static void ath9k_hw_restore_chainmask ( struct ath_hw ah)
inlinestatic

Definition at line 233 of file hw-ops.h.

234 {
235  if (!ath9k_hw_private_ops(ah)->restore_chainmask)
236  return;
237 
239 }
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879
void(* restore_chainmask)(struct ath_hw *ah)
Definition: hw.h:580

References ah, ath9k_hw_private_ops(), and ath_hw_private_ops::restore_chainmask.

Referenced by ath9k_hw_reset().

◆ ath9k_hw_set_diversity()

static void ath9k_hw_set_diversity ( struct ath_hw ah,
int  value 
)
inlinestatic

Definition at line 241 of file hw-ops.h.

242 {
244 }
pseudo_bit_t value[0x00020]
Definition: arbel.h:13
void(* set_diversity)(struct ath_hw *ah, int value)
Definition: hw.h:581
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), ath_hw_private_ops::set_diversity, and value.

Referenced by ath9k_init_misc().

◆ ath9k_hw_ani_control()

static int ath9k_hw_ani_control ( struct ath_hw ah,
enum ath9k_ani_cmd  cmd,
int  param 
)
inlinestatic

Definition at line 246 of file hw-ops.h.

248 {
250 }
struct hv_monitor_parameter param[4][32]
Parameters.
Definition: hyperv.h:24
int(* ani_control)(struct ath_hw *ah, enum ath9k_ani_cmd cmd, int param)
Definition: hw.h:584
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879
struct golan_eqe_cmd cmd
Definition: CIB_PRM.h:29

References ah, ath_hw_private_ops::ani_control, ath9k_hw_private_ops(), cmd, and param.

Referenced by ath9k_ani_reset_old(), ath9k_hw_ani_cck_err_trigger_old(), ath9k_hw_ani_lower_immunity_old(), ath9k_hw_ani_ofdm_err_trigger_old(), ath9k_hw_set_cck_nil(), and ath9k_hw_set_ofdm_nil().

◆ ath9k_hw_do_getnf()

static void ath9k_hw_do_getnf ( struct ath_hw ah,
int16_t  nfarray[NUM_NF_READINGS] 
)
inlinestatic

Definition at line 252 of file hw-ops.h.

254 {
255  ath9k_hw_private_ops(ah)->do_getnf(ah, nfarray);
256 }
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879
void(* do_getnf)(struct ath_hw *ah, int16_t nfarray[NUM_NF_READINGS])
Definition: hw.h:586

References ah, ath9k_hw_private_ops(), and ath_hw_private_ops::do_getnf.

Referenced by ath9k_hw_getnf().

◆ ath9k_hw_init_cal()

static int ath9k_hw_init_cal ( struct ath_hw ah,
struct ath9k_channel chan 
)
inlinestatic

Definition at line 258 of file hw-ops.h.

260 {
262 }
struct net80211_channel * chan
Definition: hw.h:347
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879
int(* init_cal)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:553

References ah, ath9k_hw_private_ops(), ath9k_channel::chan, and ath_hw_private_ops::init_cal.

Referenced by ath9k_hw_reset().

◆ ath9k_hw_setup_calibration()

static void ath9k_hw_setup_calibration ( struct ath_hw ah,
struct ath9k_cal_list currCal 
)
inlinestatic

Definition at line 264 of file hw-ops.h.

266 {
268 }
void(* setup_calibration)(struct ath_hw *ah, struct ath9k_cal_list *currCal)
Definition: hw.h:557
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:879

References ah, ath9k_hw_private_ops(), and ath_hw_private_ops::setup_calibration.

Referenced by ath9k_hw_reset_calibration().