Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/mtd/spi-nor/sfdp.c spi_nor_get_map_in_use() -> spi_nor_read_raw()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->addr_nbytes 0,3-4
PARAM_VALUE 0 nor->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 nor->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nor->dirmap.rdesc->info.op_tmpl->data.dir 1
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->bus_lock_mutex.dep_map->name 0-255
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->lock->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->rx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->rx_dma.ch->cookie 1
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->rx_dma.ch->name 0
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->rx_dma.ch->route_data 0
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->tx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->tx_dma.ch->cookie 1
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->tx_dma.ch->name 0
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->tx_dma.ch->route_data 0
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dma_rx->client_count 1-s32max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->dma_tx->client_count 1-s32max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->io_mutex.dep_map->name 0-255
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->io_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->io_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->io_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->kworker->work_list.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->dirmap.rdesc->mem->spi->controller->kworker->work_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 nor->flags 0,8-u32max
PARAM_VALUE 0 nor->info 4096-ptr_max
PARAM_VALUE 0 nor->info->id 0,4096-ptr_max
PARAM_VALUE 0 nor->lock.dep_map->name 0-255
PARAM_VALUE 0 nor->lock.first_waiter 0
PARAM_VALUE 0 nor->lock.magic 4096-ptr_max
PARAM_VALUE 0 nor->lock.osq.tail.counter 0
PARAM_VALUE 0 nor->lock.owner.counter 0
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->mtd.dev.of_node 0,4096-ptr_max
PARAM_VALUE 0 nor->params 4096-ptr_max
PARAM_VALUE 0 nor->params->addr_mode_nbytes 3-4
PARAM_VALUE 0 nor->params->addr_nbytes 3-4
PARAM_VALUE 0 nor->params->erase_map.n_regions 1-256
PARAM_VALUE 0 nor->params->erase_map.regions 1-u64max
PARAM_VALUE 0 nor->params->n_banks 1-255
PARAM_VALUE 0 nor->params->quad_enable 0,1166862978509557760,5041840247586770944,7982451154692591616
PARAM_VALUE 0 nor->params->size 0-2305843009213693951
PARAM_VALUE 0 nor->params->writesize 1
PARAM_VALUE 0 nor->priv->memory_mode 0-1
PARAM_VALUE 0 nor->sfdp 4096-ptr_max
PARAM_VALUE 0 nor->sfdp->dwords 1-u64max
PARAM_VALUE 0 nor->sfdp->num_dwords 0-1024
PARAM_VALUE 0 nor->spimem->name 1-ptr_max
PARAM_VALUE 0 nor->spimem->spi 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->bus_lock_mutex.dep_map->name 0-255
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_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->bus_lock_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->lock.osq.tail.counter 0-s32max
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->dbg_client_name 0
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->rx_dma.ch->name 0
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->route_data 0
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->slave 0
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->dbg_client_name 0
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->tx_dma.ch->name 0
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->route_data 0
PARAM_VALUE 0 nor->spimem->spi->controller->dev.driver_data->tx_dma.ch->slave 0
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->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 nor->spimem->spi->controller->io_mutex.dep_map->name 0-255
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 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->blocked_on 0
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.node.next->prev 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->pump_messages.worker 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 2 len 1
PARAM_VALUE 3 buf 4096-ptr_max
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 408
BUF_SIZE 0 nor->sfdp 16
BUF_SIZE 3 buf 1
DATA_SOURCE 0 nor $0
DATA_SOURCE 3 buf r _kmalloc_noprof
TERMINATED 0 nor->bouncebuf->node.name 1
MEM_ZERO 0 &nor->params->erase_map
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->ctx.modulctrl 0-4294967291[c]
HOST_DATA 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->dev->driver_data->smadr 0-4294967295[c]
HOST_DATA 0 nor->dirmap.rdesc->mem->spi->controller->dev.driver_data->para 0-255
HOST_DATA 0 nor->spimem->spi->controller->dev.driver_data->ctx.modulctrl 0-4294967291[c]
HOST_DATA 0 nor->spimem->spi->controller->dev.driver_data->para 0-255
HOST_DATA 0 *nor->bouncebuf 0-255
HOST_DATA 3 *buf 0-255
NO_OVERFLOW_SIMPLE 0 nor->sfdp->num_dwords

drivers/mtd/spi-nor/sfdp.c spi_nor_read_sfdp() -> spi_nor_read_raw()

Type Parameter Key Value
PARAM_VALUE 0 nor 4096-ptr_max
PARAM_VALUE 0 nor->addr_nbytes 3
PARAM_VALUE 0 nor->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 nor->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 nor->dev->devres_head.prev->next->next 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->read_dummy 8
PARAM_VALUE 0 nor->read_opcode 90
PARAM_VALUE 0 nor->spimem->name 1-ptr_max
PARAM_VALUE 0 nor->spimem->spi 4096-ptr_max
PARAM_VALUE 0 nor->spimem->spi->controller->bus_lock_mutex.first_waiter->list.prev->next 5159360019465732096
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 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 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->dev.driver_data->rx_dma.ch->dbg_client_name 0-255
PARAM_VALUE 0 *nor->spimem->spi->controller->dev.driver_data->rx_dma.ch->name 0-255
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 addr 0-16777215
PARAM_VALUE 2 len 0-4096
PARAM_VALUE 3 buf 1-u64max
BUF_SIZE 0 nor->bouncebuf (-1),4096
BUF_SIZE 0 nor->dev (-1),1616
BUF_SIZE 0 nor->id (-1),6
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 3 buf (-1)-4096
CAPPED_DATA 2 len 1
CAPPED_DATA 2 len 1
DATA_SOURCE 0 nor $0
DATA_SOURCE 1 addr $1
DATA_SOURCE 2 len $2
DATA_SOURCE 3 buf $3
FUZZY_MAX 2 len 4096
BIT_INFO 1 addr 0x0,0xff
BIT_INFO 2 len 0x0,0xffffffff
TERMINATED 0 nor->bouncebuf->node.name 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 *nor->bouncebuf 0-255
NO_OVERFLOW_SIMPLE 0 nor->sfdp->num_dwords
UNITS 1 addr unit_byte
UNITS 2 len unit_byte
BYTE_COUNT 3 ==buf2 8050