Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

drivers/gpio/gpio-ath79.c ath79_gpio_irq_handler() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-2),1-s32max
BUF_SIZE 0 gc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/gpio/gpio-ath79.c irq_data_to_ath79_gpio() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-2),1-s32max
BUF_SIZE 0 gc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/gpio/gpio-ep93xx.c to_ep93xx_gpio_chip() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/gpio/gpio-dwapb.c dwapb_gpio_resume() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc 512
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-dwapb.c dwapb_gpio_set_debounce() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-dwapb.c dwapb_irq_ack() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-2),1-s32max
BUF_SIZE 0 gc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/gpio/gpio-dwapb.c dwapb_irq_disable() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-2),1-s32max
BUF_SIZE 0 gc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/gpio/gpio-dwapb.c dwapb_irq_enable() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-2),1-s32max
BUF_SIZE 0 gc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/gpio/gpio-dwapb.c dwapb_irq_mask() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-2),1-s32max
BUF_SIZE 0 gc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/gpio/gpio-dwapb.c dwapb_irq_set_type() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-2),1-s32max
BUF_SIZE 0 gc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte
HALF_LOCKED2 global &probing_active

drivers/gpio/gpio-dwapb.c dwapb_irq_unmask() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-2),1-s32max
BUF_SIZE 0 gc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/gpio/gpio-dwapb.c to_dwapb_gpio() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc->fwnode (-1)-0,64
BUF_SIZE 0 gc->gpiodev (-1),2416
BUF_SIZE 0 gc->irq.chip (-1),280
BUF_SIZE 0 gc->label s32min,(-10),(-1)-s32max
BUF_SIZE 0 gc->names (-1)-s32max
BUF_SIZE 0 gc->parent (-1)-0,24-s32max
DATA_SOURCE 0 gc $0
STR_LEN 0 gc->label (-1),5-13,15-16
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 gc->ngpio
UNITS 0 gc unit_byte
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-hisi.c hisi_gpio_read_reg() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/gpio/gpio-hisi.c hisi_gpio_write_reg() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/gpio/gpio-xgs-iproc.c to_iproc_gpio() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/gpio/gpio-amdpt.c pt_gpio_free() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-amdpt.c pt_gpio_request() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-mmio.c gpio_mmio_dir_in() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->flags
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_dir_out() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc (-1),512
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_dir_return() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_get() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-mmio.c gpio_mmio_get_dir() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc->fwnode (-1),64
BUF_SIZE 0 gc->gpiodev (-1),2416
BUF_SIZE 0 gc->label s32min,(-10),(-1)-s32max
BUF_SIZE 0 gc->names (-1)-s32max
BUF_SIZE 0 gc->parent (-1)-0,24-s32max
DATA_SOURCE 0 gc $0
STR_LEN 0 gc->label (-1),9-10,12,15
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 gc->ngpio 1-u16max[c]
NO_OVERFLOW_SIMPLE 0 gc->ngpio
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_get_multiple() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
CAPPED_DATA 0 gc 1
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_get_multiple_be() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
CAPPED_DATA 0 gc 1
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_get_set() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-mmio.c gpio_mmio_get_set_multiple() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
CAPPED_DATA 0 gc 1
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_line2mask() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc->fwnode (-1)-0,64
BUF_SIZE 0 gc->gpiodev (-1),2416
BUF_SIZE 0 gc->irq.chip (-1)-0,280
BUF_SIZE 0 gc->label s32min,(-10),(-1)-s32max
BUF_SIZE 0 gc->names (-1)-s32max
BUF_SIZE 0 gc->parent (-1)-0,24-s32max
DATA_SOURCE 0 gc $0
STR_LEN 0 gc->label (-1),5-13,15-16
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 gc->ngpio 1-u16max[c]
NO_OVERFLOW_SIMPLE 0 gc->ngpio
HALF_LOCKED2 &chip->lock
HALF_LOCKED2 irq

drivers/gpio/gpio-mmio.c gpio_mmio_multiple_get_masks() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &chip->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq

drivers/gpio/gpio-mmio.c gpio_mmio_request() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-mmio.c gpio_mmio_set() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc (-1),512
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-mmio.c gpio_mmio_set_multiple() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
CAPPED_DATA 0 gc 1
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_set_multiple_set() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
CAPPED_DATA 0 gc 1
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_set_multiple_single_reg() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_set_multiple_with_clear() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
CAPPED_DATA 0 gc 1
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-mmio.c gpio_mmio_set_set() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc (-1),512
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-mmio.c gpio_mmio_set_with_clear() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
BUF_SIZE 0 gc (-1),512
BUF_SIZE 0 gc (-1),512
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING

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

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
DATA_SOURCE 0 gc $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-loongson-64bit.c to_loongson_gpio_chip() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc s32min-(-1),1-s32max
BUF_SIZE 0 gc->fwnode (-1)-0,64
BUF_SIZE 0 gc->gpiodev (-1),2416
BUF_SIZE 0 gc->irq.chip (-1)-0,280
BUF_SIZE 0 gc->label s32min,(-10),(-1)-s32max
BUF_SIZE 0 gc->names (-1)-s32max
BUF_SIZE 0 gc->parent (-1)-0,24-s32max
DATA_SOURCE 0 gc $0
STR_LEN 0 gc->label (-1),5-13,15-16
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 gc->ngpio 1-u16max[c]
NO_OVERFLOW_SIMPLE 0 gc->ngpio
UNITS 0 gc unit_byte

drivers/gpio/gpio-realtek-otto.c irq_data_to_ctrl() -> to_gpio_generic_chip()

Type Parameter Key Value
BUF_SIZE 0 gc s32min-(-2),1-s32max
BUF_SIZE 0 gc s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 gc unit_byte

drivers/gpio/gpio-mt7621.c to_mt7621_gpio() -> to_gpio_generic_chip()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
CAPPED_DATA 0 gc 1
DATA_SOURCE 0 gc $0
STR_LEN 0 gc (-1),17,32
STR_LEN 0 gc (-1),17,32
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock