Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/mtd/spi-nor/core.c spi_nor_read_cr() -> spi_nor_controller_ops_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->manufacturer->nparts 2-4,8,12-13,15-16,30,43,48,50
PARAM_VALUE 0 nor->manufacturer->parts 4096-ptr_max
PARAM_VALUE 0 nor->params 4096-ptr_max
PARAM_VALUE 0 nor->params->locking_ops->is_locked 828125480244076544,1516671485553410048,3374028281542623232,5061716236270923776
PARAM_VALUE 0 nor->params->locking_ops->lock 925204134490054656,4485249737050234880,6468690575144804352,7360627104830144512
PARAM_VALUE 0 nor->params->locking_ops->unlock 655754770036228096,660141207723737088,3926970356591833088,7593035807845867520
PARAM_VALUE 0 nor->params->otp.ops->erase 5617413967985901568
PARAM_VALUE 0 nor->params->otp.ops->is_locked 9106524838032314368
PARAM_VALUE 0 nor->params->otp.ops->lock 16829053650014208
PARAM_VALUE 0 nor->params->otp.ops->read 6967266451117309952
PARAM_VALUE 0 nor->params->otp.ops->write 6497249417932070912
PARAM_VALUE 0 nor->spimem 0
PARAM_VALUE 1 opcode 53
PARAM_VALUE 3 len 1
BUF_SIZE 0 nor->bouncebuf (-1),4096
BUF_SIZE 0 nor->dev (-1),1616
BUF_SIZE 0 nor->info (-1),56
BUF_SIZE 0 nor->mtd.name s32min,(-10),(-1)-s32max
BUF_SIZE 2 buf (-1),4096-s32max
BUF_SIZE 2 buf (-1),4096-s32max
DATA_SOURCE 0 nor $0
DATA_SOURCE 2 buf $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nor->rww.used_banks 0-u32max[c]
HOST_DATA 0 *nor->bouncebuf 0-255
HOST_DATA 2 *buf 0-255
NO_OVERFLOW_SIMPLE 0 nor->sfdp->num_dwords
HALF_LOCKED2 &master->master.chrdev_lock

drivers/mtd/spi-nor/core.c spi_nor_read_sr() -> spi_nor_controller_ops_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->controller_ops->erase 0,6149025279724744704
PARAM_VALUE 0 nor->manufacturer->fixups 0,4096-ptr_max
PARAM_VALUE 0 nor->manufacturer->nparts 2-4,8,12-13,15-16,30,43,48,50
PARAM_VALUE 0 nor->manufacturer->parts 4096-ptr_max
PARAM_VALUE 0 nor->params 4096-ptr_max
PARAM_VALUE 0 nor->params->locking_ops->is_locked 828125480244076544,1516671485553410048,3374028281542623232,5061716236270923776
PARAM_VALUE 0 nor->params->locking_ops->lock 925204134490054656,4485249737050234880,6468690575144804352,7360627104830144512
PARAM_VALUE 0 nor->params->locking_ops->unlock 655754770036228096,660141207723737088,3926970356591833088,7593035807845867520
PARAM_VALUE 0 nor->params->otp.ops->erase 4096-ptr_max
PARAM_VALUE 0 nor->params->otp.ops->is_locked 4096-ptr_max
PARAM_VALUE 0 nor->params->otp.ops->lock 4096-ptr_max
PARAM_VALUE 0 nor->params->otp.ops->read 4096-ptr_max
PARAM_VALUE 0 nor->params->otp.ops->write 4096-ptr_max
PARAM_VALUE 0 nor->spimem 0
PARAM_VALUE 1 opcode 5
PARAM_VALUE 3 len 1
BUF_SIZE 0 nor->bouncebuf (-1),4096
BUF_SIZE 0 nor->dev (-1),1616
BUF_SIZE 0 nor->info (-1),56
BUF_SIZE 0 nor->mtd.name s32min,(-10),(-1)-s32max
BUF_SIZE 0 nor->params (-1),408
BUF_SIZE 0 nor->sfdp (-1),16
BUF_SIZE 2 buf (-1),4095-s32max
BUF_SIZE 2 buf (-1),4095-s32max
DATA_SOURCE 0 nor $0
DATA_SOURCE 2 buf $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nor->rww.used_banks 0-u32max[c]
HOST_DATA 0 *nor->bouncebuf 0-255
HOST_DATA 2 *buf 0-255
USER_DATA 0 nor->rww.used_banks 0-u32max[c][u]
USER_DATA 0 *nor->bouncebuf 0-255
USER_DATA 2 *buf 0-255
NO_OVERFLOW_SIMPLE 0 nor->sfdp->num_dwords

drivers/mtd/spi-nor/core.c spi_nor_read_sr2() -> spi_nor_controller_ops_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->manufacturer->nparts 2-4,8,12-13,15-16,30,43,48,50
PARAM_VALUE 0 nor->manufacturer->parts 4096-ptr_max
PARAM_VALUE 0 nor->params 4096-ptr_max
PARAM_VALUE 0 nor->params->locking_ops->is_locked 828125480244076544,1516671485553410048,3374028281542623232,5061716236270923776
PARAM_VALUE 0 nor->params->locking_ops->lock 925204134490054656,4485249737050234880,6468690575144804352,7360627104830144512
PARAM_VALUE 0 nor->params->locking_ops->unlock 655754770036228096,660141207723737088,3926970356591833088,7593035807845867520
PARAM_VALUE 0 nor->params->otp.ops->erase 5617413967985901568
PARAM_VALUE 0 nor->params->otp.ops->is_locked 9106524838032314368
PARAM_VALUE 0 nor->params->otp.ops->lock 16829053650014208
PARAM_VALUE 0 nor->params->otp.ops->read 6967266451117309952
PARAM_VALUE 0 nor->params->otp.ops->write 6497249417932070912
PARAM_VALUE 0 nor->params->quad_enable 1-u64max
PARAM_VALUE 0 nor->spimem 0
PARAM_VALUE 1 opcode 63
PARAM_VALUE 3 len 1
BUF_SIZE 2 buf 4096-s32max
BUF_SIZE 2 buf 4096-s32max
DATA_SOURCE 0 nor $0
DATA_SOURCE 2 buf $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nor->rww.used_banks 0-u32max[c]
HOST_DATA 0 *nor->bouncebuf 0-255
HOST_DATA 2 *buf 0-255
NO_OVERFLOW_SIMPLE 0 nor->sfdp->num_dwords

drivers/mtd/spi-nor/micron-st.c micron_st_nor_read_fsr() -> spi_nor_controller_ops_read_reg()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->controller_ops->erase 0,6149025279724744704
PARAM_VALUE 0 nor->manufacturer->nparts 2-4,8,12-13,15-16,30,43,48,50
PARAM_VALUE 0 nor->manufacturer->parts 4096-ptr_max
PARAM_VALUE 0 nor->params 4096-ptr_max
PARAM_VALUE 0 nor->params->locking_ops->is_locked 828125480244076544,1516671485553410048,3374028281542623232,5061716236270923776
PARAM_VALUE 0 nor->params->locking_ops->lock 925204134490054656,4485249737050234880,6468690575144804352,7360627104830144512
PARAM_VALUE 0 nor->params->locking_ops->unlock 655754770036228096,660141207723737088,3926970356591833088,7593035807845867520
PARAM_VALUE 0 nor->params->otp.ops->erase 4096-ptr_max
PARAM_VALUE 0 nor->params->otp.ops->is_locked 4096-ptr_max
PARAM_VALUE 0 nor->params->otp.ops->lock 4096-ptr_max
PARAM_VALUE 0 nor->params->otp.ops->read 4096-ptr_max
PARAM_VALUE 0 nor->params->otp.ops->write 4096-ptr_max
PARAM_VALUE 0 nor->params->ready 1-u64max
PARAM_VALUE 0 nor->priv->memory_mode 0-1
PARAM_VALUE 0 nor->spimem 0
PARAM_VALUE 0 nor->spimem->spi->controller->bus_lock_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->bus_lock_spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->map->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->completed_cookie 1
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->cookie 1
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->device->owner->state 0-1,3-4294967295
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->completed_cookie 1
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->cookie 1
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->device->owner->state 0-1,3-4294967295
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->wq->first_flusher->done.done 0-4294967295
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->wq->flusher_queue.prev->next 2906673126597898240
PARAM_VALUE 0 nor->spimem->spi->controller->dma_rx->client_count 1-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->dma_tx->client_count 1-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->kworker->work_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->kworker->work_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->pump_messages.worker->lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 nor->spimem->spi->controller->queue.prev 4096-ptr_max
PARAM_VALUE 0 *nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->dbg_client_name 0-255
PARAM_VALUE 0 *nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->name 0-255
PARAM_VALUE 1 opcode 112
PARAM_VALUE 3 len 1
BUF_SIZE 0 nor->bouncebuf (-1),4096
BUF_SIZE 0 nor->dev (-1),1616
BUF_SIZE 0 nor->mtd.name s32min,(-10),(-1)-s32max
BUF_SIZE 2 buf (-1),4096
BUF_SIZE 2 buf (-1),4096
DATA_SOURCE 0 nor $0
DATA_SOURCE 2 buf $1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nor->rww.used_banks 0-u32max[c]
HOST_DATA 0 *nor->bouncebuf 0-255
HOST_DATA 2 *buf 0-255
USER_DATA 0 nor->rww.used_banks 0-u32max[c][u]
NO_OVERFLOW_SIMPLE 0 nor->sfdp->num_dwords
HALF_LOCKED2 &master->master.chrdev_lock