Home
last modified time | relevance | path

Searched refs:devm_gpiod_get_optional (Results 1 – 52 of 52) sorted by relevance

/linux-4.4.14/drivers/phy/
Dphy-tusb1210.c71 tusb->gpio_reset = devm_gpiod_get_optional(&ulpi->dev, "reset", in tusb1210_probe()
78 tusb->gpio_cs = devm_gpiod_get_optional(&ulpi->dev, "cs", in tusb1210_probe()
Dphy-sun4i-usb.c554 data->id_det_gpio = devm_gpiod_get_optional(dev, "usb0_id_det", in sun4i_usb_phy_probe()
559 data->vbus_det_gpio = devm_gpiod_get_optional(dev, "usb0_vbus_det", in sun4i_usb_phy_probe()
/linux-4.4.14/net/rfkill/
Drfkill-gpio.c115 gpio = devm_gpiod_get_optional(&pdev->dev, "reset", GPIOD_OUT_LOW); in rfkill_gpio_probe()
121 gpio = devm_gpiod_get_optional(&pdev->dev, "shutdown", GPIOD_OUT_LOW); in rfkill_gpio_probe()
/linux-4.4.14/drivers/gpio/
Ddevres.c80 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional() function
86 EXPORT_SYMBOL(devm_gpiod_get_optional);
/linux-4.4.14/sound/soc/codecs/
Dmax98357a.c65 sdmode = devm_gpiod_get_optional(codec->dev, "sdmode", GPIOD_OUT_LOW); in max98357a_codec_probe()
Dtas571x.c424 priv->pdn_gpio = devm_gpiod_get_optional(dev, "pdn", GPIOD_OUT_LOW); in tas571x_i2c_probe()
431 priv->reset_gpio = devm_gpiod_get_optional(dev, "reset", in tas571x_i2c_probe()
Dcs4349.c298 cs4349->reset_gpio = devm_gpiod_get_optional(&client->dev, in cs4349_i2c_probe()
Dcs4265.c591 cs4265->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, in cs4265_i2c_probe()
Dcs35l32.c404 cs35l32->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, in cs35l32_i2c_probe()
Dsta350.c1215 sta350->gpiod_nreset = devm_gpiod_get_optional(dev, "reset", in sta350_i2c_probe()
1220 sta350->gpiod_power_down = devm_gpiod_get_optional(dev, "power-down", in sta350_i2c_probe()
Dwm8804.c582 wm8804->reset = devm_gpiod_get_optional(dev, "wlf,reset", in wm8804_probe()
Dtas2552.c701 data->enable_gpio = devm_gpiod_get_optional(dev, "enable", in tas2552_probe()
Dadau1977.c937 adau1977->reset_gpio = devm_gpiod_get_optional(dev, "reset", in adau1977_probe()
Dsta32x.c1098 sta32x->gpiod_nreset = devm_gpiod_get_optional(dev, "reset", in sta32x_i2c_probe()
Drt5677.c5155 rt5677->pow_ldo2 = devm_gpiod_get_optional(&i2c->dev, in rt5677_i2c_probe()
5162 rt5677->reset_pin = devm_gpiod_get_optional(&i2c->dev, in rt5677_i2c_probe()
Drt5645.c3473 rt5645->gpiod_hp_det = devm_gpiod_get_optional(&i2c->dev, "hp-detect", in rt5645_i2c_probe()
/linux-4.4.14/drivers/usb/phy/
Dphy-generic.c221 nop->gpiod_reset = devm_gpiod_get_optional(dev, "reset", in usb_phy_gen_create_phy()
225 nop->gpiod_vbus = devm_gpiod_get_optional(dev, in usb_phy_gen_create_phy()
Dphy-qcom-8x16-usb.c292 qphy->switch_gpio = devm_gpiod_get_optional(dev, "switch", in phy_8x16_read_devicetree()
Dphy-msm-usb.c1559 motg->switch_gpio = devm_gpiod_get_optional(&pdev->dev, "switch", in msm_otg_read_dt()
/linux-4.4.14/include/linux/gpio/
Dconsumer.h80 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev,
226 devm_gpiod_get_optional(struct device *dev, const char *con_id, in devm_gpiod_get_optional() function
/linux-4.4.14/drivers/usb/isp1760/
Disp1760-core.c136 isp->rst_gpio = devm_gpiod_get_optional(dev, NULL, GPIOD_OUT_HIGH); in isp1760_register()
/linux-4.4.14/drivers/bluetooth/
Dhci_bcm.c698 dev->device_wakeup = devm_gpiod_get_optional(&pdev->dev, in bcm_acpi_probe()
704 dev->shutdown = devm_gpiod_get_optional(&pdev->dev, "shutdown", in bcm_acpi_probe()
714 gpio = devm_gpiod_get_optional(&pdev->dev, "host-wakeup", in bcm_acpi_probe()
Dhci_intel.c1237 idev->reset = devm_gpiod_get_optional(&pdev->dev, "reset", in intel_probe()
1250 host_wake = devm_gpiod_get_optional(&pdev->dev, "host-wake", in intel_probe()
/linux-4.4.14/drivers/power/reset/
Dltc2952-poweroff.c204 data->gpio_trigger = devm_gpiod_get_optional(&pdev->dev, "trigger", in ltc2952_poweroff_init()
/linux-4.4.14/drivers/i2c/muxes/
Di2c-mux-pca954x.c207 gpio = devm_gpiod_get_optional(&client->dev, "reset", GPIOD_OUT_LOW); in pca954x_probe()
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/
Dencoder-opa362.c204 gpio = devm_gpiod_get_optional(&pdev->dev, "enable", GPIOD_OUT_LOW); in opa362_probe()
Dpanel-dpi.c212 gpio = devm_gpiod_get_optional(&pdev->dev, "enable", GPIOD_OUT_LOW); in panel_dpi_probe_of()
/linux-4.4.14/drivers/mmc/host/
Dsdhci-tegra.c281 tegra_host->power_gpio = devm_gpiod_get_optional(&pdev->dev, "power", in sdhci_tegra_probe()
/linux-4.4.14/drivers/input/touchscreen/
Dft6236.c220 ft6236->reset_gpio = devm_gpiod_get_optional(dev, "reset", in ft6236_probe()
Dzforce_ts.c761 ts->gpio_rst = devm_gpiod_get_optional(&client->dev, "reset", in zforce_probe()
771 ts->gpio_int = devm_gpiod_get_optional(&client->dev, "irq", in zforce_probe()
Dedt-ft5x06.c906 tsdata->reset_gpio = devm_gpiod_get_optional(&client->dev, in edt_ft5x06_ts_probe()
915 tsdata->wake_gpio = devm_gpiod_get_optional(&client->dev, in edt_ft5x06_ts_probe()
Dpixcir_i2c_ts.c529 tsdata->gpio_reset = devm_gpiod_get_optional(dev, "reset", in pixcir_i2c_ts_probe()
Dtsc200x-core.c523 ts->reset_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in tsc200x_probe()
/linux-4.4.14/drivers/net/phy/
Dat803x.c201 gpiod_reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in at803x_probe()
/linux-4.4.14/drivers/extcon/
Dextcon-palmas.c212 palmas_usb->id_gpiod = devm_gpiod_get_optional(&pdev->dev, "id", in palmas_usb_probe()
/linux-4.4.14/drivers/leds/
Dleds-lp8860.c394 led->enable_gpio = devm_gpiod_get_optional(&client->dev, in lp8860_probe()
/linux-4.4.14/drivers/video/backlight/
Dpwm_bl.c244 pb->enable_gpio = devm_gpiod_get_optional(&pdev->dev, "enable", in pwm_backlight_probe()
/linux-4.4.14/drivers/gpu/drm/tilcdc/
Dtilcdc_panel.c378 panel_mod->enable_gpio = devm_gpiod_get_optional(&pdev->dev, "enable", in panel_probe()
/linux-4.4.14/drivers/media/i2c/soc_camera/
Dov2640.c1078 priv->resetb_gpio = devm_gpiod_get_optional(&client->dev, "resetb", in ov2640_probe_dt()
1086 priv->pwdn_gpio = devm_gpiod_get_optional(&client->dev, "pwdn", in ov2640_probe_dt()
/linux-4.4.14/drivers/iio/temperature/
Dmlx90614.c469 gpio = devm_gpiod_get_optional(&client->dev, "wakeup", GPIOD_IN); in mlx90614_probe_wakeup()
/linux-4.4.14/drivers/mtd/nand/
Djz4740_nand.c427 nand->busy_gpio = devm_gpiod_get_optional(&pdev->dev, "busy", GPIOD_IN); in jz_nand_probe()
/linux-4.4.14/drivers/input/misc/
Ddrv260x.c583 haptics->enable_gpio = devm_gpiod_get_optional(&client->dev, "enable", in drv260x_probe()
/linux-4.4.14/Documentation/driver-model/
Ddevres.txt253 devm_gpiod_get_optional()
/linux-4.4.14/drivers/gpu/drm/i2c/
Dadv7511.c882 adv7511->gpio_pd = devm_gpiod_get_optional(dev, "pd", GPIOD_OUT_HIGH); in adv7511_probe()
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-tpg.c789 xtpg->vtmux_gpio = devm_gpiod_get_optional(&pdev->dev, "timing", in xtpg_probe()
/linux-4.4.14/drivers/gpu/drm/msm/dsi/
Ddsi_host.c1267 msm_host->disp_en_gpio = devm_gpiod_get_optional(panel_device, in dsi_host_init_panel_gpios()
1276 msm_host->te_gpio = devm_gpiod_get_optional(panel_device, "disp-te", in dsi_host_init_panel_gpios()
/linux-4.4.14/drivers/power/
Dbq24257_charger.c876 bq->pg = devm_gpiod_get_optional(bq->dev, BQ24257_PG_GPIO, GPIOD_IN); in bq24257_pg_gpio_probe()
/linux-4.4.14/drivers/gpu/drm/panel/
Dpanel-simple.c297 panel->enable_gpio = devm_gpiod_get_optional(dev, "enable", in panel_simple_probe()
/linux-4.4.14/drivers/media/i2c/
Dmt9p031.c1136 mt9p031->reset = devm_gpiod_get_optional(&client->dev, "reset", in mt9p031_probe()
Dtc358743.c1786 state->reset_gpio = devm_gpiod_get_optional(dev, "reset", in tc358743_probe_of()
/linux-4.4.14/Documentation/gpio/
Dconsumer.txt104 struct gpio_desc *devm_gpiod_get_optional(struct device *dev,
/linux-4.4.14/drivers/media/radio/si4713/
Dsi4713.c1462 sdev->gpio_reset = devm_gpiod_get_optional(&client->dev, "reset", in si4713_probe()