Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 3978 (as a function)
- include/linux/gpio/consumer.h, line 408 (as a function)
Referenced in 7 files:
- arch/arm/plat-orion/gpio.c, line 318
- drivers/gpio/gpiolib.c, line 3985
- drivers/i2c/busses/i2c-iop3xx.c
- drivers/staging/greybus/arche-apb-ctrl.c
- drivers/staging/greybus/arche-platform.c, line 89
- drivers/w1/masters/w1-gpio.c, line 37
- include/linux/gpio/legacy.h, line 77
Smatch caller information:
drivers/mfd/aat2870-core.c gpio_set_value() -> gpiod_set_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 0-1 |
| DATA_SOURCE | 1 | value | $1 |
| HARD_MAX | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/i2c/busses/i2c-iop3xx.c iop3xx_i2c_enable() -> gpiod_set_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 1-u64max |
| PARAM_VALUE | 1 | value | 0 |
| BUF_SIZE | 0 | desc | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min,(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/i2c/busses/i2c-iop3xx.c iop3xx_i2c_enable() -> gpiod_set_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 1-u64max |
| PARAM_VALUE | 1 | value | 0 |
| BUF_SIZE | 0 | desc | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min,(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/w1/masters/w1-gpio.c w1_gpio_set_pullup() -> gpiod_set_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->bus_mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &sl->master->bus_mutex |
drivers/staging/greybus/arche-apb-ctrl.c assert_reset() -> gpiod_set_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | value | 0 |
| DATA_SOURCE | 0 | desc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/staging/greybus/arche-apb-ctrl.c deassert_reset() -> gpiod_set_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 0,4096-u64max |
| PARAM_VALUE | 1 | value | 1 |
| DATA_SOURCE | 0 | desc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |
drivers/staging/greybus/arche-platform.c svc_reset_onoff() -> gpiod_set_raw_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | desc | s32min,(-1),1-s32max |
| BUF_SIZE | 0 | desc | s32min,(-1),1-s32max |
| DATA_SOURCE | 0 | desc | $0 |
| DATA_SOURCE | 1 | value | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &arche_pdata->platform_state_mutex | ||
| HALF_LOCKED2 | &of->mutex |