Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/acpi/sbs.c acpi_battery_read() -> acpi_smbus_write()

Type Parameter Key Value
PARAM_VALUE 0 hc 4096-ptr_max
PARAM_VALUE 0 hc->done 0
PARAM_VALUE 0 hc->lock.dep_map->name 0-255
PARAM_VALUE 0 hc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hc->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hc->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hc->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hc->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 protocol 8
PARAM_VALUE 2 address 10
PARAM_VALUE 3 command 1
PARAM_VALUE 4 data 3132649272290226176
PARAM_VALUE 5 length 2
BUF_SIZE 4 data 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hc unit_byte

drivers/acpi/sbs.c acpi_battery_set_alarm() -> acpi_smbus_write()

Type Parameter Key Value
PARAM_VALUE 0 hc 4096-ptr_max
PARAM_VALUE 0 hc->done 0
PARAM_VALUE 0 hc->lock.dep_map->name 0-255
PARAM_VALUE 0 hc->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hc->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hc->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hc->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hc->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hc->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hc->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 protocol 8
PARAM_VALUE 2 address 10
PARAM_VALUE 3 command 1
PARAM_VALUE 4 data 2346240219230339072
PARAM_VALUE 5 length 2
BUF_SIZE 4 data 2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hc unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/sbs.c acpi_battery_set_alarm() -> acpi_smbus_write()

Type Parameter Key Value
PARAM_VALUE 1 protocol 8
PARAM_VALUE 2 address 11
PARAM_VALUE 3 command 1
PARAM_VALUE 4 data 4096-ptr_max
PARAM_VALUE 5 length 2
BUF_SIZE 4 data 2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hc unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex