Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpio/gpio-pca953x.c device_pca95xx_init() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->check_reg 0,1241606576034791424,3416378081484398592
PARAM_VALUE 0 chip->client 4096-ptr_max
PARAM_VALUE 0 chip->client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->client->debugfs 4096-u64max
PARAM_VALUE 0 chip->client->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 chip->client->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 chip->client->devres_group_id 4096-ptr_max
PARAM_VALUE 0 chip->driver_data 1-u64max
PARAM_VALUE 0 chip->gpio_chip.can_sleep 1
PARAM_VALUE 0 chip->gpio_chip.direction_input 104424730949877760
PARAM_VALUE 0 chip->gpio_chip.direction_output 8333118320305221632
PARAM_VALUE 0 chip->gpio_chip.get 5416117663565582336
PARAM_VALUE 0 chip->gpio_chip.get_direction 9092824197303353344
PARAM_VALUE 0 chip->gpio_chip.get_multiple 5931390390655549440
PARAM_VALUE 0 chip->gpio_chip.ngpio 0-255
PARAM_VALUE 0 chip->gpio_chip.owner 0
PARAM_VALUE 0 chip->gpio_chip.parent 4096-ptr_max
PARAM_VALUE 0 chip->gpio_chip.set 2662849750657331200
PARAM_VALUE 0 chip->gpio_chip.set_config 2873850921182941184
PARAM_VALUE 0 chip->gpio_chip.set_multiple 8349782700791783424
PARAM_VALUE 0 chip->i2c_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_lock.first_waiter 0
PARAM_VALUE 0 chip->i2c_lock.magic 4096-ptr_max
PARAM_VALUE 0 chip->i2c_lock.osq.tail.counter 0
PARAM_VALUE 0 chip->i2c_lock.owner.counter 0
PARAM_VALUE 0 chip->recalc_addr 36644281756033024,1835199815368564736,3024630328615309312
PARAM_VALUE 0 chip->regmap 4096-ptr_max
PARAM_VALUE 0 chip->regmap->cache_dirty 1
PARAM_VALUE 0 chip->regmap->no_sync_defaults 1
PARAM_VALUE 0 chip->regs 1516784657437458432,7292427801671557120
PARAM_VALUE 0 chip->regulator 4096-ptr_max
PARAM_VALUE 2 offset 0
BUF_SIZE 0 chip 936
BUF_SIZE 0 chip->regs 16
DATA_SOURCE 0 chip $0
CONTAINER 0 -920+0 $(-1)
CONTAINER 1 *(-920+4+912) $(-1)
BIT_INFO 0 chip->recalc_addr 0x200230040000,0x39ffffc7bffff000
MEM_ZERO 0 chip
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chip->client->irq

drivers/gpio/gpio-pca953x.c device_pca95xx_init() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->check_reg 0,1241606576034791424,3416378081484398592
PARAM_VALUE 0 chip->client 4096-ptr_max
PARAM_VALUE 0 chip->client->adapter 4096-ptr_max
PARAM_VALUE 0 chip->client->debugfs 4096-u64max
PARAM_VALUE 0 chip->client->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 chip->client->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 chip->client->devres_group_id 4096-ptr_max
PARAM_VALUE 0 chip->driver_data 1-u64max
PARAM_VALUE 0 chip->gpio_chip.can_sleep 1
PARAM_VALUE 0 chip->gpio_chip.direction_input 104424730949877760
PARAM_VALUE 0 chip->gpio_chip.direction_output 8333118320305221632
PARAM_VALUE 0 chip->gpio_chip.get 5416117663565582336
PARAM_VALUE 0 chip->gpio_chip.get_direction 9092824197303353344
PARAM_VALUE 0 chip->gpio_chip.get_multiple 5931390390655549440
PARAM_VALUE 0 chip->gpio_chip.ngpio 0-255
PARAM_VALUE 0 chip->gpio_chip.owner 0
PARAM_VALUE 0 chip->gpio_chip.parent 4096-ptr_max
PARAM_VALUE 0 chip->gpio_chip.set 2662849750657331200
PARAM_VALUE 0 chip->gpio_chip.set_config 2873850921182941184
PARAM_VALUE 0 chip->gpio_chip.set_multiple 8349782700791783424
PARAM_VALUE 0 chip->i2c_lock.dep_map->name 0-255
PARAM_VALUE 0 chip->i2c_lock.first_waiter 0
PARAM_VALUE 0 chip->i2c_lock.magic 4096-ptr_max
PARAM_VALUE 0 chip->i2c_lock.osq.tail.counter 0
PARAM_VALUE 0 chip->i2c_lock.owner.counter 0
PARAM_VALUE 0 chip->recalc_addr 36644281756033024,1835199815368564736,3024630328615309312
PARAM_VALUE 0 chip->regmap 4096-ptr_max
PARAM_VALUE 0 chip->regmap->async 0
PARAM_VALUE 0 chip->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chip->regmap->async_ret s32min-s32max
PARAM_VALUE 0 chip->regmap->cache_bypass 0-1
PARAM_VALUE 0 chip->regmap->cache_dirty 0-1
PARAM_VALUE 0 chip->regmap->cache_only 0
PARAM_VALUE 0 chip->regmap->cache_type 1-4294967295
PARAM_VALUE 0 chip->regmap->no_sync_defaults 0
PARAM_VALUE 0 chip->regs 1516784657437458432,7292427801671557120
PARAM_VALUE 0 chip->regulator 4096-ptr_max
PARAM_VALUE 0 *chip->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 offset 0
BUF_SIZE 0 chip 936
BUF_SIZE 0 chip->regs 16
DATA_SOURCE 0 chip $0
CONTAINER 0 -920+0 $(-1)
CONTAINER 1 *(-920+0+912) $(-1)
BIT_INFO 0 chip->recalc_addr 0x200230040000,0x39ffffc7bffff000
MEM_ZERO 0 chip
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chip->client->irq

