Documented in 1 files:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpio/gpio-grgpio.c grgpio_irq_set_type() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 1 reg 4096-ptr_max
PARAM_VALUE 2 val 0-u32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
LOCK2 &(_T->lock)->lock
LOCK2 _T->flags

drivers/gpio/gpio-grgpio.c grgpio_irq_set_type() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 1 reg 4096-ptr_max
PARAM_VALUE 2 val 0-u32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
LOCK2 &(_T->lock)->lock
LOCK2 _T->flags

drivers/gpio/gpio-grgpio.c grgpio_set_imask() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &(&priv->chip)->lock
HALF_LOCKED2 &(_T->lock)->lock
HALF_LOCKED2 &d->root->mutex
HALF_LOCKED2 _T->flags
HALF_LOCKED2 flags

drivers/gpio/gpio-ppc44x.c __ppc44x_gpio_set() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
BUF_SIZE 0 chip 672
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(_T->lock)->lock
LOCK2 _T->flags
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-dwapb.c dwapb_write() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 1 reg 4096-ptr_max
BUF_SIZE 0 chip 672
DATA_SOURCE 2 val $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
HALF_LOCKED2 &(_T->lock)->lock
HALF_LOCKED2 _T->flags
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-xgene-sb.c xgene_gpio_set_bit() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
DATA_SOURCE 0 chip r to_gpio_generic_chip
DATA_SOURCE 1 reg $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max

drivers/gpio/gpio-brcmstb.c __brcmstb_gpio_set_imask() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
LOCK2 &(_T->lock)->lock
LOCK2 _T->flags

drivers/gpio/gpio-brcmstb.c brcmstb_gpio_bank_restore() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
PARAM_VALUE 2 val 0-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpio/gpio-brcmstb.c brcmstb_gpio_irq_ack() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/gpio/gpio-brcmstb.c brcmstb_gpio_irq_mask_ack() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &(_T->lock)->lock
LOCK2 _T->flags

drivers/gpio/gpio-brcmstb.c brcmstb_gpio_irq_set_type() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
PARAM_VALUE 2 val 0-u32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
LOCK2 &(_T->lock)->lock
LOCK2 _T->flags

drivers/gpio/gpio-brcmstb.c brcmstb_gpio_irq_set_type() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
PARAM_VALUE 2 val 0-u32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
LOCK2 &(_T->lock)->lock
LOCK2 _T->flags

drivers/gpio/gpio-brcmstb.c brcmstb_gpio_irq_set_type() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
PARAM_VALUE 2 val 0-u32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u32max
LOCK2 &(_T->lock)->lock
LOCK2 _T->flags

drivers/gpio/gpio-brcmstb.c brcmstb_gpio_probe() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bits 8,16,32,64
PARAM_VALUE 0 chip->dir_unreadable 1
PARAM_VALUE 0 chip->gc.base (-1)
PARAM_VALUE 0 chip->gc.direction_input 1391388087628505088,3254443155909263360,5874203319579267072
PARAM_VALUE 0 chip->gc.direction_output 3286615622003204096,4080776173895794688,4670927389855539200,5369191353210699776
PARAM_VALUE 0 chip->gc.free 4508023251085922304
PARAM_VALUE 0 chip->gc.get 518919195045810176,7654895106854170624
PARAM_VALUE 0 chip->gc.get_multiple 564320363935752192,2612173637980864512,8738597980339994624
PARAM_VALUE 0 chip->gc.label 1-u64max
PARAM_VALUE 0 chip->gc.ngpio 32
PARAM_VALUE 0 chip->gc.of_gpio_n_cells 2
PARAM_VALUE 0 chip->gc.of_xlate 580082292235046912
PARAM_VALUE 0 chip->gc.owner 0
PARAM_VALUE 0 chip->gc.request 5453143869795631104
PARAM_VALUE 0 chip->gc.set 747538563950645248,4604650241983475712,6972910702948732928
PARAM_VALUE 0 chip->gc.set_multiple 0,1647354960797667328,4556376289024532480
PARAM_VALUE 0 chip->gc.to_irq 0,2306907514820149248
PARAM_VALUE 0 chip->lock.magic 3735899821
PARAM_VALUE 0 chip->lock.owner (-1)
PARAM_VALUE 0 chip->lock.owner_cpu u32max
PARAM_VALUE 0 chip->pinctrl 1
PARAM_VALUE 0 chip->read_reg 2189877061993816064,2300194121365708800,5302491638966931456,6290825970198790144,7627854653971529728,8589641711378251776
PARAM_VALUE 0 chip->reg_dat 1-u64max
PARAM_VALUE 0 chip->reg_set 1-u64max
PARAM_VALUE 0 chip->write_reg 1302825759051804672,2264972764792877056,3881800160937377792,4226973430857023488,5210441000530759680,8683190200015892480
PARAM_VALUE 2 val 0
MEM_ZERO 0 chip
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->sdata 0
HOST_DATA 0 chip->sdir 0

drivers/gpio/gpio-brcmstb.c brcmstb_gpio_quiesce() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/gpio/gpio-mpc8xxx.c mpc512x_irq_set_type() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
BIT_INFO 2 val 0x0,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u64max
LOCK2 &mpc8xxx_gc->lock
LOCK2 flags
TYPE_LOCK (struct mpc8xxx_gpio_chip)->lock

drivers/gpio/gpio-mpc8xxx.c mpc512x_irq_set_type() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
BIT_INFO 2 val 0x0,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u64max
LOCK2 &mpc8xxx_gc->lock
LOCK2 flags
TYPE_LOCK (struct mpc8xxx_gpio_chip)->lock

drivers/gpio/gpio-mpc8xxx.c mpc512x_irq_set_type() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
CAPPED_DATA 2 val 1
BIT_INFO 2 val 0x0,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u64max
LOCK2 &mpc8xxx_gc->lock
LOCK2 flags
TYPE_LOCK (struct mpc8xxx_gpio_chip)->lock

drivers/gpio/gpio-mpc8xxx.c mpc8xxx_irq_ack() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 1 reg 4096-ptr_max
PARAM_VALUE 2 val 0-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/gpio/gpio-mpc8xxx.c mpc8xxx_irq_mask() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
CAPPED_DATA 2 val 1
BIT_INFO 2 val 0x0,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u64max
LOCK2 &mpc8xxx_gc->lock
LOCK2 flags
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct mpc8xxx_gpio_chip)->lock

drivers/gpio/gpio-mpc8xxx.c mpc8xxx_irq_set_type() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u64max
LOCK2 &mpc8xxx_gc->lock
LOCK2 flags
TYPE_LOCK (struct mpc8xxx_gpio_chip)->lock

drivers/gpio/gpio-mpc8xxx.c mpc8xxx_irq_set_type() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
CAPPED_DATA 2 val 1
BIT_INFO 2 val 0x0,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u64max
LOCK2 &mpc8xxx_gc->lock
LOCK2 flags
TYPE_LOCK (struct mpc8xxx_gpio_chip)->lock

drivers/gpio/gpio-mpc8xxx.c mpc8xxx_irq_unmask() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gc.gpiodev 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0-u64max
LOCK2 &mpc8xxx_gc->lock
LOCK2 flags
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct mpc8xxx_gpio_chip)->lock

