Home
last modified time | relevance | path

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

12

/linux/drivers/gpio/
H A Dgpiolib-devres.c51 return devm_gpiod_get_index(dev, con_id, 0, flags); in devm_gpiod_get()
94 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index() function
124 EXPORT_SYMBOL_GPL(devm_gpiod_get_index);
188 desc = devm_gpiod_get_index(dev, con_id, index, flags); in devm_gpiod_get_index_optional()
/linux/sound/soc/
H A Dsoc-ac97.c339 cfg->sync_gpio = devm_gpiod_get_index(dev, "ac97", 0, GPIOD_ASIS); in snd_soc_ac97_parse_pinctl()
344 cfg->sdata_gpio = devm_gpiod_get_index(dev, "ac97", 1, GPIOD_ASIS); in snd_soc_ac97_parse_pinctl()
349 cfg->reset_gpio = devm_gpiod_get_index(dev, "ac97", 2, GPIOD_ASIS); in snd_soc_ac97_parse_pinctl()
/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()
/linux/drivers/mmc/core/
H A Dslot-gpio.c183 desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN); in mmc_gpiod_request_cd()
255 desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN); in mmc_gpiod_request_ro()
/linux/arch/mips/lantiq/xway/
H A Dvmmc.c41 gpio = devm_gpiod_get_index(&pdev->dev, in vmmc_probe()
/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()
/linux/drivers/w1/masters/
H A Dw1-gpio.c92 ddata->gpiod = devm_gpiod_get_index(dev, NULL, 0, gflags); in w1_gpio_probe()
/linux/drivers/input/keyboard/
H A Dclps711x-keypad.c118 data->desc = devm_gpiod_get_index(dev, "row", i, GPIOD_IN); in clps711x_keypad_probe()
/linux/drivers/gpu/drm/bridge/
H A Dti-tpd12s015.c162 gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_IN); in tpd12s015_probe()
/linux/drivers/regulator/
H A Dlp8788-buck.c427 buck->gpio1 = devm_gpiod_get_index(dev, "dvs", 0, GPIOD_OUT_LOW); in lp8788_dvs_gpio_request()
432 buck->gpio2 = devm_gpiod_get_index(dev, "dvs", 1, GPIOD_OUT_LOW); in lp8788_dvs_gpio_request()
H A Ds5m8767.c750 s5m8767->buck_gpios[i] = devm_gpiod_get_index(iodev->dev, in s5m8767_pmic_probe()
763 s5m8767->buck_ds[i] = devm_gpiod_get_index(iodev->dev, in s5m8767_pmic_probe()
H A Dgpio-regulator.c280 drvdata->gpiods[i] = devm_gpiod_get_index(dev, in gpio_regulator_probe()
/linux/include/linux/gpio/
H A Dconsumer.h91 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
/linux/drivers/watchdog/
H A Dmena21_wdt.c156 drv->gpios[i] = devm_gpiod_get_index(dev, NULL, i, gflags); in a21_wdt_probe()
/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.c712 ts->gpio_int = devm_gpiod_get_index(&client->dev, NULL, 0, in zforce_probe()
721 ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1, in zforce_probe()
H A Dsurface3_spi.c232 gpiod = devm_gpiod_get_index(dev, NULL, i, GPIOD_OUT_LOW); in surface3_spi_get_gpio_config()
/linux/drivers/iio/pressure/
H A Dhp03.c233 priv->xclr_gpio = devm_gpiod_get_index(dev, "xclr", 0, GPIOD_OUT_HIGH); in hp03_probe()
/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()
/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()
/linux/drivers/spi/
H A Dspi-gpio.c331 spi_gpio->cs_gpios[i] = devm_gpiod_get_index(dev, "cs", i, in spi_gpio_probe_pdata()
/linux/drivers/iio/accel/
H A Dmma9551.c409 gpio = devm_gpiod_get_index(dev, NULL, i, GPIOD_IN); in mma9551_gpio_probe()
/linux/drivers/pci/controller/dwc/
H A Dpcie-kirin.c380 pcie->id_clkreq_gpio[i] = devm_gpiod_get_index(dev, in kirin_pcie_get_gpio_enable()
/linux/drivers/ata/
H A Dsata_highbank.c188 gpiod = devm_gpiod_get_index(dev, "calxeda,sgpio", i, in highbank_set_em_messages()

12