Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpio/gpio-sprd.c sprd_gpio_direction_input() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 reg 8
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip s32min-(-1),1-s32max
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->flags
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-sprd.c sprd_gpio_direction_input() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 40
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-1),1-s32max
BUF_SIZE 0 chip s32min-(-1),1-s32max
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->flags
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-sprd.c sprd_gpio_direction_output() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 reg 8
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip (-1),512
BUF_SIZE 0 chip (-1),512
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-sprd.c sprd_gpio_direction_output() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 40
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip (-1),512
BUF_SIZE 0 chip (-1),512
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-sprd.c sprd_gpio_direction_output() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 0
BUF_SIZE 0 chip (-1),512
BUF_SIZE 0 chip (-1),512
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 offset $1
DATA_SOURCE 3 val $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 val 0-1[c]
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-sprd.c sprd_gpio_free() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->free 1-u64max
PARAM_VALUE 2 reg 4
PARAM_VALUE 3 val 0
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock

drivers/gpio/gpio-sprd.c sprd_gpio_irq_ack() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 2 reg 36
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/gpio/gpio-sprd.c sprd_gpio_irq_mask() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 2 reg 24
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 2 reg 12
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 16
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 20
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 36
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 2 reg 12
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 16
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 20
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 36
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 2 reg 12
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 16
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 36
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 2 reg 12
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 16
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 20
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 2 reg 12
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 16
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_set_type() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 4096-ptr_max
PARAM_VALUE 2 reg 20
PARAM_VALUE 3 val 0
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size

drivers/gpio/gpio-sprd.c sprd_gpio_irq_unmask() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 2 reg 24
PARAM_VALUE 3 val 1
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
UNITS 1 offset unit_array_size
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags

drivers/gpio/gpio-sprd.c sprd_gpio_request() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->gpiodev 0,4096-ptr_max
PARAM_VALUE 2 reg 4
PARAM_VALUE 3 val 1
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpio/gpio-sprd.c sprd_gpio_set() -> sprd_gpio_update()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 2 reg 0
BUF_SIZE 0 chip (-1),512
BUF_SIZE 0 chip (-1),512
DATA_SOURCE 0 chip $0
DATA_SOURCE 1 offset $1
DATA_SOURCE 3 val $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 3 val 0-1[c]