Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 58 files:

Smatch caller information:

drivers/i2c/busses/i2c-i801.c i801_add_mux() -> gpiod_add_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/gpio/gpio-virtuser.c gpio_virtuser_make_lookup_table() -> gpiod_add_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 24-u64max
BUF_SIZE 0 table 24-u64max
BUF_SIZE 0 table->dev_id 0-s32max
CAPPED_DATA 0 table->dev_id 1
DATA_SOURCE 0 table r _kzalloc_noprof
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-ath79.c ath79_gpio_register_wifi_descriptors() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->dev_id 0
BUF_SIZE 0 table 1344
BUF_SIZE 0 table 1344
BUF_SIZE 0 table->table 1320
DATA_SOURCE 0 table r devm_kzalloc
MEM_ZERO 0 table
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/x86/siemens/simatic-ipc-batt.c simatic_ipc_batt_probe() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 324460403047092224,4909549302123003904,6201541713896419328,7920184352058236928,9003870604466151424
BUF_SIZE 0 table (-1),24
BUF_SIZE 0 table (-1),24
BUF_SIZE 0 table->dev_id 1-s32max
DATA_SOURCE 0 table $1
BIT_INFO 0 table 0x0,0x7ffefffcffdff000
BIT_INFO 0 table 0x0,0x7ffefffcffdff000
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/leds/simatic/simatic-ipc-leds-gpio-core.c simatic_ipc_leds_gpio_probe() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 156435302335979520,3513131204656402432,4112498188731367424,8066035166123409408
BUF_SIZE 0 table (-1),24
BUF_SIZE 0 table (-1),24
DATA_SOURCE 0 table $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/leds/simatic/simatic-ipc-leds-gpio-core.c simatic_ipc_leds_gpio_probe() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 1108753769377054720,2602810007779610624
BUF_SIZE 0 table (-1)-0,24
BUF_SIZE 0 table (-1)-0,24
BUF_SIZE 0 table->dev_id 1-s32max
DATA_SOURCE 0 table $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/usb/gadget/udc/pch_udc.c pch_vbus_gpio_add_table() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 6034302586165260288
DATA_SOURCE 0 table $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c pch_gbe_gpio_add_table() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 2748457470990344192
DATA_SOURCE 0 table $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/platform/x86/intel/atomisp2/led.c atomisp2_led_init() -> gpiod_add_lookup_table()

Type Parameter Key Value
BUF_SIZE 0 table 9
BUF_SIZE 0 table 9
NOCHECK_CALL

drivers/video/fbdev/via/via-gpio.c viafb_gpio_probe() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 1946603374321504256
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.c isp_v4_1_1_hw_init() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 2735341051239927808
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/isp_v4_1_1.c isp_v4_1_1_hw_init() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 5314564375712677888
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/spi/spi-bcm2835.c bcm2835_spi_setup() -> gpiod_add_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_quirks() -> gpiod_add_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_add_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/mfd/sm501.c sm501_register_gpio_i2c_instance() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->dev_id 392638496427126784
BUF_SIZE 0 table 144
BUF_SIZE 0 table 144
BUF_SIZE 0 table->dev_id 9
BUF_SIZE 0 table->table 120
DATA_SOURCE 0 table r devm_kzalloc
STR_LEN 0 table->dev_id 8
TERMINATED 0 table->dev_id 1
MEM_ZERO 0 table
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpio/gpiolib-shared.c gpio_shared_add_proxy_lookup() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
BUF_SIZE 0 table 104
BUF_SIZE 0 table 104
STR_LEN 0 table->dev_id (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &consumer->mutex

drivers/mmc/host/sdhci-pci-core.c sdhci_pci_add_gpio_lookup_table() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 1-u64max
PARAM_VALUE 0 table->table 4096-ptr_max
BUF_SIZE 0 table s32min-s32max
DATA_SOURCE 0 table r kmemdup_noprof
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_parse_crs() -> gpiod_add_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 184
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_add_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_probe() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 784071627657379840
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/x86/lenovo/yogabook.c yogabook_pdev_probe() -> gpiod_add_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_add_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_add_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_new_device_store() -> gpiod_add_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_windows_probe() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->table 0
BUF_SIZE 0 table 144
BUF_SIZE 0 table 144
BUF_SIZE 0 table->dev_id 1-s32max
BUF_SIZE 0 table->table 120
DATA_SOURCE 0 table r devm_kzalloc
MEM_ZERO 0 table
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/x86/sel3350-platform.c sel3350_probe() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 3220613774775939072
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpib/gpio/gpib_bitbang.c allocate_gpios() -> gpiod_add_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_add_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_probe() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 6900523631530672128
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/bluetooth/hci_bcm.c bcm_get_resources() -> gpiod_add_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_add_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_add_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_add_lookup_table()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/x86/asus-tf103c-dock.c tf103c_dock_probe() -> gpiod_add_lookup_table()

Type Parameter Key Value
PARAM_VALUE 0 table 5966042644092968960
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL