Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpio/
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);
248 desc = devm_gpiod_get_index(dev, con_id, index, flags); in devm_gpiod_get_index_optional()
/linux-6.1.9/drivers/gpu/drm/panel/
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()
/linux-6.1.9/drivers/i2c/busses/
Di2c-cbus-gpio.c228 chost->clk = devm_gpiod_get_index(&pdev->dev, NULL, 0, GPIOD_OUT_LOW); in cbus_i2c_probe()
231 chost->dat = devm_gpiod_get_index(&pdev->dev, NULL, 1, GPIOD_IN); in cbus_i2c_probe()
234 chost->sel = devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_OUT_HIGH); in cbus_i2c_probe()
/linux-6.1.9/drivers/net/mdio/
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()
/linux-6.1.9/drivers/platform/x86/
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-6.1.9/drivers/mmc/core/
Dslot-gpio.c177 desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN); in mmc_gpiod_request_cd()
229 desc = devm_gpiod_get_index(host->parent, con_id, idx, GPIOD_IN); in mmc_gpiod_request_ro()
/linux-6.1.9/arch/mips/lantiq/xway/
Dvmmc.c40 gpio = devm_gpiod_get_index(&pdev->dev, in vmmc_probe()
/linux-6.1.9/drivers/usb/misc/
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-6.1.9/drivers/w1/masters/
Dw1-gpio.c109 pdata->gpiod = devm_gpiod_get_index(dev, NULL, 0, gflags); in w1_gpio_probe()
/linux-6.1.9/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c140 dummy = devm_gpiod_get_index(dev, "their-claim", 1, GPIOD_IN); in i2c_arbitrator_probe()
Di2c-mux-gpio.c187 gpiod = devm_gpiod_get_index(&pdev->dev, "mux", i, flag); in i2c_mux_gpio_probe()
/linux-6.1.9/drivers/input/keyboard/
Dclps711x-keypad.c118 data->desc = devm_gpiod_get_index(dev, "row", i, GPIOD_IN); in clps711x_keypad_probe()
/linux-6.1.9/drivers/gpu/drm/bridge/
Dti-tpd12s015.c155 gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2, GPIOD_IN); in tpd12s015_probe()
/linux-6.1.9/drivers/watchdog/
Dmena21_wdt.c156 drv->gpios[i] = devm_gpiod_get_index(dev, NULL, i, gflags); in a21_wdt_probe()
/linux-6.1.9/drivers/input/touchscreen/
Dauo-pixcir-ts.c549 ts->gpio_int = devm_gpiod_get_index(&client->dev, NULL, 0, GPIOD_IN); in auo_pixcir_probe()
560 ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1, in auo_pixcir_probe()
Dzforce_ts.c778 ts->gpio_int = devm_gpiod_get_index(&client->dev, NULL, 0, in zforce_probe()
788 ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1, in zforce_probe()
Dsurface3_spi.c233 gpiod = devm_gpiod_get_index(dev, NULL, i, GPIOD_OUT_LOW); in surface3_spi_get_gpio_config()
/linux-6.1.9/include/linux/gpio/
Dconsumer.h88 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev,
273 devm_gpiod_get_index(struct device *dev, in devm_gpiod_get_index() function
/linux-6.1.9/drivers/iio/pressure/
Dhp03.c233 priv->xclr_gpio = devm_gpiod_get_index(dev, "xclr", 0, GPIOD_OUT_HIGH); in hp03_probe()
/linux-6.1.9/drivers/hsi/clients/
Dnokia-modem.c98 modem->gpios[i].gpio = devm_gpiod_get_index(dev, NULL, i, in nokia_modem_gpio_probe()
/linux-6.1.9/drivers/auxdisplay/
Dhd44780.c240 hd->pins[base + i] = devm_gpiod_get_index(dev, "data", i, in hd44780_probe()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-sharp-ls037v7dw01.c198 gd = devm_gpiod_get_index(dev, desc, index, GPIOD_OUT_LOW); in sharp_ls_get_gpio_of()
Dencoder-tpd12s015.c256 gpio = devm_gpiod_get_index(&pdev->dev, NULL, 2, in tpd_probe()
/linux-6.1.9/drivers/leds/
Dleds-gpio.c207 gpiod = devm_gpiod_get_index(dev, NULL, idx, GPIOD_OUT_LOW); in gpio_led_get_gpiod()
/linux-6.1.9/drivers/regulator/
Dgpio-regulator.c280 drvdata->gpiods[i] = devm_gpiod_get_index(dev, in gpio_regulator_probe()

12