Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/hte/
A Dhte-tegra194-test.c110 hte.gpio_out = gpiod_get(&pdev->dev, "out", 0); in tegra_hte_test_probe()
117 hte.gpio_in = gpiod_get(&pdev->dev, "in", 0); in tegra_hte_test_probe()
/linux-6.3-rc2/drivers/power/supply/
A 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-6.3-rc2/Documentation/driver-api/gpio/
A 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
145 calls to gpiod_get() with a NULL device.
172 power = gpiod_get(dev, "power", GPIOD_OUT_HIGH);
A 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-6.3-rc2/Documentation/firmware-guide/acpi/
A Dgpio-properties.rst290 desc = gpiod_get(dev, "reset", GPIOD_OUT_LOW);
310 desc = gpiod_get(dev, connection_id, flags);
318 desc = gpiod_get(dev, "non-null-connection-id", flags);
323 desc = gpiod_get(dev, NULL, flags);
A Denumeration.rst376 irq_desc = gpiod_get(dev, "irq");
380 power_desc = gpiod_get(dev, "power");
/linux-6.3-rc2/drivers/regulator/
A Dmax20411-regulator.c129 cfg.ena_gpiod = gpiod_get(max20411->dev, "enable", GPIOD_ASIS); in max20411_probe()
/linux-6.3-rc2/drivers/input/touchscreen/
A Dmainstone-wm97xx.c191 gpiod_irq = gpiod_get(wm->dev, "touch", GPIOD_IN); in wm97xx_acc_startup()
A Degalax_ts.c126 gpio = gpiod_get(&client->dev, "wakeup", GPIOD_OUT_HIGH); in egalax_wake_up_device()
/linux-6.3-rc2/include/linux/gpio/
A Dconsumer.h62 struct gpio_desc *__must_check gpiod_get(struct device *dev,
196 static inline struct gpio_desc *__must_check gpiod_get(struct device *dev, in gpiod_get() function
/linux-6.3-rc2/drivers/net/ethernet/apm/xgene/
A 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()
A Dxgene_enet_main.c1677 pdata->sfp_rdy = gpiod_get(dev, "rxlos", GPIOD_IN); in xgene_enet_gpiod_get()
1679 pdata->sfp_rdy = gpiod_get(dev, "sfp", GPIOD_IN); in xgene_enet_gpiod_get()
/linux-6.3-rc2/sound/soc/intel/boards/
A Dbdw-rt5677.c251 bdw_rt5677->gpio_hp_en = gpiod_get(component->dev, "headphone-enable", in bdw_rt5677_init()
A Dbytcr_wm5102.c421 priv->spkvdd_en_gpio = gpiod_get(codec_dev, "wlf,spkvdd-ena", GPIOD_OUT_LOW); in snd_byt_wm5102_mc_probe()
A Dkbl_rt5660.c168 ctx->gpio_lo_mute = gpiod_get(component->dev, "lineout-mute", in kabylake_rt5660_codec_init()
/linux-6.3-rc2/drivers/remoteproc/
A Dkeystone_remoteproc.c435 ksproc->kick_gpio = gpiod_get(dev, "kick", GPIOD_ASIS); in keystone_rproc_probe()
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_dsi_vbt.c1004 intel_dsi->gpio_panel = gpiod_get(dev->dev, "panel", flags); in intel_dsi_vbt_gpio_init()
1014 gpiod_get(dev->dev, "backlight", flags); in intel_dsi_vbt_gpio_init()
/linux-6.3-rc2/drivers/leds/
A Dleds-netxbig.c407 gpiod = gpiod_get(gpio_ext_dev, "enable", GPIOD_OUT_LOW); in netxbig_gpio_ext_get()
/linux-6.3-rc2/drivers/mmc/host/
A Dmmci.c1913 cmd_gpio = gpiod_get(dev, "st,cmd", GPIOD_OUT_HIGH); in mmci_probe_level_translator()
1917 ck_gpio = gpiod_get(dev, "st,ck", GPIOD_OUT_HIGH); in mmci_probe_level_translator()
1921 ckin_gpio = gpiod_get(dev, "st,ckin", GPIOD_IN); in mmci_probe_level_translator()
/linux-6.3-rc2/drivers/platform/x86/
A Dasus-tf103c-dock.c747 board_rev_gpio = gpiod_get(dev, "board_rev", GPIOD_ASIS); in tf103c_dock_probe()
/linux-6.3-rc2/drivers/gpio/
A DTODO57 the [devm_]gpiod_get() calls we have today that will implicitly go into
A Dgpiolib.c4035 struct gpio_desc *__must_check gpiod_get(struct device *dev, const char *con_id, in gpiod_get() function
4040 EXPORT_SYMBOL_GPL(gpiod_get);
/linux-6.3-rc2/drivers/staging/pi433/
A Dpi433_if.c999 device->gpiod[i] = gpiod_get(&device->spi->dev, name, in setup_gpio()
/linux-6.3-rc2/drivers/net/ethernet/asix/
A Dax88796c_main.c950 reset_gpio = gpiod_get(dev, "reset", 0); in ax88796c_hard_reset()
/linux-6.3-rc2/drivers/platform/surface/aggregator/
A Dcontroller.c2717 gpiod = gpiod_get(dev, "ssam_wakeup-int", GPIOD_ASIS); in ssam_irq_setup()

Completed in 45 milliseconds

12