Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 264 (as a function)
- include/linux/gpio/driver.h, line 835 (as a function)
Referenced in 4 files:
- drivers/gpio/gpio-aspeed.c
- drivers/gpio/gpiolib.c, line 271
- drivers/soc/fsl/qe/gpio.c, line 230
- drivers/usb/misc/usb251xb.c, line 245
Smatch caller information:
drivers/usb/misc/usb251xb.c usb251x_check_gpio_chip() -> gpiod_to_chip()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpio/gpio-aspeed.c aspeed_gpio_copro_grab_gpio() -> gpiod_to_chip()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &master->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct fsi_master_acf)->lock |
drivers/gpio/gpio-aspeed.c aspeed_gpio_copro_release_gpio() -> gpiod_to_chip()
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &master->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/soc/fsl/qe/gpio.c qe_pin_request() -> gpiod_to_chip()
| 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 |
| DATA_SOURCE | 0 | desc | r gpiod_get_index |