Home
last modified time | relevance | path

Searched refs:devm_gpiod_get (Results 1 – 25 of 120) sorted by relevance

12345

/Linux-v4.19/drivers/siox/
Dsiox-bus-gpio.c103 ddata->din = devm_gpiod_get(dev, "din", GPIOD_IN); in siox_gpio_probe()
110 ddata->dout = devm_gpiod_get(dev, "dout", GPIOD_OUT_LOW); in siox_gpio_probe()
117 ddata->dclk = devm_gpiod_get(dev, "dclk", GPIOD_OUT_LOW); in siox_gpio_probe()
124 ddata->dld = devm_gpiod_get(dev, "dld", GPIOD_OUT_LOW); in siox_gpio_probe()
/Linux-v4.19/drivers/input/mouse/
Dgpio_mouse.c93 gmouse->up = devm_gpiod_get(dev, "up", GPIOD_IN); in gpio_mouse_probe()
96 gmouse->down = devm_gpiod_get(dev, "down", GPIOD_IN); in gpio_mouse_probe()
99 gmouse->left = devm_gpiod_get(dev, "left", GPIOD_IN); in gpio_mouse_probe()
102 gmouse->right = devm_gpiod_get(dev, "right", GPIOD_IN); in gpio_mouse_probe()
/Linux-v4.19/drivers/bus/
Dts-nbus.c55 ts_nbus->csn = devm_gpiod_get(&pdev->dev, "ts,csn", GPIOD_OUT_HIGH); in ts_nbus_init_pdata()
61 ts_nbus->txrx = devm_gpiod_get(&pdev->dev, "ts,txrx", GPIOD_OUT_HIGH); in ts_nbus_init_pdata()
67 ts_nbus->strobe = devm_gpiod_get(&pdev->dev, "ts,strobe", GPIOD_OUT_HIGH); in ts_nbus_init_pdata()
73 ts_nbus->ale = devm_gpiod_get(&pdev->dev, "ts,ale", GPIOD_OUT_HIGH); in ts_nbus_init_pdata()
79 ts_nbus->rdy = devm_gpiod_get(&pdev->dev, "ts,rdy", GPIOD_IN); in ts_nbus_init_pdata()
/Linux-v4.19/drivers/extcon/
Dextcon-intel-int3496.c114 data->gpio_usb_id = devm_gpiod_get(dev, "id", GPIOD_IN); in int3496_probe()
127 data->gpio_vbus_en = devm_gpiod_get(dev, "vbus", GPIOD_ASIS); in int3496_probe()
131 data->gpio_usb_mux = devm_gpiod_get(dev, "mux", GPIOD_ASIS); in int3496_probe()
Dextcon-max3355.c69 gpiod = devm_gpiod_get(&pdev->dev, "id", GPIOD_IN); in max3355_probe()
76 gpiod = devm_gpiod_get(&pdev->dev, "maxim,shdn", GPIOD_OUT_HIGH); in max3355_probe()
/Linux-v4.19/drivers/hwmon/
Dnsa320-hwmon.c177 hwmon->act = devm_gpiod_get(&pdev->dev, "act", GPIOD_OUT_LOW); in nsa320_hwmon_probe()
181 hwmon->clk = devm_gpiod_get(&pdev->dev, "clk", GPIOD_OUT_HIGH); in nsa320_hwmon_probe()
185 hwmon->data = devm_gpiod_get(&pdev->dev, "data", GPIOD_IN); in nsa320_hwmon_probe()
/Linux-v4.19/drivers/mmc/core/
Dpwrseq_sd8787.c82 pwrseq->pwrdn_gpio = devm_gpiod_get(dev, "powerdown", GPIOD_OUT_LOW); in mmc_pwrseq_sd8787_probe()
86 pwrseq->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in mmc_pwrseq_sd8787_probe()
/Linux-v4.19/sound/soc/jz4740/
Dqi_lb60.c85 qi_lb60->snd_gpio = devm_gpiod_get(&pdev->dev, "snd", GPIOD_OUT_LOW); in qi_lb60_probe()
89 qi_lb60->amp_gpio = devm_gpiod_get(&pdev->dev, "amp", GPIOD_OUT_LOW); in qi_lb60_probe()
/Linux-v4.19/sound/soc/omap/
Drx51.c432 pdata->tvout_selection_gpio = devm_gpiod_get(card->dev, in rx51_soc_probe()
440 pdata->jack_detection_gpio = devm_gpiod_get(card->dev, in rx51_soc_probe()
448 pdata->eci_sw_gpio = devm_gpiod_get(card->dev, "eci-switch", in rx51_soc_probe()
455 pdata->speaker_amp_gpio = devm_gpiod_get(card->dev, in rx51_soc_probe()
/Linux-v4.19/drivers/fpga/
Daltera-ps-spi.c254 conf->config = devm_gpiod_get(&spi->dev, "nconfig", GPIOD_OUT_LOW); in altera_ps_probe()
261 conf->status = devm_gpiod_get(&spi->dev, "nstat", GPIOD_IN); in altera_ps_probe()
268 conf->confd = devm_gpiod_get(&spi->dev, "confd", GPIOD_IN); in altera_ps_probe()
Dxilinx-spi.c156 conf->prog_b = devm_gpiod_get(&spi->dev, "prog_b", GPIOD_OUT_LOW); in xilinx_spi_probe()
163 conf->done = devm_gpiod_get(&spi->dev, "done", GPIOD_IN); in xilinx_spi_probe()
Dice40-spi.c164 priv->cdone = devm_gpiod_get(dev, "cdone", GPIOD_IN); in ice40_fpga_probe()
171 priv->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ice40_fpga_probe()
/Linux-v4.19/drivers/iio/resolver/
Dad2s1200.c150 st->sample = devm_gpiod_get(&spi->dev, "adi,sample", GPIOD_OUT_LOW); in ad2s1200_probe()
157 st->rdvel = devm_gpiod_get(&spi->dev, "adi,rdvel", GPIOD_OUT_LOW); in ad2s1200_probe()
/Linux-v4.19/drivers/gpu/drm/tinydrm/
Dst7735r.c155 mipi->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in st7735r_probe()
161 dc = devm_gpiod_get(dev, "dc", GPIOD_OUT_LOW); in st7735r_probe()
/Linux-v4.19/sound/soc/codecs/
Dmax9759.c151 priv->gpiod_shutdown = devm_gpiod_get(dev, "shutdown", GPIOD_OUT_HIGH); in max9759_probe()
159 priv->gpiod_mute = devm_gpiod_get(dev, "mute", GPIOD_OUT_HIGH); in max9759_probe()
Dssm2305.c70 priv->gpiod_shutdown = devm_gpiod_get(dev, "shutdown", in ssm2305_probe()
Dsimple-amplifier.c88 priv->gpiod_enable = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in simple_amp_probe()
/Linux-v4.19/drivers/iio/proximity/
Dsrf04.c238 data->gpiod_trig = devm_gpiod_get(dev, "trig", GPIOD_OUT_LOW); in srf04_probe()
245 data->gpiod_echo = devm_gpiod_get(dev, "echo", GPIOD_IN); in srf04_probe()
/Linux-v4.19/drivers/power/reset/
Dltc2952-poweroff.c190 data->gpio_watchdog = devm_gpiod_get(&pdev->dev, "watchdog", in ltc2952_poweroff_init()
198 data->gpio_kill = devm_gpiod_get(&pdev->dev, "kill", GPIOD_OUT_LOW); in ltc2952_poweroff_init()
Dgpio-poweroff.c71 reset_gpio = devm_gpiod_get(&pdev->dev, NULL, flags); in gpio_poweroff_probe()
/Linux-v4.19/sound/soc/atmel/
Dtse850-pcm5142.c374 tse850->add = devm_gpiod_get(dev, "axentia,add", GPIOD_OUT_HIGH); in tse850_probe()
382 tse850->loop1 = devm_gpiod_get(dev, "axentia,loop1", GPIOD_OUT_HIGH); in tse850_probe()
390 tse850->loop2 = devm_gpiod_get(dev, "axentia,loop2", GPIOD_OUT_HIGH); in tse850_probe()
/Linux-v4.19/drivers/gpu/drm/panel/
Dpanel-jdi-lt070me05000.c421 jdi->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in jdi_panel_add()
428 jdi->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in jdi_panel_add()
435 jdi->dcdc_en_gpio = devm_gpiod_get(dev, "dcdc-en", GPIOD_OUT_LOW); in jdi_panel_add()
/Linux-v4.19/drivers/auxdisplay/
Dhd44780.c236 hd->pins[PIN_CTRL_E] = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in hd44780_probe()
242 hd->pins[PIN_CTRL_RS] = devm_gpiod_get(dev, "rs", GPIOD_OUT_HIGH); in hd44780_probe()
/Linux-v4.19/drivers/gpio/
Ddevres.c64 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get() function
70 EXPORT_SYMBOL(devm_gpiod_get);
/Linux-v4.19/drivers/gpu/drm/bridge/
Dnxp-ptn3460.c305 ptn_bridge->gpio_pd_n = devm_gpiod_get(&client->dev, "powerdown", in ptn3460_probe()
317 ptn_bridge->gpio_rst_n = devm_gpiod_get(&client->dev, "reset", in ptn3460_probe()

12345