Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/misc/mei/bus-fixup.c mei_fwver() -> __mei_cl_send_timeout()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->cldev 4096-ptr_max
PARAM_VALUE 0 cl->cldev->cl 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_rd_list.prev 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_rd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_rd_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_wr_list.prev 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_wr_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_wr_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->device_lock.dep_map->name 0-255
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cl->dev->device_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cl->dev->file_list.prev 4096-ptr_max
PARAM_VALUE 0 cl->dev->file_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->file_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->hbuf_is_ready 0
PARAM_VALUE 0 cl->dev->hw->slots 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg_completion.done 0-4294967295
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg_completion.wait.lock.owner (-1)
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg_incomplete 0-1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg_need_completion 0-1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->busy 0-1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->map->async 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->qos_request.node.prio s32min-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->regmap->cache_dirty 1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->cookie 1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->name 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->tx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->tx_dma.ch->cookie 1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->wq->flush_color s32min-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->wq->work_color s32min-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dma_rx->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dma_tx->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->fallback 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->io_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->io_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->pump_messages.worker->lock.owner_cpu 0-4294967295
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->queue_empty 0
PARAM_VALUE 0 cl->dev->hw->write_lock_cnt.counter 0-s32max
PARAM_VALUE 0 cl->dev->open_handle_count s64min-255
PARAM_VALUE 0 cl->dev->timer_work->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 cl->dev->timer_work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 cl->host_client_id 0-64
PARAM_VALUE 0 cl->me_cl 0,4096-ptr_max
PARAM_VALUE 0 cl->rx_flow_ctrl_creds 0
PARAM_VALUE 0 cl->state 1-u32max
PARAM_VALUE 0 cl->tx_flow_ctrl_creds 0
PARAM_VALUE 0 cl->vtag_map.prev 4096-ptr_max
PARAM_VALUE 0 cl->vtag_map.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->vtag_map.prev->next->next 4096-ptr_max
PARAM_VALUE 0 *cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->name 0-255
PARAM_VALUE 0 *cl->dev->hw->tp->tx_buf->buf 0-255
PARAM_VALUE 0 *cl->dev->hw->tx_buf 0-255
PARAM_VALUE 1 buf 4790735927603093504
PARAM_VALUE 2 length 4
PARAM_VALUE 3 vtag 0
PARAM_VALUE 4 mode 1
PARAM_VALUE 5 timeout 4000
BUF_SIZE 1 buf 4
CAPPED_DATA 0 cl 1
UNITS 2 length unit_byte
LOCK2 &bus->cl_bus_lock
LOCK2 &pool->lock
TYPE_LOCK (struct mei_device)->cl_bus_lock

drivers/misc/mei/bus-fixup.c mei_gfx_memory_ready() -> __mei_cl_send_timeout()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->cldev 4096-ptr_max
PARAM_VALUE 0 cl->cldev->cl 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_rd_list.prev 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_rd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_rd_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_wr_list.prev 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_wr_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_wr_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->device_lock.dep_map->name 0-255
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cl->dev->device_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cl->dev->file_list.prev 4096-ptr_max
PARAM_VALUE 0 cl->dev->file_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->file_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->hbuf_is_ready 0
PARAM_VALUE 0 cl->dev->hw->slots 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg_completion.done 0-4294967295
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg_completion.wait.lock.owner (-1)
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg_completion.wait.lock.owner_cpu 4294967295
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg_incomplete 0-1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->cur_msg_need_completion 0-1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->busy 0-1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->map->async 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->qos_request.node.prio s32min-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->regmap->cache_dirty 1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->cookie 1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->name 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->tx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->tx_dma.ch->cookie 1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->wq->flush_color s32min-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->wq->work_color s32min-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dma_rx->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dma_tx->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->fallback 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->io_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->io_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->pump_messages.worker->lock.owner_cpu 0-4294967295
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->queue_empty 0
PARAM_VALUE 0 cl->dev->hw->write_lock_cnt.counter 0-s32max
PARAM_VALUE 0 cl->dev->open_handle_count s64min-255
PARAM_VALUE 0 cl->dev->timer_work->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 cl->dev->timer_work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 cl->host_client_id 0-64
PARAM_VALUE 0 cl->me_cl 0,4096-ptr_max
PARAM_VALUE 0 cl->rx_flow_ctrl_creds 0
PARAM_VALUE 0 cl->state 1-u32max
PARAM_VALUE 0 cl->tx_flow_ctrl_creds 0
PARAM_VALUE 0 cl->vtag_map.prev 4096-ptr_max
PARAM_VALUE 0 cl->vtag_map.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->vtag_map.prev->next->next 4096-ptr_max
PARAM_VALUE 0 *cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->name 0-255
PARAM_VALUE 0 *cl->dev->hw->tp->tx_buf->buf 0-255
PARAM_VALUE 0 *cl->dev->hw->tx_buf 0-255
PARAM_VALUE 1 buf 6023133437194145792
PARAM_VALUE 2 length 8
PARAM_VALUE 3 vtag 0
PARAM_VALUE 4 mode 3
PARAM_VALUE 5 timeout 200
BUF_SIZE 1 buf 8
CAPPED_DATA 0 cl 1
UNITS 2 length unit_byte
LOCK2 &bus->cl_bus_lock
LOCK2 &pool->lock
TYPE_LOCK (struct mei_device)->cl_bus_lock

