Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/nvmem/m24lr.c m24lr_ctl_sss_write() -> m24lr_write()

Type Parameter Key Value
PARAM_VALUE 0 m24lr 4096-ptr_max
PARAM_VALUE 1 buf 4096-ptr_max
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
BIT_INFO 2 size 0x0,0x3fffffff
NOSPEC 2 size
NOSPEC 2 size
TERMINATED 1 buf 1
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
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_write() -> m24lr_write()

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),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
HALF_LOCKED2 &of->mutex