Searched refs:devm_gpiod_get_optional (Results 1 - 25 of 463) sorted by relevance

1234567891011>>

/linux-master/drivers/input/mouse/
H A Dgpio_mouse.c101 gmouse->bleft = devm_gpiod_get_optional(dev, "button-left", GPIOD_IN);
104 gmouse->bmiddle = devm_gpiod_get_optional(dev, "button-middle",
108 gmouse->bright = devm_gpiod_get_optional(dev, "button-right",
/linux-master/drivers/power/supply/
H A Dmax8903_charger.c232 data->dok = devm_gpiod_get_optional(dev, "dok", GPIOD_IN);
247 data->uok = devm_gpiod_get_optional(dev, "uok", GPIOD_IN);
295 data->dcm = devm_gpiod_get_optional(dev, "dcm", flags);
301 data->chg = devm_gpiod_get_optional(dev, "chg", GPIOD_IN);
307 data->flt = devm_gpiod_get_optional(dev, "flt", GPIOD_IN);
313 data->usus = devm_gpiod_get_optional(dev, "usus", GPIOD_IN);
H A Dlt3651-charger.c113 lt3651_charger->fault_gpio = devm_gpiod_get_optional(&pdev->dev,
120 lt3651_charger->chrg_gpio = devm_gpiod_get_optional(&pdev->dev,
/linux-master/sound/soc/codecs/
H A Dmax9768.c180 max9768->mute = devm_gpiod_get_optional(&client->dev,
188 max9768->shdn = devm_gpiod_get_optional(&client->dev,
H A Dsimple-amplifier.c78 priv->gpiod_enable = devm_gpiod_get_optional(dev, "enable",
H A Des7241.c271 priv->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW);
276 priv->m0 = devm_gpiod_get_optional(dev, "m0", GPIOD_OUT_LOW);
281 priv->m1 = devm_gpiod_get_optional(dev, "m1", GPIOD_OUT_LOW);
H A Dnau8315.c125 nau8315->enable = devm_gpiod_get_optional(&pdev->dev,
H A Drt1015p.c113 rt1015p->sdb = devm_gpiod_get_optional(&pdev->dev,
H A Dbd28623.c201 bd->reset_gpio = devm_gpiod_get_optional(dev, "reset",
209 bd->mute_gpio = devm_gpiod_get_optional(dev, "mute",
/linux-master/net/rfkill/
H A Drfkill-gpio.c111 gpio = devm_gpiod_get_optional(&pdev->dev, "reset", GPIOD_ASIS);
117 gpio = devm_gpiod_get_optional(&pdev->dev, "shutdown", GPIOD_ASIS);
/linux-master/drivers/pcmcia/
H A Dsa1100_generic.c62 skt->gpio_bus_enable = devm_gpiod_get_optional(dev, "bus-enable",
77 skt->stat[i].desc = devm_gpiod_get_optional(dev,
H A Dmax1600.c53 m->gpio[i] = devm_gpiod_get_optional(dev, name,
/linux-master/drivers/phy/
H A Dphy-can-transceiver.c141 standby_gpio = devm_gpiod_get_optional(dev, "standby", GPIOD_OUT_HIGH);
148 enable_gpio = devm_gpiod_get_optional(dev, "enable", GPIOD_OUT_LOW);
/linux-master/drivers/usb/misc/
H A Dusb3503.c245 hub->intn = devm_gpiod_get_optional(dev, "intn", flags);
253 hub->connect = devm_gpiod_get_optional(dev, "connect", GPIOD_OUT_LOW);
261 hub->bypass = devm_gpiod_get_optional(dev, "bypass", GPIOD_OUT_HIGH);
269 hub->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH);
H A Dusb4604.c89 gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW);
/linux-master/drivers/mtd/nand/raw/
H A Dams-delta.c266 priv->gpiod_rdy = devm_gpiod_get_optional(&pdev->dev, "rdy", GPIOD_IN);
276 priv->gpiod_nwp = devm_gpiod_get_optional(&pdev->dev, "nwp",
284 priv->gpiod_nce = devm_gpiod_get_optional(&pdev->dev, "nce",
292 priv->gpiod_nre = devm_gpiod_get_optional(&pdev->dev, "nre",
300 priv->gpiod_nwe = devm_gpiod_get_optional(&pdev->dev, "nwe",
/linux-master/drivers/iio/adc/
H A Dad7780.c269 st->powerdown_gpio = devm_gpiod_get_optional(dev,
282 st->gain_gpio = devm_gpiod_get_optional(dev,
291 st->filter_gpio = devm_gpiod_get_optional(dev,
/linux-master/drivers/fpga/
H A Dlattice-sysconfig.c370 program = devm_gpiod_get_optional(dev, "program", GPIOD_OUT_LOW);
375 init = devm_gpiod_get_optional(dev, "init", GPIOD_IN);
380 done = devm_gpiod_get_optional(dev, "done", GPIOD_IN);
/linux-master/drivers/net/ethernet/arc/
H A Demac_mdio.c152 data->reset_gpio = devm_gpiod_get_optional(priv->dev, "phy-reset",
/linux-master/drivers/hid/i2c-hid/
H A Di2c-hid-of-goodix.c93 devm_gpiod_get_optional(&client->dev, "reset", GPIOD_OUT_HIGH);
/linux-master/drivers/mfd/
H A Drt4831.c52 enable_gpio = devm_gpiod_get_optional(&client->dev, "enable", GPIOD_OUT_HIGH);
H A Dlp87565.c67 lp87565->reset_gpio = devm_gpiod_get_optional(lp87565->dev, "reset",
/linux-master/drivers/gnss/
H A Dubx.c96 reset = devm_gpiod_get_optional(&serdev->dev, "reset", GPIOD_OUT_LOW);
/linux-master/drivers/extcon/
H A Dextcon-usb-gpio.c112 info->id_gpiod = devm_gpiod_get_optional(&pdev->dev, "id", GPIOD_IN);
113 info->vbus_gpiod = devm_gpiod_get_optional(&pdev->dev, "vbus",
/linux-master/drivers/gpu/drm/tiny/
H A Dili9163.c156 dbi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH);
162 dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW);

Completed in 223 milliseconds

1234567891011>>