Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 4202 (as a function)
- include/linux/gpio/driver.h, line 872 (as a function)
Referenced in 14 files:
- drivers/gpio/gpio-em.c, line 94
- drivers/gpio/gpio-sim.c, line 238
- drivers/gpio/gpio-tegra.c, line 337
- drivers/gpio/gpio-uniphier.c, line 304
- drivers/gpio/gpio-xgene-sb.c, line 159
- drivers/gpio/gpiolib-acpi-core.c, line 412
- drivers/gpio/gpiolib-sysfs.c, line 247
- drivers/gpio/gpiolib.c
- drivers/pinctrl/mediatek/mtk-eint.c, line 280
- drivers/pinctrl/pinctrl-at91.c, line 1530
- drivers/pinctrl/qcom/pinctrl-msm.c, line 1235
- drivers/pinctrl/samsung/pinctrl-exynos.c, line 233
- drivers/pinctrl/stm32/pinctrl-stm32.c, line 553
- drivers/pinctrl/sunxi/pinctrl-sunxi.c, line 1119
Smatch caller information:
drivers/gpio/gpiolib-acpi-core.c acpi_gpiochip_alloc_event() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->gpiodev->ngpio | 1-u16max |
| PARAM_VALUE | 0 | gc->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0-u16max |
| CAPPED_DATA | 0 | gc->gpiodev->ngpio | 1 |
| FUZZY_MAX | 1 | offset | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpio/gpio-uniphier.c uniphier_gpio_irq_domain_activate() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gc | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pinctrl/mediatek/mtk-eint.c mtk_eint_irq_request_resources() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex |
drivers/gpio/gpio-sim.c gpio_sim_irq_requested() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex |
drivers/gpio/gpiolib-sysfs.c gpio_sysfs_request_irq() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpio/gpio-tegra.c tegra_gpio_irq_set_type() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_array_size |
| HALF_LOCKED2 | global &probing_active |
drivers/gpio/gpio-xgene-sb.c xgene_gpio_sb_domain_activate() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpio/gpio-em.c em_gio_irq_reqres() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex |
drivers/pinctrl/samsung/pinctrl-exynos.c exynos_irq_request_resources() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_array_size |
| HALF_LOCKED2 | &desc->request_mutex |
drivers/pinctrl/stm32/pinctrl-stm32.c stm32_gpio_irq_request_resources() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->parent | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_array_size |
| HALF_LOCKED2 | &desc->request_mutex |
drivers/pinctrl/pinctrl-at91.c gpio_irq_request_resources() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex |
drivers/gpio/gpiolib.c gpiochip_irq_domain_activate() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | gc | unit_byte |
| UNITS | 1 | offset | unit_array_size |
drivers/gpio/gpiolib.c gpiochip_reqres_irq() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->gpiodev | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->gpiodev->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gc->gpiodev->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | gc->gpiodev->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | gc->parent->power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | gc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gc | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | gc | unit_byte |
| UNITS | 1 | offset | unit_array_size |
drivers/pinctrl/qcom/pinctrl-msm.c msm_gpio_irq_reqres() -> gpiochip_lock_as_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gc | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->gpiodev | 4096-ptr_max |
| PARAM_VALUE | 0 | gc->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gc->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | gc->owner->state | 0-1,3-u32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | gc | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | gc | unit_byte |
| UNITS | 1 | offset | unit_array_size |
| HALF_LOCKED2 | &desc->request_mutex |