Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/wireless/ath/ath5k/ani.c
- drivers/net/wireless/ath/ath5k/debug.c
- drivers/net/wireless/ath/ath5k/sysfs.c, line 56
Smatch caller information:
drivers/net/wireless/ath/ath5k/debug.c write_file_ani() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | level | 0 |
| BUF_SIZE | 0 | ah | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ah | s32min-(-2),1-s32max |
| NOCHECK_CALL |
drivers/net/wireless/ath/ath5k/debug.c write_file_ani() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | level | 2 |
| BUF_SIZE | 0 | ah | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ah | s32min-(-2),1-s32max |
| NOCHECK_CALL |
drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_init() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ah_version | 2-u32max |
| PARAM_VALUE | 0 | ah->ani_state.max_spur_level | 2,7 |
| PARAM_VALUE | 0 | ah->ani_state.noise_imm_level | 0 |
| PARAM_VALUE | 0 | ah->ani_state.spur_level | 0 |
| PARAM_VALUE | 0 | ah->iobase | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 0 |
| BUF_SIZE | 0 | ah | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ah | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ah | $0 |
| FUZZY_MAX | 0 | ah->ah_version | 2 |
| FUZZY_MAX | 0 | ah->ani_state.max_spur_level | 7 |
| BIT_INFO | 0 | ah->ani_state.max_spur_level | 0x2,0xffffffffffffffff |
| HARD_MAX | 0 | ah->ani_state.max_spur_level | 7 |
| MEM_ZERO | 0 | &ah->ani_state | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ah->ah_rf_banks_size | |
| NO_OVERFLOW_SIMPLE | 0 | ah->ani_state.ani_mode | |
| NO_OVERFLOW_SIMPLE | 0 | ah->ani_state.noise_imm_level | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &ah->lock |
drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_init() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ah_version | 2-u32max |
| PARAM_VALUE | 0 | ah->ani_state.max_spur_level | 2,7 |
| PARAM_VALUE | 0 | ah->ani_state.noise_imm_level | 1 |
| PARAM_VALUE | 0 | ah->ani_state.spur_level | 2,7 |
| PARAM_VALUE | 0 | ah->iobase | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 2 |
| BUF_SIZE | 0 | ah | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ah | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | ah->ani_state.max_spur_level | 1 |
| DATA_SOURCE | 0 | ah | $0 |
| FUZZY_MAX | 0 | ah->ah_version | 2 |
| FUZZY_MAX | 0 | ah->ani_state.max_spur_level | 7 |
| BIT_INFO | 0 | ah->ani_state.max_spur_level | 0x2,0xffffffffffffffff |
| HARD_MAX | 0 | ah->ani_state.max_spur_level | 7 |
| MEM_ZERO | 0 | &ah->ani_state | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ah->ah_rf_banks_size | |
| NO_OVERFLOW_SIMPLE | 0 | ah->ani_state.ani_mode | |
| NO_OVERFLOW_SIMPLE | 0 | ah->ani_state.noise_imm_level | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &ah->lock |
drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_init() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ah_version | 2-u32max |
| PARAM_VALUE | 0 | ah->ani_state.max_spur_level | 2,7 |
| PARAM_VALUE | 0 | ah->ani_state.noise_imm_level | 0 |
| PARAM_VALUE | 0 | ah->ani_state.spur_level | 0 |
| PARAM_VALUE | 0 | ah->iobase | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 0 |
| BUF_SIZE | 0 | ah | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ah | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ah | $0 |
| FUZZY_MAX | 0 | ah->ah_version | 2 |
| FUZZY_MAX | 0 | ah->ani_state.max_spur_level | 7 |
| BIT_INFO | 0 | ah->ani_state.max_spur_level | 0x2,0xffffffffffffffff |
| HARD_MAX | 0 | ah->ani_state.max_spur_level | 7 |
| MEM_ZERO | 0 | &ah->ani_state | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ah->ah_rf_banks_size | |
| NO_OVERFLOW_SIMPLE | 0 | ah->ani_state.ani_mode | |
| NO_OVERFLOW_SIMPLE | 0 | ah->ani_state.noise_imm_level | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &ah->lock |
drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_lower_immunity() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ani_state.ani_mode | 3 |
| PARAM_VALUE | 0 | ah->ani_state.listen_time | 501-u32max |
| PARAM_VALUE | 0 | ah->opmode | 3 |
| DATA_SOURCE | 0 | ah | $0 |
| FUZZY_MAX | 0 | ah->ani_state.listen_time | 501 |
| BIT_INFO | 0 | ah->ah_cal_mask | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_lower_immunity() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ani_state.ani_mode | 3 |
| PARAM_VALUE | 0 | ah->ani_state.listen_time | 501-u32max |
| PARAM_VALUE | 0 | ah->opmode | 0-2,4-u32max |
| DATA_SOURCE | 0 | ah | $0 |
| FUZZY_MAX | 0 | ah->ani_state.listen_time | 501 |
| BIT_INFO | 0 | ah->ah_cal_mask | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_lower_immunity() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ani_state.ani_mode | 3 |
| PARAM_VALUE | 0 | ah->ani_state.listen_time | 501-u32max |
| PARAM_VALUE | 0 | ah->opmode | 0-2,4-u32max |
| DATA_SOURCE | 0 | ah | $0 |
| FUZZY_MAX | 0 | ah->ani_state.listen_time | 501 |
| BIT_INFO | 0 | ah->ah_cal_mask | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_raise_immunity() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ani_state.ani_mode | 3 |
| PARAM_VALUE | 0 | ah->opmode | 3 |
| PARAM_VALUE | 1 | level | (-2147483647)-2 |
| DATA_SOURCE | 0 | ah | $0 |
| BIT_INFO | 0 | ah->ah_cal_mask | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_raise_immunity() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ani_state.ani_mode | 3 |
| PARAM_VALUE | 0 | ah->opmode | 0-2,4-u32max |
| PARAM_VALUE | 1 | level | (-2147483647)-2 |
| DATA_SOURCE | 0 | ah | $0 |
| BIT_INFO | 0 | ah->ah_cal_mask | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_raise_immunity() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ah | 4096-ptr_max |
| PARAM_VALUE | 0 | ah->ani_state.ani_mode | 3 |
| PARAM_VALUE | 0 | ah->opmode | 0-2,4-u32max |
| PARAM_VALUE | 1 | level | (-2147483647)-2 |
| DATA_SOURCE | 0 | ah | $0 |
| BIT_INFO | 0 | ah->ah_cal_mask | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ah->ani_state.ofdm_weak_sig | |
| HALF_LOCKED2 | bh |
drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_raise_immunity() -> ath5k_ani_set_firstep_level()
| 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->band | 0 |
| PARAM_VALUE | 0 | ah->ani_state.ani_mode | 3 |
| PARAM_VALUE | 0 | ah->opmode | 0-2,4-u32max |
| PARAM_VALUE | 1 | level | 0 |
| DATA_SOURCE | 0 | ah | $0 |
| BIT_INFO | 0 | ah->ah_cal_mask | 0x8,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ah->ani_state.ofdm_weak_sig | |
| HALF_LOCKED2 | bh |
drivers/net/wireless/ath/ath5k/sysfs.c ath5k_attr_store_firstep_level() -> ath5k_ani_set_firstep_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | level | s32min-s32max |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |