Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pci/controller/pcie-mediatek.c mtk_pcie_probe() -> mtk_pcie_retrain()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->class 0,4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 dev->driver 4096-ptr_max
PARAM_VALUE 0 dev->of_node 0,4096-ptr_max
PARAM_VALUE 0 dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->type 0,4096-ptr_max
PARAM_VALUE 1 host 4096-ptr_max
PARAM_VALUE 1 host->bus 4096-ptr_max
PARAM_VALUE 1 host->bus->busn_res.parent->child 4096-ptr_max
PARAM_VALUE 1 host->bus->busn_res.sibling->start 1-u64max
PARAM_VALUE 1 host->bus->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 host->bus->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 1 host->bus->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 1 host->bus->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 1 host->bus->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 1 host->bus->resources.prev->next->next 4096-ptr_max
PARAM_VALUE 1 host->dev->driver_data->cis_virt (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 host->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 1 host->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 1 host->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 1 host->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 host->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.devres_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 host->dev.dma_io_tlb_mem->defpool.vaddr 0
PARAM_VALUE 1 host->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 1 host->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 1 host->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 1 host->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 1 host->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 1 host->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 1 host->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 1 host->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 1 host->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.driver 0
PARAM_VALUE 1 host->dev.driver_data->callback->add 5235430000054906880
PARAM_VALUE 1 host->dev.driver_data->callback->early_resume 6956900869090054144
PARAM_VALUE 1 host->dev.driver_data->callback->remove 1719268733136482304
PARAM_VALUE 1 host->dev.driver_data->callback->requery 4713442613417914368
PARAM_VALUE 1 host->dev.driver_data->callback->resume 5068206944467017728
PARAM_VALUE 1 host->dev.driver_data->callback->suspend 2738892915008757760
PARAM_VALUE 1 host->dev.driver_data->callback->validate 4934365872137547776
PARAM_VALUE 1 host->dev.driver_data->cdev 0
PARAM_VALUE 1 host->dev.driver_data->cdev->kobj.release.timer.is_hard 0-1
PARAM_VALUE 1 host->dev.driver_data->cdev->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 1 host->dev.driver_data->cdev->kobj.release.timer.is_queued 0-1
PARAM_VALUE 1 host->dev.driver_data->cdev->kobj.release.timer.is_soft 0-1
PARAM_VALUE 1 host->dev.driver_data->cis_mem.flags 0,2-254
PARAM_VALUE 1 host->dev.driver_data->cis_mem.res 0
PARAM_VALUE 1 host->dev.driver_data->cis_virt 0
PARAM_VALUE 1 host->dev.driver_data->d_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 host->dev.driver_data->detaching.counter s32min-s32max
PARAM_VALUE 1 host->dev.driver_data->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 host->dev.driver_data->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 1 host->dev.driver_data->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 1 host->dev.driver_data->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 1 host->dev.driver_data->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 1 host->dev.driver_data->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 1 host->dev.driver_data->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 1 host->dev.driver_data->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 1 host->dev.driver_data->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 1 host->dev.driver_data->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 1 host->dev.driver_data->device_count 0-1
PARAM_VALUE 1 host->dev.driver_data->ops_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 host->dev.driver_data->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 host->dev.driver_data->ops_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 host->dev.driver_data->ops_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 host->dev.driver_data->ops_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 host->dev.driver_data->ops_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 host->dev.driver_data->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 host->dev.driver_data->sfd_lock.dep_map->name 0-255
PARAM_VALUE 1 host->dev.driver_data->sfd_lock.raw_lock.cnts.counter s32min-s32max
PARAM_VALUE 1 host->dev.driver_data->skt_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 host->dev.driver_data->skt_mutex.dep_map->name 0-255
PARAM_VALUE 1 host->dev.driver_data->skt_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 host->dev.driver_data->skt_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 host->dev.driver_data->skt_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 host->dev.driver_data->skt_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 host->dev.driver_data->skt_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 host->dev.driver_data->skt_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 host->dev.flags 4096-ptr_max
PARAM_VALUE 1 host->dev.fwnode->dev 0,4096-ptr_max
PARAM_VALUE 1 host->dev.fwnode->dev->fwnode 4096-ptr_max
PARAM_VALUE 1 host->dev.fwnode->dev->p 1-u64max
PARAM_VALUE 1 host->dev.fwnode->dev->power.set_latency_tolerance 5740181548905971712
PARAM_VALUE 1 host->dev.fwnode->secondary 0,4096-ptr_max
PARAM_VALUE 1 host->dev.fwnode->suppliers.next 4096-ptr_max
PARAM_VALUE 1 host->dev.fwnode->suppliers.next->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.init_name 0
PARAM_VALUE 1 host->dev.kobj->name 0-255
PARAM_VALUE 1 host->dev.kobj->release.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 host->dev.kobj.entry.next->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.kobj.parent->release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 host->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 host->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 1 host->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 1 host->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 1 host->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 1 host->dev.kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.kobj.sd->__parent 0
PARAM_VALUE 1 host->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 host->dev.kobj.sd->dir.children.rb_node 0
PARAM_VALUE 1 host->dev.kobj.sd->priv 4096-ptr_max
PARAM_VALUE 1 host->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 1 host->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 1 host->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 1 host->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 1 host->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 1 host->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 1 host->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.p 0
PARAM_VALUE 1 host->dev.p->dead 1
PARAM_VALUE 1 host->dev.p->deferred_probe_reason 0
PARAM_VALUE 1 host->dev.p->klist_children.get 2213798222526185472
PARAM_VALUE 1 host->dev.p->klist_children.put 3126867300421632000
PARAM_VALUE 1 host->dev.p->knode_class->n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 host->dev.p->knode_class.n_klist 0
PARAM_VALUE 1 host->dev.p->knode_class.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 host->dev.p->knode_parent->n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 host->dev.p->knode_parent.n_klist 0
PARAM_VALUE 1 host->dev.p->knode_parent.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 1 host->dev.parent->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 host->dev.parent->of_node 0,4096-ptr_max
PARAM_VALUE 1 host->dev.physical_location 0,4096-ptr_max
PARAM_VALUE 1 host->dev.physical_location->dock 0
PARAM_VALUE 1 host->dev.physical_location->lid 0
PARAM_VALUE 1 host->dev.physical_location->panel 0
PARAM_VALUE 1 host->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 1 host->dev.power.entry.next->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 1 host->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.power.last_status (-1)
PARAM_VALUE 1 host->dev.power.no_callbacks 1
PARAM_VALUE 1 host->dev.power.runtime_error 0
PARAM_VALUE 1 host->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 1 host->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 1 host->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 1 host->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 host->dev.type->devnode 0
PARAM_VALUE 1 host->dev.type->groups 1373414044247728128
PARAM_VALUE 1 host->dev.type->name 0
PARAM_VALUE 1 host->dev.type->pm 0
PARAM_VALUE 1 host->dev.type->release 1490441382807187456
PARAM_VALUE 1 host->dev.type->uevent 0
PARAM_VALUE 1 host->dma_ranges.next 4096-ptr_max
PARAM_VALUE 1 host->dma_ranges.next->next 4096-ptr_max
PARAM_VALUE 1 host->dma_ranges.prev 0,4096-ptr_max
PARAM_VALUE 1 host->dma_ranges.prev->next 4096-ptr_max
PARAM_VALUE 1 host->dma_ranges.prev->prev 4096-ptr_max
PARAM_VALUE 1 host->domain_nr (-1)
PARAM_VALUE 1 host->ide_stream_ida.xa.xa_flags 33554437
PARAM_VALUE 1 host->ide_stream_ida.xa.xa_head 0
PARAM_VALUE 1 host->ide_stream_ids_ida.xa.xa_flags 33554437
PARAM_VALUE 1 host->ide_stream_ids_ida.xa.xa_head 0
PARAM_VALUE 1 host->native_aer 1
PARAM_VALUE 1 host->native_cxl_error 1
PARAM_VALUE 1 host->native_dpc 1
PARAM_VALUE 1 host->native_ltr 1
PARAM_VALUE 1 host->native_pcie_hotplug 1
PARAM_VALUE 1 host->native_pme 1
PARAM_VALUE 1 host->native_shpc_hotplug 1
PARAM_VALUE 1 host->nr_ide_streams 256
PARAM_VALUE 1 host->ports.next 4096-ptr_max
PARAM_VALUE 1 host->ports.next->next 4096-ptr_max
PARAM_VALUE 1 host->ports.prev 4096-ptr_max
PARAM_VALUE 1 host->ports.prev->next 4096-ptr_max
PARAM_VALUE 1 host->ports.prev->prev 4096-ptr_max
PARAM_VALUE 1 host->private->base 4096-ptr_max
PARAM_VALUE 1 host->private->dev 4096-ptr_max
PARAM_VALUE 1 host->private->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 1 host->private->dev->power.last_status s32min-0,2,4-s32max
PARAM_VALUE 1 host->private->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 1 host->private->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 host->private->free_ck 0,4096-ptr_max
PARAM_VALUE 1 host->private->free_ck->core->dev->power.deferred_resume 0-1
PARAM_VALUE 1 host->private->free_ck->core->dev->power.idle_notification 0-1
PARAM_VALUE 1 host->private->free_ck->core->dev->power.request 0-4
PARAM_VALUE 1 host->private->free_ck->core->dev->power.request_pending 0-1
PARAM_VALUE 1 host->private->free_ck->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 1 host->private->free_ck->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 1 host->private->free_ck->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 1 host->private->free_ck->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 1 host->private->free_ck->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 host->private->free_ck->core->enable_count 0-4294967295
PARAM_VALUE 1 host->private->free_ck->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 1 host->private->free_ck->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 1 host->private->free_ck->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 1 host->private->free_ck->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 1 host->private->free_ck->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 1 host->private->free_ck->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 1 host->private->free_ck->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 1 host->private->free_ck->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 1 host->private->free_ck->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 host->private->free_ck->core->parent->enable_count 0-4294967295
PARAM_VALUE 1 host->private->free_ck->core->parent->prepare_count 0-4294967295
PARAM_VALUE 1 host->private->free_ck->core->parent->protect_count 0-4294967295
PARAM_VALUE 1 host->private->free_ck->core->prepare_count 0-4294967295
PARAM_VALUE 1 host->private->free_ck->core->protect_count 0-4294967295
PARAM_VALUE 1 host->private->ports.next 4096-ptr_max
PARAM_VALUE 1 host->private->ports.next->next 4096-ptr_max
PARAM_VALUE 1 host->private->ports.prev 4096-ptr_max
PARAM_VALUE 1 host->private->ports.prev->next->next 4096-ptr_max
PARAM_VALUE 1 host->private->soc 4096-ptr_max
PARAM_VALUE 1 host->private->soc->quirks 16-u32max
PARAM_VALUE 1 host->windows.next->next 4096-ptr_max
PARAM_VALUE 1 host->windows.prev->next 4096-ptr_max
PARAM_VALUE 1 host->windows.prev->next->next 4096-ptr_max
PARAM_VALUE 1 host->windows.prev->prev 0,4096-ptr_max
BUF_SIZE 0 dev 1616
BUF_SIZE 1 host 1984-3064
BUF_SIZE 1 host 1984-3064
DATA_SOURCE 1 host r devm_pci_alloc_host_bridge
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL