Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/mtd/spi-nor/controllers/hisi-sfc.c hisi_spi_nor_register() -> spi_nor_set_flash_node()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->dev 4096-ptr_max
PARAM_VALUE 0 nor->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 nor->dev->of_node 1-u64max
PARAM_VALUE 1 np 4096-ptr_max
BUF_SIZE 0 nor 2848
BUF_SIZE 0 nor->dev 1616
DATA_SOURCE 0 nor r devm_kzalloc
DATA_SOURCE 1 np $0
MEM_ZERO 0 nor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/mtd/spi-nor/core.c spi_nor_probe() -> spi_nor_set_flash_node()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->dev 4096-ptr_max
PARAM_VALUE 0 nor->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 nor->spimem 4096-ptr_max
PARAM_VALUE 0 nor->spimem->name 1-ptr_max
PARAM_VALUE 0 nor->spimem->spi 4096-ptr_max
BUF_SIZE 0 nor 2848
BUF_SIZE 0 nor->dev 1616
BUF_SIZE 0 nor->spimem 32
DATA_SOURCE 0 nor r devm_kzalloc
MEM_ZERO 0 nor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 np unit_byte

drivers/mtd/spi-nor/controllers/nxp-spifi.c nxp_spifi_setup_flash() -> spi_nor_set_flash_node()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->dev 4096-ptr_max
PARAM_VALUE 1 np 4096-ptr_max
PARAM_VALUE 1 np->properties 0,4096-ptr_max
DATA_SOURCE 1 np $1
MEM_ZERO 0 nor
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL