Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/drivers/input/mouse/
Dgpio_mouse.c101 gmouse->bleft = devm_gpiod_get_optional(dev, "button-left", GPIOD_IN); in gpio_mouse_probe()
104 gmouse->bmiddle = devm_gpiod_get_optional(dev, "button-middle", in gpio_mouse_probe()
108 gmouse->bright = devm_gpiod_get_optional(dev, "button-right", in gpio_mouse_probe()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dams-delta.c266 priv->gpiod_rdy = devm_gpiod_get_optional(&pdev->dev, "rdy", GPIOD_IN); in gpio_nand_probe()
276 priv->gpiod_nwp = devm_gpiod_get_optional(&pdev->dev, "nwp", in gpio_nand_probe()
284 priv->gpiod_nce = devm_gpiod_get_optional(&pdev->dev, "nce", in gpio_nand_probe()
292 priv->gpiod_nre = devm_gpiod_get_optional(&pdev->dev, "nre", in gpio_nand_probe()
300 priv->gpiod_nwe = devm_gpiod_get_optional(&pdev->dev, "nwe", in gpio_nand_probe()
Dgpio.c322 gpiomtd->nce = devm_gpiod_get_optional(dev, "nce", GPIOD_OUT_HIGH); in gpio_nand_probe()
327 gpiomtd->nwp = devm_gpiod_get_optional(dev, "nwp", GPIOD_OUT_LOW); in gpio_nand_probe()
345 gpiomtd->rdy = devm_gpiod_get_optional(dev, "rdy", GPIOD_IN); in gpio_nand_probe()
/kernel/linux/linux-5.10/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()
Dsimple-amplifier.c79 priv->gpiod_enable = devm_gpiod_get_optional(dev, "enable", in simple_amp_probe()
/kernel/linux/linux-5.10/net/rfkill/
Drfkill-gpio.c101 gpio = devm_gpiod_get_optional(&pdev->dev, "reset", GPIOD_OUT_LOW); in rfkill_gpio_probe()
107 gpio = devm_gpiod_get_optional(&pdev->dev, "shutdown", GPIOD_OUT_LOW); in rfkill_gpio_probe()
/kernel/linux/linux-5.10/drivers/phy/ti/
Dphy-tusb1210.c102 tusb->gpio_reset = devm_gpiod_get_optional(&ulpi->dev, "reset", in tusb1210_probe()
109 tusb->gpio_cs = devm_gpiod_get_optional(&ulpi->dev, "cs", in tusb1210_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7780.c269 st->powerdown_gpio = devm_gpiod_get_optional(dev, in ad7780_init_gpios()
282 st->gain_gpio = devm_gpiod_get_optional(dev, in ad7780_init_gpios()
291 st->filter_gpio = devm_gpiod_get_optional(dev, in ad7780_init_gpios()
Dad7606.c438 st->gpio_reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in ad7606_request_gpios()
442 st->gpio_range = devm_gpiod_get_optional(dev, "adi,range", in ad7606_request_gpios()
447 st->gpio_standby = devm_gpiod_get_optional(dev, "standby", in ad7606_request_gpios()
452 st->gpio_frstdata = devm_gpiod_get_optional(dev, "adi,first-data", in ad7606_request_gpios()
/kernel/linux/linux-5.10/drivers/power/supply/
Dlt3651-charger.c113 lt3651_charger->fault_gpio = devm_gpiod_get_optional(&pdev->dev, in lt3651_charger_probe()
120 lt3651_charger->chrg_gpio = devm_gpiod_get_optional(&pdev->dev, in lt3651_charger_probe()
/kernel/linux/linux-5.10/drivers/usb/misc/
Dusb3503.c238 hub->intn = devm_gpiod_get_optional(dev, "intn", flags); in usb3503_probe()
244 hub->connect = devm_gpiod_get_optional(dev, "connect", GPIOD_OUT_LOW); in usb3503_probe()
250 hub->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in usb3503_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
Dili9341.c194 dbi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in ili9341_probe()
200 dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW); in ili9341_probe()
Dmi0283qt.c198 dbi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in mi0283qt_probe()
204 dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW); in mi0283qt_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dthc63lvd1024.c175 thc63->oe = devm_gpiod_get_optional(thc63->dev, "oe", GPIOD_OUT_LOW); in thc63_gpio_init()
182 thc63->pdwn = devm_gpiod_get_optional(thc63->dev, "powerdown", in thc63_gpio_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-lvds.c206 lvds->enable_gpio = devm_gpiod_get_optional(lvds->dev, "enable", in panel_lvds_probe()
215 lvds->reset_gpio = devm_gpiod_get_optional(lvds->dev, "reset", in panel_lvds_probe()
/kernel/linux/linux-5.10/drivers/net/dsa/
Drealtek-smi-core.c422 smi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in realtek_smi_probe()
433 smi->mdc = devm_gpiod_get_optional(dev, "mdc", GPIOD_OUT_LOW); in realtek_smi_probe()
436 smi->mdio = devm_gpiod_get_optional(dev, "mdio", GPIOD_OUT_LOW); in realtek_smi_probe()
/kernel/linux/linux-5.10/drivers/auxdisplay/
Dhd44780.c229 hd->pins[PIN_CTRL_RW] = devm_gpiod_get_optional(dev, "rw", in hd44780_probe()
236 hd->pins[PIN_CTRL_BL] = devm_gpiod_get_optional(dev, "backlight", in hd44780_probe()
/kernel/linux/linux-5.10/drivers/extcon/
Dextcon-usb-gpio.c113 info->id_gpiod = devm_gpiod_get_optional(&pdev->dev, "id", GPIOD_IN); in usb_extcon_probe()
114 info->vbus_gpiod = devm_gpiod_get_optional(&pdev->dev, "vbus", in usb_extcon_probe()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-devres.c74 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, in devm_gpiod_get_optional() function
80 EXPORT_SYMBOL_GPL(devm_gpiod_get_optional);
/kernel/linux/linux-5.10/drivers/media/cec/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()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dpixcir_i2c_ts.c526 tsdata->gpio_reset = devm_gpiod_get_optional(dev, "reset", in pixcir_i2c_ts_probe()
536 tsdata->gpio_wake = devm_gpiod_get_optional(dev, "wake", in pixcir_i2c_ts_probe()
545 tsdata->gpio_enable = devm_gpiod_get_optional(dev, "enable", in pixcir_i2c_ts_probe()
Dsis_i2c.c312 ts->attn_gpio = devm_gpiod_get_optional(&client->dev, in sis_ts_probe()
322 ts->reset_gpio = devm_gpiod_get_optional(&client->dev, in sis_ts_probe()
/kernel/linux/linux-5.10/drivers/usb/common/
Dusb-conn-gpio.c186 info->id_gpiod = devm_gpiod_get_optional(dev, "id", GPIOD_IN); in usb_conn_probe()
190 info->vbus_gpiod = devm_gpiod_get_optional(dev, "vbus", GPIOD_IN); in usb_conn_probe()

12345678910>>...12