Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c cros_ec_sensors_core_init() -> iio_device_set_clock()

Type Parameter Key Value
PARAM_VALUE 0 indio_dev 4096-ptr_max
PARAM_VALUE 0 indio_dev->buffer 1-u64max
PARAM_VALUE 0 indio_dev->dev.bus 3686698683211882496
PARAM_VALUE 0 indio_dev->dev.devres_head.next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.devres_head.next->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.devres_head.prev->prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_io_tlb_mem 1473117533515866112
PARAM_VALUE 0 indio_dev->dev.dma_io_tlb_mem->dyn_alloc.data.counter 9007199250546704
PARAM_VALUE 0 indio_dev->dev.dma_io_tlb_mem->dyn_alloc.entry.prev 1473117533515866344
PARAM_VALUE 0 indio_dev->dev.dma_io_tlb_mem->dyn_alloc.func 1583282886040592384
PARAM_VALUE 0 indio_dev->dev.dma_io_tlb_mem->pools.prev 1473117533515866320
PARAM_VALUE 0 indio_dev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_io_tlb_pools.next->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_io_tlb_pools.prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_io_tlb_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_io_tlb_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_pools.next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_pools.next->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_pools.prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_pools.prev->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_pools.prev->prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.dma_uses_io_tlb 0
PARAM_VALUE 0 indio_dev->dev.flags 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.kobj->name 0-255
PARAM_VALUE 0 indio_dev->dev.kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 indio_dev->dev.kobj.kset 0,4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.kobj.ktype 5399513539053756416
PARAM_VALUE 0 indio_dev->dev.kobj.name 1-u64max
PARAM_VALUE 0 indio_dev->dev.kobj.state_in_sysfs 0
PARAM_VALUE 0 indio_dev->dev.kobj.state_initialized 1
PARAM_VALUE 0 indio_dev->dev.links.consumers.next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.consumers.next->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.consumers.prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.consumers.prev->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.consumers.prev->prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.defer_sync.next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.defer_sync.next->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.defer_sync.prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.defer_sync.prev->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.defer_sync.prev->prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.status 0
PARAM_VALUE 0 indio_dev->dev.links.suppliers.next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.suppliers.next->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.suppliers.prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.suppliers.prev->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.links.suppliers.prev->prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.numa_node (-1)
PARAM_VALUE 0 indio_dev->dev.parent 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.power.deferred_resume 0
PARAM_VALUE 0 indio_dev->dev.power.disable_depth 1
PARAM_VALUE 0 indio_dev->dev.power.early_init 1
PARAM_VALUE 0 indio_dev->dev.power.entry.next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.power.entry.next->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.power.entry.prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.power.entry.prev->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.power.entry.prev->prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.power.idle_notification 0
PARAM_VALUE 0 indio_dev->dev.power.ignore_children 0
PARAM_VALUE 0 indio_dev->dev.power.is_late_suspended 0
PARAM_VALUE 0 indio_dev->dev.power.is_noirq_suspended 0
PARAM_VALUE 0 indio_dev->dev.power.is_prepared 0
PARAM_VALUE 0 indio_dev->dev.power.is_suspended 0
PARAM_VALUE 0 indio_dev->dev.power.last_status (-1)
PARAM_VALUE 0 indio_dev->dev.power.needs_force_resume 0
PARAM_VALUE 0 indio_dev->dev.power.qos 0
PARAM_VALUE 0 indio_dev->dev.power.request 0
PARAM_VALUE 0 indio_dev->dev.power.request_pending 0
PARAM_VALUE 0 indio_dev->dev.power.runtime_auto 1
PARAM_VALUE 0 indio_dev->dev.power.runtime_error 0
PARAM_VALUE 0 indio_dev->dev.power.runtime_status 2
PARAM_VALUE 0 indio_dev->dev.power.timer_expires 0
PARAM_VALUE 0 indio_dev->dev.power.wait_queue.head.next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.power.wait_queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.power.wait_queue.head.prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.power.wait_queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.power.wait_queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 indio_dev->dev.type 8597499428107866112
PARAM_VALUE 0 indio_dev->modes 0,4-s32max
PARAM_VALUE 0 indio_dev->setup_ops 0
PARAM_VALUE 0 indio_dev->setup_ops->postdisable 0,4096-ptr_max
PARAM_VALUE 0 indio_dev->setup_ops->postenable 0,4096-ptr_max
PARAM_VALUE 0 indio_dev->setup_ops->predisable 0,4096-ptr_max
PARAM_VALUE 0 indio_dev->setup_ops->preenable 0,4096-ptr_max
PARAM_VALUE 0 indio_dev->setup_ops->validate_scan_mask 0,612156762414178304,1723505689039380480,1804277016954449920,1880900960529330176,5322840054560604160,6258182237637267456
PARAM_VALUE 1 clock_id 7
BUF_SIZE 0 indio_dev 1752
BUF_SIZE 0 indio_dev->dev.parent 1616
BUF_SIZE 0 indio_dev->label (-1),11,13-14
BUF_SIZE 0 indio_dev->name s32min,(-10),1-s32max
DATA_SOURCE 0 indio_dev $1
STR_LEN 0 indio_dev->label (-1),10,12-13
RX_PATH
TASK_NOT_RUNNING

drivers/iio/industrialio-core.c current_timestamp_clock_store() -> iio_device_set_clock()

Type Parameter Key Value
PARAM_VALUE 0 indio_dev 4096-ptr_max
PARAM_VALUE 1 clock_id 0-1,4-7,11
CAPPED_DATA 1 clock_id 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex