Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/applesmc.c applesmc_hwmon_write() -> write_smc()

Type Parameter Key Value
PARAM_VALUE 0 cmd 17
PARAM_VALUE 2 buffer 7040375790153666560
PARAM_VALUE 3 len 2
BUF_SIZE 1 key 5
BUF_SIZE 2 buffer 2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
LOCK2 global &smcreg.mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct applesmc_registers)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/applesmc.c applesmc_write_entry() -> write_smc()

Type Parameter Key Value
PARAM_VALUE 0 cmd 17
PARAM_VALUE 2 buffer 4096-ptr_max
PARAM_VALUE 3 len 2
BUF_SIZE 1 key 5
BUF_SIZE 2 buffer 2
BUF_SIZE 2 buffer 2
DATA_SOURCE 2 buffer $1
DATA_SOURCE 3 len $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &smcreg.mutex
TYPE_LOCK (struct applesmc_registers)->mutex