Home
last modified time | relevance | path

Searched refs:devm_gpiod_get_index (Results 1 – 25 of 43) sorted by relevance

12

/openbmc/linux/drivers/gpio/
H A Dgpiolib-devres.c60 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 Dpanel-sharp-ls037v7dw01.c163 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 Dsimatic-ipc-batt.c182 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 Di2c-cbus-gpio.c226 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 Dgpd-pocket-fan.c170 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 Dmdio-gpio.c38 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 Dsoc-ac97.c332 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 Dvmmc.c41 gpio = devm_gpiod_get_index(&pdev->dev, in vmmc_probe()
/openbmc/linux/drivers/mmc/core/
H A Dslot-gpio.c196 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 Dbrcmstb-usb-pinmap.c141 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 Dw1-gpio.c107 pdata->gpiod = devm_gpiod_get_index(dev, NULL, 0, gflags); in w1_gpio_probe()
/openbmc/linux/drivers/i2c/muxes/
H A Di2c-arb-gpio-challenge.c140 dummy = devm_gpiod_get_index(dev, "their-claim", 1, GPIOD_IN); in i2c_arbitrator_probe()
H A Di2c-mux-gpio.c189 gpiod = devm_gpiod_get_index(&pdev->dev, "mux", i, flag); in i2c_mux_gpio_probe()
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dti-tpd12s015.c155 gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_IN); in tpd12s015_probe()
/openbmc/linux/drivers/input/keyboard/
H A Dclps711x-keypad.c118 data->desc = devm_gpiod_get_index(dev, "row", i, GPIOD_IN); in clps711x_keypad_probe()
/openbmc/linux/drivers/watchdog/
H A Dmena21_wdt.c156 drv->gpios[i] = devm_gpiod_get_index(dev, NULL, i, gflags); in a21_wdt_probe()
/openbmc/linux/include/linux/gpio/
H A Dconsumer.h89 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 Dauo-pixcir-ts.c548 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 Dzforce_ts.c777 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 Dhp03.c233 priv->xclr_gpio = devm_gpiod_get_index(dev, "xclr", 0, GPIOD_OUT_HIGH); in hp03_probe()
/openbmc/linux/drivers/hsi/clients/
H A Dnokia-modem.c98 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 Dpanel-sharp-ls037v7dw01.c197 gd = devm_gpiod_get_index(dev, desc, index, GPIOD_OUT_LOW); in sharp_ls_get_gpio_of()
H A Dencoder-tpd12s015.c256 gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2, in tpd_probe()
/openbmc/linux/drivers/auxdisplay/
H A Dhd44780.c240 hd->pins[base + i] = devm_gpiod_get_index(dev, "data", i, in hd44780_probe()
/openbmc/linux/drivers/leds/
H A Dleds-gpio.c224 gpiod = devm_gpiod_get_index(dev, NULL, idx, GPIOD_OUT_LOW); in gpio_led_get_gpiod()

12