/openbmc/linux/drivers/power/supply/ |
H A D | max8903_charger.c | 232 data->dok = devm_gpiod_get_optional(dev, "dok", GPIOD_IN); in max8903_setup_gpios() 247 data->uok = devm_gpiod_get_optional(dev, "uok", GPIOD_IN); in max8903_setup_gpios() 295 data->dcm = devm_gpiod_get_optional(dev, "dcm", flags); in max8903_setup_gpios() 301 data->chg = devm_gpiod_get_optional(dev, "chg", GPIOD_IN); in max8903_setup_gpios() 307 data->flt = devm_gpiod_get_optional(dev, "flt", GPIOD_IN); in max8903_setup_gpios() 313 data->usus = devm_gpiod_get_optional(dev, "usus", GPIOD_IN); in max8903_setup_gpios()
|
H A D | lt3651-charger.c | 113 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()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | gpio_mouse.c | 101 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()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | ams-delta.c | 266 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()
|
H A D | gpio.c | 319 gpiomtd->nce = devm_gpiod_get_optional(dev, "nce", GPIOD_OUT_HIGH); in gpio_nand_probe() 324 gpiomtd->nwp = devm_gpiod_get_optional(dev, "nwp", GPIOD_OUT_LOW); in gpio_nand_probe() 342 gpiomtd->rdy = devm_gpiod_get_optional(dev, "rdy", GPIOD_IN); in gpio_nand_probe()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | es7241.c | 271 priv->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in es7241_probe() 276 priv->m0 = devm_gpiod_get_optional(dev, "m0", GPIOD_OUT_LOW); in es7241_probe() 281 priv->m1 = devm_gpiod_get_optional(dev, "m1", GPIOD_OUT_LOW); in es7241_probe()
|
H A D | bd28623.c | 201 bd->reset_gpio = devm_gpiod_get_optional(dev, "reset", in bd28623_probe() 209 bd->mute_gpio = devm_gpiod_get_optional(dev, "mute", in bd28623_probe()
|
H A D | simple-amplifier.c | 78 priv->gpiod_enable = devm_gpiod_get_optional(dev, "enable", in simple_amp_probe()
|
/openbmc/linux/drivers/usb/misc/ |
H A D | usb3503.c | 245 hub->intn = devm_gpiod_get_optional(dev, "intn", flags); in usb3503_probe() 253 hub->connect = devm_gpiod_get_optional(dev, "connect", GPIOD_OUT_LOW); in usb3503_probe() 261 hub->bypass = devm_gpiod_get_optional(dev, "bypass", GPIOD_OUT_HIGH); in usb3503_probe() 269 hub->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in usb3503_probe()
|
/openbmc/linux/drivers/phy/ |
H A D | phy-can-transceiver.c | 141 standby_gpio = devm_gpiod_get_optional(dev, "standby", GPIOD_OUT_HIGH); in can_transceiver_phy_probe() 148 enable_gpio = devm_gpiod_get_optional(dev, "enable", GPIOD_OUT_LOW); in can_transceiver_phy_probe()
|
/openbmc/linux/drivers/pcmcia/ |
H A D | sa1100_generic.c | 62 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()
|
/openbmc/linux/net/rfkill/ |
H A D | rfkill-gpio.c | 111 gpio = devm_gpiod_get_optional(&pdev->dev, "reset", GPIOD_ASIS); in rfkill_gpio_probe() 117 gpio = devm_gpiod_get_optional(&pdev->dev, "shutdown", GPIOD_ASIS); in rfkill_gpio_probe()
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A D | ili9163.c | 156 dbi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in ili9163_probe() 162 dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW); in ili9163_probe()
|
H A D | ili9341.c | 191 dbi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in ili9341_probe() 195 dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW); in ili9341_probe()
|
H A D | mi0283qt.c | 195 dbi->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH); in mi0283qt_probe() 199 dc = devm_gpiod_get_optional(dev, "dc", GPIOD_OUT_LOW); in mi0283qt_probe()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ad7780.c | 269 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()
|
H A D | ad7606.c | 415 st->gpio_reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in ad7606_request_gpios() 419 st->gpio_range = devm_gpiod_get_optional(dev, "adi,range", in ad7606_request_gpios() 424 st->gpio_standby = devm_gpiod_get_optional(dev, "standby", in ad7606_request_gpios() 429 st->gpio_frstdata = devm_gpiod_get_optional(dev, "adi,first-data", in ad7606_request_gpios()
|
/openbmc/linux/drivers/fpga/ |
H A D | lattice-sysconfig.c | 370 program = devm_gpiod_get_optional(dev, "program", GPIOD_OUT_LOW); in sysconfig_probe() 375 init = devm_gpiod_get_optional(dev, "init", GPIOD_IN); in sysconfig_probe() 380 done = devm_gpiod_get_optional(dev, "done", GPIOD_IN); in sysconfig_probe()
|
/openbmc/linux/sound/soc/tegra/ |
H A D | tegra_asoc_machine.c | 446 gpiod = devm_gpiod_get_optional(dev, "nvidia,hp-mute", GPIOD_OUT_HIGH); in tegra_asoc_machine_probe() 451 gpiod = devm_gpiod_get_optional(dev, "nvidia,hp-det", GPIOD_IN); in tegra_asoc_machine_probe() 456 gpiod = devm_gpiod_get_optional(dev, "nvidia,mic-det", GPIOD_IN); in tegra_asoc_machine_probe() 461 gpiod = devm_gpiod_get_optional(dev, "nvidia,spkr-en", GPIOD_OUT_LOW); in tegra_asoc_machine_probe() 466 gpiod = devm_gpiod_get_optional(dev, "nvidia,int-mic-en", GPIOD_OUT_LOW); in tegra_asoc_machine_probe() 471 gpiod = devm_gpiod_get_optional(dev, "nvidia,ext-mic-en", GPIOD_OUT_LOW); in tegra_asoc_machine_probe()
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-lvds.c | 192 lvds->enable_gpio = devm_gpiod_get_optional(lvds->dev, "enable", in panel_lvds_probe() 201 lvds->reset_gpio = devm_gpiod_get_optional(lvds->dev, "reset", in panel_lvds_probe()
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-usb-gpio.c | 112 info->id_gpiod = devm_gpiod_get_optional(&pdev->dev, "id", GPIOD_IN); in usb_extcon_probe() 113 info->vbus_gpiod = devm_gpiod_get_optional(&pdev->dev, "vbus", in usb_extcon_probe()
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | thc63lvd1024.c | 175 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()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-devres.c | 74 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);
|
/openbmc/linux/drivers/media/cec/platform/cec-gpio/ |
H A D | cec-gpio.c | 198 cec->hpd_gpio = devm_gpiod_get_optional(dev, "hpd", GPIOD_IN); in cec_gpio_probe() 202 cec->v5_gpio = devm_gpiod_get_optional(dev, "v5", GPIOD_IN); in cec_gpio_probe()
|
/openbmc/linux/drivers/net/dsa/realtek/ |
H A D | realtek-smi.c | 462 priv->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in realtek_smi_probe() 477 priv->mdc = devm_gpiod_get_optional(dev, "mdc", GPIOD_OUT_LOW); in realtek_smi_probe() 480 priv->mdio = devm_gpiod_get_optional(dev, "mdio", GPIOD_OUT_LOW); in realtek_smi_probe()
|