Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpio/gpiolib.c, line 4586 (as a function)
- include/linux/gpio/machine.h, line 91 (as a function)
Referenced in 26 files:
- arch/arm/mach-sa1100/neponset.c
- drivers/bluetooth/hci_bcm.c, line 1151
- drivers/gpib/gpio/gpib_bitbang.c
- drivers/gpio/gpio-aggregator.c
- drivers/gpio/gpio-virtuser.c, line 1415
- drivers/gpio/gpiolib-shared.c, line 609
- drivers/gpio/gpiolib.c, line 4596
- drivers/gpu/drm/i915/display/intel_dsi_vbt.c
- drivers/i2c/busses/i2c-i801.c
- drivers/leds/simatic/simatic-ipc-leds-gpio-core.c
- drivers/mfd/arizona-spi.c, line 48
- drivers/mmc/host/sdhci-pci-core.c, line 2118
- drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c, line 2633
- drivers/platform/x86/asus-tf103c-dock.c, line 712
- drivers/platform/x86/intel/atomisp2/led.c
- drivers/platform/x86/intel/int3472/discrete.c
- drivers/platform/x86/intel/int3472/tps68470.c
- drivers/platform/x86/lenovo/yogabook.c
- drivers/platform/x86/sel3350-platform.c
- drivers/platform/x86/siemens/simatic-ipc-batt.c, line 151
- drivers/platform/x86/x86-android-tablets/core.c, line 64
- drivers/spi/spi-bcm2835.c, line 1330
- drivers/usb/dwc3/dwc3-pci.c, line 405
- drivers/usb/gadget/udc/pch_udc.c, line 2940
- sound/soc/intel/boards/sof_wm8804.c, line 286
- sound/soc/samsung/speyside.c, line 352
Smatch caller information:
drivers/i2c/busses/i2c-i801.c i801_add_mux() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->dev_id | 1384758214027743232 |
| PARAM_VALUE | 0 | table->table | 0 |
| BUF_SIZE | 0 | table | 24-u64max |
| BUF_SIZE | 0 | table | 24-u64max |
| BUF_SIZE | 0 | table->dev_id | 13 |
| DATA_SOURCE | 0 | table | r devm_kzalloc |
| STR_LEN | 0 | table->dev_id | 12 |
| TERMINATED | 0 | table->dev_id | 1 |
| MEM_ZERO | 0 | table | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/i2c/busses/i2c-i801.c i801_del_mux() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/gpio/gpio-virtuser.c gpio_virtuser_remove_lookup_table() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
drivers/platform/x86/siemens/simatic-ipc-batt.c simatic_ipc_batt_remove() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | table | (-1),24 |
| BUF_SIZE | 0 | table | (-1),24 |
| BUF_SIZE | 0 | table->dev_id | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | table | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/leds/simatic/simatic-ipc-leds-gpio-core.c simatic_ipc_leds_gpio_remove() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | table | (-1),24 |
| BUF_SIZE | 0 | table | (-1),24 |
| DATA_SOURCE | 0 | table | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/leds/simatic/simatic-ipc-leds-gpio-core.c simatic_ipc_leds_gpio_remove() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | table | (-1)-0,24 |
| BUF_SIZE | 0 | table | (-1)-0,24 |
| BUF_SIZE | 0 | table->dev_id | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | table | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/usb/gadget/udc/pch_udc.c pch_vbus_gpio_remove_table() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | table | $0 |
| NOCHECK_CALL |
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c pch_gbe_gpio_remove_table() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | table | $0 |
| NOCHECK_CALL |
drivers/platform/x86/intel/atomisp2/led.c atomisp2_led_cleanup() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
drivers/platform/x86/intel/atomisp2/led.c atomisp2_led_init() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | table | 9 |
| BUF_SIZE | 0 | table | 9 |
| NOCHECK_CALL |
drivers/spi/spi-bcm2835.c bcm2835_spi_setup() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->table | 4096-ptr_max |
| BUF_SIZE | 0 | table | 104 |
| BUF_SIZE | 0 | table | 104 |
| BUF_SIZE | 0 | table->dev_id | (-1),1-s32max |
| DATA_SOURCE | 0 | table | r _kzalloc_noprof |
| STR_LEN | 0 | table->dev_id | (-1),49 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &spi->controller->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/usb/dwc3/dwc3-pci.c dwc3_pci_remove() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 6823073660437213184 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/x86-android-tablets/core.c x86_android_tablet_get_gpiod() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->dev_id | 1707557320553422848 |
| PARAM_VALUE | 0 | table->table | 4096-ptr_max |
| BUF_SIZE | 0 | table | 104 |
| BUF_SIZE | 0 | table | 104 |
| BUF_SIZE | 0 | table->dev_id | 20 |
| DATA_SOURCE | 0 | table | r _kzalloc_noprof |
| STR_LEN | 0 | table->dev_id | 19 |
| TERMINATED | 0 | table->dev_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpio/gpiolib-shared.c gpio_device_teardown_shared() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &bank->deferred_lock | ||
| HALF_LOCKED2 | &hdev->driver_input_lock |
drivers/mmc/host/sdhci-pci-core.c sdhci_pci_remove_gpio_lookup_table() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 1-ptr_max |
| PARAM_VALUE | 0 | table->table | 4096-ptr_max |
| DATA_SOURCE | 0 | table | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/platform/x86/intel/int3472/discrete.c int3472_discrete_cleanup() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/platform/x86/intel/int3472/discrete.c skl_int3472_gpiod_get_from_temp_lookup() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->table | 4096-ptr_max |
| BUF_SIZE | 0 | table | 104 |
| BUF_SIZE | 0 | table | 104 |
| BUF_SIZE | 0 | table->dev_id | 1-s32max |
| DATA_SOURCE | 0 | table | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctrl->lock | ||
| HALF_LOCKED2 | global &acpi_link_lock | ||
| HALF_LOCKED2 | global &ioapic_list_lock |
sound/soc/intel/boards/sof_wm8804.c sof_wm8804_remove() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 784071627657379840 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/platform/x86/lenovo/yogabook.c yogabook_pdev_probe() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 7456793135533887488 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/lenovo/yogabook.c yogabook_probe() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 612040088167919616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpio/gpio-aggregator.c gpio_aggregator_activate() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->dev_id | 1-u64max |
| BUF_SIZE | 0 | table | 64,u64max |
| BUF_SIZE | 0 | table | 64,u64max |
| BUF_SIZE | 0 | table->dev_id | 0-s32max |
| CAPPED_DATA | 0 | table->dev_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |
drivers/gpio/gpio-aggregator.c gpio_aggregator_deactivate() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpio/gpio-aggregator.c gpio_aggregator_new_device_store() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/mfd/arizona-spi.c arizona_spi_acpi_remove_lookup() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | table | $0 |
| NOCHECK_CALL |
drivers/platform/x86/sel3350-platform.c sel3350_probe() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 3220613774775939072 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/sel3350-platform.c sel3350_remove() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 3220613774775939072 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/gpib/gpio/gpib_bitbang.c allocate_gpios() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| BUF_SIZE | 0 | table->dev_id | 1-s32max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &board->big_gpib_mutex | ||
| TYPE_LOCK | (struct gpib_board)->big_gpib_mutex |
drivers/gpib/gpio/gpib_bitbang.c allocate_gpios() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| BUF_SIZE | 0 | table->dev_id | 1-s32max |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | &board->big_gpib_mutex | ||
| TYPE_LOCK | (struct gpib_board)->big_gpib_mutex |
sound/soc/samsung/speyside.c speyside_gpiod_table_action() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 6900523631530672128 |
| NOCHECK_CALL |
drivers/bluetooth/hci_bcm.c bcm_get_resources() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 1-u64max |
| BUF_SIZE | 0 | table | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/intel_dsi_vbt.c intel_dsi_vbt_gpio_init() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 5798978685897465856,7910121523011321856 |
| BUF_SIZE | 0 | table | 24 |
| BIT_INFO | 0 | table | 0x4042040190420000,0x7dfe7dfffdfbe000 |
| BIT_INFO | 0 | table | 0x4042040190420000,0x7dfe7dfffdfbe000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/gpu/drm/i915/display/intel_dsi_vbt.c soc_opaque_gpio_set_value() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->dev_id | 4144483785996349440 |
| PARAM_VALUE | 0 | table->table | 4096-ptr_max |
| BUF_SIZE | 0 | table | 104 |
| BUF_SIZE | 0 | table | 104 |
| BUF_SIZE | 0 | table->dev_id | 13 |
| DATA_SOURCE | 0 | table | r _kzalloc_noprof |
| STR_LEN | 0 | table->dev_id | 12 |
| TERMINATED | 0 | table->dev_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/intel/int3472/tps68470.c skl_int3472_tps68470_probe() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/intel/int3472/tps68470.c skl_int3472_tps68470_remove() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/platform/x86/asus-tf103c-dock.c tf103c_dock_non_devm_cleanup() -> gpiod_remove_lookup_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 5966042644092968960 |
| NOCHECK_CALL |