drivers/gpio/gpio-mpc8xxx.c mpc8xxx_probe() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bits 8,16,32,64
PARAM_VALUE 0 chip->dir_unreadable 1
PARAM_VALUE 0 chip->gc.base (-1)
PARAM_VALUE 0 chip->gc.direction_input 1391388087628505088,3254443155909263360,5874203319579267072
PARAM_VALUE 0 chip->gc.direction_output 1-u64max
PARAM_VALUE 0 chip->gc.free 4508023251085922304
PARAM_VALUE 0 chip->gc.get 1-u64max
PARAM_VALUE 0 chip->gc.get_multiple 564320363935752192,2612173637980864512,8738597980339994624
PARAM_VALUE 0 chip->gc.request 6703246572447731712
PARAM_VALUE 0 chip->gc.set 747538563950645248,4604650241983475712,6972910702948732928
PARAM_VALUE 0 chip->gc.set_multiple 0,1647354960797667328,4556376289024532480
PARAM_VALUE 0 chip->gc.to_irq 4899622959435485184
PARAM_VALUE 0 chip->lock.magic 3735899821
PARAM_VALUE 0 chip->lock.owner (-1)
PARAM_VALUE 0 chip->lock.owner_cpu u32max
PARAM_VALUE 0 chip->pinctrl 1
PARAM_VALUE 0 chip->read_reg 2189877061993816064,2300194121365708800,5302491638966931456,6290825970198790144,7627854653971529728,8589641711378251776
PARAM_VALUE 0 chip->reg_set 1-u64max
PARAM_VALUE 0 chip->write_reg 1302825759051804672,2264972764792877056,3881800160937377792,4226973430857023488,5210441000530759680,8683190200015892480
PARAM_VALUE 2 val u32max
MEM_ZERO 0 chip
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->sdata 0
HOST_DATA 0 chip->sdir 0

drivers/gpio/gpio-mpc8xxx.c mpc8xxx_probe() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bits 8,16,32,64
PARAM_VALUE 0 chip->dir_unreadable 1
PARAM_VALUE 0 chip->lock.magic 3735899821
PARAM_VALUE 0 chip->lock.owner (-1)
PARAM_VALUE 0 chip->lock.owner_cpu u32max
PARAM_VALUE 0 chip->pinctrl 1
PARAM_VALUE 0 chip->read_reg 2189877061993816064,2300194121365708800,5302491638966931456,6290825970198790144,7627854653971529728,8589641711378251776
PARAM_VALUE 0 chip->reg_set 1-u64max
PARAM_VALUE 0 chip->write_reg 1302825759051804672,2264972764792877056,3881800160937377792,4226973430857023488,5210441000530759680,8683190200015892480
PARAM_VALUE 2 val u32max
MEM_ZERO 0 chip
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->sdata 0-u64max[c]
HOST_DATA 0 chip->sdir 0

drivers/gpio/gpio-mpc8xxx.c mpc8xxx_probe() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->bits 8,16,32,64
PARAM_VALUE 0 chip->dir_unreadable 1
PARAM_VALUE 0 chip->lock.magic 3735899821
PARAM_VALUE 0 chip->lock.owner (-1)
PARAM_VALUE 0 chip->lock.owner_cpu u32max
PARAM_VALUE 0 chip->pinctrl 1
PARAM_VALUE 0 chip->read_reg 2189877061993816064,2300194121365708800,5302491638966931456,6290825970198790144,7627854653971529728,8589641711378251776
PARAM_VALUE 0 chip->reg_set 1-u64max
PARAM_VALUE 0 chip->write_reg 1302825759051804672,2264972764792877056,3881800160937377792,4226973430857023488,5210441000530759680,8683190200015892480
PARAM_VALUE 2 val 0
MEM_ZERO 0 chip
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->sdata 0-u64max[c]
HOST_DATA 0 chip->sdir 0

drivers/gpio/gpio-mt7621.c mtk_gpio_w32() -> gpio_generic_write_reg()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gc.gpiodev 4096-ptr_max
PARAM_VALUE 1 reg 4096-ptr_max
DATA_SOURCE 2 val $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->sdata 0-u64max
HOST_DATA 0 chip->sdir 0-u64max
HOST_DATA 2 val 0-u32max
HALF_LOCKED2 &(_T->lock)->lock
HALF_LOCKED2 _T->flags