Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/mtd/chips/cfi_cmdset_0001.c cfi_intelext_write_words() -> do_write_oneword()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 4 mode 7
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 2 adr 1
CAPPED_DATA 2 adr 1
PARAM_COMPARE 3 datum == $3
BIT_INFO 2 adr 0x0,0xffffffff
BIT_INFO 2 adr 0x0,0xffffffff
BIT_INFO 3 datum 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &mbd->lock

drivers/mtd/chips/cfi_cmdset_0001.c cfi_intelext_write_words() -> do_write_oneword()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->bankwidth 1-2,4,8-s32max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 4 mode 7
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 0 map->bankwidth 1
DATA_SOURCE 3 datum r map_word_load
BIT_INFO 3 datum 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &mbd->lock

drivers/mtd/chips/cfi_cmdset_0001.c cfi_intelext_write_words() -> do_write_oneword()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->bankwidth s32min-(-1),1-s32max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 4 mode 7
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
PARAM_COMPARE 3 datum == $3
BIT_INFO 3 datum 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &mbd->lock

drivers/mtd/chips/cfi_cmdset_0001.c do_otp_lock() -> do_write_oneword()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 4 mode 9
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
DATA_SOURCE 0 map $0
DATA_SOURCE 1 chip $1
DATA_SOURCE 2 adr $5
BIT_INFO 3 datum 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
HALF_LOCKED2 &master->master.chrdev_lock

drivers/mtd/chips/cfi_cmdset_0001.c do_otp_write() -> do_write_oneword()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 1 chip->write_suspended 0
PARAM_VALUE 4 mode 9
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 2 adr 1
CAPPED_DATA 2 adr 1
DATA_SOURCE 0 map $0
DATA_SOURCE 1 chip $1
PARAM_COMPARE 3 datum == $3
BIT_INFO 2 adr 0x0,0xffffffff
BIT_INFO 2 adr 0x0,0xffffffff
BIT_INFO 3 datum 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
UNITS 2 adr unit_byte
HALF_LOCKED2 &master->master.chrdev_lock

drivers/mtd/chips/cfi_cmdset_0002.c cfi_amdstd_write_words() -> do_write_oneword()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 1 chip->state 0
PARAM_VALUE 4 mode 7
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 2 adr 1
CAPPED_DATA 2 adr 1
PARAM_COMPARE 3 datum == $3
BIT_INFO 2 adr 0x0,0xffffffff
BIT_INFO 2 adr 0x0,0xffffffff
BIT_INFO 3 datum 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
UNITS 2 adr unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &mbd->lock

drivers/mtd/chips/cfi_cmdset_0002.c cfi_amdstd_write_words() -> do_write_oneword()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->bankwidth 1-2,4,8-s32max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 4 mode 7
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 0 map->bankwidth 1
DATA_SOURCE 3 datum r map_word_load
BIT_INFO 3 datum 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &mbd->lock

drivers/mtd/chips/cfi_cmdset_0002.c cfi_amdstd_write_words() -> do_write_oneword()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->bankwidth s32min-(-1),1-s32max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 1 chip->state 0
PARAM_VALUE 4 mode 7
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
PARAM_COMPARE 3 datum == $3
BIT_INFO 3 datum 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
UNITS 2 adr unit_byte
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &ftl->mutex
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &mbd->lock

drivers/mtd/chips/cfi_cmdset_0002.c do_otp_write() -> do_write_oneword()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->fldrv_priv 4096-ptr_max
PARAM_VALUE 0 map->read 4096-ptr_max
PARAM_VALUE 0 map->write 4096-ptr_max
PARAM_VALUE 1 chip 4096-ptr_max
PARAM_VALUE 1 chip->mutex.dep_map->name 0-255
PARAM_VALUE 1 chip->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 chip->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 chip->oldstate 0-3,5-17,19-u32max
PARAM_VALUE 1 chip->state 0-4,18
PARAM_VALUE 2 adr 0-s32max
PARAM_VALUE 4 mode 9
BUF_SIZE 0 map s32min-(-2),1-s32max
BUF_SIZE 0 map s32min-(-2),1-s32max
CAPPED_DATA 2 adr 1
CAPPED_DATA 2 adr 1
DATA_SOURCE 0 map $0
DATA_SOURCE 1 chip $1
PARAM_COMPARE 3 datum == $3
BIT_INFO 2 adr 0x0,0xffffffff
BIT_INFO 2 adr 0x0,0xffffffff
BIT_INFO 3 datum 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 map unit_byte
HALF_LOCKED2 &master->master.chrdev_lock