Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/nvmem/core.c, line 887 (as a function)
- include/linux/nvmem-provider.h, line 191 (as a function)
Referenced in 6 files:
- drivers/misc/keba/cp500.c
- drivers/mtd/mtdcore.c
- drivers/mtd/ubi/nvmem.c, line 99
- drivers/nvmem/core.c
- drivers/thunderbolt/nvm.c
- include/linux/nvmem-provider.h, line 201
Smatch caller information:
drivers/misc/keba/cp500.c cp500_nvmem_register() -> nvmem_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 8119716236927823872 |
| PARAM_VALUE | 0 | config->add_legacy_fixed_of_cells | 0 |
| PARAM_VALUE | 0 | config->base_dev | 0 |
| PARAM_VALUE | 0 | config->cells | 0 |
| PARAM_VALUE | 0 | config->compat | 0 |
| PARAM_VALUE | 0 | config->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->fixup_dt_cell_info | 0 |
| PARAM_VALUE | 0 | config->id | (-1) |
| PARAM_VALUE | 0 | config->ignore_wp | 0 |
| PARAM_VALUE | 0 | config->keepout | 0 |
| PARAM_VALUE | 0 | config->layout | 0 |
| PARAM_VALUE | 0 | config->name | 1991947122447740928 |
| PARAM_VALUE | 0 | config->ncells | 0 |
| PARAM_VALUE | 0 | config->nkeepout | 0 |
| PARAM_VALUE | 0 | config->of_node | 0 |
| PARAM_VALUE | 0 | config->owner | 0 |
| PARAM_VALUE | 0 | config->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | config->read_only | 0 |
| PARAM_VALUE | 0 | config->reg_read | 3387224601064026112 |
| PARAM_VALUE | 0 | config->reg_write | 1955151663757381632 |
| PARAM_VALUE | 0 | config->root_only | 1 |
| PARAM_VALUE | 0 | config->size | 3072 |
| PARAM_VALUE | 0 | config->stride | 0 |
| PARAM_VALUE | 0 | config->type | 1 |
| PARAM_VALUE | 0 | config->word_size | 0 |
| TERMINATED | 0 | config->name | 1 |
drivers/misc/keba/cp500.c cp500_nvmem_register() -> nvmem_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 8119716236927823872 |
| PARAM_VALUE | 0 | config->add_legacy_fixed_of_cells | 0 |
| PARAM_VALUE | 0 | config->base_dev | 0 |
| PARAM_VALUE | 0 | config->cells | 0 |
| PARAM_VALUE | 0 | config->compat | 0 |
| PARAM_VALUE | 0 | config->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->fixup_dt_cell_info | 0 |
| PARAM_VALUE | 0 | config->id | (-1) |
| PARAM_VALUE | 0 | config->ignore_wp | 0 |
| PARAM_VALUE | 0 | config->keepout | 0 |
| PARAM_VALUE | 0 | config->layout | 0 |
| PARAM_VALUE | 0 | config->name | 5553338831925391360 |
| PARAM_VALUE | 0 | config->ncells | 0 |
| PARAM_VALUE | 0 | config->nkeepout | 0 |
| PARAM_VALUE | 0 | config->of_node | 0 |
| PARAM_VALUE | 0 | config->owner | 0 |
| PARAM_VALUE | 0 | config->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | config->read_only | 0 |
| PARAM_VALUE | 0 | config->reg_read | 3387224601064026112 |
| PARAM_VALUE | 0 | config->reg_write | 1955151663757381632 |
| PARAM_VALUE | 0 | config->root_only | 1 |
| PARAM_VALUE | 0 | config->size | 1024 |
| PARAM_VALUE | 0 | config->stride | 0 |
| PARAM_VALUE | 0 | config->type | 1 |
| PARAM_VALUE | 0 | config->word_size | 0 |
| TERMINATED | 0 | config->name | 1 |
drivers/mtd/mtdcore.c mtd_nvmem_add() -> nvmem_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 1102588966079905792 |
| PARAM_VALUE | 0 | config->base_dev | 0 |
| PARAM_VALUE | 0 | config->cells | 0 |
| PARAM_VALUE | 0 | config->compat | 0 |
| PARAM_VALUE | 0 | config->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->fixup_dt_cell_info | 0 |
| PARAM_VALUE | 0 | config->id | (-1) |
| PARAM_VALUE | 0 | config->ignore_wp | 1 |
| PARAM_VALUE | 0 | config->keepout | 0 |
| PARAM_VALUE | 0 | config->layout | 0 |
| PARAM_VALUE | 0 | config->ncells | 0 |
| PARAM_VALUE | 0 | config->nkeepout | 0 |
| PARAM_VALUE | 0 | config->of_node | 0 |
| PARAM_VALUE | 0 | config->owner | 0 |
| PARAM_VALUE | 0 | config->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | config->read_only | 1 |
| PARAM_VALUE | 0 | config->reg_read | 3041271689549766656 |
| PARAM_VALUE | 0 | config->reg_write | 0 |
| PARAM_VALUE | 0 | config->root_only | 1 |
| PARAM_VALUE | 0 | config->stride | 1 |
| PARAM_VALUE | 0 | config->type | 0 |
| PARAM_VALUE | 0 | config->word_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtd_table_mutex | ||
| HALF_LOCKED2 | &master->master.chrdev_lock |
drivers/mtd/mtdcore.c mtd_otp_nvmem_register() -> nvmem_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 6611916845422014464 |
| PARAM_VALUE | 0 | config->base_dev | 0 |
| PARAM_VALUE | 0 | config->cells | 0 |
| PARAM_VALUE | 0 | config->compat | 0 |
| PARAM_VALUE | 0 | config->fixup_dt_cell_info | 0 |
| PARAM_VALUE | 0 | config->id | (-2) |
| PARAM_VALUE | 0 | config->ignore_wp | 1 |
| PARAM_VALUE | 0 | config->keepout | 0 |
| PARAM_VALUE | 0 | config->layout | 0 |
| PARAM_VALUE | 0 | config->name | 3426055392129335296,4825453074597801984 |
| PARAM_VALUE | 0 | config->ncells | 0 |
| PARAM_VALUE | 0 | config->nkeepout | 0 |
| PARAM_VALUE | 0 | config->of_node | 0 |
| PARAM_VALUE | 0 | config->owner | 0 |
| PARAM_VALUE | 0 | config->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | config->read_only | 0 |
| PARAM_VALUE | 0 | config->reg_read | 598487756279468032,8574426165396574208 |
| PARAM_VALUE | 0 | config->reg_write | 0 |
| PARAM_VALUE | 0 | config->root_only | 1 |
| PARAM_VALUE | 0 | config->stride | 0 |
| PARAM_VALUE | 0 | config->type | 2 |
| PARAM_VALUE | 0 | config->word_size | 0 |
| TERMINATED | 0 | config->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/nvmem/core.c devm_nvmem_register() -> nvmem_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 4096-ptr_max |
| BUF_SIZE | 0 | config | (-1),152 |
| BUF_SIZE | 0 | config | (-1),152 |
| BUF_SIZE | 0 | config->dev | (-1),1616 |
| BUF_SIZE | 0 | config->name | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | config->priv | (-1),176,3352 |
| DATA_SOURCE | 0 | config | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | config->ncells | 0 |
| HOST_DATA | 0 | config->size | 0 |
| HALF_LOCKED2 | &dev->mutex |
drivers/thunderbolt/nvm.c tb_nvm_add_active() -> nvmem_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 7597273035088527360 |
| PARAM_VALUE | 0 | config->name | 6968062888143085568 |
| PARAM_VALUE | 0 | config->owner | 0 |
| PARAM_VALUE | 0 | config->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | config->read_only | 1 |
| PARAM_VALUE | 0 | config->reg_read | 3877862489726648320,3983619447913549824 |
| PARAM_VALUE | 0 | config->stride | 4 |
| PARAM_VALUE | 0 | config->word_size | 4 |
| TERMINATED | 0 | config->name | 1 |
| MEM_ZERO | 0 | config | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thunderbolt/nvm.c tb_nvm_add_non_active() -> nvmem_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 6190089603787153408 |
| PARAM_VALUE | 0 | config->name | 402653258321670144 |
| PARAM_VALUE | 0 | config->owner | 0 |
| PARAM_VALUE | 0 | config->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | config->reg_write | 5336063273801486336,5343341835276800000 |
| PARAM_VALUE | 0 | config->root_only | 1 |
| PARAM_VALUE | 0 | config->size | 1048576 |
| PARAM_VALUE | 0 | config->stride | 4 |
| PARAM_VALUE | 0 | config->word_size | 4 |
| TERMINATED | 0 | config->name | 1 |
| MEM_ZERO | 0 | config | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mtd/ubi/nvmem.c ubi_nvmem_add() -> nvmem_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 8437125401557811200 |
| PARAM_VALUE | 0 | config->add_legacy_fixed_of_cells | 0 |
| PARAM_VALUE | 0 | config->base_dev | 0 |
| PARAM_VALUE | 0 | config->cells | 0 |
| PARAM_VALUE | 0 | config->compat | 0 |
| PARAM_VALUE | 0 | config->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | config->fixup_dt_cell_info | 0 |
| PARAM_VALUE | 0 | config->id | (-1) |
| PARAM_VALUE | 0 | config->ignore_wp | 1 |
| PARAM_VALUE | 0 | config->keepout | 0 |
| PARAM_VALUE | 0 | config->layout | 0 |
| PARAM_VALUE | 0 | config->ncells | 0 |
| PARAM_VALUE | 0 | config->nkeepout | 0 |
| PARAM_VALUE | 0 | config->of_node | 1-u64max |
| PARAM_VALUE | 0 | config->owner | 0 |
| PARAM_VALUE | 0 | config->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | config->read_only | 1 |
| PARAM_VALUE | 0 | config->reg_read | 662938239592194048 |
| PARAM_VALUE | 0 | config->reg_write | 0 |
| PARAM_VALUE | 0 | config->root_only | 1 |
| PARAM_VALUE | 0 | config->stride | 1 |
| PARAM_VALUE | 0 | config->type | 0 |
| PARAM_VALUE | 0 | config->word_size | 1 |