Home
last modified time | relevance | path

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

12345678

/Linux-v5.4/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-v5.4/drivers/input/mouse/
Dgpio_mouse.c90 gmouse->up = devm_gpiod_get(dev, "up", GPIOD_IN); in gpio_mouse_probe()
93 gmouse->down = devm_gpiod_get(dev, "down", GPIOD_IN); in gpio_mouse_probe()
96 gmouse->left = devm_gpiod_get(dev, "left", GPIOD_IN); in gpio_mouse_probe()
99 gmouse->right = devm_gpiod_get(dev, "right", GPIOD_IN); in gpio_mouse_probe()
/Linux-v5.4/drivers/mtd/nand/raw/
Dams-delta.c255 priv->gpiod_nwp = devm_gpiod_get(&pdev->dev, "nwp", GPIOD_OUT_HIGH); in ams_delta_init()
262 priv->gpiod_nce = devm_gpiod_get(&pdev->dev, "nce", GPIOD_OUT_HIGH); in ams_delta_init()
269 priv->gpiod_nre = devm_gpiod_get(&pdev->dev, "nre", GPIOD_OUT_HIGH); in ams_delta_init()
276 priv->gpiod_nwe = devm_gpiod_get(&pdev->dev, "nwe", GPIOD_OUT_HIGH); in ams_delta_init()
283 priv->gpiod_ale = devm_gpiod_get(&pdev->dev, "ale", GPIOD_OUT_LOW); in ams_delta_init()
290 priv->gpiod_cle = devm_gpiod_get(&pdev->dev, "cle", GPIOD_OUT_LOW); in ams_delta_init()
/Linux-v5.4/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-v5.4/drivers/gpu/drm/panel/
Dpanel-ronbo-rb070d30.c180 ctx->gpios.reset = devm_gpiod_get(&dsi->dev, "reset", GPIOD_OUT_LOW); in rb070d30_panel_dsi_probe()
186 ctx->gpios.power = devm_gpiod_get(&dsi->dev, "power", GPIOD_OUT_LOW); in rb070d30_panel_dsi_probe()
196 ctx->gpios.updn = devm_gpiod_get(&dsi->dev, "updn", GPIOD_OUT_LOW); in rb070d30_panel_dsi_probe()
206 ctx->gpios.shlr = devm_gpiod_get(&dsi->dev, "shlr", GPIOD_OUT_LOW); in rb070d30_panel_dsi_probe()
Dpanel-sharp-ls037v7dw01.c155 lcd->ini_gpio = devm_gpiod_get(&pdev->dev, "enable", GPIOD_OUT_LOW); in ls037v7dw01_probe()
161 lcd->resb_gpio = devm_gpiod_get(&pdev->dev, "reset", GPIOD_OUT_LOW); in ls037v7dw01_probe()
/Linux-v5.4/drivers/hwmon/
Dnsa320-hwmon.c169 hwmon->act = devm_gpiod_get(&pdev->dev, "act", GPIOD_OUT_LOW); in nsa320_hwmon_probe()
173 hwmon->clk = devm_gpiod_get(&pdev->dev, "clk", GPIOD_OUT_HIGH); in nsa320_hwmon_probe()
177 hwmon->data = devm_gpiod_get(&pdev->dev, "data", GPIOD_IN); in nsa320_hwmon_probe()
/Linux-v5.4/drivers/extcon/
Dextcon-intel-int3496.c106 data->gpio_usb_id = devm_gpiod_get(dev, "id", GPIOD_IN); in int3496_probe()
119 data->gpio_vbus_en = devm_gpiod_get(dev, "vbus", GPIOD_ASIS); in int3496_probe()
123 data->gpio_usb_mux = devm_gpiod_get(dev, "mux", GPIOD_ASIS); in int3496_probe()
Dextcon-max3355.c66 gpiod = devm_gpiod_get(&pdev->dev, "id", GPIOD_IN); in max3355_probe()
73 gpiod = devm_gpiod_get(&pdev->dev, "maxim,shdn", GPIOD_OUT_HIGH); in max3355_probe()
/Linux-v5.4/drivers/mmc/core/
Dpwrseq_sd8787.c72 pwrseq->pwrdn_gpio = devm_gpiod_get(dev, "powerdown", GPIOD_OUT_LOW); in mmc_pwrseq_sd8787_probe()
76 pwrseq->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in mmc_pwrseq_sd8787_probe()
/Linux-v5.4/drivers/pcmcia/
Dsa1111_jornada720.c45 j->gpio[J720_GPIO_PWR] = devm_gpiod_get(dev, skt->nr ? "s1-power" : in jornada720_pcmcia_hw_init()
50 j->gpio[J720_GPIO_3V] = devm_gpiod_get(dev, skt->nr ? "s1-3v" : in jornada720_pcmcia_hw_init()
/Linux-v5.4/drivers/ata/
Dpata_palmld.c71 lda->power = devm_gpiod_get(dev, "power", GPIOD_OUT_HIGH); in palmld_pata_probe()
74 lda->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in palmld_pata_probe()
/Linux-v5.4/drivers/video/fbdev/omap/
Dlcd_ams_delta.c133 gpiod_vblen = devm_gpiod_get(&pdev->dev, "vblen", GPIOD_OUT_LOW); in ams_delta_panel_probe()
140 gpiod_ndisp = devm_gpiod_get(&pdev->dev, "ndisp", GPIOD_OUT_LOW); in ams_delta_panel_probe()
/Linux-v5.4/drivers/staging/greybus/
Darche-apb-ctrl.c145 apb->spi_en = devm_gpiod_get(dev, "spi-en", flags); in fw_flashing_seq()
323 apb->resetn = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in apb_ctrl_get_devtree_data()
330 apb->boot_ret = devm_gpiod_get(dev, "boot-ret", GPIOD_OUT_LOW); in apb_ctrl_get_devtree_data()
353 apb->pwrdn = devm_gpiod_get(dev, "pwr-down", GPIOD_OUT_LOW); in apb_ctrl_get_devtree_data()
Darche-platform.c446 arche_pdata->svc_reset = devm_gpiod_get(dev, "svc,reset", flags); in arche_platform_probe()
454 arche_pdata->svc_sysboot = devm_gpiod_get(dev, "svc,sysboot", in arche_platform_probe()
463 arche_pdata->svc_refclk_req = devm_gpiod_get(dev, "svc,refclk-req", in arche_platform_probe()
484 arche_pdata->wake_detect = devm_gpiod_get(dev, "svc,wake-detect", in arche_platform_probe()
/Linux-v5.4/sound/soc/ti/
Drx51.c420 pdata->tvout_selection_gpio = devm_gpiod_get(card->dev, in rx51_soc_probe()
428 pdata->jack_detection_gpio = devm_gpiod_get(card->dev, in rx51_soc_probe()
436 pdata->eci_sw_gpio = devm_gpiod_get(card->dev, "eci-switch", in rx51_soc_probe()
443 pdata->speaker_amp_gpio = devm_gpiod_get(card->dev, in rx51_soc_probe()
/Linux-v5.4/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c125 arb->our_gpio = devm_gpiod_get(dev, "our-claim", GPIOD_OUT_LOW); in i2c_arbitrator_probe()
132 arb->their_gpio = devm_gpiod_get(dev, "their-claim", GPIOD_IN); in i2c_arbitrator_probe()
/Linux-v5.4/drivers/iio/resolver/
Dad2s1200.c147 st->sample = devm_gpiod_get(&spi->dev, "adi,sample", GPIOD_OUT_LOW); in ad2s1200_probe()
154 st->rdvel = devm_gpiod_get(&spi->dev, "adi,rdvel", GPIOD_OUT_LOW); in ad2s1200_probe()
/Linux-v5.4/drivers/fpga/
Dxilinx-spi.c152 conf->prog_b = devm_gpiod_get(&spi->dev, "prog_b", GPIOD_OUT_LOW); in xilinx_spi_probe()
159 conf->done = devm_gpiod_get(&spi->dev, "done", GPIOD_IN); in xilinx_spi_probe()
Dice40-spi.c161 priv->cdone = devm_gpiod_get(dev, "cdone", GPIOD_IN); in ice40_fpga_probe()
168 priv->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ice40_fpga_probe()
/Linux-v5.4/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()
Duda1334.c260 uda1334->mute = devm_gpiod_get(&pdev->dev, "nxp,mute", GPIOD_OUT_LOW); in uda1334_codec_probe()
267 uda1334->deemph = devm_gpiod_get(&pdev->dev, "nxp,deemph", GPIOD_OUT_LOW); in uda1334_codec_probe()
/Linux-v5.4/drivers/gpu/drm/tiny/
Dst7735r.c174 dbi->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in st7735r_probe()
180 dc = devm_gpiod_get(dev, "dc", GPIOD_OUT_LOW); in st7735r_probe()
/Linux-v5.4/drivers/power/reset/
Dltc2952-poweroff.c180 data->gpio_watchdog = devm_gpiod_get(&pdev->dev, "watchdog", in ltc2952_poweroff_init()
188 data->gpio_kill = devm_gpiod_get(&pdev->dev, "kill", GPIOD_OUT_LOW); in ltc2952_poweroff_init()
/Linux-v5.4/sound/soc/atmel/
Dtse850-pcm5142.c373 tse850->add = devm_gpiod_get(dev, "axentia,add", GPIOD_OUT_HIGH); in tse850_probe()
381 tse850->loop1 = devm_gpiod_get(dev, "axentia,loop1", GPIOD_OUT_HIGH); in tse850_probe()
389 tse850->loop2 = devm_gpiod_get(dev, "axentia,loop2", GPIOD_OUT_HIGH); in tse850_probe()

12345678