Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/media/pci/mgb4/mgb4_core.c mgb4_probe() -> init_i2c()

Type Parameter Key Value
PARAM_VALUE 0 mgbdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->cmt.membase 0
PARAM_VALUE 0 mgbdev->pdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->pdev->bus 4096-ptr_max
PARAM_VALUE 0 mgbdev->pdev->driver 4096-ptr_max
PARAM_VALUE 0 mgbdev->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 mgbdev->pdev->pcie_cap 0-1
PARAM_VALUE 0 mgbdev->spi_pdev 4096-u64max
PARAM_VALUE 0 mgbdev->spi_pdev->dev->driver_data->cis_virt (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 mgbdev->spi_pdev->dev.devres_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mgbdev->spi_pdev->dev.driver_data->cdev->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 mgbdev->spi_pdev->dev.driver_data->cdev->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 mgbdev->spi_pdev->dev.driver_data->cdev->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 mgbdev->spi_pdev->dev.driver_data->cdev->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 mgbdev->spi_pdev->dev.driver_data->ops_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 mgbdev->spi_pdev->dev.driver_data->sfd_lock.dep_map->name 0-255
PARAM_VALUE 0 mgbdev->spi_pdev->dev.driver_data->skt_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 mgbdev->spi_pdev->dev.driver_data->skt_mutex.dep_map->name 0-255
PARAM_VALUE 0 mgbdev->spi_pdev->dev.driver_data->skt_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj->release.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj.entry.prev 4096-ptr_max
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj.parent 0
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj.parent->release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 mgbdev->spi_pdev->dev.kobj.sd 0
PARAM_VALUE 0 mgbdev->spi_pdev->dev.mutex.dep_map->name 0-255
PARAM_VALUE 0 mgbdev->spi_pdev->dev.mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mgbdev->spi_pdev->dev.mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mgbdev->spi_pdev->dev.mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mgbdev->spi_pdev->dev.mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mgbdev->spi_pdev->dev.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mgbdev->spi_pdev->dev.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 mgbdev->spi_pdev->dev.p->dead 1
PARAM_VALUE 0 mgbdev->spi_pdev->dev.p->knode_class.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 mgbdev->spi_pdev->dev.p->knode_parent.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 mgbdev->spi_pdev->dev.parent->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 mgbdev->spi_pdev->dev.power.can_wakeup 0
PARAM_VALUE 0 mgbdev->spi_pdev->dev.power.in_dpm_list 0
PARAM_VALUE 0 mgbdev->spi_pdev->dev.power.irq_safe 0
PARAM_VALUE 0 mgbdev->spi_pdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 mgbdev->spi_pdev->id (-2)
PARAM_VALUE 0 mgbdev->video.membase 0
PARAM_VALUE 0 mgbdev->xdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->xdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 mgbdev->xdev->dev.driver_data->rmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 mgbdev->xdev->dev.driver_data->rmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 mgbdev->xdev->dev.driver_data->rmap->cache->cached_rbnode->node.__rb_parent_color 0-1
PARAM_VALUE 0 mgbdev->xdev->dev.driver_data->rmap->cache_dirty 1
PARAM_VALUE 0 *mgbdev->xdev->dev.driver_data->rmap->cache->data 0-4294967295
BUF_SIZE 0 mgbdev 1080
BUF_SIZE 0 mgbdev->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064
CAPPED_DATA 0 mgbdev->xdev->dev.driver_data->irq_num 1
DATA_SOURCE 0 mgbdev r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 mgbdev->pdev->current_state 0-3[c]

drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_i2c_long_if() -> init_i2c()

Type Parameter Key Value
PARAM_VALUE 0 mgbdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->link 0-3
PARAM_VALUE 0 mgbdev->ramcfg 0,2147483648-2147483903
PARAM_VALUE 0 mgbdev->subdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->subdev->device 4096-ptr_max
PARAM_VALUE 0 mgbdev->subdev->device->bios 4096-ptr_max
BUF_SIZE 0 mgbdev->outp (-1),44
BUF_SIZE 0 mgbdev->subdev (-1),296
CAPPED_DATA 0 mgbdev->subdev 1
DATA_SOURCE 0 mgbdev $0
DATA_SOURCE 1 index r nvbios_rd08
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->mutex
HALF_LOCKED2 &disp->super.mutex
HALF_LOCKED2 &outp->dp.mutex
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_rdi2cr() -> init_i2c()

Type Parameter Key Value
PARAM_VALUE 0 mgbdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->link 0-3
PARAM_VALUE 0 mgbdev->ramcfg 0,2147483648-2147483903
PARAM_VALUE 0 mgbdev->subdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->subdev->device 4096-ptr_max
PARAM_VALUE 0 mgbdev->subdev->device->bios 4096-ptr_max
BUF_SIZE 0 mgbdev->outp (-1),44
BUF_SIZE 0 mgbdev->subdev (-1),296
CAPPED_DATA 0 mgbdev->subdev 1
DATA_SOURCE 0 mgbdev $0
DATA_SOURCE 1 index $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->mutex
HALF_LOCKED2 &disp->super.mutex
HALF_LOCKED2 &outp->dp.mutex
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_wri2cr() -> init_i2c()

Type Parameter Key Value
PARAM_VALUE 0 mgbdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->link 0-3
PARAM_VALUE 0 mgbdev->ramcfg 0,2147483648-2147483903
PARAM_VALUE 0 mgbdev->subdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->subdev->device 4096-ptr_max
PARAM_VALUE 0 mgbdev->subdev->device->bios 4096-ptr_max
BUF_SIZE 0 mgbdev->outp (-1),44
BUF_SIZE 0 mgbdev->subdev (-1),296
CAPPED_DATA 0 mgbdev->subdev 1
DATA_SOURCE 0 mgbdev $0
DATA_SOURCE 1 index $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->mutex
HALF_LOCKED2 &disp->super.mutex
HALF_LOCKED2 &outp->dp.mutex
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_zm_i2c() -> init_i2c()

Type Parameter Key Value
PARAM_VALUE 0 mgbdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->link 0-3
PARAM_VALUE 0 mgbdev->ramcfg 0,2147483648-2147483903
PARAM_VALUE 0 mgbdev->subdev 4096-ptr_max
PARAM_VALUE 0 mgbdev->subdev->device 4096-ptr_max
PARAM_VALUE 0 mgbdev->subdev->device->bios 4096-ptr_max
BUF_SIZE 0 mgbdev->outp (-1),44
BUF_SIZE 0 mgbdev->subdev (-1),296
CAPPED_DATA 0 mgbdev->subdev 1
DATA_SOURCE 0 mgbdev $0
DATA_SOURCE 1 index r nvbios_rd08
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->mutex
HALF_LOCKED2 &disp->super.mutex
HALF_LOCKED2 &outp->dp.mutex
HALF_LOCKED2 &pool->lock