Home
last modified time | relevance | path

Searched refs:gpiod_get (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/Documentation/driver-api/gpio/
Dboard.rst27 through gpiod_get(). For example::
52 power = gpiod_get(dev, "power", GPIOD_OUT_HIGH);
57 The second parameter of the gpiod_get() functions, the con_id string, has to be
143 calls to gpiod_get() with a NULL device.
170 power = gpiod_get(dev, "power", GPIOD_OUT_HIGH);
Dconsumer.rst45 gpiod_get() functions. Like many other kernel subsystems, gpiod_get() takes the
49 struct gpio_desc *gpiod_get(struct device *dev, const char *con_id,
180 direction-setting flags have been given to gpiod_get*(), this is done by
381 descriptors may be obtained using any combination of gpiod_get() and
/Linux-v5.4/Documentation/firmware-guide/acpi/
Dgpio-properties.rst189 desc = gpiod_get(dev, "reset", GPIOD_OUT_LOW);
207 desc = gpiod_get(dev, connection_id, flags);
215 desc = gpiod_get(dev, "non-null-connection-id", flags);
220 desc = gpiod_get(dev, NULL, flags);
Denumeration.rst329 irq_desc = gpiod_get(dev, "irq");
333 power_desc = gpiod_get(dev, "power");
/Linux-v5.4/include/linux/gpio/
Dconsumer.h64 struct gpio_desc *__must_check gpiod_get(struct device *dev,
192 static inline struct gpio_desc *__must_check gpiod_get(struct device *dev, in gpiod_get() function
/Linux-v5.4/drivers/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c464 pdata->sfp_rdy = gpiod_get(dev, "rxlos", GPIOD_IN); in xgene_enet_gpio_lookup()
466 pdata->sfp_rdy = gpiod_get(dev, "sfp", GPIOD_IN); in xgene_enet_gpio_lookup()
Dxgene_enet_main.c1673 pdata->sfp_rdy = gpiod_get(dev, "rxlos", GPIOD_IN); in xgene_enet_gpiod_get()
1675 pdata->sfp_rdy = gpiod_get(dev, "sfp", GPIOD_IN); in xgene_enet_gpiod_get()
/Linux-v5.4/drivers/gpio/
DTODO35 the [devm_]gpiod_get() calls we have today that will implicitly go into
Dgpiolib.c4390 struct gpio_desc *__must_check gpiod_get(struct device *dev, const char *con_id, in gpiod_get() function
4395 EXPORT_SYMBOL_GPL(gpiod_get);
/Linux-v5.4/drivers/staging/wilc1000/
Dwilc_spi.c116 gpio = gpiod_get(&spi->dev, "irq", GPIOD_IN); in wilc_bus_probe()
Dwilc_sdio.c135 gpio = gpiod_get(&func->dev, "irq", GPIOD_IN); in wilc_sdio_probe()
/Linux-v5.4/drivers/staging/pi433/
Dpi433_if.c998 device->gpiod[i] = gpiod_get(&device->spi->dev, name, in setup_gpio()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dvlv_dsi.c1927 gpiod_get(dev->dev, "panel", GPIOD_OUT_HIGH); in vlv_dsi_init()
/Linux-v5.4/drivers/gpu/drm/i2c/
Dtda998x_drv.c518 calib = gpiod_get(&priv->hdmi->dev, "nxp,calib", GPIOD_ASIS); in tda998x_cec_hook_init()