Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpio/gpio-twl6040.c twl6040gpo_get() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 30
BUF_SIZE 0 twl6040 s32min-(-2),1-s32max
BUF_SIZE 0 twl6040 s32min-(-2),1-s32max
DATA_SOURCE 0 twl6040 r gpiochip_get_data
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-twl6040.c twl6040gpo_set() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 30
BUF_SIZE 0 twl6040 s32min-(-2),1-s32max
BUF_SIZE 0 twl6040 s32min-(-2),1-s32max
DATA_SOURCE 0 twl6040 r gpiochip_get_data
RX_PATH
TASK_NOT_RUNNING

sound/soc/codecs/twl6040.c twl6040_read() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 0-15,18,21,23-46
BUF_SIZE 0 twl6040 s32min-(-2),1-s32max
BUF_SIZE 0 twl6040 s32min-(-2),1-s32max
DATA_SOURCE 1 reg $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 twl6040 unit_byte
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &component->io_mutex
HALF_LOCKED2 _T->lock

drivers/input/misc/twl6040-vibra.c twl6040_vib_irq_handler() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 46
RX_PATH
TASK_NOT_RUNNING
UNITS 0 twl6040 unit_byte

drivers/mfd/twl6040.c twl6040_power_down_manual() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 twl6040 4096-ptr_max
PARAM_VALUE 0 twl6040->audpwron 0
PARAM_VALUE 0 twl6040->mutex.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 twl6040->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 twl6040->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 twl6040->power_count 0
PARAM_VALUE 1 reg 5
BUF_SIZE 0 twl6040 s32min-(-1),1-s32max
BUF_SIZE 0 twl6040 s32min-(-1),1-s32max
DATA_SOURCE 0 twl6040 $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 twl6040->clk32k->core->parent->req_rate
UNITS 0 twl6040 unit_byte
LOCK2 0 &twl6040->mutex
TYPE_LOCK (struct twl6040)->mutex

drivers/mfd/twl6040.c twl6040_power_down_manual() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 twl6040 4096-ptr_max
PARAM_VALUE 0 twl6040->audpwron 0
PARAM_VALUE 0 twl6040->mutex.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 twl6040->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 twl6040->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 twl6040->power_count 0
PARAM_VALUE 0 twl6040->regmap 4096-ptr_max
PARAM_VALUE 0 *twl6040->regmap->cache->data 0-4294967295
PARAM_VALUE 1 reg 6
BUF_SIZE 0 twl6040 s32min-(-1),1-s32max
BUF_SIZE 0 twl6040 s32min-(-1),1-s32max
DATA_SOURCE 0 twl6040 $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 twl6040->clk32k->core->parent->req_rate
UNITS 0 twl6040 unit_byte
LOCK2 0 &twl6040->mutex
TYPE_LOCK (struct twl6040)->mutex

drivers/mfd/twl6040.c twl6040_power_down_manual() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 twl6040 4096-ptr_max
PARAM_VALUE 0 twl6040->audpwron 0
PARAM_VALUE 0 twl6040->mutex.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 twl6040->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 twl6040->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 twl6040->power_count 0
PARAM_VALUE 0 twl6040->regmap 4096-ptr_max
PARAM_VALUE 0 *twl6040->regmap->cache->data 0-4294967295
PARAM_VALUE 1 reg 8
BUF_SIZE 0 twl6040 s32min-(-1),1-s32max
BUF_SIZE 0 twl6040 s32min-(-1),1-s32max
DATA_SOURCE 0 twl6040 $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 twl6040->clk32k->core->parent->req_rate
UNITS 0 twl6040 unit_byte
LOCK2 0 &twl6040->mutex
TYPE_LOCK (struct twl6040)->mutex

drivers/mfd/twl6040.c twl6040_power_up_automatic() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 twl6040 4096-ptr_max
PARAM_VALUE 0 twl6040->audpwron 4096-u64max
PARAM_VALUE 0 twl6040->clk32k 0,4096-ptr_max
PARAM_VALUE 0 twl6040->clk32k->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 twl6040->clk32k->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 twl6040->clk32k->core->dev->power.request 0-4
PARAM_VALUE 0 twl6040->clk32k->core->dev->power.request_pending 0-1
PARAM_VALUE 0 twl6040->clk32k->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 twl6040->clk32k->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 twl6040->clk32k->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 twl6040->clk32k->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 twl6040->clk32k->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 twl6040->clk32k->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 twl6040->clk32k->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 twl6040->clk32k->core->parent->dev->power.request 0-4
PARAM_VALUE 0 twl6040->clk32k->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 twl6040->clk32k->core->parent->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 twl6040->clk32k->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 twl6040->clk32k->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 twl6040->clk32k->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 twl6040->clk32k->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 twl6040->clk32k->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 twl6040->clk32k->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 twl6040->clk32k->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 twl6040->clk32k->core->prepare_count 1-4294967295
PARAM_VALUE 0 twl6040->dev 0,4096-ptr_max
PARAM_VALUE 0 twl6040->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 twl6040->dev->class 0,4096-ptr_max
PARAM_VALUE 0 twl6040->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 twl6040->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 twl6040->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 twl6040->ready.done 0-4294967293,u32max
PARAM_VALUE 0 twl6040->ready.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 twl6040->ready.wait.lock.owner (-1)
PARAM_VALUE 0 twl6040->ready.wait.lock.owner_cpu u32max
PARAM_VALUE 0 twl6040->ready.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 twl6040->ready.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 twl6040->regmap 4096-ptr_max
PARAM_VALUE 0 twl6040->regmap->cache_only 0
PARAM_VALUE 1 reg 3
BUF_SIZE 0 twl6040 s32min-(-1),1-s32max
BUF_SIZE 0 twl6040 s32min-(-1),1-s32max
DATA_SOURCE 0 twl6040 $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 twl6040->clk32k->core->parent->req_rate
UNITS 0 twl6040 unit_byte
LOCK2 0 &twl6040->mutex
TYPE_LOCK (struct twl6040)->mutex

