Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/power/supply/ds2780_battery.c ds2780_battery_io() -> w1_ds2780_io()

Type Parameter Key Value
PARAM_VALUE 3 count 1-4096
PARAM_VALUE 4 io 0-1
BUF_SIZE 1 buf (-1),2
BUF_SIZE 1 buf (-1),2
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 addr $2
DATA_SOURCE 3 count $3
DATA_SOURCE 4 io $4
BIT_INFO 3 count 0x0,0x7fffffffffffffff
NOSPEC 3 count
NOSPEC 3 count
HARD_MAX 4 io 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *buf 0-255
USER_DATA 2 addr 32-4191[c]
USER_DATA 3 count 1-4096[c]
UNITS 0 dev unit_byte
UNITS 3 count unit_byte
BYTE_COUNT 1 ==buf3 8050
USER_PTR 1 buf
HALF_LOCKED2 &of->mutex

drivers/w1/slaves/w1_ds2780.c w1_slave_read() -> w1_ds2780_io()

Type Parameter Key Value
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 3 count 1-4096
PARAM_VALUE 4 io 0
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 1 buf $3
DATA_SOURCE 2 addr $4
DATA_SOURCE 3 count $5
PARAM_COMPARE 1 buf == $3
BIT_INFO 3 count 0x0,0x7fffffffffffffff
NOSPEC 2 addr
NOSPEC 2 addr
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 addr 0-4095
USER_DATA 3 count 1-4096[c]
BYTE_COUNT 1 ==buf3 8050
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex