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.

@init_cal_settings: setup types of calibrations supported @init_cal: starts actual calibration

@init_mode_regs: Initializes mode registers @init_mode_gain_regs: Initialize TX/RX gain registers

@rf_set_freq: change frequency @spur_mitigate_freq: spur mitigation @rf_alloc_ext_banks: @rf_free_ext_banks: @set_rf_regs: @compute_pll_control: compute the PLL control value to use for AR_RTC_PLL_CONTROL for a given channel @setup_calibration: set up calibration @iscal_supported: used to query if a type of calibration is supported

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

Definition at line 550 of file hw.h.

Field Documentation

◆ init_cal_settings

void(* ath_hw_private_ops::init_cal_settings) (struct ath_hw *ah)

◆ init_cal

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().

◆ init_mode_regs

void(* ath_hw_private_ops::init_mode_regs) (struct ath_hw *ah)

Definition at line 555 of file hw.h.

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

◆ init_mode_gain_regs

void(* ath_hw_private_ops::init_mode_gain_regs) (struct ath_hw *ah)

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().

◆ setup_calibration

void(* ath_hw_private_ops::setup_calibration) (struct ath_hw *ah, struct ath9k_cal_list *currCal)

◆ rf_set_freq

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

◆ spur_mitigate_freq

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

◆ rf_alloc_ext_banks

int(* ath_hw_private_ops::rf_alloc_ext_banks) (struct ath_hw *ah)

◆ rf_free_ext_banks

void(* ath_hw_private_ops::rf_free_ext_banks) (struct ath_hw *ah)

◆ set_rf_regs

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().

◆ set_channel_regs

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

◆ init_bb

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().

◆ process_ini

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().

◆ olc_init

void(* ath_hw_private_ops::olc_init) (struct ath_hw *ah)

Definition at line 574 of file hw.h.

Referenced by ar9002_hw_attach_phy_ops(), and ath9k_olc_init().

◆ set_rfmode

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().

◆ mark_phy_inactive

void(* ath_hw_private_ops::mark_phy_inactive) (struct ath_hw *ah)

◆ set_delta_slope

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

◆ rfbus_req

int(* ath_hw_private_ops::rfbus_req) (struct ath_hw *ah)

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().

◆ rfbus_done

void(* ath_hw_private_ops::rfbus_done) (struct ath_hw *ah)

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().

◆ restore_chainmask

void(* ath_hw_private_ops::restore_chainmask) (struct ath_hw *ah)

Definition at line 580 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), and ath9k_hw_restore_chainmask().

◆ set_diversity

void(* ath_hw_private_ops::set_diversity) (struct ath_hw *ah, int value)

◆ compute_pll_control

u32(* ath_hw_private_ops::compute_pll_control) (struct ath_hw *ah, struct ath9k_channel *chan)

◆ ani_control

int(* ath_hw_private_ops::ani_control) (struct ath_hw *ah, enum ath9k_ani_cmd cmd, int param)

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().

◆ do_getnf

void(* ath_hw_private_ops::do_getnf) (struct ath_hw *ah, int16_t nfarray[NUM_NF_READINGS])

◆ set_radar_params

void(* ath_hw_private_ops::set_radar_params) (struct ath_hw *ah, struct ath_hw_radar_conf *conf)

Definition at line 587 of file hw.h.

Referenced by ar5008_hw_attach_phy_ops(), and ar9003_hw_attach_phy_ops().

◆ ani_cache_ini_regs

void(* ath_hw_private_ops::ani_cache_ini_regs) (struct ath_hw *ah)

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