Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_direction_input() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 address 0
PARAM_VALUE 2 reg 72
PARAM_VALUE 4 set 0
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 3 gpio $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &chip->lock
HALF_LOCKED2 _T->flags
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct nsp_gpio)->lock

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_direction_output() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 address 0
PARAM_VALUE 2 reg 72
PARAM_VALUE 4 set 1
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 3 gpio $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &chip->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct nsp_gpio)->lock

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_direction_output() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 address 0
PARAM_VALUE 2 reg 68
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 3 gpio $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 4 set 0-1
LOCK2 flags
LOCK2 0 &chip->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct nsp_gpio)->lock

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_irq_set_mask() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 1 address 0
PARAM_VALUE 2 reg 92
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 4 set $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 gpio unit_array_size
LOCK2 &chip->lock
LOCK2 flags
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct nsp_gpio)->lock

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_irq_set_mask() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 1 address 0
PARAM_VALUE 2 reg 84
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 4 set $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 gpio unit_array_size
LOCK2 &chip->lock
LOCK2 flags
HALF_LOCKED2 &desc->lock
HALF_LOCKED2 _T->flags
TYPE_LOCK (struct nsp_gpio)->lock

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_irq_set_type() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 address 0
PARAM_VALUE 2 reg 100
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip r gpiochip_get_data
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 gpio unit_array_size
LOCK2 flags
LOCK2 0 &chip->lock
HALF_LOCKED2 global &probing_active
TYPE_LOCK (struct nsp_gpio)->lock

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_irq_set_type() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 address 0
PARAM_VALUE 2 reg 80
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
DATA_SOURCE 0 chip r gpiochip_get_data
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 3 gpio unit_array_size
LOCK2 flags
LOCK2 0 &chip->lock
HALF_LOCKED2 global &probing_active
TYPE_LOCK (struct nsp_gpio)->lock

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_set() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 address 0
PARAM_VALUE 2 reg 68
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 3 gpio $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 4 set 0-1
LOCK2 flags
LOCK2 0 &chip->lock
TYPE_LOCK (struct nsp_gpio)->lock

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_set_pull() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 address 1
PARAM_VALUE 2 reg 28
BUF_SIZE 0 chip 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168
BUF_SIZE 0 chip 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168
DATA_SOURCE 0 chip $0
DATA_SOURCE 3 gpio $1
DATA_SOURCE 4 set $3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &chip->lock
HALF_LOCKED2 &pctldev->mutex
TYPE_LOCK (struct nsp_gpio)->lock

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_set_pull() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 address 1
PARAM_VALUE 2 reg 24
BUF_SIZE 0 chip 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168
BUF_SIZE 0 chip 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168
DATA_SOURCE 0 chip $0
DATA_SOURCE 3 gpio $1
DATA_SOURCE 4 set $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &chip->lock
HALF_LOCKED2 &pctldev->mutex
TYPE_LOCK (struct nsp_gpio)->lock

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_set_slew() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 1 address 1
PARAM_VALUE 2 reg 20
PARAM_VALUE 4 set 1
BUF_SIZE 0 chip 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168
BUF_SIZE 0 chip 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168
DATA_SOURCE 0 chip $0
DATA_SOURCE 3 gpio $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pctldev->mutex

drivers/pinctrl/bcm/pinctrl-nsp-gpio.c nsp_gpio_set_slew() -> nsp_set_bit()

Type Parameter Key Value
PARAM_VALUE 1 address 1
PARAM_VALUE 2 reg 20
PARAM_VALUE 4 set 0
BUF_SIZE 0 chip 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168
BUF_SIZE 0 chip 1,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,168
DATA_SOURCE 0 chip $0
DATA_SOURCE 3 gpio $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pctldev->mutex