Home
last modified time | relevance | path

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

/Linux-v4.19/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,
178 direction-setting flags have been given to gpiod_get*(), this is done by
372 descriptors may be obtained using any combination of gpiod_get() and
/Linux-v4.19/Documentation/acpi/
Dgpio-properties.txt182 desc = gpiod_get(dev, "reset", GPIOD_OUT_LOW);
199 desc = gpiod_get(dev, connection_id, flags);
206 desc = gpiod_get(dev, "non-null-connection-id", flags);
210 desc = gpiod_get(dev, NULL, flags);
Denumeration.txt320 irq_desc = gpiod_get(dev, "irq");
324 power_desc = gpiod_get(dev, "power");
/Linux-v4.19/include/linux/gpio/
Dconsumer.h54 struct gpio_desc *__must_check gpiod_get(struct device *dev,
177 static inline struct gpio_desc *__must_check gpiod_get(struct device *dev, in gpiod_get() function
/Linux-v4.19/drivers/net/ethernet/apm/xgene/
Dxgene_enet_xgmac.c476 pdata->sfp_rdy = gpiod_get(dev, "rxlos", GPIOD_IN); in xgene_enet_gpio_lookup()
478 pdata->sfp_rdy = gpiod_get(dev, "sfp", GPIOD_IN); in xgene_enet_gpio_lookup()
Dxgene_enet_main.c1690 pdata->sfp_rdy = gpiod_get(dev, "rxlos", GPIOD_IN); in xgene_enet_gpiod_get()
1692 pdata->sfp_rdy = gpiod_get(dev, "sfp", GPIOD_IN); in xgene_enet_gpiod_get()
/Linux-v4.19/drivers/staging/wilc1000/
Dwilc_spi.c111 gpio = gpiod_get(&spi->dev, "irq", GPIOD_IN); in wilc_bus_probe()
Dwilc_sdio.c114 gpio = gpiod_get(&func->dev, "irq", GPIOD_IN); in linux_sdio_probe()
/Linux-v4.19/drivers/staging/pi433/
Dpi433_if.c1015 device->gpiod[i] = gpiod_get(&device->spi->dev, name, in setup_gpio()
/Linux-v4.19/drivers/gpio/
Dgpiolib.c3772 struct gpio_desc *__must_check gpiod_get(struct device *dev, const char *con_id, in gpiod_get() function
3777 EXPORT_SYMBOL_GPL(gpiod_get);
/Linux-v4.19/drivers/gpu/drm/i915/
Dvlv_dsi.c1828 gpiod_get(dev->dev, "panel", GPIOD_OUT_HIGH); in vlv_dsi_init()
/Linux-v4.19/drivers/gpu/drm/i2c/
Dtda998x_drv.c508 calib = gpiod_get(&priv->hdmi->dev, "nxp,calib", GPIOD_ASIS); in tda998x_cec_hook_init()