Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c brcmf_fws_dequeue_worker() -> brcmf_fws_return_credits()

Type Parameter Key Value
PARAM_VALUE 0 fws 4096-ptr_max
PARAM_VALUE 0 fws->fifo_credit 4096-ptr_max
PARAM_VALUE 2 credits 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 0 fws->flags
LOCK2 0 &fws->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct brcmf_fws_info)->spinlock

drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c brcmf_fws_fifocreditback_indicate() -> brcmf_fws_return_credits()

Type Parameter Key Value
PARAM_VALUE 0 fws 4096-ptr_max
PARAM_VALUE 1 fifo 0-5
DATA_SOURCE 0 fws $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 credits 0-255
LOCK2 0 fws->flags
LOCK2 0 &fws->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct brcmf_fws_info)->spinlock

drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c brcmf_fws_rollback_toq() -> brcmf_fws_return_credits()

Type Parameter Key Value
PARAM_VALUE 0 fws 4096-ptr_max
PARAM_VALUE 0 fws->fifo_credit 4096-ptr_max
PARAM_VALUE 2 credits 1
DATA_SOURCE 0 fws $0
DATA_SOURCE 1 fifo $2
PREEMPT_ADD
NOCHECK_CALL
LOCK2 0 fws->flags
LOCK2 0 &fws->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct brcmf_fws_info)->spinlock

drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c brcmf_fws_txs_process() -> brcmf_fws_return_credits()

Type Parameter Key Value
PARAM_VALUE 0 fws 4096-ptr_max
PARAM_VALUE 1 fifo 0-7
PARAM_VALUE 2 credits 1
DATA_SOURCE 0 fws $0
DATA_SOURCE 1 fifo r brcmu_maskget32
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 fws->flags
LOCK2 0 &fws->spinlock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct brcmf_fws_info)->spinlock