iPXE
Data Fields
ath_hw_private_ops Struct Reference

struct ath_hw_private_ops - callbacks used internally by hardware code More...

#include <hw.h>

Data Fields

void(* init_cal_settings )(struct ath_hw *ah)
int(* init_cal )(struct ath_hw *ah, struct ath9k_channel *chan)
void(* init_mode_regs )(struct ath_hw *ah)
void(* init_mode_gain_regs )(struct ath_hw *ah)
void(* setup_calibration )(struct ath_hw *ah, struct ath9k_cal_list *currCal)
int(* rf_set_freq )(struct ath_hw *ah, struct ath9k_channel *chan)
void(* spur_mitigate_freq )(struct ath_hw *ah, struct ath9k_channel *chan)
int(* rf_alloc_ext_banks )(struct ath_hw *ah)
void(* rf_free_ext_banks )(struct ath_hw *ah)
int(* set_rf_regs )(struct ath_hw *ah, struct ath9k_channel *chan, u16 modesIndex)
void(* set_channel_regs )(struct ath_hw *ah, struct ath9k_channel *chan)
void(* init_bb )(struct ath_hw *ah, struct ath9k_channel *chan)
int(* process_ini )(struct ath_hw *ah, struct ath9k_channel *chan)
void(* olc_init )(struct ath_hw *ah)
void(* set_rfmode )(struct ath_hw *ah, struct ath9k_channel *chan)
void(* mark_phy_inactive )(struct ath_hw *ah)
void(* set_delta_slope )(struct ath_hw *ah, struct ath9k_channel *chan)
int(* rfbus_req )(struct ath_hw *ah)
void(* rfbus_done )(struct ath_hw *ah)
void(* restore_chainmask )(struct ath_hw *ah)
void(* set_diversity )(struct ath_hw *ah, int value)
u32(* compute_pll_control )(struct ath_hw *ah, struct ath9k_channel *chan)
int(* ani_control )(struct ath_hw *ah, enum ath9k_ani_cmd cmd, int param)
void(* do_getnf )(struct ath_hw *ah, int16_t nfarray[NUM_NF_READINGS])
void(* set_radar_params )(struct ath_hw *ah, struct ath_hw_radar_conf *conf)
void(* ani_cache_ini_regs )(struct ath_hw *ah)

Detailed Description

struct ath_hw_private_ops - callbacks used internally by hardware code

This structure contains private callbacks designed to only be used internally by the hardware core.

: setup types of calibrations supported : starts actual calibration

: Initializes mode registers : Initialize TX/RX gain registers

: change frequency : spur mitigation : : : : compute the PLL control value to use for AR_RTC_PLL_CONTROL for a given channel : set up calibration : used to query if a type of calibration is supported

: cache the values for ANI from the initial register settings through the register initialization.

Definition at line 550 of file hw.h.


Field Documentation

int(* ath_hw_private_ops::init_cal)(struct ath_hw *ah, struct ath9k_channel *chan)

Definition at line 553 of file hw.h.

Referenced by ar9002_hw_attach_calib_ops(), ar9003_hw_attach_calib_ops(), and ath9k_hw_init_cal().

Definition at line 555 of file hw.h.

Referenced by ar9002_hw_attach_ops(), ar9003_hw_attach_ops(), and ath9k_hw_init_mode_regs().

Definition at line 556 of file hw.h.

Referenced by ar9002_hw_attach_ops(), ar9003_hw_attach_ops(), and ath9k_hw_init_mode_gain_regs().

int(* ath_hw_private_ops::rf_set_freq)(struct ath_hw *ah, struct ath9k_channel *chan)
int(* ath_hw_private_ops::set_rf_regs)(struct ath_hw *ah, struct ath9k_channel *chan, u16 modesIndex)

Definition at line 567 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), ar9002_hw_attach_phy_ops(), and ath9k_hw_set_rf_regs().

void(* ath_hw_private_ops::init_bb)(struct ath_hw *ah, struct ath9k_channel *chan)

Definition at line 571 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), ar9003_hw_attach_phy_ops(), and ath9k_hw_init_bb().

int(* ath_hw_private_ops::process_ini)(struct ath_hw *ah, struct ath9k_channel *chan)

Definition at line 573 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), ar9003_hw_attach_phy_ops(), and ath9k_hw_process_ini().

Definition at line 574 of file hw.h.

Referenced by ar9002_hw_attach_phy_ops(), and ath9k_olc_init().

void(* ath_hw_private_ops::set_rfmode)(struct ath_hw *ah, struct ath9k_channel *chan)

Definition at line 575 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), ar9003_hw_attach_phy_ops(), and ath9k_hw_set_rfmode().

Definition at line 578 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), ar9003_hw_attach_phy_ops(), and ath9k_hw_rfbus_req().

Definition at line 579 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), ar9003_hw_attach_phy_ops(), and ath9k_hw_rfbus_done().

Definition at line 580 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), and ath9k_hw_restore_chainmask().

Definition at line 584 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), ar9003_hw_attach_phy_ops(), and ath9k_hw_ani_control().

Definition at line 587 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), and ar9003_hw_attach_phy_ops().


The documentation for this struct was generated from the following file: