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

Go to the source code of this file.

Functions

 FILE_LICENCE (BSD2)
 
 FILE_SECBOOT (FORBIDDEN)
 
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  )

◆ FILE_SECBOOT()

FILE_SECBOOT ( FORBIDDEN  )

◆ ath9k_hw_configpcipowersave()

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

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

30 {
31  ath9k_hw_ops(ah)->config_pci_powersave(ah, restore, power_off);
32 }
void(* config_pci_powersave)(struct ath_hw *ah, int restore, int power_off)
Definition: hw.h:605
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
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 34 of file hw-ops.h.

35 {
37 }
void(* rx_enable)(struct ath_hw *ah)
Definition: hw.h:608
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
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 39 of file hw-ops.h.

41 {
43 }
u32 link
Link to next descriptor.
Definition: ar9003_mac.h:25
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
uint8_t ah
Definition: registers.h:85
void(* set_desc_link)(void *ds, u32 link)
Definition: hw.h:609

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 45 of file hw-ops.h.

47 {
49 }
u32 link
Link to next descriptor.
Definition: ar9003_mac.h:25
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
uint8_t ah
Definition: registers.h:85
void(* get_desc_link)(void *ds, u32 **link)
Definition: hw.h:610

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 50 of file hw-ops.h.

54 {
55  return ath9k_hw_ops(ah)->calibrate(ah, chan, rxchainmask, longcal);
56 }
struct net80211_channel * chan
Definition: hw.h:348
int(* calibrate)(struct ath_hw *ah, struct ath9k_channel *chan, u8 rxchainmask, int longcal)
Definition: hw.h:611
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
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 58 of file hw-ops.h.

59 {
60  return ath9k_hw_ops(ah)->get_isr(ah, masked);
61 }
int(* get_isr)(struct ath_hw *ah, enum ath9k_int *masked)
Definition: hw.h:615
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
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 63 of file hw-ops.h.

67 {
68  ath9k_hw_ops(ah)->fill_txdesc(ah, ds, seglen, is_firstseg, is_lastseg,
69  ds0, buf_addr, qcu);
70 }
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
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:616

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 72 of file hw-ops.h.

74 {
75  return ath9k_hw_ops(ah)->proc_txdesc(ah, ds, ts);
76 }
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
int(* proc_txdesc)(struct ath_hw *ah, void *ds, struct ath_tx_status *ts)
Definition: hw.h:620
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 78 of file hw-ops.h.

83 {
84  ath9k_hw_ops(ah)->set11n_txdesc(ah, ds, pktLen, type, txPower, keyIx,
85  keyType, flags);
86 }
uint32_t type
Operating system type.
Definition: ena.h:12
uint8_t flags
Flags.
Definition: ena.h:18
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:622
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
uint8_t ah
Definition: registers.h:85

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 88 of file hw-ops.h.

94 {
95  ath9k_hw_ops(ah)->set11n_ratescenario(ah, ds, lastds, durUpdateEn,
96  rtsctsRate, rtsctsDuration, series,
97  nseries, flags);
98 }
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:627
uint8_t flags
Flags.
Definition: ena.h:18
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
uint8_t ah
Definition: registers.h:85

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 100 of file hw-ops.h.

102 {
103  ath9k_hw_ops(ah)->set11n_aggr_first(ah, ds, aggrLen);
104 }
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
void(* set11n_aggr_first)(struct ath_hw *ah, void *ds, u32 aggrLen)
Definition: hw.h:633
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 106 of file hw-ops.h.

108 {
109  ath9k_hw_ops(ah)->set11n_aggr_middle(ah, ds, numDelims);
110 }
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
void(* set11n_aggr_middle)(struct ath_hw *ah, void *ds, u32 numDelims)
Definition: hw.h:635
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 112 of file hw-ops.h.

113 {
115 }
void(* set11n_aggr_last)(struct ath_hw *ah, void *ds)
Definition: hw.h:637
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
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 117 of file hw-ops.h.

118 {
120 }
void(* clr11n_aggr)(struct ath_hw *ah, void *ds)
Definition: hw.h:638
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
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 122 of file hw-ops.h.

123 {
125 }
void __asmcall int val
Definition: setjmp.h:12
void(* set_clrdmask)(struct ath_hw *ah, void *ds, int val)
Definition: hw.h:639
uint32_t ds
Definition: librm.h:140
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
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 127 of file hw-ops.h.

129 {
131 }
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
void(* antdiv_comb_conf_get)(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf)
Definition: hw.h:640
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 133 of file hw-ops.h.

135 {
137 }
void(* antdiv_comb_conf_set)(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf)
Definition: hw.h:642
static struct ath_hw_ops * ath9k_hw_ops(struct ath_hw *ah)
Definition: hw.h:885
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 143 of file hw-ops.h.

145 {
147 }
struct net80211_channel * chan
Definition: hw.h:348
int(* rf_set_freq)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:562
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880

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 149 of file hw-ops.h.

151 {
153 }
void(* spur_mitigate_freq)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:564
struct net80211_channel * chan
Definition: hw.h:348
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880

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 155 of file hw-ops.h.

156 {
157  if (!ath9k_hw_private_ops(ah)->rf_alloc_ext_banks)
158  return 0;
159 
161 }
int(* rf_alloc_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:880

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 163 of file hw-ops.h.

164 {
165  if (!ath9k_hw_private_ops(ah)->rf_free_ext_banks)
166  return;
167 
169 }
void(* rf_free_ext_banks)(struct ath_hw *ah)
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:880

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 171 of file hw-ops.h.

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

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 181 of file hw-ops.h.

183 {
185 }
void(* init_bb)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:572
struct net80211_channel * chan
Definition: hw.h:348
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880

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 187 of file hw-ops.h.

189 {
191 }
struct net80211_channel * chan
Definition: hw.h:348
void(* set_channel_regs)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:571
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880

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 193 of file hw-ops.h.

195 {
197 }
struct net80211_channel * chan
Definition: hw.h:348
int(* process_ini)(struct ath_hw *ah, struct ath9k_channel *chan)
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:880

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 199 of file hw-ops.h.

200 {
201  if (!ath9k_hw_private_ops(ah)->olc_init)
202  return;
203 
205 }
void(* olc_init)(struct ath_hw *ah)
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:880

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 207 of file hw-ops.h.

209 {
211 }
struct net80211_channel * chan
Definition: hw.h:348
void(* set_rfmode)(struct ath_hw *ah, struct ath9k_channel *chan)
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:880

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 213 of file hw-ops.h.

214 {
216 }
void(* mark_phy_inactive)(struct ath_hw *ah)
Definition: hw.h:577
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880

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 218 of file hw-ops.h.

220 {
222 }
void(* set_delta_slope)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:578
struct net80211_channel * chan
Definition: hw.h:348
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880

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 224 of file hw-ops.h.

225 {
227 }
int(* rfbus_req)(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:880

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 229 of file hw-ops.h.

230 {
232 }
void(* rfbus_done)(struct ath_hw *ah)
Definition: hw.h:580
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880

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 234 of file hw-ops.h.

235 {
236  if (!ath9k_hw_private_ops(ah)->restore_chainmask)
237  return;
238 
240 }
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880
void(* restore_chainmask)(struct ath_hw *ah)
Definition: hw.h:581

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 242 of file hw-ops.h.

243 {
245 }
pseudo_bit_t value[0x00020]
Definition: arbel.h:13
void(* set_diversity)(struct ath_hw *ah, int value)
Definition: hw.h:582
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880

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 247 of file hw-ops.h.

249 {
251 }
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:585
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880
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 253 of file hw-ops.h.

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

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 259 of file hw-ops.h.

261 {
263 }
struct net80211_channel * chan
Definition: hw.h:348
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880
int(* init_cal)(struct ath_hw *ah, struct ath9k_channel *chan)
Definition: hw.h:554

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 265 of file hw-ops.h.

267 {
269 }
void(* setup_calibration)(struct ath_hw *ah, struct ath9k_cal_list *currCal)
Definition: hw.h:558
uint8_t ah
Definition: registers.h:85
static struct ath_hw_private_ops * ath9k_hw_private_ops(struct ath_hw *ah)
Definition: hw.h:880

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

Referenced by ath9k_hw_reset_calibration().