Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireless/ath/ath5k/phy.c ath5k_hw_set_antenna_mode() -> ath5k_hw_set_antenna_switch()

Type Parameter Key Value
PARAM_VALUE 0 ah 4096-ptr_max
PARAM_VALUE 0 ah->ah_ant_mode 0-6
PARAM_VALUE 0 ah->ah_current_channel 4096-ptr_max
PARAM_VALUE 0 ah->ah_tx_ant 0-2
PARAM_VALUE 0 ah->iobase 4096-ptr_max
PARAM_VALUE 0 *ah->ah_offset 0-255
PARAM_VALUE 0 *ah->ah_txpower.txp_rates_power_table 0-u16max
PARAM_VALUE 1 ee_mode 0-2
BUF_SIZE 0 ah s32min-(-1),1-s32max
BUF_SIZE 0 ah s32min-(-1),1-s32max
DATA_SOURCE 0 ah $0
DATA_SOURCE 1 ee_mode r ath5k_eeprom_mode_from_channel
FUZZY_MAX 0 ah->ah_tx_ant 2
HARD_MAX 0 ah->ah_tx_ant 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ah->ah_rf_banks_size
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 0 &ah->lock

drivers/net/wireless/ath/ath5k/reset.c ath5k_hw_commit_eeprom_settings() -> ath5k_hw_set_antenna_switch()

Type Parameter Key Value
PARAM_VALUE 0 ah 4096-ptr_max
PARAM_VALUE 0 ah->ah_current_channel 4096-ptr_max
PARAM_VALUE 0 ah->ah_current_channel->hw_value 0-2
PARAM_VALUE 0 ah->ah_imr 0
PARAM_VALUE 0 ah->ah_version 1-u32max
PARAM_VALUE 0 ah->iobase 4096-ptr_max
PARAM_VALUE 0 ah->lock.dep_map->name 0-255
PARAM_VALUE 0 ah->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ah->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ah->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ah->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ah->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ah->lock.wait_lock.owner (-1)
PARAM_VALUE 0 ah->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ah->pdev 0,4096-ptr_max
PARAM_VALUE 0 ah->rx_pending 0
PARAM_VALUE 0 ah->status 4096-ptr_max
PARAM_VALUE 0 ah->tx_pending 0
PARAM_VALUE 0 ah->txbuflock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ee_mode 0-2
DATA_SOURCE 0 ah $0
DATA_SOURCE 1 ee_mode r ath5k_eeprom_mode_from_channel
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &ah->lock
TYPE_LOCK (struct ath5k_hw)->lock