Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/leds/leds-tca6507.c led_prepare() -> set_select()

Type Parameter Key Value
PARAM_VALUE 2 val 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tca->lock
LOCK2 flags
TYPE_LOCK (struct tca6507_chip)->lock

drivers/leds/leds-tca6507.c led_prepare() -> set_select()

Type Parameter Key Value
PARAM_VALUE 2 val 4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tca->lock
LOCK2 flags
TYPE_LOCK (struct tca6507_chip)->lock

drivers/leds/leds-tca6507.c led_prepare() -> set_select()

Type Parameter Key Value
PARAM_VALUE 0 tca 4096-ptr_max
PARAM_VALUE 2 val 4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tca->lock
LOCK2 flags
TYPE_LOCK (struct tca6507_chip)->lock

drivers/leds/leds-tca6507.c led_prepare() -> set_select()

Type Parameter Key Value
PARAM_VALUE 0 tca 4096-ptr_max
PARAM_VALUE 2 val 2-3,5
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tca->lock
LOCK2 flags
TYPE_LOCK (struct tca6507_chip)->lock

drivers/leds/leds-tca6507.c led_prepare() -> set_select()

Type Parameter Key Value
PARAM_VALUE 0 tca 4096-ptr_max
PARAM_VALUE 2 val 6-7
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &tca->lock
LOCK2 flags
TYPE_LOCK (struct tca6507_chip)->lock

drivers/leds/leds-tca6507.c tca6507_gpio_set_value() -> set_select()

Type Parameter Key Value
PARAM_VALUE 0 tca 4096-ptr_max
PARAM_VALUE 1 led 0-6
PARAM_VALUE 2 val 0,4
BUF_SIZE 0 tca s32min-(-2),1-s32max
BUF_SIZE 0 tca s32min-(-2),1-s32max
DATA_SOURCE 0 tca r gpiochip_get_data
FUZZY_MAX 2 val 4
BIT_INFO 2 val 0x0,0x4
HARD_MAX 2 val 4
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &tca->lock
TYPE_LOCK (struct tca6507_chip)->lock