id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
atc260x_match_device(9) | NAME atc260x_match_device - Setup ATC260x variant related fields
SYNOPSIS int atc260x_match_device (struct atc260x *atc260x , struct regmap_config *regmap_cfg );
ARGUMENTS atc260x ATC260x device to setup (.dev field must be set)
regmap_cfg regmap config associated with this ATC260x device
DESCRIPTION Th... |
atc_alloc_chan_resources(9) | NAME atc_alloc_chan_resources - allocate resources for DMA channel
SYNOPSIS int atc_alloc_chan_resources (struct dma_chan *chan );
ARGUMENTS chan allocate descriptor resources for this channel
RETURN the number of allocated descriptors
SEE ALSO Kernel file ./drivers/dma/at_hdmac.c struct atdma_sg(9), st... |
atc_calc_bytes_left(9) | NAME atc_calc_bytes_left - calculates the number of bytes left according to the value read from CTRLA.
SYNOPSIS u32 atc_calc_bytes_left (u32 current_len , u32 ctrla );
ARGUMENTS current_len the number of bytes left before reading CTRLA
ctrla the value of CTRLA
SEE ALSO Kernel file ./drivers/dma/at_hd... |
atc_chan_is_cyclic(9) | NAME atc_chan_is_cyclic - test if given channel has cyclic property set
SYNOPSIS int atc_chan_is_cyclic (struct at_dma_chan *atchan );
ARGUMENTS atchan channel we want to test status
SEE ALSO Kernel file ./drivers/dma/at_hdmac.c struct atdma_sg(9), struct at_desc(9), enum atc_status(9), struct at_dma_chan(9),... |
atc_chan_is_enabled(9) | NAME atc_chan_is_enabled - test if given channel is enabled
SYNOPSIS int atc_chan_is_enabled (struct at_dma_chan *atchan );
ARGUMENTS atchan channel we want to test status
SEE ALSO Kernel file ./drivers/dma/at_hdmac.c struct atdma_sg(9), struct at_desc(9), enum atc_status(9), struct at_dma_chan(9), struct at... |
atc_chan_is_paused(9) | NAME atc_chan_is_paused - test channel pause/resume status
SYNOPSIS int atc_chan_is_paused (struct at_dma_chan *atchan );
ARGUMENTS atchan channel we want to test status
SEE ALSO Kernel file ./drivers/dma/at_hdmac.c struct atdma_sg(9), struct at_desc(9), enum atc_status(9), struct at_dma_chan(9), struct at_dm... |
atc_dostart(9) | NAME atc_dostart - starts the DMA engine for real
SYNOPSIS void atc_dostart (struct at_dma_chan *atchan );
ARGUMENTS atchan the channel we want to start
SEE ALSO Kernel file ./drivers/dma/at_hdmac.c struct atdma_sg(9), struct at_desc(9), enum atc_status(9), struct at_dma_chan(9), struct at_dma(9), ... |
atc_free_chan_resources(9) | NAME atc_free_chan_resources - free all channel resources
SYNOPSIS void atc_free_chan_resources (struct dma_chan *chan );
ARGUMENTS chan DMA channel
SEE ALSO Kernel file ./drivers/dma/at_hdmac.c struct atdma_sg(9), struct at_desc(9), enum atc_status(9), struct at_dma_chan(9), struct at_dma(9), at... |
atc_get_llis_residue(9) | NAME atc_get_llis_residue - Get residue for a hardware linked list transfer
SYNOPSIS int atc_get_llis_residue (struct at_dma_chan *atchan , struct at_desc *desc , u32 *residue );
ARGUMENTS atchan pointer to an atmel hdmac channel.
desc pointer to the descriptor for which the residue is calculated.... |
atc_get_residue(9) | NAME atc_get_residue - get the number of bytes residue for a cookie. The residue is passed by address and updated on success.
SYNOPSIS int atc_get_residue (struct dma_chan *chan , dma_cookie_t cookie , u32 *residue );
ARGUMENTS chan DMA channel
cookie transaction identifier to check status of
... |
atc_handle_error(9) | NAME atc_handle_error - handle errors reported by DMA controller
SYNOPSIS void atc_handle_error (struct at_dma_chan *atchan , unsigned int i );
ARGUMENTS atchan channel where error occurs.
i channel index
SEE ALSO Kernel file ./drivers/dma/at_hdmac.c struct atdma_sg(9), struct at_desc(9)... |
atc_prep_dma_cyclic(9) | NAME atc_prep_dma_cyclic - prepare the cyclic DMA transfer
SYNOPSIS struct dma_async_tx_descriptor * atc_prep_dma_cyclic (struct dma_chan *chan , dma_addr_t buf_addr , size_t buf_len , size_t period_len , enum dma_transfer_direction direction , unsigned long flags );
ARGUMENTS chan the DMA channel to prepare
... |
atc_prep_dma_interleaved(9) | NAME atc_prep_dma_interleaved - prepare memory to memory interleaved operation
SYNOPSIS struct dma_async_tx_descriptor * atc_prep_dma_interleaved (struct dma_chan *chan , struct dma_interleaved_template *xt , unsigned long flags );
ARGUMENTS chan the channel to prepare operation on
xt Interlea... |
atc_prep_dma_memcpy(9) | NAME atc_prep_dma_memcpy - prepare a memcpy operation
SYNOPSIS struct dma_async_tx_descriptor * atc_prep_dma_memcpy (struct dma_chan *chan , dma_addr_t dest , dma_addr_t src , size_t len , unsigned long flags );
ARGUMENTS chan the channel to prepare operation on
dest operation virtual destinatio... |
atc_prep_dma_memset(9) | NAME atc_prep_dma_memset - prepare a memcpy operation
SYNOPSIS struct dma_async_tx_descriptor * atc_prep_dma_memset (struct dma_chan *chan , dma_addr_t dest , int value , size_t len , unsigned long flags );
ARGUMENTS chan the channel to prepare operation on
dest operation virtual destination add... |
atc_prep_slave_sg(9) | NAME atc_prep_slave_sg - prepare descriptors for a DMA_SLAVE transaction
SYNOPSIS struct dma_async_tx_descriptor * atc_prep_slave_sg (struct dma_chan *chan , struct scatterlist *sgl , unsigned int sg_len , enum dma_transfer_direction direction , unsigned long flags , void *context );
ARGUMENTS chan DMA channel... |
atc_tx_status(9) | NAME atc_tx_status - poll for transaction completion
SYNOPSIS enum dma_status atc_tx_status (struct dma_chan *chan , dma_cookie_t cookie , struct dma_tx_state *txstate );
ARGUMENTS chan DMA channel
cookie transaction identifier to check status of
txstate if not NULL updated with transa... |
atcrtc_check_write_done(9) | NAME atcrtc_check_write_done - Wait for RTC registers to be synchronized.
SYNOPSIS int atcrtc_check_write_done (struct atcrtc_dev *rtc );
ARGUMENTS rtc Pointer to the atcrtc_dev structure.
DESCRIPTION The WriteDone bit in the status register indicates the synchronization progress of RTC register updates. ... |
atexit(3) | NAME atexit - register a function to be called at normal process termination
LIBRARY Standard C library (libc, -lc)
SYNOPSIS #include <stdlib.h>
int atexit(typeof(void (void)) *function);
DESCRIPTION The atexit() function registers the given function to be called at normal process termination, either via e... |
atexit(3p) | PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME atexit — register a function to run at process termination
SYN... |
ath10k_hw_qca6174_enable_pll_clock(9) | NAME ath10k_hw_qca6174_enable_pll_clock - enable the qca6174 hw pll clock
SYNOPSIS int ath10k_hw_qca6174_enable_pll_clock (struct ath10k *ar );
ARGUMENTS ar the ath10k blob
DESCRIPTION This function is very hardware specific, the clock initialization steps is very sensitive and could lead to unknown crash, ... |
ath11k_cfr_correlate_and_relay(9) | NAME ath11k_cfr_correlate_and_relay - Correlate and relay CFR events
SYNOPSIS enum ath11k_cfr_correlate_status ath11k_cfr_correlate_and_relay (struct ath11k *ar , struct ath11k_look_up_table *lut , u8 event_type );
ARGUMENTS ar Pointer to ath11k structure
lut Lookup table for correlation
... |
ath5k_ani_calibration(9) | NAME ath5k_ani_calibration - The main ANI calibration function
SYNOPSIS void ath5k_ani_calibration (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION We count OFDM and CCK errors relative to the time where we did not send or receive ("listen" time) and raise or lower immunity according... |
ath5k_ani_init(9) | NAME ath5k_ani_init - Initialize ANI
SYNOPSIS void ath5k_ani_init (struct ath5k_hw *ah , enum ath5k_ani_mode mode );
ARGUMENTS ah The struct ath5k_hw
mode One of enum ath5k_ani_mode
DESCRIPTION Initialize ANI according to mode.
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/ani.c Ke... |
ath5k_ani_lower_immunity(9) | NAME ath5k_ani_lower_immunity - Decrease noise immunity
SYNOPSIS void ath5k_ani_lower_immunity (struct ath5k_hw *ah , struct ath5k_ani_state *as );
ARGUMENTS ah The struct ath5k_hw
as The struct ath5k_ani_state
DESCRIPTION Try to lower noise immunity (=increase sensitivity) in several steps... |
ath5k_ani_mib_intr(9) | NAME ath5k_ani_mib_intr - Interrupt handler for ANI MIB counters
SYNOPSIS void ath5k_ani_mib_intr (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Just read & reset the registers quickly, so they don't generate more interrupts, save the counters and schedule the tasklet to deci... |
ath5k_ani_period_restart(9) | NAME ath5k_ani_period_restart - Restart ANI period
SYNOPSIS void ath5k_ani_period_restart (struct ath5k_ani_state *as );
ARGUMENTS as The struct ath5k_ani_state
DESCRIPTION Just reset counters, so they are clear for the next "ani period".
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/ani.c Kernel... |
ath5k_ani_phy_error_report(9) | NAME ath5k_ani_phy_error_report - Used by older HW to report PHY errors
SYNOPSIS void ath5k_ani_phy_error_report (struct ath5k_hw *ah , enum ath5k_phy_error_code phyerr );
ARGUMENTS ah The struct ath5k_hw
phyerr One of enum ath5k_phy_error_code
DESCRIPTION This is used by hardware without PHY e... |
ath5k_ani_print_counters(9) | NAME ath5k_ani_print_counters - Print ANI counters
SYNOPSIS void ath5k_ani_print_counters (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Used for debugging ANI
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/ani.c Kernel API(9), ath5k_ani_set_noise_immunity_level(9), ... |
ath5k_ani_raise_immunity(9) | NAME ath5k_ani_raise_immunity - Increase noise immunity
SYNOPSIS void ath5k_ani_raise_immunity (struct ath5k_hw *ah , struct ath5k_ani_state *as , bool ofdm_trigger );
ARGUMENTS ah The struct ath5k_hw
as The struct ath5k_ani_state
ofdm_trigger
If this is true we ar... |
ath5k_ani_save_and_clear_phy_errors(9) | NAME ath5k_ani_save_and_clear_phy_errors - Clear and save PHY error counters
SYNOPSIS int ath5k_ani_save_and_clear_phy_errors (struct ath5k_hw *ah , struct ath5k_ani_state *as );
ARGUMENTS ah The struct ath5k_hw
as The struct ath5k_ani_state
DESCRIPTION Clear the PHY error counters as soon ... |
ath5k_ani_set_cck_weak_signal_detection(9) | NAME ath5k_ani_set_cck_weak_signal_detection - Set CCK weak signal detection
SYNOPSIS void ath5k_ani_set_cck_weak_signal_detection (struct ath5k_hw *ah , bool on );
ARGUMENTS ah The struct ath5k_hw
on turn on or off
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/ani.c Kernel API(9)... |
ath5k_ani_set_firstep_level(9) | NAME ath5k_ani_set_firstep_level - Set "firstep" level
SYNOPSIS void ath5k_ani_set_firstep_level (struct ath5k_hw *ah , int level );
ARGUMENTS ah The struct ath5k_hw
level level between 0 and ATH5K_ANI_MAX_FIRSTEP_LVL
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/ani.c Kernel API(9), a... |
ath5k_ani_set_noise_immunity_level(9) | NAME ath5k_ani_set_noise_immunity_level - Set noise immunity level
SYNOPSIS void ath5k_ani_set_noise_immunity_level (struct ath5k_hw *ah , int level );
ARGUMENTS ah The struct ath5k_hw
level level between 0 and ATH5K_ANI_MAX_NOISE_IMM_LVL
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath... |
ath5k_ani_set_ofdm_weak_signal_detection(9) | NAME ath5k_ani_set_ofdm_weak_signal_detection - Set OFDM weak signal detection
SYNOPSIS void ath5k_ani_set_ofdm_weak_signal_detection (struct ath5k_hw *ah , bool on );
ARGUMENTS ah The struct ath5k_hw
on turn on or off
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/ani.c Kernel AP... |
ath5k_ani_set_spur_immunity_level(9) | NAME ath5k_ani_set_spur_immunity_level - Set spur immunity level
SYNOPSIS void ath5k_ani_set_spur_immunity_level (struct ath5k_hw *ah , int level );
ARGUMENTS ah The struct ath5k_hw
level level between 0 and max_spur_level (the maximum level is dependent on the chip revision).
SEE ALSO Kernel ... |
ath5k_beacon_config(9) | NAME ath5k_beacon_config - Configure the beacon queues and interrupts
SYNOPSIS void ath5k_beacon_config (struct ath5k_hw *ah );
ARGUMENTS ah struct ath5k_hw pointer we are operating on
DESCRIPTION In IBSS mode we use a self-linked tx descriptor if possible. We enable SWBA interrupts to detect TSF updates on... |
ath5k_beacon_update_timers(9) | NAME ath5k_beacon_update_timers - update beacon timers
SYNOPSIS void ath5k_beacon_update_timers (struct ath5k_hw *ah , u64 bc_tsf );
ARGUMENTS ah struct ath5k_hw pointer we are operating on
bc_tsf the timestamp of the beacon. 0 to reset the TSF. -1 to perform a beacon timer update based on the c... |
ath5k_channel_ok(9) | NAME ath5k_channel_ok - Check if a channel is supported by the hw
SYNOPSIS bool ath5k_channel_ok (struct ath5k_hw *ah , struct ieee80211_channel *channel );
ARGUMENTS ah The struct ath5k_hw
channel The struct ieee80211_channel
NOTE We don't do any regulatory domain checks here, it's just a sanit... |
ath5k_check_timer_win(9) | NAME ath5k_check_timer_win - Check if timer B is timer A + window
SYNOPSIS bool ath5k_check_timer_win (int a , int b , int window , int intval );
ARGUMENTS a timer a (before b)
b timer b (after a)
window difference between a and b
intval timers are increased by th... |
ath5k_combine_linear_pcdac_curves(9) | NAME ath5k_combine_linear_pcdac_curves - Combine available PCDAC Curves
SYNOPSIS void ath5k_combine_linear_pcdac_curves (struct ath5k_hw *ah , s16* table_min , s16 *table_max , u8 pdcurves );
ARGUMENTS ah The struct ath5k_hw
table_min Minimum power (x min)
table_max Maximum power (x max)
... |
ath5k_combine_pwr_to_pdadc_curves(9) | NAME ath5k_combine_pwr_to_pdadc_curves - Combine the various PDADC curves
SYNOPSIS void ath5k_combine_pwr_to_pdadc_curves (struct ath5k_hw *ah , s16 *pwr_min , s16 *pwr_max , u8 pdcurves );
ARGUMENTS ah The struct ath5k_hw
pwr_min Minimum power (x min)
pwr_max Maximum power (x max)
... |
ath5k_create_power_curve(9) | NAME ath5k_create_power_curve - Create a Power to PDADC or PCDAC curve
SYNOPSIS void ath5k_create_power_curve (s16 pmin , s16 pmax , const s16 *pwr , const u8 *vpd , u8 num_points , u8 *vpd_table , u8 type );
ARGUMENTS pmin Minimum power value (xmin)
pmax Maximum power value (xmax)
pwr ... |
ath5k_cw_validate(9) | NAME ath5k_cw_validate - Make sure the given cw is valid
SYNOPSIS u16 ath5k_cw_validate (u16 cw_req );
ARGUMENTS cw_req The contention window value to check
DESCRIPTION Make sure cw is a power of 2 minus 1 and smaller than 1024
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/qcu.c Kernel API(9), ath... |
ath5k_disable_phy_err_counters(9) | NAME ath5k_disable_phy_err_counters - Disable PHY error counters
SYNOPSIS void ath5k_disable_phy_err_counters (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Disable PHY error counters for OFDM and CCK timing errors.
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/ani.c Kernel ... |
ath5k_drain_tx_buffs(9) | NAME ath5k_drain_tx_buffs - Empty tx buffers
SYNOPSIS void ath5k_drain_tx_buffs (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Empty tx buffers from all queues in preparation of a reset or during shutdown. NB: this assumes output has been stopped and we do not need to block ath5k_tx_... |
ath5k_enable_phy_err_counters(9) | NAME ath5k_enable_phy_err_counters - Enable PHY error counters
SYNOPSIS void ath5k_enable_phy_err_counters (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Enable PHY error counters for OFDM and CCK timing errors.
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/ani.c Kernel API(... |
ath5k_fill_pwr_to_pcdac_table(9) | NAME ath5k_fill_pwr_to_pcdac_table - Fill Power to PCDAC table on RF5111
SYNOPSIS void ath5k_fill_pwr_to_pcdac_table (struct ath5k_hw *ah , s16* table_min , s16 *table_max );
ARGUMENTS ah The struct ath5k_hw
table_min Minimum power (x min)
table_max Maximum power (x max)
DESCRIPTION No f... |
ath5k_get_chan_pcal_surrounding_piers(9) | NAME ath5k_get_chan_pcal_surrounding_piers - Get surrounding calibration piers for a given channel.
SYNOPSIS void ath5k_get_chan_pcal_surrounding_piers (struct ath5k_hw *ah , struct ieee80211_channel *channel , struct ath5k_chan_pcal_info **pcinfo_l , struct ath5k_chan_pcal_info **pcinfo_r );
ARGUMENTS ah Th... |
ath5k_get_interpolated_value(9) | NAME ath5k_get_interpolated_value - Get interpolated Y val between two points
SYNOPSIS s16 ath5k_get_interpolated_value (s16 target , s16 x_left , s16 x_right , s16 y_left , s16 y_right );
ARGUMENTS target X value of the middle point
x_left X value of the left point
x_right X value of th... |
ath5k_get_linear_pcdac_min(9) | NAME ath5k_get_linear_pcdac_min - Find vertical boundary (min pwr) for the linear PCDAC curve
SYNOPSIS s16 ath5k_get_linear_pcdac_min (const u8 *stepL , const u8 *stepR , const s16 *pwrL , const s16 *pwrR );
ARGUMENTS stepL Left array with y values (pcdac steps)
stepR Right array with y values (pc... |
ath5k_get_max_ctl_power(9) | NAME ath5k_get_max_ctl_power - Get max edge power for a given frequency
SYNOPSIS void ath5k_get_max_ctl_power (struct ath5k_hw *ah , struct ieee80211_channel *channel );
ARGUMENTS ah the struct ath5k_hw
channel The struct ieee80211_channel
DESCRIPTION Get the max edge power for this channel if w... |
ath5k_get_rate_pcal_data(9) | NAME ath5k_get_rate_pcal_data - Get the interpolated per-rate power calibration data
SYNOPSIS void ath5k_get_rate_pcal_data (struct ath5k_hw *ah , struct ieee80211_channel *channel , struct ath5k_rate_pcal_info *rates );
ARGUMENTS ah The struct ath5k_hw *ah,
channel The struct ieee80211_channel
... |
ath5k_hw_ani_get_listen_time(9) | NAME ath5k_hw_ani_get_listen_time - Update counters and return listening time
SYNOPSIS int ath5k_hw_ani_get_listen_time (struct ath5k_hw *ah , struct ath5k_ani_state *as );
ARGUMENTS ah The struct ath5k_hw
as The struct ath5k_ani_state
DESCRIPTION Return an approximation of the time spent "... |
ath5k_hw_chan_has_spur_noise(9) | NAME ath5k_hw_chan_has_spur_noise - Check if channel is sensitive to spur noise
SYNOPSIS bool ath5k_hw_chan_has_spur_noise (struct ath5k_hw *ah , struct ieee80211_channel *channel );
ARGUMENTS ah The struct ath5k_hw
channel The struct ieee80211_channel
SEE ALSO Kernel file ./drivers/net/wirele... |
ath5k_hw_channel(9) | NAME ath5k_hw_channel - Set a channel on the radio chip
SYNOPSIS int ath5k_hw_channel (struct ath5k_hw *ah , struct ieee80211_channel *channel );
ARGUMENTS ah The struct ath5k_hw
channel The struct ieee80211_channel
DESCRIPTION This is the main function called to set a channel on the radio chip ... |
ath5k_hw_check_beacon_timers(9) | NAME ath5k_hw_check_beacon_timers - Check if the beacon timers are correct
SYNOPSIS bool ath5k_hw_check_beacon_timers (struct ath5k_hw *ah , int intval );
ARGUMENTS ah The struct ath5k_hw
intval beacon interval
DESCRIPTION This is a workaround for IBSS mode The need for this function arises ... |
ath5k_hw_clocktoh(9) | NAME ath5k_hw_clocktoh - Translate hw clock units to usec
SYNOPSIS unsigned int ath5k_hw_clocktoh (struct ath5k_hw *ah , unsigned int clock );
ARGUMENTS ah The struct ath5k_hw
clock value in hw clock units
DESCRIPTION Translate hw clock units to usecs based on the current hw clock rate. Retur... |
ath5k_hw_commit_eeprom_settings(9) | NAME ath5k_hw_commit_eeprom_settings - Commit settings from EEPROM
SYNOPSIS void ath5k_hw_commit_eeprom_settings (struct ath5k_hw *ah , struct ieee80211_channel *channel );
ARGUMENTS ah The struct ath5k_hw
channel The struct ieee80211_channel
DESCRIPTION Use settings stored on EEPROM to properly... |
ath5k_hw_deinit(9) | NAME ath5k_hw_deinit - Free the &struct ath5k_hw
SYNOPSIS void ath5k_hw_deinit (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/attach.c ath5k_hw_post(9), ath5k_hw_init(9)
April 2026 ... |
ath5k_hw_dma_init(9) | NAME ath5k_hw_dma_init - Initialize DMA unit
SYNOPSIS void ath5k_hw_dma_init (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Set DMA size and pre-enable interrupts (driver handles tx/rx buffer setup and dma start/stop) XXX: Save/restore RXDP/TXDP registers ?
SEE ALSO Kernel file ./dr... |
ath5k_hw_dma_stop(9) | NAME ath5k_hw_dma_stop - stop DMA unit
SYNOPSIS int ath5k_hw_dma_stop (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Stop tx/rx DMA and interrupts. Returns -EBUSY if tx or rx dma failed to stop. XXX: Sometimes DMA unit hangs and we have stuck frames on tx queues, only a reset can fix ... |
ath5k_hw_gainf_calibrate(9) | NAME ath5k_hw_gainf_calibrate - Do a gain_F calibration
SYNOPSIS enum ath5k_rfgain ath5k_hw_gainf_calibrate (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Main callback for thermal RF gain calibration engine Check for a new gain reading and schedule an adjustment if needed. Returns on... |
ath5k_hw_get_default_sifs(9) | NAME ath5k_hw_get_default_sifs - Get the default SIFS for current mode
SYNOPSIS unsigned int ath5k_hw_get_default_sifs (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/pcu.c Kernel API(9), Kernel API(9), ath5k_hw_get_frame_duration(9), at... |
ath5k_hw_get_default_slottime(9) | NAME ath5k_hw_get_default_slottime - Get the default slot time for current mode
SYNOPSIS unsigned int ath5k_hw_get_default_slottime (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/pcu.c Kernel API(9), Kernel API(9), ath5k_hw_get_frame_... |
ath5k_hw_get_frame_duration(9) | NAME ath5k_hw_get_frame_duration - Get tx time of a frame
SYNOPSIS int ath5k_hw_get_frame_duration (struct ath5k_hw *ah , enum nl80211_band band , int len , struct ieee80211_rate *rate , bool shortpre );
ARGUMENTS ah The struct ath5k_hw
band One of enum nl80211_band
len Frame's... |
ath5k_hw_get_gpio(9) | NAME ath5k_hw_get_gpio - Get GPIO state
SYNOPSIS u32 ath5k_hw_get_gpio (struct ath5k_hw *ah , u32 gpio );
ARGUMENTS ah The struct ath5k_hw
gpio The GPIO pin to read
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/gpio.c Kernel API(9), ath5k_hw_set_ledstate(9), ath5k_hw_set_gpio_input(9)... |
ath5k_hw_get_isr(9) | NAME ath5k_hw_get_isr - Get interrupt status
SYNOPSIS int ath5k_hw_get_isr (struct ath5k_hw *ah , enum ath5k_int *interrupt_mask );
ARGUMENTS ah The struct ath5k_hw
interrupt_mask
Driver's interrupt mask used to filter out interrupts in sw.
DESCRIPTION This function is used insi... |
ath5k_hw_get_median_noise_floor(9) | NAME ath5k_hw_get_median_noise_floor - Get median NF from history buffer
SYNOPSIS s16 ath5k_hw_get_median_noise_floor (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9), ath5k_hw_radio_revision(9), ath5k_channel_ok(9), ath5k... |
ath5k_hw_get_rx_filter(9) | NAME ath5k_hw_get_rx_filter - Get current rx filter
SYNOPSIS u32 ath5k_hw_get_rx_filter (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Returns the RX filter by reading rx filter and phy error filter registers. RX filter is used to set the allowed frame types that PCU will accept and pa... |
ath5k_hw_get_rxdp(9) | NAME ath5k_hw_get_rxdp - Get RX Descriptor's address
SYNOPSIS u32 ath5k_hw_get_rxdp (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/dma.c Kernel API(9), ath5k_hw_start_rx_dma(9), ath5k_hw_stop_rx_dma(9), ath5k_hw_set_rxdp(9), ath5k_hw_start_tx_... |
ath5k_hw_get_tsf64(9) | NAME ath5k_hw_get_tsf64 - Get the full 64bit TSF
SYNOPSIS u64 ath5k_hw_get_tsf64 (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Returns the current TSF
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/pcu.c Kernel API(9), Kernel API(9), ath5k_hw_get_frame_duration(9), a... |
ath5k_hw_get_tx_queueprops(9) | NAME ath5k_hw_get_tx_queueprops - Get properties for a transmit queue
SYNOPSIS int ath5k_hw_get_tx_queueprops (struct ath5k_hw *ah , int queue , struct ath5k_txq_info *queue_info );
ARGUMENTS ah The struct ath5k_hw
queue One of enum ath5k_tx_queue_id
queue_info The struct ath5k_txq_inf... |
ath5k_hw_get_txdp(9) | NAME ath5k_hw_get_txdp - Get TX Descriptor's address for a specific queue
SYNOPSIS u32 ath5k_hw_get_txdp (struct ath5k_hw *ah , unsigned int queue );
ARGUMENTS ah The struct ath5k_hw
queue The hw queue number
DESCRIPTION Get TX descriptor's address for a specific queue. For 5210 we ignore ... |
ath5k_hw_htoclock(9) | NAME ath5k_hw_htoclock - Translate usec to hw clock units
SYNOPSIS unsigned int ath5k_hw_htoclock (struct ath5k_hw *ah , unsigned int usec );
ARGUMENTS ah The struct ath5k_hw
usec value in microseconds
DESCRIPTION Translate usecs to hw clock units based on the current hw clock rate. Returns ... |
ath5k_hw_ini_mode_registers(9) | NAME ath5k_hw_ini_mode_registers - Write initial mode-specific register dump
SYNOPSIS void ath5k_hw_ini_mode_registers (struct ath5k_hw *ah , unsigned int size , const struct ath5k_ini_mode *ini_mode , u8 mode );
ARGUMENTS ah The struct ath5k_hw
size Dump size
ini_mode The array of ... |
ath5k_hw_ini_registers(9) | NAME ath5k_hw_ini_registers - Write initial register dump common for all modes
SYNOPSIS void ath5k_hw_ini_registers (struct ath5k_hw *ah , unsigned int size , const struct ath5k_ini *ini_regs , bool skip_pcu );
ARGUMENTS ah The struct ath5k_hw
size Dump size
ini_regs The array of st... |
ath5k_hw_init(9) | NAME ath5k_hw_init - Check if hw is supported and init the needed structs
SYNOPSIS int ath5k_hw_init (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw associated with the device
DESCRIPTION Check if the device is supported, perform a POST and initialize the needed structs. Returns -ENOMEM if we do... |
ath5k_hw_init_beacon_timers(9) | NAME ath5k_hw_init_beacon_timers - Initialize beacon timers
SYNOPSIS void ath5k_hw_init_beacon_timers (struct ath5k_hw *ah , u32 next_beacon , u32 interval );
ARGUMENTS ah The struct ath5k_hw
next_beacon Next TBTT
interval Current beacon interval
DESCRIPTION This function is used to initi... |
ath5k_hw_init_core_clock(9) | NAME ath5k_hw_init_core_clock - Initialize core clock
SYNOPSIS void ath5k_hw_init_core_clock (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Initialize core clock parameters (usec, usec32, latencies etc), based on current bwmode and chipset properties.
SEE ALSO Kernel file ./drivers/... |
ath5k_hw_init_desc_functions(9) | NAME ath5k_hw_init_desc_functions - Init function pointers inside ah
SYNOPSIS int ath5k_hw_init_desc_functions (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Maps the internal descriptor functions to the function pointers on ah, used from above. This is used as an abstraction layer to ... |
ath5k_hw_init_nfcal_hist(9) | NAME ath5k_hw_init_nfcal_hist - Initialize NF calibration history buffer
SYNOPSIS void ath5k_hw_init_nfcal_hist (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9), ath5k_hw_radio_revision(9), ath5k_channel_ok(9), ath5k_hw_ch... |
ath5k_hw_init_queues(9) | NAME ath5k_hw_init_queues - Initialize tx queues
SYNOPSIS int ath5k_hw_init_queues (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Initializes all tx queues based on information on ah->ah_txq* set by the driver
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/qcu.c Kernel ... |
ath5k_hw_is_intr_pending(9) | NAME ath5k_hw_is_intr_pending - Check if we have pending interrupts
SYNOPSIS bool ath5k_hw_is_intr_pending (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Check if we have pending interrupts to process. Returns 1 if we have pending interrupts and 0 if we haven't.
SEE ALSO Kernel file ... |
ath5k_hw_nic_reset(9) | NAME ath5k_hw_nic_reset - Reset the various chipset units
SYNOPSIS int ath5k_hw_nic_reset (struct ath5k_hw *ah , u32 val );
ARGUMENTS ah The struct ath5k_hw
val Mask to indicate what units to reset
DESCRIPTION To reset the various chipset units we need to write the mask to AR5K_RESET_CTL and... |
ath5k_hw_nic_wakeup(9) | NAME ath5k_hw_nic_wakeup - Force card out of sleep
SYNOPSIS int ath5k_hw_nic_wakeup (struct ath5k_hw *ah , struct ieee80211_channel *channel );
ARGUMENTS ah The struct ath5k_hw
channel The struct ieee80211_channel
DESCRIPTION Bring up MAC + PHY Chips and program PLL
NOTE Channel is NULL for the... |
ath5k_hw_num_tx_pending(9) | NAME ath5k_hw_num_tx_pending - Get number of pending frames for a given queue
SYNOPSIS u32 ath5k_hw_num_tx_pending (struct ath5k_hw *ah , unsigned int queue );
ARGUMENTS ah The struct ath5k_hw
queue One of enum ath5k_tx_queue_id
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/qcu.c ... |
ath5k_hw_on_hold(9) | NAME ath5k_hw_on_hold - Put device on hold
SYNOPSIS int ath5k_hw_on_hold (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
DESCRIPTION Put MAC and Baseband on warm reset and keep that state (don't clean sleep control register). After this MAC and Baseband are disabled and a full reset is needed t... |
ath5k_hw_pcu_init(9) | NAME ath5k_hw_pcu_init - Initialize PCU
SYNOPSIS void ath5k_hw_pcu_init (struct ath5k_hw *ah , enum nl80211_iftype op_mode );
ARGUMENTS ah The struct ath5k_hw
op_mode One of enum nl80211_iftype
DESCRIPTION This function is used to initialize PCU by setting current operation mode and various othe... |
ath5k_hw_phy_calibrate(9) | NAME ath5k_hw_phy_calibrate - Perform a PHY calibration
SYNOPSIS int ath5k_hw_phy_calibrate (struct ath5k_hw *ah , struct ieee80211_channel *channel );
ARGUMENTS ah The struct ath5k_hw
channel The struct ieee80211_channel
DESCRIPTION The main function we call from above to perform a short or ful... |
ath5k_hw_phy_disable(9) | NAME ath5k_hw_phy_disable - Disable PHY
SYNOPSIS int ath5k_hw_phy_disable (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9), ath5k_hw_radio_revision(9), ath5k_channel_ok(9), ath5k_hw_chan_has_spur_noise(9), ath5k_hw_rfb_op(9)... |
ath5k_hw_phy_init(9) | NAME ath5k_hw_phy_init - Initialize PHY
SYNOPSIS int ath5k_hw_phy_init (struct ath5k_hw *ah , struct ieee80211_channel *channel , u8 mode , bool fast );
ARGUMENTS ah The struct ath5k_hw
channel The struct ieee80211_channel
mode One of enum ath5k_driver_mode
fast Try ... |
ath5k_hw_post(9) | NAME ath5k_hw_post - Power On Self Test helper function
SYNOPSIS int ath5k_hw_post (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/attach.c ath5k_hw_init(9), ath5k_hw_deinit(9)
April 2026 ... |
ath5k_hw_proc_2word_tx_status(9) | NAME ath5k_hw_proc_2word_tx_status - Process a tx status descriptor on 5210/1
SYNOPSIS int ath5k_hw_proc_2word_tx_status (struct ath5k_hw *ah , struct ath5k_desc *desc , struct ath5k_tx_status *ts );
ARGUMENTS ah The struct ath5k_hw
desc The struct ath5k_desc
ts The struct ath... |
ath5k_hw_proc_4word_tx_status(9) | NAME ath5k_hw_proc_4word_tx_status - Process a tx status descriptor on 5212
SYNOPSIS int ath5k_hw_proc_4word_tx_status (struct ath5k_hw *ah , struct ath5k_desc *desc , struct ath5k_tx_status *ts );
ARGUMENTS ah The struct ath5k_hw
desc The struct ath5k_desc
ts The struct ath5k... |
ath5k_hw_proc_5210_rx_status(9) | NAME ath5k_hw_proc_5210_rx_status - Process the rx status descriptor on 5210/1
SYNOPSIS int ath5k_hw_proc_5210_rx_status (struct ath5k_hw *ah , struct ath5k_desc *desc , struct ath5k_rx_status *rs );
ARGUMENTS ah The struct ath5k_hw
desc The struct ath5k_desc
rs The struct ath... |
ath5k_hw_proc_5212_rx_status(9) | NAME ath5k_hw_proc_5212_rx_status - Process the rx status descriptor on 5212
SYNOPSIS int ath5k_hw_proc_5212_rx_status (struct ath5k_hw *ah , struct ath5k_desc *desc , struct ath5k_rx_status *rs );
ARGUMENTS ah The struct ath5k_hw
desc The struct ath5k_desc
rs The struct ath5k... |
ath5k_hw_radio_revision(9) | NAME ath5k_hw_radio_revision - Get the PHY Chip revision
SYNOPSIS u16 ath5k_hw_radio_revision (struct ath5k_hw *ah , enum nl80211_band band );
ARGUMENTS ah The struct ath5k_hw
band One of enum nl80211_band
DESCRIPTION Returns the revision number of a 2GHz, 5GHz or single chip radio.
SEE ALSO... |
ath5k_hw_read_measured_noise_floor(9) | NAME ath5k_hw_read_measured_noise_floor - Read measured NF from hw
SYNOPSIS s32 ath5k_hw_read_measured_noise_floor (struct ath5k_hw *ah );
ARGUMENTS ah The struct ath5k_hw
SEE ALSO Kernel file ./drivers/net/wireless/ath/ath5k/phy.c Kernel API(9), ath5k_hw_radio_revision(9), ath5k_channel_ok(9), ath5k_hw... |
ath5k_hw_register_timeout(9) | NAME ath5k_hw_register_timeout - Poll a register for a flag/field change
SYNOPSIS int ath5k_hw_register_timeout (struct ath5k_hw *ah , u32 reg , u32 flag , u32 val , bool is_set );
ARGUMENTS ah The struct ath5k_hw
reg The register to read
flag The flag/field to check on the reg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.