drivers/gpio/gpio-pca953x.c pca953x_gpio_direction_input_unlocked() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->regs 4096-ptr_max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip r gpiochip_get_data
DATA_SOURCE 2 offset $1
CONTAINER 0 -920+0 $(-1)
CONTAINER 1 *(-920+0+912) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_gpio_direction_output() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->regs 4096-ptr_max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip r gpiochip_get_data
DATA_SOURCE 2 offset $1
CONTAINER 0 -920+0 $(-1)
CONTAINER 1 *(-920+0+912) $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_gpio_direction_output() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->regs 4096-ptr_max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip r gpiochip_get_data
DATA_SOURCE 2 offset $1
CONTAINER 0 -920+0 $(-1)
CONTAINER 1 *(-920+4+912) $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_gpio_get_direction() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->regs 4096-ptr_max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip r gpiochip_get_data
DATA_SOURCE 2 offset $1
CONTAINER 0 -920+0 $(-1)
CONTAINER 1 *(-920+0+912) $(-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 offset
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_gpio_get_value() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->regs 4096-ptr_max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip r gpiochip_get_data
DATA_SOURCE 2 offset $1
CONTAINER 0 -920+0 $(-1)
CONTAINER 1 *(-920+8+912) $(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-pca953x.c pca953x_gpio_set_pull_up_down() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg_base 35
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip $0
DATA_SOURCE 2 offset $1
CONTAINER 0 -920+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_gpio_set_pull_up_down() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg_base 36
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip $0
DATA_SOURCE 2 offset $1
CONTAINER 0 -920+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_gpio_set_value() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->regs 4096-ptr_max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip r gpiochip_get_data
DATA_SOURCE 2 offset $1
CONTAINER 0 -920+0 $(-1)
CONTAINER 1 *(-920+4+912) $(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-pca953x.c pca953x_read_regs() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 offset 0
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip->regs (-1),16
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 reg_base $1
CONTAINER 0 -920+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chip->client->irq
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_regcache_sync() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->client 4096-ptr_max
PARAM_VALUE 0 chip->regmap 4096-ptr_max
PARAM_VALUE 0 chip->regmap->cache_dirty 1
PARAM_VALUE 0 chip->regmap->cache_only 0
PARAM_VALUE 0 chip->regmap->no_sync_defaults 1
PARAM_VALUE 0 chip->regs 4096-ptr_max
PARAM_VALUE 2 offset 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip $0
CONTAINER 0 -920+0 $(-1)
CONTAINER 1 *(-920+0+912) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_regcache_sync() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->client 4096-ptr_max
PARAM_VALUE 0 chip->regmap 4096-ptr_max
PARAM_VALUE 0 chip->regmap->async 0
PARAM_VALUE 0 chip->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chip->regmap->async_ret s32min-s32max
PARAM_VALUE 0 chip->regmap->cache_bypass 0-1
PARAM_VALUE 0 chip->regmap->cache_dirty 0-1
PARAM_VALUE 0 chip->regmap->cache_only 0
PARAM_VALUE 0 chip->regmap->cache_type 1-4294967295
PARAM_VALUE 0 chip->regmap->no_sync_defaults 0
PARAM_VALUE 0 chip->regs 4096-ptr_max
PARAM_VALUE 0 *chip->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 2 offset 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip $0
CONTAINER 0 -920+0 $(-1)
CONTAINER 1 *(-920+4+912) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_regcache_sync() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->client 4096-ptr_max
PARAM_VALUE 0 chip->regmap 4096-ptr_max
PARAM_VALUE 0 chip->regmap->async 0
PARAM_VALUE 0 chip->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chip->regmap->async_ret s32min-s32max
PARAM_VALUE 0 chip->regmap->cache_bypass 0-1
PARAM_VALUE 0 chip->regmap->cache_dirty 0-1
PARAM_VALUE 0 chip->regmap->cache_only 0
PARAM_VALUE 0 chip->regmap->cache_type 1-4294967295
PARAM_VALUE 0 chip->regmap->no_sync_defaults 0
PARAM_VALUE 0 chip->regs 4096-ptr_max
PARAM_VALUE 0 *chip->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 reg_base 34
PARAM_VALUE 2 offset 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip $0
CONTAINER 0 -920+0 $(-1)
BIT_INFO 0 chip->driver_data 0x200,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_regcache_sync() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->client 4096-ptr_max
PARAM_VALUE 0 chip->regmap 4096-ptr_max
PARAM_VALUE 0 chip->regmap->async 0
PARAM_VALUE 0 chip->regmap->async_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 chip->regmap->async_ret s32min-s32max
PARAM_VALUE 0 chip->regmap->cache_bypass 0-1
PARAM_VALUE 0 chip->regmap->cache_dirty 0-1
PARAM_VALUE 0 chip->regmap->cache_only 0
PARAM_VALUE 0 chip->regmap->cache_type 1-4294967295
PARAM_VALUE 0 chip->regmap->no_sync_defaults 0
PARAM_VALUE 0 chip->regs 4096-ptr_max
PARAM_VALUE 0 *chip->regmap->work_buf (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 reg_base 37
PARAM_VALUE 2 offset 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip $0
CONTAINER 0 -920+0 $(-1)
BIT_INFO 0 chip->driver_data 0x200,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/gpio/gpio-pca953x.c pca953x_write_regs() -> (struct pca953x_chip)->recalc_addr()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 offset 0
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip->regs (-1),16
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 reg_base $1
CONTAINER 0 -920+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 chip->client->irq
HALF_LOCKED2 _T->lock