Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 3378 (as a function)
- include/linux/gpio/consumer.h, line 506 (as a function)
Referenced in 19 files:
- drivers/extcon/extcon-gpio.c, line 100
- drivers/gpio/gpio-aggregator.c, line 350
- drivers/gpio/gpiolib.c
- drivers/input/keyboard/gpio_keys.c
- drivers/input/keyboard/gpio_keys_polled.c, line 325
- drivers/input/keyboard/matrix_keypad.c
- drivers/input/misc/iqs7222.c, line 3129
- drivers/input/touchscreen/iqs7211.c, line 2524
- drivers/leds/leds-gpio.c, line 261
- drivers/mfd/stmpe.c, line 1434
- drivers/mmc/core/slot-gpio.c, line 198
- drivers/mmc/host/atmel-mci.c, line 2261
- drivers/pcmcia/soc_common.c, line 218
- drivers/pinctrl/pinctrl-da9062.c, line 157
- drivers/regulator/rk808-regulator.c, line 2099
- drivers/usb/gadget/udc/at91_udc.c, line 1625
- drivers/video/fbdev/atmel_lcdfb.c, line 979
- sound/soc/codecs/cs53l30.c, line 994
- sound/soc/tegra/tegra_wm8903.c, line 69
Smatch caller information:
drivers/leds/leds-gpio.c gpio_led_get_legacy_gpiod() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 1-u64max |
| DATA_SOURCE | 0 | desc | r gpio_to_desc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/codecs/cs53l30.c cs53l30_i2c_probe() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | desc | 1 |
| DATA_SOURCE | 0 | desc | r devm_gpiod_get_optional |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/touchscreen/iqs7211.c iqs7211_probe() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | desc | 1 |
| DATA_SOURCE | 0 | desc | r devm_gpiod_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/misc/iqs7222.c iqs7222_probe() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | desc | 1 |
| DATA_SOURCE | 0 | desc | r devm_gpiod_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/keyboard/matrix_keypad.c matrix_keypad_init_gpio() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/keyboard/matrix_keypad.c matrix_keypad_init_gpio() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/rk808-regulator.c rk808_regulator_dt_parse_pdata() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/pinctrl-da9062.c da9062_gpio_direction_input() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max,(-22) |
| DATA_SOURCE | 0 | desc | r gpio_device_get_desc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock |
drivers/input/keyboard/gpio_keys.c gpio_keys_setup_key() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 1-u64max |
| DATA_SOURCE | 0 | desc | r gpio_to_desc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/keyboard/gpio_keys.c gpio_keys_setup_key() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 1-u64max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mfd/stmpe.c stmpe_probe() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | desc | 1 |
| DATA_SOURCE | 0 | desc | r devm_gpiod_get_optional |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpio/gpio-aggregator.c gpio_fwd_delay() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/tegra/tegra_wm8903.c tegra_wm8903_init() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
drivers/extcon/extcon-gpio.c gpio_extcon_probe() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | desc | 1 |
| DATA_SOURCE | 0 | desc | r devm_gpiod_get |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpio/gpiolib.c gpiod_get_array() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | desc | r gpiod_get_index |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mmc/core/slot-gpio.c mmc_gpiod_request_cd() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | desc | 1 |
| DATA_SOURCE | 0 | desc | r devm_gpiod_get_index |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/keyboard/gpio_keys_polled.c gpio_keys_polled_probe() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 1-u64max |
| DATA_SOURCE | 0 | desc | r gpio_to_desc |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/video/fbdev/atmel_lcdfb.c atmel_lcdfb_of_init() -> gpiod_is_active_low()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | desc | 1 |
| DATA_SOURCE | 0 | desc | r devm_gpiod_get_index |
| RX_PATH | |||
| TASK_NOT_RUNNING |