Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpio/gpiolib-devres.c devm_gpiod_release_array() -> gpiod_put_array()

Type Parameter Key Value
DATA_SOURCE 0 descs $0
NOCHECK_CALL

drivers/gpio/gpiolib.c gpiod_get_array() -> gpiod_put_array()

Type Parameter Key Value
PARAM_VALUE 0 descs 4096-ptr_max
PARAM_VALUE 0 descs->ndescs 0-2147483646
BUF_SIZE 0 descs 24-17179869192
BUF_SIZE 0 descs 24-17179869192
CAPPED_DATA 0 descs->ndescs 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 descs->info->size
NO_OVERFLOW_SIMPLE 0 descs->ndescs

drivers/gpio/gpiolib.c gpiod_get_array() -> gpiod_put_array()

Type Parameter Key Value
PARAM_VALUE 0 descs 4096-ptr_max
PARAM_VALUE 0 descs->desc 4096-ptr_max
BUF_SIZE 0 descs 24-17179869192
BUF_SIZE 0 descs 24-17179869192
CAPPED_DATA 0 descs 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 descs->info->size
NO_OVERFLOW_SIMPLE 0 descs->ndescs

sound/soc/codecs/cs35l56-shared.c cs35l56_get_speaker_id() -> gpiod_put_array()

Type Parameter Key Value
PARAM_VALUE 0 descs 4096-ptr_max
PARAM_VALUE 0 descs->desc 4096-ptr_max
PARAM_VALUE 0 descs->ndescs 1-u32max
BUF_SIZE 0 descs 24-s32max
BUF_SIZE 0 descs 24-s32max
CAPPED_DATA 0 descs->ndescs 1
DATA_SOURCE 0 descs r gpiod_get_array_optional
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 descs->info->size
NO_OVERFLOW_SIMPLE 0 descs->ndescs

drivers/spi/spi-cs42l43.c cs42l43_get_speaker_id_gpios() -> gpiod_put_array()

Type Parameter Key Value
PARAM_VALUE 0 descs 4096-ptr_max
PARAM_VALUE 0 descs->desc 4096-ptr_max
PARAM_VALUE 0 descs->ndescs 1-u32max
BUF_SIZE 0 descs 24-s32max
BUF_SIZE 0 descs 24-s32max
CAPPED_DATA 0 descs->ndescs 1
DATA_SOURCE 0 descs r gpiod_get_array_optional
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 descs->info->size
NO_OVERFLOW_SIMPLE 0 descs->ndescs