Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/media/platform/marvell/mcam-core.c mcam_ctlr_dma_contig() -> mcam_reg_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->cached | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | cam->state | 1,3-4 |
| PARAM_VALUE | 0 | *cam->sensor->dev_priv->dev.driver_data->reg | 0-255 |
| PARAM_VALUE | 1 | reg | 64 |
| PARAM_VALUE | 2 | val | 134217728 |
| BUF_SIZE | 0 | cam | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cam | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cam | $0 |
| HARD_MAX | 0 | cam->state | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &cam->dev_lock | |
| TYPE_LOCK | (struct mcam_camera)->dev_lock |
drivers/media/platform/marvell/mcam-core.c mcam_ctlr_dma_vmalloc() -> mcam_reg_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->dma_handles | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->nbufs | 0-2 |
| PARAM_VALUE | 0 | cam->sensor | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->cached | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | cam->sensor->ctrl_handler->lock->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | cam->sensor->dev_priv->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | cam->state | 1,3-4 |
| PARAM_VALUE | 0 | *cam->sensor->dev_priv->dev.driver_data->reg | 0-255 |
| PARAM_VALUE | 1 | reg | 64 |
| PARAM_VALUE | 2 | val | 134217728 |
| BUF_SIZE | 0 | cam | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cam | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cam | $0 |
| FUZZY_MAX | 0 | cam->nbufs | 2 |
| HARD_MAX | 0 | cam->nbufs | 2 |
| HARD_MAX | 0 | cam->state | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &cam->dev_lock | |
| TYPE_LOCK | (struct mcam_camera)->dev_lock |
drivers/media/platform/marvell/mcam-core.c mcam_ctlr_irq_enable() -> mcam_reg_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->nbufs | 0-s32max |
| PARAM_VALUE | 0 | cam->next_buf | (-1) |
| PARAM_VALUE | 0 | cam->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->state | 1,3-4 |
| PARAM_VALUE | 1 | reg | 44 |
| PARAM_VALUE | 2 | val | 63 |
| BUF_SIZE | 0 | cam | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cam | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | cam->nbufs | 1 |
| DATA_SOURCE | 0 | cam | $0 |
| HARD_MAX | 0 | cam->state | 4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &cam->dev_lock | |
| TYPE_LOCK | (struct mcam_camera)->dev_lock |
drivers/media/platform/marvell/mcam-core.c mcam_ctlr_power_down() -> mcam_reg_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 64 |
| PARAM_VALUE | 2 | val | 268435456 |
| DATA_SOURCE | 0 | cam | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &cam->dev_lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct mcam_camera)->dev_lock |
drivers/media/platform/marvell/mcam-core.c mcam_ctlr_start() -> mcam_reg_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->state | 3 |
| PARAM_VALUE | 0 | *cam->buf_seq | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 60 |
| PARAM_VALUE | 2 | val | 1 |
| BUF_SIZE | 0 | cam | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cam | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cam | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &cam->dev_lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct mcam_camera)->dev_lock |
drivers/media/platform/marvell/mcam-core.c mcam_sg_next_buffer() -> mcam_reg_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->state | 1,3-4 |
| PARAM_VALUE | 0 | *cam->buf_seq | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 64 |
| PARAM_VALUE | 2 | val | 256 |
| BUF_SIZE | 0 | cam | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | cam | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | cam | $0 |
| HARD_MAX | 0 | cam->state | 4 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &cam->dev_lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct mcam_camera)->dev_lock |
drivers/media/platform/marvell/cafe-driver.c cafe_ctlr_init() -> mcam_reg_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->dev_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cam->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 12300 |
| PARAM_VALUE | 2 | val | 4 |
| BUF_SIZE | 0 | cam | (-1),4040 |
| BUF_SIZE | 0 | cam | (-1),4040 |
| BUF_SIZE | 0 | cam->dev | (-1),1616 |
| DATA_SOURCE | 0 | cam | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &cam->dev_lock | |
| TYPE_LOCK | (struct mcam_camera)->dev_lock |
drivers/media/platform/marvell/cafe-driver.c cafe_smbus_enable_irq() -> mcam_reg_set_bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cam | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->chip_id | 0 |
| PARAM_VALUE | 0 | cam->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cam->plat_power_down | 7560306695413473280 |
| PARAM_VALUE | 0 | cam->plat_power_up | 3827473576894570496 |
| PARAM_VALUE | 0 | cam->regs | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 44 |
| PARAM_VALUE | 2 | val | 458752 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cam->mcam.dev_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mcam_camera)->dev_lock |