Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvmem/m24lr.c m24lr_ctl_sss_read() -> m24lr_read()

Type Parameter Key Value
PARAM_VALUE 0 m24lr 4096-ptr_max
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 size 1-4096
PARAM_VALUE 4 is_eeprom 0
BUF_SIZE 0 m24lr 1-s32max
BUF_SIZE 0 m24lr 1-s32max
CAPPED_DATA 2 size 1
CAPPED_DATA 2 size 1
DATA_SOURCE 1 buf $3
DATA_SOURCE 2 size $5
DATA_SOURCE 3 offset $4
PARAM_COMPARE 1 buf == $2
BIT_INFO 2 size 0x0,0x7fffffffffffffff
NOSPEC 3 offset
NOSPEC 3 offset
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 1-4096[c]
USER_DATA 3 offset 0-4095
NO_OVERFLOW_SIMPLE 2 size
NO_OVERFLOW_SIMPLE 3 offset
UNITS 0 m24lr unit_byte
BYTE_COUNT 1 ==buf2 8050
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/nvmem/m24lr.c m24lr_nvmem_read() -> m24lr_read()

Type Parameter Key Value
PARAM_VALUE 0 m24lr 4096-ptr_max
PARAM_VALUE 2 size 1-u64max
PARAM_VALUE 4 is_eeprom 1
BUF_SIZE 0 m24lr s32min-(-2),1-s32max
BUF_SIZE 0 m24lr s32min-(-2),1-s32max
BUF_SIZE 1 buf (-1)-s32max
DATA_SOURCE 0 m24lr $0
DATA_SOURCE 1 buf $2
DATA_SOURCE 2 size $3
DATA_SOURCE 3 offset $1
NOSPEC 2 size
NOSPEC 2 size
NOSPEC 3 offset
NOSPEC 3 offset
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 size 1-u32max[c]
USER_DATA 3 offset 0-4294967294
BYTE_COUNT 1 ==buf2 8050
HALF_LOCKED2 &of->mutex

drivers/nvmem/m24lr.c m24lr_read_reg_le() -> m24lr_read()

Type Parameter Key Value
PARAM_VALUE 0 m24lr 4096-ptr_max
PARAM_VALUE 0 m24lr->ctl_regmap 0-ptr_max
PARAM_VALUE 0 m24lr->eeprom_regmap 0-ptr_max
PARAM_VALUE 0 m24lr->lock.dep_map->name 0-255
PARAM_VALUE 0 m24lr->lock.first_waiter 0
PARAM_VALUE 0 m24lr->lock.magic 4096-ptr_max
PARAM_VALUE 0 m24lr->lock.osq.tail.counter 0
PARAM_VALUE 0 m24lr->lock.owner.counter 0
PARAM_VALUE 1 buf 3206390215487524864
PARAM_VALUE 1 *buf 0
PARAM_VALUE 2 size 8
PARAM_VALUE 3 offset 2324
PARAM_VALUE 4 is_eeprom 0
BUF_SIZE 0 m24lr 192
BUF_SIZE 1 buf 8
DATA_SOURCE 0 m24lr $0
DATA_SOURCE 2 size $3
DATA_SOURCE 3 offset $2
MEM_ZERO 0 m24lr
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte