/openbmc/linux/arch/arm/mach-omap1/ |
H A D | board-nokia770.c | 257 d = gpiod_get(NULL, "retu_irq", GPIOD_IN); in nokia770_cbus_init() 265 d = gpiod_get(NULL, "tahvo_irq", GPIOD_IN); in nokia770_cbus_init() 325 d = gpiod_get(NULL, "ads7846_irq", GPIOD_IN); in omap_nokia770_init()
|
H A D | board-osk.c | 405 d = gpiod_get(NULL, "smc_irq", GPIOD_IN); in osk_init() 413 d = gpiod_get(NULL, "cf_irq", GPIOD_IN); in osk_init() 435 d = gpiod_get(NULL, "tps65010", GPIOD_IN); in osk_init()
|
H A D | board-sx1.c | 343 d = gpiod_get(NULL, "irda_off", GPIOD_OUT_HIGH); in omap_sx1_init() 348 d = gpiod_get(NULL, "switch", GPIOD_OUT_LOW); in omap_sx1_init() 353 d = gpiod_get(NULL, "usb_on", GPIOD_OUT_LOW); in omap_sx1_init()
|
H A D | board-palmte.c | 246 d = gpiod_get(NULL, "tsc2102_irq", GPIOD_IN); in omap_palmte_init() 254 d = gpiod_get(NULL, "usb_dc_irq", GPIOD_IN); in omap_palmte_init()
|
/openbmc/linux/drivers/hte/ |
H A D | hte-tegra194-test.c | 110 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()
|
/openbmc/linux/drivers/power/supply/ |
H A D | collie_battery.c | 327 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()
|
/openbmc/linux/Documentation/driver-api/gpio/ |
H A D | board.rst | 27 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);
|
H A D | consumer.rst | 45 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
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | pdata-quirks.c | 198 d = gpiod_get(NULL, "power", GPIOD_OUT_HIGH); in omap3_sbc_t3517_wifi_init() 206 d = gpiod_get(NULL, "noe", GPIOD_OUT_HIGH); in omap3_sbc_t3517_wifi_init()
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | gpio-properties.rst | 290 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);
|
H A D | enumeration.rst | 376 irq_desc = gpiod_get(dev, "irq"); 380 power_desc = gpiod_get(dev, "power");
|
/openbmc/linux/drivers/regulator/ |
H A D | max20411-regulator.c | 129 cfg.ena_gpiod = gpiod_get(max20411->dev, "enable", GPIOD_ASIS); in max20411_probe()
|
/openbmc/linux/include/linux/gpio/ |
H A D | consumer.h | 63 struct gpio_desc *__must_check gpiod_get(struct device *dev, 197 static inline struct gpio_desc *__must_check gpiod_get(struct device *dev, in gpiod_get() function
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | mainstone-wm97xx.c | 191 gpiod_irq = gpiod_get(wm->dev, "touch", GPIOD_IN); in wm97xx_acc_startup()
|
H A D | egalax_ts.c | 126 gpio = gpiod_get(&client->dev, "wakeup", GPIOD_OUT_HIGH); in egalax_wake_up_device()
|
/openbmc/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_xgmac.c | 464 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()
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | bdw-rt5677.c | 251 bdw_rt5677->gpio_hp_en = gpiod_get(component->dev, "headphone-enable", in bdw_rt5677_init()
|
H A D | bytcr_wm5102.c | 428 priv->spkvdd_en_gpio = gpiod_get(codec_dev, "wlf,spkvdd-ena", GPIOD_OUT_LOW); in snd_byt_wm5102_mc_probe()
|
H A D | kbl_rt5660.c | 168 ctx->gpio_lo_mute = gpiod_get(component->dev, "lineout-mute", in kabylake_rt5660_codec_init()
|
/openbmc/linux/drivers/remoteproc/ |
H A D | keystone_remoteproc.c | 435 ksproc->kick_gpio = gpiod_get(dev, "kick", GPIOD_ASIS); in keystone_rproc_probe()
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dsi_vbt.c | 994 intel_dsi->gpio_panel = gpiod_get(dev->dev, "panel", flags); in intel_dsi_vbt_gpio_init() 1004 gpiod_get(dev->dev, "backlight", flags); in intel_dsi_vbt_gpio_init()
|
/openbmc/linux/drivers/video/fbdev/omap/ |
H A D | lcd_mipid.c | 562 md->reset = gpiod_get(&spi->dev, "reset", GPIOD_OUT_LOW); in mipid_spi_probe()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-netxbig.c | 407 gpiod = gpiod_get(gpio_ext_dev, "enable", GPIOD_OUT_LOW); in netxbig_gpio_ext_get()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | mmci.c | 2069 cmd_gpio = gpiod_get(dev, "st,cmd", GPIOD_OUT_HIGH); in mmci_probe_level_translator() 2073 ck_gpio = gpiod_get(dev, "st,ck", GPIOD_OUT_HIGH); in mmci_probe_level_translator() 2077 ckin_gpio = gpiod_get(dev, "st,ckin", GPIOD_IN); in mmci_probe_level_translator()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | asus-tf103c-dock.c | 747 board_rev_gpio = gpiod_get(dev, "board_rev", GPIOD_ASIS); in tf103c_dock_probe()
|