Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/media/i2c/ccs/ccs-reg-access.c __ccs_read_addr() -> ccs_reg_conv()

Type Parameter Key Value
PARAM_VALUE 0 sensor 4096-ptr_max
PARAM_VALUE 0 sensor->ext_clk 0,4096-u64max
PARAM_VALUE 0 sensor->frame_skip 0-1
PARAM_VALUE 0 sensor->hwcfg.csi_signalling_mode 0-3
PARAM_VALUE 0 sensor->hwcfg.lanes 0-255
PARAM_VALUE 0 sensor->minfo.quirk 0,4096-ptr_max
PARAM_VALUE 0 sensor->minfo.quirk->limits 0,3193945654266789888,6417759560463310848,6851697911932821504
PARAM_VALUE 0 sensor->minfo.quirk->reg_access 0
PARAM_VALUE 0 sensor->nbinning_subtypes 0-63
PARAM_VALUE 0 sensor->pll.bus_type 0-1
PARAM_VALUE 0 sensor->pll.flags 0,2,4-2190
PARAM_VALUE 0 sensor->reset 0,4096-u64max
PARAM_VALUE 0 sensor->src->sd.ops->ir 0,4355851174930030592,5210938004247650304
PARAM_VALUE 0 sensor->src->sd.ops->vbi 0,1125365629885390848,3691273271289118720,3864527033440124928,4807684056582819840,7529800587632279552
PARAM_VALUE 0 sensor->xshutdown 0-18446744073709551613,(-1)
PARAM_VALUE 2 val 0-16777215
BUF_SIZE 0 sensor->ccs_limits (-1)-u16max
BUF_SIZE 0 sensor->ext_clk (-1),1-s32max
BUF_SIZE 0 sensor->regulators (-1),72
BUF_SIZE 0 sensor->reset s32min,(-1),1-s32max
BUF_SIZE 0 sensor->scaler (-1)-0,2568
BUF_SIZE 0 sensor->src (-1),2568
BUF_SIZE 0 sensor->src->sd.internal_ops (-1),48
BUF_SIZE 0 sensor->xshutdown s32min,(-1)-s32max
CAPPED_DATA 0 sensor->reset 1
DATA_SOURCE 0 sensor $0
DATA_SOURCE 1 reg $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sensor->ext_clk->core->parent->req_rate
UNITS 0 sensor unit_byte

drivers/media/i2c/ccs/ccs-core.c ccs_get_limit() -> ccs_reg_conv()

Type Parameter Key Value
PARAM_VALUE 0 sensor->ccs_limits 1-u64max
DATA_SOURCE 0 sensor $0

drivers/media/i2c/ccs/ccs-core.c ccs_read_all_limits() -> ccs_reg_conv()