drivers/misc/mei/bus-fixup.c mei_osver() -> __mei_cl_send_timeout()

Type Parameter Key Value
PARAM_VALUE 0 cl 4096-ptr_max
PARAM_VALUE 0 cl->cldev 4096-ptr_max
PARAM_VALUE 0 cl->cldev->cl 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_rd_list.prev 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_rd_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_rd_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_wr_list.prev 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_wr_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->ctrl_wr_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->device_lock.dep_map->name 0-255
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 cl->dev->device_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 cl->dev->file_list.prev 4096-ptr_max
PARAM_VALUE 0 cl->dev->file_list.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->file_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->cookie 1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->rx_dma.ch->name 0
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->tx_dma.ch->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dev.driver_data->tx_dma.ch->cookie 1
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dma_rx->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->dma_tx->client_count 1-s32max
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->io_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cl->dev->hw->tp->spi->controller->io_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cl->dev->open_handle_count s64min-255
PARAM_VALUE 0 cl->dev->timer_work->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 cl->dev->timer_work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 cl->host_client_id 0-64
PARAM_VALUE 0 cl->me_cl 0,4096-ptr_max
PARAM_VALUE 0 cl->rx_flow_ctrl_creds 0-1
PARAM_VALUE 0 cl->state 1-u32max
PARAM_VALUE 0 cl->vtag_map.prev 4096-ptr_max
PARAM_VALUE 0 cl->vtag_map.prev->next 4096-ptr_max
PARAM_VALUE 0 cl->vtag_map.prev->next->next 4096-ptr_max
PARAM_VALUE 0 *cl->dev->hw->tp->tx_buf->buf 0-255
PARAM_VALUE 0 *cl->dev->hw->tx_buf 0-255
PARAM_VALUE 1 buf 3166153995072532480
PARAM_VALUE 2 length 17
PARAM_VALUE 3 vtag 0
PARAM_VALUE 4 mode 3
PARAM_VALUE 5 timeout 4000
BUF_SIZE 1 buf 17
CAPPED_DATA 0 cl 1
UNITS 2 length unit_byte
LOCK2 &bus->cl_bus_lock
LOCK2 &pool->lock
TYPE_LOCK (struct mei_device)->cl_bus_lock

drivers/misc/mei/bus.c __mei_cl_send() -> __mei_cl_send_timeout()

Type Parameter Key Value
PARAM_VALUE 0 cl->me_cl->props.protocol_version 0,2
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 3 vtag 0
PARAM_VALUE 4 mode 1,8
PARAM_VALUE 5 timeout 9223372036854775807
BUF_SIZE 0 cl (-1),608
BUF_SIZE 0 cl (-1),608
BUF_SIZE 1 buf (-1),4,11,13,20-21,23,36,52,57-131127
BUF_SIZE 1 buf (-1),4,11,13,20-21,23,36,52,57-131127
DATA_SOURCE 0 cl $0
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 length $2
DATA_SOURCE 3 vtag $3
DATA_SOURCE 4 mode $4
HARD_MAX 4 mode 8
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte
BYTE_COUNT 1 ==buf2 8050
HALF_LOCKED2 &bus->cl_bus_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &pxp->tee_mutex

drivers/misc/mei/bus.c mei_cldev_send_vtag_timeout() -> __mei_cl_send_timeout()

Type Parameter Key Value
PARAM_VALUE 1 buf 4096-ptr_max
PARAM_VALUE 2 length 24-u64max
PARAM_VALUE 3 vtag 0
PARAM_VALUE 4 mode 1
PARAM_VALUE 5 timeout 3000,5000
BUF_SIZE 1 buf 0-s32max
BUF_SIZE 1 buf 0-s32max
CAPPED_DATA 2 length 1
CAPPED_DATA 2 length 1
DATA_SOURCE 1 buf $1
DATA_SOURCE 2 length $2
DATA_SOURCE 3 vtag $3
DATA_SOURCE 5 timeout $4
PARAM_COMPARE 1 buf == $2
HARD_MAX 5 timeout 5000
TASK_NOT_RUNNING
BYTE_COUNT 1 ==buf2 8050
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &pxp->tee_mutex