Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/power/supply/
Dcollie_battery.c327 collie_bat_main.gpio_full = gpiod_get(&dev->ucb->dev, in collie_bat_probe()
333 collie_mbat_low = gpiod_get(&dev->ucb->dev, in collie_bat_probe()
341 collie_bat_main.gpio_charge_on = gpiod_get(&dev->ucb->dev, in collie_bat_probe()
/Linux-v5.15/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,
184 direction-setting flags have been given to gpiod_get*(), this is done by
390 descriptors may be obtained using any combination of gpiod_get() and
/Linux-v5.15/Documentation/firmware-guide/acpi/
Dgpio-properties.rst277 desc = gpiod_get(dev, "reset", GPIOD_OUT_LOW);
295 desc = gpiod_get(dev, connection_id, flags);
303 desc = gpiod_get(dev, "non-null-connection-id", flags);
308 desc = gpiod_get(dev, NULL, flags);
Denumeration.rst361 irq_desc = gpiod_get(dev, "irq");
365 power_desc = gpiod_get(dev, "power");
/Linux-v5.15/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.15/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.15/sound/soc/intel/boards/
Dbdw-rt5677.c251 bdw_rt5677->gpio_hp_en = gpiod_get(component->dev, "headphone-enable", in bdw_rt5677_init()
Dbytcr_wm5102.c421 priv->spkvdd_en_gpio = gpiod_get(codec_dev, "wlf,spkvdd-ena", GPIOD_OUT_LOW); in snd_byt_wm5102_mc_probe()
Dkbl_rt5660.c168 ctx->gpio_lo_mute = gpiod_get(component->dev, "lineout-mute", in kabylake_rt5660_codec_init()
/Linux-v5.15/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.15/drivers/leds/
Dleds-netxbig.c407 gpiod = gpiod_get(gpio_ext_dev, "enable", GPIOD_OUT_LOW); in netxbig_gpio_ext_get()
/Linux-v5.15/drivers/mmc/host/
Dmmci.c1911 cmd_gpio = gpiod_get(dev, "st,cmd", GPIOD_OUT_HIGH); in mmci_probe_level_translator()
1915 ck_gpio = gpiod_get(dev, "st,ck", GPIOD_OUT_HIGH); in mmci_probe_level_translator()
1919 ckin_gpio = gpiod_get(dev, "st,ckin", GPIOD_IN); in mmci_probe_level_translator()
/Linux-v5.15/drivers/gpio/
DTODO57 the [devm_]gpiod_get() calls we have today that will implicitly go into
Dgpiolib.c3737 struct gpio_desc *__must_check gpiod_get(struct device *dev, const char *con_id, in gpiod_get() function
3742 EXPORT_SYMBOL_GPL(gpiod_get);
/Linux-v5.15/drivers/staging/pi433/
Dpi433_if.c988 device->gpiod[i] = gpiod_get(&device->spi->dev, name, in setup_gpio()
/Linux-v5.15/drivers/platform/surface/aggregator/
Dcontroller.c2698 gpiod = gpiod_get(dev, "ssam_wakeup-int", GPIOD_ASIS); in ssam_irq_setup()
/Linux-v5.15/drivers/gpu/drm/i2c/
Dtda998x_drv.c520 calib = gpiod_get(&priv->hdmi->dev, "nxp,calib", GPIOD_ASIS); in tda998x_cec_hook_init()
/Linux-v5.15/drivers/gpu/drm/omapdrm/dss/
Ddsi.c4305 dsi->te_gpio = gpiod_get(&client->dev, "te-gpios", GPIOD_IN); in omap_dsi_register_te_irq()