Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 3123 (as a function)
- include/linux/gpio/consumer.h, line 357 (as a function)
Referenced in 7 files:
- drivers/gpio/gpiolib-sysfs.c
- drivers/gpio/gpiolib.c, line 3135
- drivers/input/touchscreen/goodix.c, line 722
- drivers/mtd/nand/raw/ams-delta.c, line 75
- drivers/pci/controller/dwc/pcie-kirin.c
- include/linux/gpio/legacy.h, line 59
- sound/soc/soc-ac97.c
Smatch caller information:
sound/soc/soc-ac97.c snd_soc_ac97_reset() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/soc/soc-ac97.c snd_soc_ac97_reset() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/soc/soc-ac97.c snd_soc_ac97_reset() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/soc/soc-ac97.c snd_soc_ac97_reset() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/soc/soc-ac97.c snd_soc_ac97_warm_reset() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
sound/soc/soc-ac97.c snd_soc_ac97_warm_reset() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpio/gpiolib-sysfs.c direction_store() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 1 |
| 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/gpiolib-sysfs.c direction_store() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 0 |
| 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/pci/controller/dwc/pcie-kirin.c kirin_pcie_add_bus() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-kirin.c kirin_pcie_power_off() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/pci/controller/dwc/pcie-kirin.c kirin_pcie_power_on() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->gdev->desc_srcu.srcu_sup->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | desc->gdev->desc_srcu.srcu_sup->lock.owner | (-1) |
| PARAM_VALUE | 0 | desc->gdev->desc_srcu.srcu_sup->lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | desc->gdev->desc_srcu.srcu_sup->sda_is_static | 1 |
| PARAM_VALUE | 0 | desc->gdev->desc_srcu.srcu_sup->srcu_cb_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | desc->gdev->desc_srcu.srcu_sup->srcu_gp_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | desc->gdev->desc_srcu.srcu_sup->srcu_gp_seq | s64max |
| PARAM_VALUE | 0 | desc->gdev->desc_srcu.srcu_sup->work.work.entry.prev | 2076614606316732416 |
| PARAM_VALUE | 0 | desc->gdev->desc_srcu.srcu_sup->work.work.entry.prev->prev | 2076614606316732416 |
| PARAM_VALUE | 0 | desc->gdev->line_state_notifier.head->priority | s32min-s32max |
| PARAM_VALUE | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/touchscreen/goodix.c goodix_irq_direction_output() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 0-1 |
| DATA_SOURCE | 1 | value | $1 |
| FUZZY_MAX | 1 | value | 1 |
| HARD_MAX | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mtd/nand/raw/ams-delta.c gpio_nand_dir_output() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpio/gpiolib-legacy.c gpio_direction_output() -> gpiod_direction_output_raw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 0-1 |
| DATA_SOURCE | 1 | value | $1 |
| FUZZY_MAX | 1 | value | 1 |
| HARD_MAX | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |