Symbol: devm_gpiod_get_index
arch/mips/lantiq/xway/vmmc.c
41
gpio = devm_gpiod_get_index(&pdev->dev,
drivers/ata/sata_highbank.c
188
gpiod = devm_gpiod_get_index(dev, "calxeda,sgpio", i,
drivers/auxdisplay/hd44780.c
237
hd->pins[base + i] = devm_gpiod_get_index(dev, "data", i,
drivers/gpio/gpio-aggregator.c
1606
descs[i] = devm_gpiod_get_index(dev, NULL, i, GPIOD_ASIS);
drivers/gpio/gpiolib-devres.c
124
EXPORT_SYMBOL_GPL(devm_gpiod_get_index);
drivers/gpio/gpiolib-devres.c
188
desc = devm_gpiod_get_index(dev, con_id, index, flags);
drivers/gpio/gpiolib-devres.c
51
return devm_gpiod_get_index(dev, con_id, 0, flags);
drivers/gpu/drm/bridge/ti-tpd12s015.c
160
gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_IN);
drivers/gpu/drm/i915/display/intel_dsi_vbt.c
215
gpio_desc = devm_gpiod_get_index(display->drm->dev, con_id, idx,
drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c
164
lcd->mo_gpio = devm_gpiod_get_index(&pdev->dev, "mode", 0,
drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c
171
lcd->lr_gpio = devm_gpiod_get_index(&pdev->dev, "mode", 1,
drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c
178
lcd->ud_gpio = devm_gpiod_get_index(&pdev->dev, "mode", 2,
drivers/hsi/clients/nokia-modem.c
98
modem->gpios[i].gpio = devm_gpiod_get_index(dev, NULL, i,
drivers/hwmon/gpio-fan.c
469
gpios[i] = devm_gpiod_get_index(dev, NULL, i, GPIOD_ASIS);
drivers/i2c/busses/i2c-cbus-gpio.c
226
chost->clk = devm_gpiod_get_index(&pdev->dev, NULL, 0, GPIOD_OUT_LOW);
drivers/i2c/busses/i2c-cbus-gpio.c
229
chost->dat = devm_gpiod_get_index(&pdev->dev, NULL, 1, GPIOD_IN);
drivers/i2c/busses/i2c-cbus-gpio.c
232
chost->sel = devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_OUT_HIGH);
drivers/i2c/busses/i2c-gpio.c
317
retdesc = devm_gpiod_get_index(dev, NULL, index, gflags);
drivers/i2c/busses/i2c-s3c2410.c
910
i2c->gpios[i] = devm_gpiod_get_index(i2c->dev, NULL,
drivers/i2c/muxes/i2c-arb-gpio-challenge.c
140
dummy = devm_gpiod_get_index(dev, "their-claim", 1, GPIOD_IN);
drivers/i2c/muxes/i2c-mux-gpio.c
194
gpiod = devm_gpiod_get_index(&pdev->dev, "mux", i, flag);
drivers/iio/accel/mma9551.c
409
gpio = devm_gpiod_get_index(dev, NULL, i, GPIOD_IN);
drivers/iio/pressure/hp03.c
233
priv->xclr_gpio = devm_gpiod_get_index(dev, "xclr", 0, GPIOD_OUT_HIGH);
drivers/input/keyboard/clps711x-keypad.c
118
data->desc = devm_gpiod_get_index(dev, "row", i, GPIOD_IN);
drivers/input/keyboard/matrix_keypad.c
321
keypad->col_gpios[i] = devm_gpiod_get_index(&pdev->dev, "col",
drivers/input/keyboard/matrix_keypad.c
340
keypad->row_gpios[i] = devm_gpiod_get_index(&pdev->dev, "row",
drivers/input/touchscreen/auo-pixcir-ts.c
548
ts->gpio_int = devm_gpiod_get_index(&client->dev, NULL, 0, GPIOD_IN);
drivers/input/touchscreen/auo-pixcir-ts.c
559
ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1,
drivers/input/touchscreen/surface3_spi.c
232
gpiod = devm_gpiod_get_index(dev, NULL, i, GPIOD_OUT_LOW);
drivers/input/touchscreen/zforce_ts.c
712
ts->gpio_int = devm_gpiod_get_index(&client->dev, NULL, 0,
drivers/input/touchscreen/zforce_ts.c
721
ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1,
drivers/mmc/core/slot-gpio.c
183
desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN);
drivers/mmc/core/slot-gpio.c
255
desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN);
drivers/net/mdio/mdio-gpio.c
38
bitbang->mdc = devm_gpiod_get_index(dev, NULL, MDIO_GPIO_MDC,
drivers/net/mdio/mdio-gpio.c
43
bitbang->mdio = devm_gpiod_get_index(dev, NULL, MDIO_GPIO_MDIO,
drivers/nfc/trf7970a.c
2078
trf->en_gpiod = devm_gpiod_get_index(trf->dev, "ti,enable", 0,
drivers/pci/controller/dwc/pcie-kirin.c
380
pcie->id_clkreq_gpio[i] = devm_gpiod_get_index(dev,
drivers/phy/motorola/phy-cpcap-usb.c
551
ddata->gpio[i] = devm_gpiod_get_index(ddata->dev, "mode",
drivers/platform/x86/gpd-pocket-fan.c
170
fan->gpio0 = devm_gpiod_get_index(fan->dev, NULL, 0, GPIOD_ASIS);
drivers/platform/x86/gpd-pocket-fan.c
174
fan->gpio1 = devm_gpiod_get_index(fan->dev, NULL, 1, GPIOD_ASIS);
drivers/platform/x86/siemens/simatic-ipc-batt.c
181
priv.gpios[0] = devm_gpiod_get_index(dev, "CMOSBattery empty", 0, GPIOD_IN);
drivers/platform/x86/siemens/simatic-ipc-batt.c
187
priv.gpios[1] = devm_gpiod_get_index(dev, "CMOSBattery low", 1, GPIOD_IN);
drivers/platform/x86/siemens/simatic-ipc-batt.c
199
priv.gpios[2] = devm_gpiod_get_index(dev, "CMOSBattery meter", 2, flags);
drivers/power/supply/cpcap-charger.c
812
ddata->gpio[i] = devm_gpiod_get_index(ddata->dev, "mode",
drivers/regulator/gpio-regulator.c
280
drvdata->gpiods[i] = devm_gpiod_get_index(dev,
drivers/regulator/lp8788-buck.c
427
buck->gpio1 = devm_gpiod_get_index(dev, "dvs", 0, GPIOD_OUT_LOW);
drivers/regulator/lp8788-buck.c
432
buck->gpio2 = devm_gpiod_get_index(dev, "dvs", 1, GPIOD_OUT_LOW);
drivers/regulator/max8997-regulator.c
1097
max8997->buck125_gpiods[i] = devm_gpiod_get_index(iodev->dev,
drivers/regulator/s5m8767.c
750
s5m8767->buck_gpios[i] = devm_gpiod_get_index(iodev->dev,
drivers/regulator/s5m8767.c
763
s5m8767->buck_ds[i] = devm_gpiod_get_index(iodev->dev,
drivers/spi/spi-gpio.c
331
spi_gpio->cs_gpios[i] = devm_gpiod_get_index(dev, "cs", i,
drivers/usb/host/fhci-hcd.c
635
fhci->gpiods[i] = devm_gpiod_get_index(dev,
drivers/usb/misc/brcmstb-usb-pinmap.c
141
pin->gpiod = devm_gpiod_get_index(dev, "in", x, GPIOD_IN);
drivers/usb/misc/brcmstb-usb-pinmap.c
173
pout->gpiod = devm_gpiod_get_index(dev, "out", x,
drivers/video/fbdev/atmel_lcdfb.c
969
gpiod = devm_gpiod_get_index(dev, "atmel,power-control",
drivers/video/fbdev/omap2/omapfb/displays/encoder-tpd12s015.c
256
gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2,
drivers/video/fbdev/omap2/omapfb/displays/panel-sharp-ls037v7dw01.c
197
gd = devm_gpiod_get_index(dev, desc, index, GPIOD_OUT_LOW);
drivers/w1/masters/w1-gpio.c
92
ddata->gpiod = devm_gpiod_get_index(dev, NULL, 0, gflags);
drivers/watchdog/mena21_wdt.c
156
drv->gpios[i] = devm_gpiod_get_index(dev, NULL, i, gflags);
include/linux/gpio/consumer.h
91
struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev,
sound/atmel/ac97c.c
761
chip->reset_pin = devm_gpiod_get_index(dev, "ac97", 2, GPIOD_OUT_HIGH);
sound/soc/soc-ac97.c
339
cfg->sync_gpio = devm_gpiod_get_index(dev, "ac97", 0, GPIOD_ASIS);
sound/soc/soc-ac97.c
344
cfg->sdata_gpio = devm_gpiod_get_index(dev, "ac97", 1, GPIOD_ASIS);
sound/soc/soc-ac97.c
349
cfg->reset_gpio = devm_gpiod_get_index(dev, "ac97", 2, GPIOD_ASIS);