Home
last modified time | relevance | path

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

/Linux-v5.10/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
148 calls to gpiod_get() with a NULL device.
175 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.10/drivers/gpu/drm/gma500/
Dmdfld_dsi_output.c449 gpiod = gpiod_get(dev, "dsi-pipe0-reset", GPIOD_OUT_HIGH); in mdfld_dsi_panel_reset()
454 gpiod = gpiod_get(dev, "dsi-pipe2-reset", GPIOD_OUT_HIGH); in mdfld_dsi_panel_reset()
465 gpiod = gpiod_get(dev, "dsi-pipe0-reset", GPIOD_ASIS); in mdfld_dsi_panel_reset()
/Linux-v5.10/Documentation/firmware-guide/acpi/
Dgpio-properties.rst216 desc = gpiod_get(dev, "reset", GPIOD_OUT_LOW);
234 desc = gpiod_get(dev, connection_id, flags);
242 desc = gpiod_get(dev, "non-null-connection-id", flags);
247 desc = gpiod_get(dev, NULL, flags);
Denumeration.rst329 irq_desc = gpiod_get(dev, "irq");
333 power_desc = gpiod_get(dev, "power");
/Linux-v5.10/include/linux/gpio/
Dconsumer.h65 struct gpio_desc *__must_check gpiod_get(struct device *dev,
201 static inline struct gpio_desc *__must_check gpiod_get(struct device *dev, in gpiod_get() function
/Linux-v5.10/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.10/sound/soc/intel/boards/
Dbdw-rt5677.c251 bdw_rt5677->gpio_hp_en = gpiod_get(component->dev, "headphone-enable", in bdw_rt5677_init()
Dkbl_rt5660.c168 ctx->gpio_lo_mute = gpiod_get(component->dev, "lineout-mute", in kabylake_rt5660_codec_init()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_dsi_vbt.c900 intel_dsi->gpio_panel = gpiod_get(dev->dev, "panel", flags); in intel_dsi_vbt_gpio_init()
910 gpiod_get(dev->dev, "backlight", flags); in intel_dsi_vbt_gpio_init()
/Linux-v5.10/drivers/leds/
Dleds-netxbig.c407 gpiod = gpiod_get(gpio_ext_dev, "enable", GPIOD_OUT_LOW); in netxbig_gpio_ext_get()
/Linux-v5.10/drivers/gpio/
DTODO57 the [devm_]gpiod_get() calls we have today that will implicitly go into
Dgpiolib.c3827 struct gpio_desc *__must_check gpiod_get(struct device *dev, const char *con_id, in gpiod_get() function
3832 EXPORT_SYMBOL_GPL(gpiod_get);
/Linux-v5.10/drivers/staging/pi433/
Dpi433_if.c988 device->gpiod[i] = gpiod_get(&device->spi->dev, name, in setup_gpio()
/Linux-v5.10/drivers/gpu/drm/i2c/
Dtda998x_drv.c520 calib = gpiod_get(&priv->hdmi->dev, "nxp,calib", GPIOD_ASIS); in tda998x_cec_hook_init()