Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/drivers/input/mouse/
Dgpio_mouse.c106 gmouse->bleft = devm_gpiod_get_optional(dev, "button-left", GPIOD_IN); in gpio_mouse_probe()
109 gmouse->bmiddle = devm_gpiod_get_optional(dev, "button-middle", in gpio_mouse_probe()
113 gmouse->bright = devm_gpiod_get_optional(dev, "button-right", in gpio_mouse_probe()
/Linux-v4.19/sound/soc/codecs/
Des7241.c273 priv->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in es7241_probe()
281 priv->m0 = devm_gpiod_get_optional(dev, "m0", GPIOD_OUT_LOW); in es7241_probe()
289 priv->m1 = devm_gpiod_get_optional(dev, "m1", GPIOD_OUT_LOW); in es7241_probe()
Dbd28623.c202 bd->reset_gpio = devm_gpiod_get_optional(dev, "reset", in bd28623_probe()
210 bd->mute_gpio = devm_gpiod_get_optional(dev, "mute", in bd28623_probe()
Dmax98357a.c66 sdmode = devm_gpiod_get_optional(component->dev, "sdmode", GPIOD_OUT_LOW); in max98357a_component_probe()
/Linux-v4.19/drivers/pcmcia/
Dsa1100_generic.c62 skt->gpio_bus_enable = devm_gpiod_get_optional(dev, "bus-enable", in sa11x0_cf_hw_init()
77 skt->stat[i].desc = devm_gpiod_get_optional(dev, in sa11x0_cf_hw_init()
/Linux-v4.19/drivers/phy/ti/
Dphy-tusb1210.c105 tusb->gpio_reset = devm_gpiod_get_optional(&ulpi->dev, "reset", in tusb1210_probe()
112 tusb->gpio_cs = devm_gpiod_get_optional(&ulpi->dev, "cs", in tusb1210_probe()
/Linux-v4.19/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-v4.19/drivers/mtd/nand/raw/
Dgpio.c243 gpiomtd->nce = devm_gpiod_get_optional(dev, "nce", GPIOD_OUT_HIGH); in gpio_nand_probe()
248 gpiomtd->nwp = devm_gpiod_get_optional(dev, "nwp", GPIOD_OUT_LOW); in gpio_nand_probe()
266 gpiomtd->rdy = devm_gpiod_get_optional(dev, "rdy", GPIOD_IN); in gpio_nand_probe()
/Linux-v4.19/drivers/staging/iio/adc/
Dad7606.c334 st->gpio_reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in ad7606_request_gpios()
338 st->gpio_range = devm_gpiod_get_optional(dev, "range", GPIOD_OUT_LOW); in ad7606_request_gpios()
342 st->gpio_standby = devm_gpiod_get_optional(dev, "standby", in ad7606_request_gpios()
347 st->gpio_frstdata = devm_gpiod_get_optional(dev, "first-data", in ad7606_request_gpios()
/Linux-v4.19/drivers/power/supply/
Dltc3651-charger.c117 ltc3651_charger->fault_gpio = devm_gpiod_get_optional(&pdev->dev, in ltc3651_charger_probe()
124 ltc3651_charger->chrg_gpio = devm_gpiod_get_optional(&pdev->dev, in ltc3651_charger_probe()
/Linux-v4.19/drivers/gpu/drm/tinydrm/
Dili9341.c180 mipi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in ili9341_probe()
186 dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW); in ili9341_probe()
Dmi0283qt.c189 mipi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in mi0283qt_probe()
195 dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW); in mi0283qt_probe()
/Linux-v4.19/drivers/gpu/drm/bridge/
Dthc63lvd1024.c122 thc63->oe = devm_gpiod_get_optional(thc63->dev, "oe", GPIOD_OUT_LOW); in thc63_gpio_init()
129 thc63->pdwn = devm_gpiod_get_optional(thc63->dev, "powerdown", in thc63_gpio_init()
/Linux-v4.19/drivers/net/dsa/
Drealtek-smi.c415 smi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in realtek_smi_probe()
426 smi->mdc = devm_gpiod_get_optional(dev, "mdc", GPIOD_OUT_LOW); in realtek_smi_probe()
429 smi->mdio = devm_gpiod_get_optional(dev, "mdio", GPIOD_OUT_LOW); in realtek_smi_probe()
/Linux-v4.19/drivers/extcon/
Dextcon-usb-gpio.c121 info->id_gpiod = devm_gpiod_get_optional(&pdev->dev, "id", GPIOD_IN); in usb_extcon_probe()
122 info->vbus_gpiod = devm_gpiod_get_optional(&pdev->dev, "vbus", in usb_extcon_probe()
/Linux-v4.19/drivers/gpu/drm/omapdrm/displays/
Dpanel-dpi.c176 gpio = devm_gpiod_get_optional(&pdev->dev, "enable", GPIOD_OUT_LOW); in panel_dpi_probe_of()
188 gpio = devm_gpiod_get_optional(&pdev->dev, "reset", GPIOD_OUT_LOW); in panel_dpi_probe_of()
/Linux-v4.19/drivers/media/platform/cec-gpio/
Dcec-gpio.c204 cec->hpd_gpio = devm_gpiod_get_optional(dev, "hpd", GPIOD_IN); in cec_gpio_probe()
208 cec->v5_gpio = devm_gpiod_get_optional(dev, "v5", GPIOD_IN); in cec_gpio_probe()
/Linux-v4.19/drivers/gpu/drm/panel/
Dpanel-lvds.c230 lvds->enable_gpio = devm_gpiod_get_optional(lvds->dev, "enable", in panel_lvds_probe()
239 lvds->reset_gpio = devm_gpiod_get_optional(lvds->dev, "reset", in panel_lvds_probe()
/Linux-v4.19/drivers/auxdisplay/
Dhd44780.c249 hd->pins[PIN_CTRL_RW] = devm_gpiod_get_optional(dev, "rw", in hd44780_probe()
256 hd->pins[PIN_CTRL_BL] = devm_gpiod_get_optional(dev, "backlight", in hd44780_probe()
/Linux-v4.19/drivers/gpio/
Ddevres.c82 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional() function
88 EXPORT_SYMBOL(devm_gpiod_get_optional);
/Linux-v4.19/drivers/input/touchscreen/
Dpixcir_i2c_ts.c525 tsdata->gpio_reset = devm_gpiod_get_optional(dev, "reset", in pixcir_i2c_ts_probe()
533 tsdata->gpio_wake = devm_gpiod_get_optional(dev, "wake", in pixcir_i2c_ts_probe()
542 tsdata->gpio_enable = devm_gpiod_get_optional(dev, "enable", in pixcir_i2c_ts_probe()
Dsis_i2c.c320 ts->attn_gpio = devm_gpiod_get_optional(&client->dev, in sis_ts_probe()
330 ts->reset_gpio = devm_gpiod_get_optional(&client->dev, in sis_ts_probe()
/Linux-v4.19/drivers/usb/phy/
Dphy-generic.c224 nop->gpiod_reset = devm_gpiod_get_optional(dev, "reset", in usb_phy_gen_create_phy()
228 nop->gpiod_vbus = devm_gpiod_get_optional(dev, in usb_phy_gen_create_phy()
/Linux-v4.19/drivers/usb/dwc3/
Ddwc3-pci.c173 gpio = devm_gpiod_get_optional(&pdev->dev, "cs", in dwc3_pci_quirks()
180 gpio = devm_gpiod_get_optional(&pdev->dev, "reset", in dwc3_pci_quirks()
/Linux-v4.19/drivers/gnss/
Dsirf.c292 data->on_off = devm_gpiod_get_optional(dev, "sirf,onoff", in sirf_probe()
298 data->wakeup = devm_gpiod_get_optional(dev, "sirf,wakeup", in sirf_probe()

1234567