Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/net/wireless/ath/ath9k/ani.c ath9k_hw_ani_read_counters() -> ath_hw_cycle_counters_update()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath9k_hw_common
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &common->cc_lock
HALF_LOCKED2 flags

drivers/net/wireless/ath/ath9k/link.c ath_update_survey_stats() -> ath_hw_cycle_counters_update()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath9k_hw_common
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &common->cc_lock
LOCK2 flags
HALF_LOCKED2 &sc->mutex
TYPE_LOCK (struct ath_common)->cc_lock

drivers/net/wireless/ath/ath9k/main.c ath9k_ps_restore() -> ath_hw_cycle_counters_update()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->cc_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath9k_hw_common
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sc->sc_pm_lock
LOCK2 flags
LOCK2 0 &common->cc_lock
HALF_LOCKED2 &file->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &sc->mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ath_common)->cc_lock
TYPE_LOCK (struct ath_softc)->sc_pm_lock

drivers/net/wireless/ath/ath9k/main.c ath9k_ps_wakeup() -> ath_hw_cycle_counters_update()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->cc_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath9k_hw_common
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sc->sc_pm_lock
LOCK2 flags
LOCK2 0 &common->cc_lock
HALF_LOCKED2 &file->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 &sc->mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ath_common)->cc_lock
TYPE_LOCK (struct ath_softc)->sc_pm_lock

drivers/net/wireless/ath/ath9k/main.c ath9k_tasklet() -> ath_hw_cycle_counters_update()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath9k_hw_common
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sc->sc_pcu_lock
LOCK2 flags
LOCK2 0 &common->cc_lock
HALF_LOCKED2 bh
TYPE_LOCK (struct ath_common)->cc_lock
TYPE_LOCK (struct ath_softc)->sc_pcu_lock

drivers/net/wireless/ath/ath9k/main.c ath_ps_full_sleep() -> ath_hw_cycle_counters_update()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath9k_hw_common
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &common->cc_lock
TYPE_LOCK (struct ath_common)->cc_lock

drivers/net/wireless/ath/ath5k/base.c ath5k_reset() -> ath_hw_cycle_counters_update()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->cc_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath5k_hw_common
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ah->lock
LOCK2 bh
LOCK2 0 &common->cc_lock
TYPE_LOCK (struct ath5k_hw)->lock
TYPE_LOCK (struct ath_common)->cc_lock

drivers/net/wireless/ath/ath5k/ani.c ath5k_hw_ani_get_listen_time() -> ath_hw_cycle_counters_update()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->cc_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath5k_hw_common
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &common->cc_lock
TYPE_LOCK (struct ath_common)->cc_lock

drivers/net/wireless/ath/ath5k/mac80211-ops.c ath5k_get_survey() -> ath_hw_cycle_counters_update()

Type Parameter Key Value
PARAM_VALUE 0 common 4096-ptr_max
PARAM_VALUE 0 common->cc_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 common 1048
DATA_SOURCE 0 common r ath5k_hw_common
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 bh
LOCK2 0 &common->cc_lock
HALF_LOCKED2 &local->hw.wiphy->mtx
HALF_LOCKED2 &rdev->wiphy.mtx
TYPE_LOCK (struct ath_common)->cc_lock
TYPE_LOCK (struct wiphy)->mtx