Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/spi/spi-topcliff-pch.c pch_spi_clear_fifo() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 16777216
PARAM_VALUE 3 clr 0
DATA_SOURCE 0 host $0
PREEMPT_ADD
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags

drivers/spi/spi-topcliff-pch.c pch_spi_clear_fifo() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 0
PARAM_VALUE 3 clr 16777216
DATA_SOURCE 0 host $0
PREEMPT_ADD
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags

drivers/spi/spi-topcliff-pch.c pch_spi_handle_dma() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 131072,1179648-11665408,4294049792
PARAM_VALUE 3 clr 16711680
CAPPED_DATA 2 set 1
BIT_INFO 2 set 0x20000,0xf20000
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &data->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pch_spi_data)->lock

drivers/spi/spi-topcliff-pch.c pch_spi_handler_sub() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 0
PARAM_VALUE 3 clr 7936
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/spi/spi-topcliff-pch.c pch_spi_pd_remove() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->add_lock.dep_map->name 0-255
PARAM_VALUE 0 host->add_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 host->add_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 host->add_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 host->add_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 host->add_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 host->add_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 host->add_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 host->add_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 host->dev->driver_data->cis_virt (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev->driver_data->fake_cis 0-255
PARAM_VALUE 0 host->dev->driver_data->skt_mutex.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev->kobj.parent->kset->kobj.release.timer->entry->next->pprev 1-u64max
PARAM_VALUE 0 host->dev->kobj.release.timer->entry->next->pprev 1-u64max
PARAM_VALUE 0 host->dev->kobj.release.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 host->dev->p->knode_bus.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev->p->knode_class.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev->p->knode_driver.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev->p->knode_parent.n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev.devres_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->dev.driver_data->battery_dev->id (-2)
PARAM_VALUE 0 host->dev.driver_data->callback->add 5235430000054906880
PARAM_VALUE 0 host->dev.driver_data->callback->early_resume 6956900869090054144
PARAM_VALUE 0 host->dev.driver_data->callback->remove 1719268733136482304
PARAM_VALUE 0 host->dev.driver_data->callback->requery 4713442613417914368
PARAM_VALUE 0 host->dev.driver_data->callback->resume 5068206944467017728
PARAM_VALUE 0 host->dev.driver_data->callback->suspend 2738892915008757760
PARAM_VALUE 0 host->dev.driver_data->callback->validate 4934365872137547776
PARAM_VALUE 0 host->dev.driver_data->cdev->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 host->dev.driver_data->cdev->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 host->dev.driver_data->cdev->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 host->dev.driver_data->cdev->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 host->dev.driver_data->cis_mem.card_start 0-4294967295
PARAM_VALUE 0 host->dev.driver_data->cis_mem.flags 0,2-254
PARAM_VALUE 0 host->dev.driver_data->d_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->detaching.counter s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.work.flags 0-4294967295
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.work.is_hard 0-1
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.work.is_lazy 0-1
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.work.is_queued 0-1
PARAM_VALUE 0 host->dev.driver_data->dev.kobj.release.work.is_soft 0-1
PARAM_VALUE 0 host->dev.driver_data->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 host->dev.driver_data->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->device_count 0-1
PARAM_VALUE 0 host->dev.driver_data->functions 0-u16max
PARAM_VALUE 0 host->dev.driver_data->ops_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev.driver_data->ops_mutex.dep_map->name 0-255
PARAM_VALUE 0 host->dev.driver_data->ops_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 host->dev.driver_data->ops_mutex.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 host->dev.driver_data->ops_mutex.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 host->dev.driver_data->ops_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 host->dev.driver_data->ops_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 host->dev.driver_data->ops_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 host->dev.driver_data->ops_mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 host->dev.driver_data->ops_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->ops_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->pcmcia_pfc 0-255
PARAM_VALUE 0 host->dev.driver_data->present.counter s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->resource_setup_done 0-255
PARAM_VALUE 0 host->dev.driver_data->sfd_lock.dep_map->name 0-255
PARAM_VALUE 0 host->dev.driver_data->sfd_lock.raw_lock.cnts.counter s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->skt_mutex.dep_map->name 0-255
PARAM_VALUE 0 host->dev.driver_data->skt_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 host->dev.driver_data->skt_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 host->dev.driver_data->skt_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 host->dev.driver_data->skt_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 host->dev.driver_data->skt_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 host->dev.driver_data->skt_mutex.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 host->dev.driver_data->skt_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 host->dev.driver_data->skt_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 host->dev.driver_data->state 0-4294967295
PARAM_VALUE 0 host->dev.driver_data->touch_dev->id (-2)
PARAM_VALUE 0 host->dev.groups 0,4096-ptr_max
PARAM_VALUE 0 host->dev.iommu_group->mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev.iommu_group->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev.iommu_group->owner_cnt 0-4294967295
PARAM_VALUE 0 host->dev.kobj.parent 0
PARAM_VALUE 0 host->dev.kobj.parent->kset->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 host->dev.kobj.parent->kset->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 host->dev.kobj.parent->kset->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 host->dev.kobj.parent->kset->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 host->dev.kobj.parent->kset->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 host->dev.kobj.parent->kset->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->dev.kobj.parent->release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 host->dev.kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 host->dev.kobj.release.work.flags 0-4294967295
PARAM_VALUE 0 host->dev.kobj.release.work.is_hard 0-1
PARAM_VALUE 0 host->dev.kobj.release.work.is_lazy 0-1
PARAM_VALUE 0 host->dev.kobj.release.work.is_queued 0-1
PARAM_VALUE 0 host->dev.kobj.release.work.is_soft 0-1
PARAM_VALUE 0 host->dev.kobj.sd 0
PARAM_VALUE 0 host->dev.kobj.state_in_sysfs 0
PARAM_VALUE 0 host->dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 host->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 host->dev.links.defer_sync.next->prev 4096-ptr_max
PARAM_VALUE 0 host->dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 host->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 host->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 host->dev.links.status 0,3
PARAM_VALUE 0 host->dev.mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev.p 4096-ptr_max
PARAM_VALUE 0 host->dev.p->dead 0-1
PARAM_VALUE 0 host->dev.p->knode_bus.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 host->dev.p->knode_class->n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev.p->knode_driver.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 host->dev.p->knode_parent->n_klist (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 host->dev.parent->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 host->dev.parent->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 host->dev.parent->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 host->dev.parent->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 host->dev.parent->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 host->dev.parent->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 host->dev.parent->kobj.release.work.flags 0-4294967295
PARAM_VALUE 0 host->dev.parent->kobj.release.work.is_hard 0-1
PARAM_VALUE 0 host->dev.parent->kobj.release.work.is_lazy 0-1
PARAM_VALUE 0 host->dev.parent->kobj.release.work.is_queued 0-1
PARAM_VALUE 0 host->dev.parent->kobj.release.work.is_soft 0-1
PARAM_VALUE 0 host->dev.parent->kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 host->dev.parent->kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 host->dev.parent->kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 host->dev.pm_domain 0,4096-ptr_max
PARAM_VALUE 0 host->dev.power.driver_flags 0
PARAM_VALUE 0 host->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 host->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 host->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 host->dev.power.in_dpm_list 0
PARAM_VALUE 0 host->dev.power.qos->freq.max_freq.default_value s32max
PARAM_VALUE 0 host->dev.power.qos->freq.max_freq.no_constraint_value s32max
PARAM_VALUE 0 host->dev.power.qos->freq.max_freq.target_value s32max
PARAM_VALUE 0 host->dev.power.subsys_data 0,4096-ptr_max
PARAM_VALUE 0 host->dev.power.use_autosuspend 0
PARAM_VALUE 0 host->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 host->dev.type 0,4096-ptr_max
PARAM_VALUE 0 host->queue_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 host->running 0
PARAM_VALUE 0 host->userspace_registered 0
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 0
PARAM_VALUE 3 clr 7936
CAPPED_DATA 0 host 1
CAPPED_DATA 0 host->dev.physical_location 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/spi/spi-topcliff-pch.c pch_spi_pd_suspend() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 0
PARAM_VALUE 3 clr 7936
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/spi/spi-topcliff-pch.c pch_spi_set_baud_rate() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 1 idx 4
PARAM_VALUE 2 set 0-1023
PARAM_VALUE 3 clr 1023
DATA_SOURCE 0 host $0
FUZZY_MAX 2 set 1023
HARD_MAX 2 set 1023
PREEMPT_ADD
NOCHECK_CALL
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags

drivers/spi/spi-topcliff-pch.c pch_spi_set_bits_per_word() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 4
PARAM_VALUE 2 set 0
PARAM_VALUE 3 clr 1024
DATA_SOURCE 0 host $0
PREEMPT_ADD
NOCHECK_CALL
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags

drivers/spi/spi-topcliff-pch.c pch_spi_set_bits_per_word() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 4
PARAM_VALUE 2 set 1024
PARAM_VALUE 3 clr 0
DATA_SOURCE 0 host $0
PREEMPT_ADD
NOCHECK_CALL
HALF_LOCKED2 &data->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags

drivers/spi/spi-topcliff-pch.c pch_spi_set_host_mode() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 2
PARAM_VALUE 3 clr 0
BUF_SIZE 0 host (-1),2888-5752
BUF_SIZE 0 host (-1),2888-5752
DATA_SOURCE 0 host $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/spi/spi-topcliff-pch.c pch_spi_set_ir() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 7343617
PARAM_VALUE 3 clr 15736576
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/spi/spi-topcliff-pch.c pch_spi_set_ir() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 15731713
PARAM_VALUE 3 clr 15736576
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/spi/spi-topcliff-pch.c pch_spi_set_ir() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 0
PARAM_VALUE 3 clr 7937
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/spi/spi-topcliff-pch.c pch_spi_setup_transfer() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 0,16,32,48,64,80,96,112
PARAM_VALUE 3 clr 112
FUZZY_MAX 2 set 0
BIT_INFO 2 set 0x0,0x70
PREEMPT_ADD
NOCHECK_CALL
LOCK2 &data->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pch_spi_data)->lock

drivers/spi/spi-topcliff-pch.c pch_spi_start_transfer() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 1
PARAM_VALUE 3 clr 7936
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &data->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pch_spi_data)->lock

drivers/spi/spi-topcliff-pch.c pch_spi_start_transfer() -> pch_spi_setclr_reg()

Type Parameter Key Value
PARAM_VALUE 0 host 4096-ptr_max
PARAM_VALUE 0 host->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 host->dev.flags 4096-ptr_max
PARAM_VALUE 1 idx 0
PARAM_VALUE 2 set 0
PARAM_VALUE 3 clr 16719617
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &data->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct pch_spi_data)->lock