Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_attach_chip() -> cadence_nand_wait_for_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->ecc_caps.nstepinfos | 1-s32max |
| PARAM_VALUE | 1 | reg_offset | 280 |
| PARAM_VALUE | 2 | timeout_us | 1000000 |
| PARAM_VALUE | 3 | mask | 256 |
| PARAM_VALUE | 4 | is_clear | 1 |
| CAPPED_DATA | 0 | cdns_ctrl->ecc_caps.nstepinfos | 1 |
| DATA_SOURCE | 0 | cdns_ctrl | r to_cdns_nand_ctrl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_cdma_send() -> cadence_nand_wait_for_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->bank | 0-254 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->command_flags | 1280 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->command_type | 4096,8448,8704 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->ctrl_data_ptr | 0-18446744073709551614 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->memory_pointer | 0-18446744073709551614 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->next_pointer | 0 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->rsvd0 | 0 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->rsvd1 | 0 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->rsvd2 | 0 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->rsvd3 | 0 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->rsvd4 | 0 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->status | 0 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->sync_arguments | 0 |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc->sync_flag_pointer | 0 |
| PARAM_VALUE | 1 | reg_offset | 288 |
| PARAM_VALUE | 2 | timeout_us | 1000000 |
| PARAM_VALUE | 4 | is_clear | 1 |
| DATA_SOURCE | 0 | cdns_ctrl | $0 |
| MEM_ZERO | 0 | cdns_ctrl->cdma_desc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cdns_ctrl->cdma_desc->flash_pointer | 0-u32max[c] |
| USER_DATA | 0 | cdns_ctrl->cdma_desc->flash_pointer | 0-u32max[c] |
| USER_DATA | 0 | *cdns_ctrl->buf | 0-255 |
| USER_PTR | 0 | cdns_ctrl->buf |
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_cmd_waitrdy() -> cadence_nand_wait_for_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns_ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 4100 |
| PARAM_VALUE | 4 | is_clear | 0 |
| DATA_SOURCE | 0 | cdns_ctrl | r to_cdns_nand_ctrl |
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_generic_cmd_send() -> cadence_nand_wait_for_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns_ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 280 |
| PARAM_VALUE | 2 | timeout_us | 1000000 |
| PARAM_VALUE | 3 | mask | 256 |
| PARAM_VALUE | 4 | is_clear | 1 |
| DATA_SOURCE | 0 | cdns_ctrl | $0 |
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_hw_init() -> cadence_nand_wait_for_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->buf_size | 16384 |
| PARAM_VALUE | 0 | cdns_ctrl->caps1 | 1-u64max |
| PARAM_VALUE | 0 | cdns_ctrl->cdma_desc | 1-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->complete.done | 0 |
| PARAM_VALUE | 0 | cdns_ctrl->complete.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | cdns_ctrl->complete.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | cdns_ctrl->complete.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cdns_ctrl->complete.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->complete.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->complete.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->complete.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->complete.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cdns_ctrl->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cdns_ctrl->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdns_ctrl->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cdns_ctrl->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | cdns_ctrl->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | cdns_ctrl->io.virt | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->irq | 1-s32max |
| PARAM_VALUE | 0 | cdns_ctrl->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | *cdns_ctrl->dev->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | reg_offset | 280 |
| PARAM_VALUE | 2 | timeout_us | 1000000 |
| PARAM_VALUE | 3 | mask | 512 |
| PARAM_VALUE | 4 | is_clear | 0 |
| BUF_SIZE | 0 | cdns_ctrl | 632 |
| BUF_SIZE | 0 | cdns_ctrl->buf | 16384 |
| BUF_SIZE | 0 | cdns_ctrl->cdma_desc | 64 |
| BUF_SIZE | 0 | cdns_ctrl->dev | 1616 |
| BUF_SIZE | 0 | cdns_ctrl->irq | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | cdns_ctrl->dev | 1 |
| DATA_SOURCE | 0 | cdns_ctrl | $0 |
| MEM_ZERO | 0 | cdns_ctrl | |
| MEM_ZERO | 0 | cdns_ctrl->cdma_desc | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_select_target() -> cadence_nand_wait_for_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns_ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 280 |
| PARAM_VALUE | 2 | timeout_us | 1000000 |
| PARAM_VALUE | 3 | mask | 256 |
| PARAM_VALUE | 4 | is_clear | 1 |
| DATA_SOURCE | 0 | cdns_ctrl | r to_cdns_nand_ctrl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_set_access_width16() -> cadence_nand_wait_for_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns_ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | cdns_ctrl->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 1 | reg_offset | 280 |
| PARAM_VALUE | 2 | timeout_us | 1000000 |
| PARAM_VALUE | 3 | mask | 256 |
| PARAM_VALUE | 4 | is_clear | 1 |
| BUF_SIZE | 0 | cdns_ctrl->buf | (-1),16384 |
| BUF_SIZE | 0 | cdns_ctrl->cdma_desc | (-1),64 |
| BUF_SIZE | 0 | cdns_ctrl->dev | (-1),1616 |
| BUF_SIZE | 0 | cdns_ctrl->irq | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cdns_ctrl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | cdns_ctrl->ctrl_rev | 0-255[c] |
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_set_ecc_enable() -> cadence_nand_wait_for_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns_ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 280 |
| PARAM_VALUE | 2 | timeout_us | 1000000 |
| PARAM_VALUE | 3 | mask | 256 |
| PARAM_VALUE | 4 | is_clear | 1 |
| DATA_SOURCE | 0 | cdns_ctrl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_set_skip_bytes_conf() -> cadence_nand_wait_for_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns_ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 280 |
| PARAM_VALUE | 2 | timeout_us | 1000000 |
| PARAM_VALUE | 3 | mask | 256 |
| PARAM_VALUE | 4 | is_clear | 1 |
| DATA_SOURCE | 0 | cdns_ctrl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mtd/nand/raw/cadence-nand-controller.c cadence_nand_set_skip_marker_val() -> cadence_nand_wait_for_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cdns_ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | reg_offset | 280 |
| PARAM_VALUE | 2 | timeout_us | 1000000 |
| PARAM_VALUE | 3 | mask | 256 |
| PARAM_VALUE | 4 | is_clear | 1 |
| DATA_SOURCE | 0 | cdns_ctrl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->controller->lock | ||
| HALF_LOCKED2 | &chip->lock |