Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/accel/ethosu/ethosu_job.c ethosu_switch_perfmon() -> ethosu_perfmon_stop_locked()

Type Parameter Key Value
PARAM_VALUE 0 ethosu 4096-ptr_max
PARAM_VALUE 2 capture 1
DATA_SOURCE 0 ethosu $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ethosu unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sched->job_list_lock

drivers/accel/ethosu/ethosu_perfmon.c ethosu_ioctl_perfmon_set_global() -> ethosu_perfmon_stop_locked()

Type Parameter Key Value
PARAM_VALUE 0 ethosu 4096-ptr_max
PARAM_VALUE 0 ethosu->global_perfmon 0
PARAM_VALUE 1 perfmon 1-u64max
PARAM_VALUE 2 capture 1
NOCHECK_CALL
UNITS 0 ethosu unit_byte
LOCK2 _T->lock

drivers/accel/ethosu/ethosu_perfmon.c ethosu_perfmon_delete() -> ethosu_perfmon_stop_locked()

Type Parameter Key Value
PARAM_VALUE 0 ethosu 4096-ptr_max
PARAM_VALUE 1 perfmon 1-u64max
PARAM_VALUE 2 capture 0
CAPPED_DATA 1 perfmon 1
DATA_SOURCE 1 perfmon $1
PARAM_COMPARE 0 ethosu->global_perfmon < $1
PARAM_COMPARE 1 perfmon > $0->global_perfmon
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

drivers/accel/ethosu/ethosu_perfmon.c ethosu_perfmon_stop() -> ethosu_perfmon_stop_locked()

Type Parameter Key Value
PARAM_VALUE 0 ethosu 4096-ptr_max
PARAM_VALUE 1 perfmon 4096-ptr_max
PARAM_VALUE 2 capture 1
DATA_SOURCE 0 ethosu $0
DATA_SOURCE 1 perfmon $1
DATA_SOURCE 2 capture $2
NOCHECK_CALL
UNITS 0 ethosu unit_byte
LOCK2 _T->lock