Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pinctrl/pinctrl-microchip-sgpio.c microchip_sgpio_irq_setreg() -> sgpio_clrsetbits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 1 rno 8
PARAM_VALUE 4 set 0
DATA_SOURCE 1 rno $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/pinctrl/pinctrl-microchip-sgpio.c microchip_sgpio_irq_setreg() -> sgpio_clrsetbits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 1 rno 8
PARAM_VALUE 3 clear 0
DATA_SOURCE 1 rno $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/pinctrl/pinctrl-microchip-sgpio.c microchip_sgpio_irq_settype() -> sgpio_clrsetbits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->properties 4096-ptr_max
PARAM_VALUE 0 priv->regs 4096-ptr_max
PARAM_VALUE 0 priv->regs->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regs->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 priv->regs->cache_dirty 1
PARAM_VALUE 0 *priv->regs->cache->data 0-4294967295
PARAM_VALUE 1 rno 6
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &priv->lock
TYPE_LOCK (struct sgpio_priv)->lock

drivers/pinctrl/pinctrl-microchip-sgpio.c microchip_sgpio_irq_settype() -> sgpio_clrsetbits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->properties 4096-ptr_max
PARAM_VALUE 0 priv->regs 4096-ptr_max
PARAM_VALUE 0 priv->regs->async 0
PARAM_VALUE 0 priv->regs->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regs->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 priv->regs->cache_dirty 1
PARAM_VALUE 1 rno 6
CAPPED_DATA 0 priv->regs->rd_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regs->volatile_table->n_no_ranges 1
CAPPED_DATA 0 priv->regs->volatile_table->n_yes_ranges 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &priv->lock
TYPE_LOCK (struct sgpio_priv)->lock

drivers/pinctrl/pinctrl-microchip-sgpio.c microchip_sgpio_irq_settype() -> sgpio_clrsetbits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->properties 4096-ptr_max
PARAM_VALUE 0 priv->regs 4096-ptr_max
PARAM_VALUE 0 priv->regs->async 0
PARAM_VALUE 0 priv->regs->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 priv->regs->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 priv->regs->cache_dirty 1
PARAM_VALUE 1 rno 5
CAPPED_DATA 0 priv->regs->rd_table->n_yes_ranges 1
CAPPED_DATA 0 priv->regs->volatile_table->n_no_ranges 1
CAPPED_DATA 0 priv->regs->volatile_table->n_yes_ranges 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &priv->lock
TYPE_LOCK (struct sgpio_priv)->lock

drivers/pinctrl/pinctrl-microchip-sgpio.c microchip_sgpio_register_bank() -> sgpio_clrsetbits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->bitcount 0-4
PARAM_VALUE 0 priv->clock 0,12500000
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->devres_head.prev 0
PARAM_VALUE 0 priv->poll_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->poll_lock.first_waiter 0
PARAM_VALUE 0 priv->poll_lock.magic 0,4096-ptr_max
PARAM_VALUE 0 priv->poll_lock.osq.tail.counter 0
PARAM_VALUE 0 priv->poll_lock.owner.counter 0
PARAM_VALUE 0 priv->properties->flags s32min-(-1),1-s32max
PARAM_VALUE 0 priv->regs 4096-ptr_max
PARAM_VALUE 1 rno 3
PARAM_VALUE 2 off 0
PARAM_VALUE 3 clear 0
PARAM_VALUE 4 set 1
BUF_SIZE 0 priv 1496
BUF_SIZE 0 priv->dev 0,1616
DATA_SOURCE 0 priv $1
FUZZY_MAX 0 priv->bitcount 4
FUZZY_MAX 0 priv->clock 12500000
BIT_INFO 0 priv->properties->flags 0x1,0xffffffffffffffff
HARD_MAX 0 priv->bitcount 4
HARD_MAX 0 priv->clock 12500000
MEM_ZERO 0 priv
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/pinctrl/pinctrl-microchip-sgpio.c sgpio_configure_bitstream() -> sgpio_clrsetbits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->clock 0,12500000
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->devres_head.prev 0
PARAM_VALUE 0 priv->poll_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->poll_lock.first_waiter 0
PARAM_VALUE 0 priv->poll_lock.magic 0,4096-ptr_max
PARAM_VALUE 0 priv->poll_lock.osq.tail.counter 0
PARAM_VALUE 0 priv->poll_lock.owner.counter 0
PARAM_VALUE 0 priv->properties->arch 0-2
PARAM_VALUE 0 priv->regs 0-ptr_max
PARAM_VALUE 1 rno 3
PARAM_VALUE 2 off 0
PARAM_VALUE 3 clear 12,24,384
PARAM_VALUE 4 set 32,36-44,64,72-88,1024,1152-1408
BUF_SIZE 0 priv 1496
BUF_SIZE 0 priv->dev 0,1616
DATA_SOURCE 0 priv $0
FUZZY_MAX 0 priv->clock 12500000
FUZZY_MAX 3 clear 384
BIT_INFO 3 clear 0x0,0x19c
BIT_INFO 4 set 0x0,0x5ff
HARD_MAX 0 priv->clock 12500000
HARD_MAX 3 clear 384
MEM_ZERO 0 priv
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/pinctrl/pinctrl-microchip-sgpio.c sgpio_configure_clock() -> sgpio_clrsetbits()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->clock 0,12500000
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->devres_head.prev 0
PARAM_VALUE 0 priv->poll_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->poll_lock.first_waiter 0
PARAM_VALUE 0 priv->poll_lock.magic 0,4096-ptr_max
PARAM_VALUE 0 priv->poll_lock.osq.tail.counter 0
PARAM_VALUE 0 priv->poll_lock.owner.counter 0
PARAM_VALUE 0 priv->properties 4096-ptr_max
PARAM_VALUE 0 priv->properties->arch 0-2
PARAM_VALUE 0 priv->regs 0-ptr_max
PARAM_VALUE 1 rno 4
PARAM_VALUE 2 off 0
PARAM_VALUE 3 clear 4095,1048320
PARAM_VALUE 4 set 0-1048320
BUF_SIZE 0 priv 1496
BUF_SIZE 0 priv->dev 0,1616
DATA_SOURCE 0 priv $0
FUZZY_MAX 0 priv->clock 12500000
FUZZY_MAX 3 clear 1048320
BIT_INFO 3 clear 0xf00,0xfffff
HARD_MAX 0 priv->clock 12500000
HARD_MAX 3 clear 1048320
MEM_ZERO 0 priv
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL