Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 3339 (as a function)
- include/linux/gpio/consumer.h, line 493 (as a function)
Referenced in 10 files:
- drivers/extcon/extcon-palmas.c, line 234
- drivers/extcon/extcon-usb-gpio.c
- drivers/gpio/gpio-virtuser.c, line 585
- drivers/gpio/gpiolib.c, line 3346
- drivers/input/keyboard/gpio_keys.c, line 557
- drivers/input/touchscreen/ads7846.c, line 1075
- drivers/mmc/core/slot-gpio.c
- drivers/pci/controller/dwc/pcie-tegra194.c, line 2089
- drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c, line 338
- drivers/usb/common/usb-conn-gpio.c
Smatch caller information:
drivers/gpio/gpio-virtuser.c gpio_virtuser_debounce_set() -> gpiod_set_debounce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | debounce | $1 |
| USER_DATA | 1 | debounce | 0-u32max |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/input/touchscreen/ads7846.c ads7846_setup_pendown() -> gpiod_set_debounce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | debounce | 1-u32max |
| 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 | |||
| NOCHECK_CALL |
drivers/phy/broadcom/phy-bcm-ns2-usbdrd.c ns2_drd_phy_probe() -> gpiod_set_debounce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | debounce | 20000 |
| 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/extcon/extcon-palmas.c palmas_usb_probe() -> gpiod_set_debounce()
| 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/pci/controller/dwc/pcie-tegra194.c tegra_pcie_config_ep() -> gpiod_set_debounce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | debounce | 5000 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/common/usb-conn-gpio.c usb_conn_probe() -> gpiod_set_debounce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | debounce | 20000 |
| 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/usb/common/usb-conn-gpio.c usb_conn_probe() -> gpiod_set_debounce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | debounce | 20000 |
| 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/keyboard/gpio_keys.c gpio_keys_setup_key() -> gpiod_set_debounce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-u64max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mmc/core/slot-gpio.c mmc_gpiod_request_cd() -> gpiod_set_debounce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | debounce | 1-u32max |
| 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 |
| DATA_SOURCE | 1 | debounce | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mmc/core/slot-gpio.c mmc_gpiod_request_ro() -> gpiod_set_debounce()
| 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 |
| DATA_SOURCE | 1 | debounce | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/extcon/extcon-usb-gpio.c usb_extcon_probe() -> gpiod_set_debounce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | debounce | 20000 |
| 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/extcon/extcon-usb-gpio.c usb_extcon_probe() -> gpiod_set_debounce()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 1 | debounce | 20000 |
| 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 |