Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/counter/ftm-quaddec.c ftm_clear_write_protection() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 84 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | data | 0-u32max[c] |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &ftm->ftm_quaddec_mutex |
drivers/counter/ftm-quaddec.c ftm_quaddec_disable() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 84 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 0 | ftm | $0 |
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_disable() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 128 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 0 | ftm | $0 |
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_init() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ftm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 1 | offset | 84 |
| PARAM_VALUE | 2 | data | 1 |
| CAPPED_DATA | 0 | ftm->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_init() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ftm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 1 | offset | 76 |
| PARAM_VALUE | 2 | data | 0 |
| CAPPED_DATA | 0 | ftm->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_init() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ftm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 1 | offset | 8 |
| PARAM_VALUE | 2 | data | u16max |
| CAPPED_DATA | 0 | ftm->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_init() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ftm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 1 | offset | 4 |
| PARAM_VALUE | 2 | data | 0 |
| CAPPED_DATA | 0 | ftm->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_init() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ftm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | data | 0 |
| CAPPED_DATA | 0 | ftm->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_init() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ftm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 1 | offset | 128 |
| PARAM_VALUE | 2 | data | 1 |
| CAPPED_DATA | 0 | ftm->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_init() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ftm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 1 | offset | 112 |
| PARAM_VALUE | 2 | data | 0 |
| CAPPED_DATA | 0 | ftm->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_init() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ftm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 1 | offset | 124 |
| PARAM_VALUE | 2 | data | 0 |
| CAPPED_DATA | 0 | ftm->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_init() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ftm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 1 | offset | 140 |
| PARAM_VALUE | 2 | data | 0 |
| CAPPED_DATA | 0 | ftm->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_init() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ftm->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->pdev->num_resources | 1-u32max |
| PARAM_VALUE | 1 | offset | 88 |
| PARAM_VALUE | 2 | data | u16max |
| CAPPED_DATA | 0 | ftm->pdev->num_resources | 1 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/ftm-quaddec.c ftm_quaddec_set_prescaler() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 0-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | ftm->ftm_quaddec_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | offset | 0 |
| CAPPED_DATA | 0 | &ftm->ftm_quaddec_mutex | 1 |
| DATA_SOURCE | 0 | ftm | r counter_priv |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | data | 0-u32max[c] |
| USER_DATA | 2 | data | 0-u32max[c][u] |
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &ftm->ftm_quaddec_mutex | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ftm_quaddec)->ftm_quaddec_mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/counter/ftm-quaddec.c ftm_reset_counter() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 4 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &ftm->ftm_quaddec_mutex | |
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/counter/ftm-quaddec.c ftm_set_write_protection() -> ftm_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ftm | 4096-ptr_max |
| PARAM_VALUE | 0 | ftm->ftm_base | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 116 |
| DATA_SOURCE | 0 | ftm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | data | 0-u32max[c] |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &ftm->ftm_quaddec_mutex |