drivers/mfd/twl6040.c twl6040_probe() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 twl6040 4096-ptr_max
PARAM_VALUE 0 twl6040->clk32k 0,4096-ptr_max
PARAM_VALUE 0 twl6040->dev 4096-ptr_max
PARAM_VALUE 0 twl6040->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 twl6040->irq 1-u32max
PARAM_VALUE 0 twl6040->mclk 0,4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.first_waiter 0
PARAM_VALUE 0 twl6040->mutex.magic 4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.osq.tail.counter 0
PARAM_VALUE 0 twl6040->mutex.owner.counter 0
PARAM_VALUE 0 twl6040->ready.done 0
PARAM_VALUE 0 twl6040->ready.wait.lock.magic 3735899821
PARAM_VALUE 0 twl6040->ready.wait.lock.owner (-1)
PARAM_VALUE 0 twl6040->ready.wait.lock.owner_cpu u32max
PARAM_VALUE 0 twl6040->ready.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 twl6040->ready.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 twl6040->ready.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 twl6040->ready.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 twl6040->ready.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 twl6040->regmap 0-ptr_max
PARAM_VALUE 1 reg 2
BUF_SIZE 0 twl6040 976
BUF_SIZE 0 twl6040->clk32k (-1)-s32max
BUF_SIZE 0 twl6040->dev 1616
BUF_SIZE 0 twl6040->mclk (-1)-s32max
CAPPED_DATA 0 twl6040->irq 1
DATA_SOURCE 0 twl6040 r devm_kzalloc
BIT_INFO 0 twl6040->irq 0x0,0x7fffffff
MEM_ZERO 0 twl6040
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 twl6040->irq

drivers/mfd/twl6040.c twl6040_probe() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 twl6040 4096-ptr_max
PARAM_VALUE 0 twl6040->audpwron 0,4096-ptr_max
PARAM_VALUE 0 twl6040->clk32k 0,4096-ptr_max
PARAM_VALUE 0 twl6040->dev 4096-ptr_max
PARAM_VALUE 0 twl6040->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 twl6040->irq 1-u32max
PARAM_VALUE 0 twl6040->mclk 0,4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.first_waiter 0
PARAM_VALUE 0 twl6040->mutex.magic 4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.osq.tail.counter 0
PARAM_VALUE 0 twl6040->mutex.owner.counter 0
PARAM_VALUE 0 twl6040->ready.done 0
PARAM_VALUE 0 twl6040->ready.wait.lock.magic 3735899821
PARAM_VALUE 0 twl6040->ready.wait.lock.owner (-1)
PARAM_VALUE 0 twl6040->ready.wait.lock.owner_cpu u32max
PARAM_VALUE 0 twl6040->ready.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 twl6040->ready.wait.task_list.next->next 4096-ptr_max
PARAM_VALUE 0 twl6040->ready.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 twl6040->ready.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 twl6040->ready.wait.task_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 twl6040->regmap 4096-ptr_max
PARAM_VALUE 0 twl6040->rev 1-s32max
PARAM_VALUE 0 *twl6040->regmap->cache->data 0-4294967295
PARAM_VALUE 1 reg 3
BUF_SIZE 0 twl6040 976
BUF_SIZE 0 twl6040->audpwron s32min-(-1),1-s32max
BUF_SIZE 0 twl6040->clk32k (-1)-s32max
BUF_SIZE 0 twl6040->dev 1616
BUF_SIZE 0 twl6040->mclk (-1)-s32max
CAPPED_DATA 0 twl6040->audpwron 1
CAPPED_DATA 0 twl6040->irq 1
DATA_SOURCE 0 twl6040 r devm_kzalloc
BIT_INFO 0 twl6040->irq 0x0,0x7fffffff
MEM_ZERO 0 twl6040
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 twl6040->irq

drivers/mfd/twl6040.c twl6040_set_pll() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 twl6040->mutex.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 twl6040->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 twl6040->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 reg 7
BUF_SIZE 0 twl6040 s32min-(-2),1-s32max
BUF_SIZE 0 twl6040 s32min-(-2),1-s32max
CAPPED_DATA 0 &twl6040->mutex 1
DATA_SOURCE 0 twl6040 $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 twl6040 unit_byte
LOCK2 0 &twl6040->mutex
TYPE_LOCK (struct twl6040)->mutex

drivers/mfd/twl6040.c twl6040_set_pll() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 0 twl6040 4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 twl6040->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 twl6040->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 twl6040->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 twl6040->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 twl6040->regmap 4096-ptr_max
PARAM_VALUE 0 *twl6040->regmap->cache->data 0-4294967295
PARAM_VALUE 1 reg 8
BUF_SIZE 0 twl6040 s32min-(-2),1-s32max
BUF_SIZE 0 twl6040 s32min-(-2),1-s32max
CAPPED_DATA 0 &twl6040->mutex 1
DATA_SOURCE 0 twl6040 $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 twl6040 unit_byte
LOCK2 0 &twl6040->mutex
TYPE_LOCK (struct twl6040)->mutex

drivers/mfd/twl6040.c twl6040_thint_handler() -> twl6040_reg_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 46
DATA_SOURCE 0 twl6040 $1
RX_PATH
TASK_NOT_RUNNING