Type Parameter Key Value
PARAM_VALUE 0 sensor 4096-ptr_max
PARAM_VALUE 0 sensor->ccs_limits 16,4096-ptr_max
PARAM_VALUE 0 sensor->ext_clk 4096-ptr_max
PARAM_VALUE 0 sensor->ext_clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 sensor->ext_clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 sensor->ext_clk->core->dev->power.request 0-4294967295
PARAM_VALUE 0 sensor->ext_clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 sensor->ext_clk->core->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 sensor->ext_clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 sensor->ext_clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 sensor->ext_clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 sensor->ext_clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sensor->hwcfg.csi_signalling_mode 0-3
PARAM_VALUE 0 sensor->hwcfg.ext_clk 1-u32max
PARAM_VALUE 0 sensor->hwcfg.lanes 0-255
PARAM_VALUE 0 sensor->hwcfg.op_sys_clock 4096-ptr_max
PARAM_VALUE 0 sensor->mdata.backing 0,16,4096-ptr_max
PARAM_VALUE 0 sensor->mdata.end 0
PARAM_VALUE 0 sensor->mdata.license 0
PARAM_VALUE 0 sensor->mdata.license_length 0
PARAM_VALUE 0 sensor->mdata.module_manufacturer_regs 0
PARAM_VALUE 0 sensor->mdata.module_pdaf 0
PARAM_VALUE 0 sensor->mdata.module_read_only_regs 0
PARAM_VALUE 0 sensor->mdata.module_rules 0
PARAM_VALUE 0 sensor->mdata.num_module_read_only_regs 0
PARAM_VALUE 0 sensor->mdata.num_module_rules 0
PARAM_VALUE 0 sensor->mdata.num_sensor_read_only_regs 0
PARAM_VALUE 0 sensor->mdata.num_sensor_rules 0
PARAM_VALUE 0 sensor->mdata.sensor_manufacturer_regs 0
PARAM_VALUE 0 sensor->mdata.sensor_pdaf 0
PARAM_VALUE 0 sensor->mdata.sensor_read_only_regs 0
PARAM_VALUE 0 sensor->mdata.sensor_rules 0
PARAM_VALUE 0 sensor->mdata.version 0
PARAM_VALUE 0 sensor->minfo.ccs_version 0
PARAM_VALUE 0 sensor->minfo.mipi_manufacturer_id 0
PARAM_VALUE 0 sensor->minfo.model_id 0
PARAM_VALUE 0 sensor->minfo.quirk->reg_access 0
PARAM_VALUE 0 sensor->minfo.revision_number 0
PARAM_VALUE 0 sensor->minfo.sensor_revision_number 0
PARAM_VALUE 0 sensor->minfo.smia_manufacturer_id 0
PARAM_VALUE 0 sensor->minfo.smiapp_version 0
PARAM_VALUE 0 sensor->mutex.dep_map->name 0-255
PARAM_VALUE 0 sensor->mutex.first_waiter 0
PARAM_VALUE 0 sensor->mutex.magic 4096-ptr_max
PARAM_VALUE 0 sensor->mutex.osq.tail.counter 0
PARAM_VALUE 0 sensor->mutex.owner.counter 0
PARAM_VALUE 0 sensor->regmap 0-ptr_max
PARAM_VALUE 0 sensor->regmap->cache_dirty 0-1
PARAM_VALUE 0 sensor->regulators 4096-ptr_max
PARAM_VALUE 0 sensor->reset 0,4096-ptr_max
PARAM_VALUE 0 sensor->sdata.backing 0,16,4096-ptr_max
PARAM_VALUE 0 sensor->sdata.end 0
PARAM_VALUE 0 sensor->sdata.license 0
PARAM_VALUE 0 sensor->sdata.license_length 0
PARAM_VALUE 0 sensor->sdata.module_manufacturer_regs 0
PARAM_VALUE 0 sensor->sdata.module_pdaf 0
PARAM_VALUE 0 sensor->sdata.module_read_only_regs 0
PARAM_VALUE 0 sensor->sdata.module_rules 0
PARAM_VALUE 0 sensor->sdata.num_module_read_only_regs 0
PARAM_VALUE 0 sensor->sdata.num_module_rules 0
PARAM_VALUE 0 sensor->sdata.num_sensor_read_only_regs 0
PARAM_VALUE 0 sensor->sdata.num_sensor_rules 0
PARAM_VALUE 0 sensor->sdata.sensor_manufacturer_regs 0
PARAM_VALUE 0 sensor->sdata.sensor_pdaf 0
PARAM_VALUE 0 sensor->sdata.sensor_read_only_regs 0
PARAM_VALUE 0 sensor->sdata.sensor_rules 0
PARAM_VALUE 0 sensor->sdata.version 0
PARAM_VALUE 0 sensor->src 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd->name 0-255
PARAM_VALUE 0 sensor->src->sd.async_subdev_endpoint_list.next 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.async_subdev_endpoint_list.next->next 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.async_subdev_endpoint_list.prev 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.async_subdev_endpoint_list.prev->next 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.async_subdev_endpoint_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.dev 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.dev->driver 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.dev_priv 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.entity.function 131072
PARAM_VALUE 0 sensor->src->sd.entity.name 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.entity.obj_type 2
PARAM_VALUE 0 sensor->src->sd.flags 1
PARAM_VALUE 0 sensor->src->sd.grp_id 0
PARAM_VALUE 0 sensor->src->sd.host_priv 0
PARAM_VALUE 0 sensor->src->sd.internal_ops 3283773275179511808
PARAM_VALUE 0 sensor->src->sd.list.next 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.list.next->next 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.list.prev 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.list.prev->next 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.list.prev->prev 4096-ptr_max
PARAM_VALUE 0 sensor->src->sd.ops 4960748093243490304
PARAM_VALUE 0 sensor->src->sd.ops->ir 0,4355851174930030592,5210938004247650304
PARAM_VALUE 0 sensor->src->sd.ops->vbi 0,1125365629885390848,3691273271289118720,3864527033440124928,4807684056582819840,7529800587632279552
PARAM_VALUE 0 sensor->src->sd.privacy_led 0
PARAM_VALUE 0 sensor->src->sd.v4l2_dev 0
PARAM_VALUE 0 sensor->xshutdown 0,4096-ptr_max
PARAM_VALUE 0 *sensor->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 reg 268435456-u32max
BUF_SIZE 0 sensor 3544
BUF_SIZE 0 sensor->ccs_limits 0-u16max
BUF_SIZE 0 sensor->ext_clk (-1),1-s32max
BUF_SIZE 0 sensor->regulators 72
BUF_SIZE 0 sensor->reset s32min,(-1),1-s32max
BUF_SIZE 0 sensor->src 2568
BUF_SIZE 0 sensor->src->sd.internal_ops 48
BUF_SIZE 0 sensor->xshutdown s32min,(-1)-s32max
CAPPED_DATA 0 sensor->ext_clk->core 1
CAPPED_DATA 0 sensor->reset 1
DATA_SOURCE 0 sensor $0
TERMINATED 0 sensor->src->sd.entity.name 1
TERMINATED 0 sensor->src->sd.name 1
MEM_ZERO 0 sensor
MEM_ZERO 0 sensor->hwcfg.strobe_setup
MEM_ZERO 0 sensor->regulators
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 sensor->ext_clk->core->parent->req_rate