/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-devres.c | 60 return devm_gpiod_get_index(dev, con_id, 0, flags); in devm_gpiod_get() 93 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index() function 130 EXPORT_SYMBOL_GPL(devm_gpiod_get_index); 193 desc = devm_gpiod_get_index(dev, con_id, index, flags); in devm_gpiod_get_index_optional()
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-sharp-ls037v7dw01.c | 163 lcd->mo_gpio = devm_gpiod_get_index(&pdev->dev, "mode", 0, in ls037v7dw01_probe() 170 lcd->lr_gpio = devm_gpiod_get_index(&pdev->dev, "mode", 1, in ls037v7dw01_probe() 177 lcd->ud_gpio = devm_gpiod_get_index(&pdev->dev, "mode", 2, in ls037v7dw01_probe()
|
/openbmc/linux/drivers/platform/x86/siemens/ |
H A D | simatic-ipc-batt.c | 182 priv.gpios[0] = devm_gpiod_get_index(dev, "CMOSBattery empty", 0, GPIOD_IN); in simatic_ipc_batt_probe() 188 priv.gpios[1] = devm_gpiod_get_index(dev, "CMOSBattery low", 1, GPIOD_IN); in simatic_ipc_batt_probe() 200 priv.gpios[2] = devm_gpiod_get_index(dev, "CMOSBattery meter", 2, flags); in simatic_ipc_batt_probe()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-cbus-gpio.c | 226 chost->clk = devm_gpiod_get_index(&pdev->dev, NULL, 0, GPIOD_OUT_LOW); in cbus_i2c_probe() 229 chost->dat = devm_gpiod_get_index(&pdev->dev, NULL, 1, GPIOD_IN); in cbus_i2c_probe() 232 chost->sel = devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_OUT_HIGH); in cbus_i2c_probe()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | gpd-pocket-fan.c | 170 fan->gpio0 = devm_gpiod_get_index(fan->dev, NULL, 0, GPIOD_ASIS); in gpd_pocket_fan_probe() 174 fan->gpio1 = devm_gpiod_get_index(fan->dev, NULL, 1, GPIOD_ASIS); in gpd_pocket_fan_probe()
|
/openbmc/linux/drivers/net/mdio/ |
H A D | mdio-gpio.c | 38 bitbang->mdc = devm_gpiod_get_index(dev, NULL, MDIO_GPIO_MDC, in mdio_gpio_get_data() 43 bitbang->mdio = devm_gpiod_get_index(dev, NULL, MDIO_GPIO_MDIO, in mdio_gpio_get_data()
|
/openbmc/linux/sound/soc/ |
H A D | soc-ac97.c | 332 cfg->sync_gpio = devm_gpiod_get_index(dev, "ac97", 0, GPIOD_ASIS); in snd_soc_ac97_parse_pinctl() 337 cfg->sdata_gpio = devm_gpiod_get_index(dev, "ac97", 1, GPIOD_ASIS); in snd_soc_ac97_parse_pinctl() 342 cfg->reset_gpio = devm_gpiod_get_index(dev, "ac97", 2, GPIOD_ASIS); in snd_soc_ac97_parse_pinctl()
|
/openbmc/linux/arch/mips/lantiq/xway/ |
H A D | vmmc.c | 41 gpio = devm_gpiod_get_index(&pdev->dev, in vmmc_probe()
|
/openbmc/linux/drivers/mmc/core/ |
H A D | slot-gpio.c | 196 desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN); in mmc_gpiod_request_cd() 268 desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN); in mmc_gpiod_request_ro()
|
/openbmc/linux/drivers/usb/misc/ |
H A D | brcmstb-usb-pinmap.c | 141 pin->gpiod = devm_gpiod_get_index(dev, "in", x, GPIOD_IN); in parse_pins() 173 pout->gpiod = devm_gpiod_get_index(dev, "out", x, in parse_pins()
|
/openbmc/linux/drivers/w1/masters/ |
H A D | w1-gpio.c | 107 pdata->gpiod = devm_gpiod_get_index(dev, NULL, 0, gflags); in w1_gpio_probe()
|
/openbmc/linux/drivers/i2c/muxes/ |
H A D | i2c-arb-gpio-challenge.c | 140 dummy = devm_gpiod_get_index(dev, "their-claim", 1, GPIOD_IN); in i2c_arbitrator_probe()
|
H A D | i2c-mux-gpio.c | 189 gpiod = devm_gpiod_get_index(&pdev->dev, "mux", i, flag); in i2c_mux_gpio_probe()
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | ti-tpd12s015.c | 155 gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_IN); in tpd12s015_probe()
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | clps711x-keypad.c | 118 data->desc = devm_gpiod_get_index(dev, "row", i, GPIOD_IN); in clps711x_keypad_probe()
|
/openbmc/linux/drivers/watchdog/ |
H A D | mena21_wdt.c | 156 drv->gpios[i] = devm_gpiod_get_index(dev, NULL, i, gflags); in a21_wdt_probe()
|
/openbmc/linux/include/linux/gpio/ |
H A D | consumer.h | 89 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, 274 devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index() function
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | auo-pixcir-ts.c | 548 ts->gpio_int = devm_gpiod_get_index(&client->dev, NULL, 0, GPIOD_IN); in auo_pixcir_probe() 559 ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1, in auo_pixcir_probe()
|
H A D | zforce_ts.c | 777 ts->gpio_int = devm_gpiod_get_index(&client->dev, NULL, 0, in zforce_probe() 787 ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1, in zforce_probe()
|
/openbmc/linux/drivers/iio/pressure/ |
H A D | hp03.c | 233 priv->xclr_gpio = devm_gpiod_get_index(dev, "xclr", 0, GPIOD_OUT_HIGH); in hp03_probe()
|
/openbmc/linux/drivers/hsi/clients/ |
H A D | nokia-modem.c | 98 modem->gpios[i].gpio = devm_gpiod_get_index(dev, NULL, i, in nokia_modem_gpio_probe()
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-sharp-ls037v7dw01.c | 197 gd = devm_gpiod_get_index(dev, desc, index, GPIOD_OUT_LOW); in sharp_ls_get_gpio_of()
|
H A D | encoder-tpd12s015.c | 256 gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2, in tpd_probe()
|
/openbmc/linux/drivers/auxdisplay/ |
H A D | hd44780.c | 240 hd->pins[base + i] = devm_gpiod_get_index(dev, "data", i, in hd44780_probe()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-gpio.c | 224 gpiod = devm_gpiod_get_index(dev, NULL, idx, GPIOD_OUT_LOW); in gpio_led_get_gpiod()
|