Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 11 files:

Smatch caller information:

drivers/gpio/gpiolib-acpi-core.c acpi_request_own_gpiod() -> gpiochip_request_own_desc()

Type Parameter Key Value
PARAM_VALUE 1 hwnum 0-u16max
PARAM_VALUE 2 label 915847605414850560,3482175360117288960
PARAM_VALUE 3 lflags 0
PARAM_VALUE 4 dflags 0-1,3,7
BUF_SIZE 2 label 11,14
BUF_SIZE 2 label 11,14
DATA_SOURCE 0 gc $0
DATA_SOURCE 2 label $3
DATA_SOURCE 4 dflags r acpi_gpio_to_gpiod_flags
STR_LEN 0 gc 10,13
STR_LEN 0 gc 10,13
TERMINATED 2 label 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &achip->conn_lock

drivers/misc/ti_fpc202.c fpc202_register_led() -> gpiochip_request_own_desc()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 1 hwnum 20-28
PARAM_VALUE 3 lflags 0
PARAM_VALUE 4 dflags 0
BUF_SIZE 2 label s32min-(-2),1-s32max
DATA_SOURCE 1 hwnum $1
TERMINATED 0 gc->label 1
MEM_ZERO 0 gc
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpiolib.c gpiod_hog() -> gpiochip_request_own_desc()

Type Parameter Key Value
PARAM_VALUE 0 gc 1-u64max
PARAM_VALUE 3 lflags 0-126
PARAM_VALUE 4 dflags 1,3,7
DATA_SOURCE 1 hwnum r gpiod_hwgpio
DATA_SOURCE 2 label $1
DATA_SOURCE 3 lflags $2
DATA_SOURCE 4 dflags $3
BIT_INFO 4 dflags 0x1,0x7
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.c brcms_led_register() -> gpiochip_request_own_desc()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 1 hwnum 0-3
PARAM_VALUE 2 label 8502887435717779456
PARAM_VALUE 3 lflags 0-1
PARAM_VALUE 4 dflags 3
BUF_SIZE 0 gc 512
BUF_SIZE 2 label 9
FUZZY_MAX 3 lflags 1
STR_LEN 0 gc 8
TERMINATED 2 label 1
HARD_MAX 3 lflags 1
RX_PATH
TASK_NOT_RUNNING

drivers/memory/omap-gpmc.c gpmc_alloc_waitpin() -> gpiochip_request_own_desc()

Type Parameter Key Value
PARAM_VALUE 0 gc 4096-ptr_max
PARAM_VALUE 2 label 8521622736223866880
PARAM_VALUE 3 lflags 0
PARAM_VALUE 4 dflags 1
BUF_SIZE 2 label 8
STR_LEN 0 gc 7
CONSTRAINT 1 hwnum <622
TERMINATED 2 label 1
RX_PATH
TASK_NOT_RUNNING

drivers/gpio/gpio-mvebu.c mvebu_pwm_request() -> gpiochip_request_own_desc()

Type Parameter Key Value
PARAM_VALUE 2 label 6426051589500809216
PARAM_VALUE 3 lflags 0
PARAM_VALUE 4 dflags 3
BUF_SIZE 2 label 10
STR_LEN 0 gc 9
TERMINATED 2 label 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 1 hwnum unit_array_size
LOCK2 &mvpwm->lock
LOCK2 _T->lock
LOCK2 flags
TYPE_LOCK (struct mvebu_pwm)->lock