Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib-devres.c, line 271 (as a function)
- include/linux/gpio/consumer.h, line 317 (as a function)
Referenced in 10 files:
- drivers/bluetooth/btmtksdio.c, line 1164
- drivers/bluetooth/btmtkuart.c, line 913
- drivers/fsi/fsi-master-aspeed.c
- drivers/gpio/gpiolib-devres.c, line 275
- drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c, line 1824
- drivers/platform/x86/sel3350-platform.c, line 281
- drivers/platform/x86/x86-android-tablets/core.c, line 120
- drivers/power/reset/ltc2952-poweroff.c, line 235
- drivers/staging/greybus/arche-apb-ctrl.c
- drivers/tty/serial/st-asc.c, line 600
Smatch caller information:
drivers/fsi/fsi-master-aspeed.c setup_cfam_reset() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | desc | 1 |
| DATA_SOURCE | 1 | desc | r devm_gpiod_get_optional |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/fsi/fsi-master-aspeed.c tacoma_cabled_fsi_fixup() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| BUF_SIZE | 1 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | desc | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | desc | r devm_gpiod_get_optional |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/btmtkuart.c btmtkuart_probe() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c mcp251xfd_register_check_rx_int() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| BUF_SIZE | 1 | desc | s32min,(-1),1-s32max |
| BUF_SIZE | 1 | desc | s32min,(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/tty/serial/st-asc.c asc_set_termios() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | desc | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &port->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_mutex |
drivers/platform/x86/x86-android-tablets/core.c x86_acpi_irq_helper_get() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 16,4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/bluetooth/btmtksdio.c btmtksdio_setup() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | desc | 4096-18446744073709551613,(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hdev->req_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hci_dev)->req_lock |
drivers/platform/x86/sel3350-platform.c sel3350_probe() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/reset/ltc2952-poweroff.c ltc2952_poweroff_init() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-ptr_max |
| BUF_SIZE | 1 | desc | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | desc | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | desc | 1 |
| DATA_SOURCE | 1 | desc | r devm_gpiod_get_optional |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/staging/greybus/arche-apb-ctrl.c coldboot_seq() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/staging/greybus/arche-apb-ctrl.c poweroff_seq() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/staging/greybus/arche-apb-ctrl.c standby_boot_seq() -> devm_gpiod_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 4096-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |