Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 4943 (as a function)
- include/linux/gpio/consumer.h, line 204 (as a function)
Referenced in 26 files:
- arch/arm/mach-omap1/board-nokia770.c
- arch/arm/mach-omap1/board-osk.c
- arch/arm/mach-omap1/board-palmte.c
- arch/arm/mach-omap1/board-sx1.c
- arch/arm/mach-omap2/pdata-quirks.c
- arch/mips/txx9/rbtx4927/setup.c, line 170
- drivers/gpio/gpiolib.c, line 4948
- drivers/gpu/drm/omapdrm/dss/dsi.c, line 4307
- drivers/hte/hte-tegra194-test.c
- drivers/i2c/busses/i2c-gpio.c, line 364
- drivers/input/touchscreen/egalax_ts.c, line 127
- drivers/input/touchscreen/mainstone-wm97xx.c, line 191
- drivers/leds/leds-netxbig.c, line 413
- drivers/mmc/host/mmci.c
- drivers/net/ethernet/apm/xgene/xgene_enet_main.c
- drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c
- drivers/net/ethernet/asix/ax88796c_main.c, line 950
- drivers/platform/surface/aggregator/controller.c, line 2756
- drivers/platform/x86/asus-tf103c-dock.c, line 746
- drivers/platform/x86/intel/int3472/discrete.c, line 120
- drivers/power/supply/collie_battery.c
- drivers/regulator/max20411-regulator.c, line 129
- drivers/spi/spi-bcm2835.c, line 1329
- drivers/video/fbdev/omap/lcd_mipid.c, line 562
- sound/soc/intel/boards/bdw-rt5677.c, line 250
- sound/soc/intel/boards/bytcr_wm5102.c, line 564
Smatch caller information:
sound/soc/intel/boards/bdw-rt5677.c bdw_rt5677_init() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | dev->driver_data->regmap->cache_dirty | 1 |
| PARAM_VALUE | 1 | con_id | 5424275740640657408 |
| PARAM_VALUE | 2 | flags | 3 |
| BUF_SIZE | 1 | con_id | 17 |
| STR_LEN | 0 | dev | 16 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
drivers/gpu/drm/bridge/tda998x_drv.c tda998x_cec_hook_init() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 2089366131388727296 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 1 | con_id | 10 |
| STR_LEN | 0 | dev | 9 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/intel/boards/bytcr_wm5102.c snd_byt_wm5102_mc_probe() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 6519296217844719616 |
| PARAM_VALUE | 2 | flags | 3 |
| BUF_SIZE | 1 | con_id | 15 |
| DATA_SOURCE | 0 | dev | r bus_find_device_by_name |
| STR_LEN | 0 | dev | 14 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-bcm2835.c bcm2835_spi_setup() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 6646491993383280640 |
| PARAM_VALUE | 2 | flags | 3 |
| BUF_SIZE | 1 | con_id | 3 |
| STR_LEN | 0 | dev | 2 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &spi->controller->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c xgene_enet_gpio_lookup() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 2054524749975478272 |
| PARAM_VALUE | 2 | flags | 1 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | con_id | 6 |
| STR_LEN | 0 | dev | 5 |
| TERMINATED | 1 | con_id | 1 |
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c xgene_enet_gpio_lookup() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 1122536603455381504 |
| PARAM_VALUE | 2 | flags | 1 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | con_id | 4 |
| STR_LEN | 0 | dev | 3 |
| TERMINATED | 1 | con_id | 1 |
drivers/input/touchscreen/egalax_ts.c egalax_wake_up_device() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 1481185143085604864 |
| PARAM_VALUE | 2 | flags | 7 |
| BUF_SIZE | 1 | con_id | 7 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/intel/int3472/discrete.c skl_int3472_gpiod_get_from_temp_lookup() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | flags | 3 |
| DATA_SOURCE | 1 | con_id | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctrl->lock | ||
| HALF_LOCKED2 | global &acpi_link_lock | ||
| HALF_LOCKED2 | global &ioapic_list_lock |
drivers/net/ethernet/asix/ax88796c_main.c ax88796c_hard_reset() -> gpiod_get()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 3361649541988134912 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | con_id | 6 |
| STR_LEN | 0 | dev | 5 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ax_local->spi_lock | ||
| TYPE_LOCK | (struct ax88796c_device)->spi_lock |
drivers/i2c/busses/i2c-gpio.c i2c_gpio_get_desc() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 851545629603794944,6033544222548254720 |
| PARAM_VALUE | 2 | flags | 7,15 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | con_id | 4 |
| BUF_SIZE | 1 | con_id | 4 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | con_id | $1 |
| DATA_SOURCE | 2 | flags | $3 |
| FUZZY_MAX | 2 | flags | 15 |
| STR_LEN | 0 | dev | 3 |
| STR_LEN | 0 | dev | 3 |
| BIT_INFO | 2 | flags | 0x7,0xf |
| TERMINATED | 1 | con_id | 1 |
| HARD_MAX | 2 | flags | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/net/ethernet/apm/xgene/xgene_enet_main.c xgene_enet_gpiod_get() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 2054524749975478272 |
| PARAM_VALUE | 2 | flags | 1 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | con_id | 6 |
| STR_LEN | 0 | dev | 5 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/apm/xgene/xgene_enet_main.c xgene_enet_gpiod_get() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 1122536603455381504 |
| PARAM_VALUE | 2 | flags | 1 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | con_id | 4 |
| STR_LEN | 0 | dev | 3 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/max20411-regulator.c max20411_probe() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 6521256557487935488 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | con_id | 7 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/omapdrm/dss/dsi.c omap_dsi_register_te_irq() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 4951649787147587584 |
| PARAM_VALUE | 2 | flags | 1 |
| BUF_SIZE | 1 | con_id | 9 |
| STR_LEN | 0 | dev | 8 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/surface/aggregator/controller.c ssam_irq_setup() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 1 | con_id | 8431116286438100992 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | con_id | 16 |
| DATA_SOURCE | 0 | dev | r ssam_controller_device |
| STR_LEN | 0 | dev | 15 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hte/hte-tegra194-test.c tegra_hte_test_probe() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 7577994932826013696 |
| PARAM_VALUE | 1 | con_id | 5677900772513140736 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 1 | con_id | 4 |
| STR_LEN | 0 | dev | 3 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hte/hte-tegra194-test.c tegra_hte_test_probe() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 7577994932826013696 |
| PARAM_VALUE | 1 | con_id | 705614506351214592 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 1 | con_id | 3 |
| STR_LEN | 0 | dev | 2 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/leds/leds-netxbig.c netxbig_gpio_ext_get() -> gpiod_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ops->dma_supported | 0,527,50235921770707435,2528523692154392576,3617072262637035520 |
| PARAM_VALUE | 0 | dev->dma_ops->map_phys | 0,632,48484213451719352,2506261230157742080,4169194063996235776 |
| PARAM_VALUE | 0 | dev->dma_ops->map_sg | 0,663,58722010135957667,2118452656510775296,2518538481676259328 |
| PARAM_VALUE | 0 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_phys | 0,775,62571895156780032,3634718672199266304,5690836758666383360 |
| PARAM_VALUE | 0 | dev->dma_ops->unmap_sg | 0,892,86767622481470668,1256335292805263360,8472845699660435456 |
| PARAM_VALUE | 1 | con_id | 6521256557487935488 |
| PARAM_VALUE | 2 | flags | 3 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | con_id | 7 |
| DATA_SOURCE | 0 | dev | $1 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/asus-tf103c-dock.c tf103c_dock_probe() -> gpiod_get()
| 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->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | con_id | 7616020344545570816 |
| PARAM_VALUE | 2 | flags | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | con_id | 10 |
| STR_LEN | 0 | dev | 9 |
| TERMINATED | 1 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |