Searched refs:devm_gpiod_get (Results 1 - 25 of 291) sorted by relevance

1234567891011>>

/linux-master/sound/soc/codecs/
H A Dwm1250-ev1.c140 wm1250->clk_ena = devm_gpiod_get(&i2c->dev, "clk-ena", GPIOD_OUT_LOW);
145 wm1250->clk_sel0 = devm_gpiod_get(&i2c->dev, "clk-sel0", GPIOD_OUT_HIGH);
150 wm1250->clk_sel1 = devm_gpiod_get(&i2c->dev, "clk-sel1", GPIOD_OUT_HIGH);
155 wm1250->osr = devm_gpiod_get(&i2c->dev, "osr", GPIOD_OUT_LOW);
160 wm1250->master = devm_gpiod_get(&i2c->dev, "master", GPIOD_OUT_LOW);
H A Dssm2305.c69 priv->gpiod_shutdown = devm_gpiod_get(dev, "shutdown",
H A Dmax9759.c151 priv->gpiod_shutdown = devm_gpiod_get(dev, "shutdown", GPIOD_OUT_HIGH);
156 priv->gpiod_mute = devm_gpiod_get(dev, "mute", GPIOD_OUT_HIGH);
H A Daw8738.c72 aw->gpiod_mode = devm_gpiod_get(dev, "mode", GPIOD_OUT_LOW);
/linux-master/drivers/input/mouse/
H A Dgpio_mouse.c88 gmouse->up = devm_gpiod_get(dev, "up", GPIOD_IN);
91 gmouse->down = devm_gpiod_get(dev, "down", GPIOD_IN);
94 gmouse->left = devm_gpiod_get(dev, "left", GPIOD_IN);
97 gmouse->right = devm_gpiod_get(dev, "right", GPIOD_IN);
/linux-master/drivers/siox/
H A Dsiox-bus-gpio.c102 ddata->din = devm_gpiod_get(dev, "din", GPIOD_IN);
107 ddata->dout = devm_gpiod_get(dev, "dout", GPIOD_OUT_LOW);
112 ddata->dclk = devm_gpiod_get(dev, "dclk", GPIOD_OUT_LOW);
117 ddata->dld = devm_gpiod_get(dev, "dld", GPIOD_OUT_LOW);
/linux-master/drivers/bus/
H A Dts-nbus.c51 ts_nbus->csn = devm_gpiod_get(&pdev->dev, "ts,csn", GPIOD_OUT_HIGH);
56 ts_nbus->txrx = devm_gpiod_get(&pdev->dev, "ts,txrx", GPIOD_OUT_HIGH);
61 ts_nbus->strobe = devm_gpiod_get(&pdev->dev, "ts,strobe", GPIOD_OUT_HIGH);
66 ts_nbus->ale = devm_gpiod_get(&pdev->dev, "ts,ale", GPIOD_OUT_HIGH);
71 ts_nbus->rdy = devm_gpiod_get(&pdev->dev, "ts,rdy", GPIOD_IN);
/linux-master/drivers/extcon/
H A Dextcon-intel-int3496.c138 devm_gpiod_get(dev, "id", GPIOD_IN | GPIOD_FLAGS_BIT_NONEXCLUSIVE);
151 data->gpio_vbus_en = devm_gpiod_get(dev, "vbus", GPIOD_ASIS);
157 data->gpio_usb_mux = devm_gpiod_get(dev, "mux", GPIOD_ASIS);
H A Dextcon-max3355.c65 gpiod = devm_gpiod_get(&pdev->dev, "id", GPIOD_IN);
72 gpiod = devm_gpiod_get(&pdev->dev, "maxim,shdn", GPIOD_OUT_HIGH);
/linux-master/drivers/hwmon/
H A Dnsa320-hwmon.c167 hwmon->act = devm_gpiod_get(&pdev->dev, "act", GPIOD_OUT_LOW);
171 hwmon->clk = devm_gpiod_get(&pdev->dev, "clk", GPIOD_OUT_HIGH);
175 hwmon->data = devm_gpiod_get(&pdev->dev, "data", GPIOD_IN);
/linux-master/drivers/pcmcia/
H A Dsa1111_jornada720.c45 j->gpio[J720_GPIO_PWR] = devm_gpiod_get(dev, skt->nr ? "s1-power" :
50 j->gpio[J720_GPIO_3V] = devm_gpiod_get(dev, skt->nr ? "s1-3v" :
H A Dmax1600.c51 m->gpio[i] = devm_gpiod_get(dev, name, GPIOD_OUT_LOW);
/linux-master/drivers/video/fbdev/omap/
H A Dlcd_ams_delta.c132 gpiod_vblen = devm_gpiod_get(&pdev->dev, "vblen", GPIOD_OUT_LOW);
137 gpiod_ndisp = devm_gpiod_get(&pdev->dev, "ndisp", GPIOD_OUT_LOW);
/linux-master/drivers/mmc/core/
H A Dpwrseq_sd8787.c100 pwrseq->pwrdn_gpio = devm_gpiod_get(dev, "powerdown", GPIOD_OUT_LOW);
104 pwrseq->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW);
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-ronbo-rb070d30.c160 ctx->gpios.reset = devm_gpiod_get(&dsi->dev, "reset", GPIOD_OUT_LOW);
166 ctx->gpios.power = devm_gpiod_get(&dsi->dev, "power", GPIOD_OUT_LOW);
176 ctx->gpios.updn = devm_gpiod_get(&dsi->dev, "updn", GPIOD_OUT_LOW);
186 ctx->gpios.shlr = devm_gpiod_get(&dsi->dev, "shlr", GPIOD_OUT_LOW);
/linux-master/drivers/platform/x86/
H A Dsel3350-platform.c177 sel3350->ps_a_cfg_data.ps_detect = devm_gpiod_get(&pdev->dev,
180 sel3350->ps_a_cfg_data.ps_good = devm_gpiod_get(&pdev->dev,
194 sel3350->ps_b_cfg_data.ps_detect = devm_gpiod_get(&pdev->dev,
197 sel3350->ps_b_cfg_data.ps_good = devm_gpiod_get(&pdev->dev,
/linux-master/drivers/iio/resolver/
H A Dad2s1200.c147 st->sample = devm_gpiod_get(&spi->dev, "adi,sample", GPIOD_OUT_LOW);
154 st->rdvel = devm_gpiod_get(&spi->dev, "adi,rdvel", GPIOD_OUT_LOW);
/linux-master/drivers/i2c/muxes/
H A Di2c-arb-gpio-challenge.c125 arb->our_gpio = devm_gpiod_get(dev, "our-claim", GPIOD_OUT_LOW);
132 arb->their_gpio = devm_gpiod_get(dev, "their-claim", GPIOD_IN);
/linux-master/drivers/usb/typec/mux/
H A Dgpio-sbu-mux.c105 sbu_mux->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW);
110 sbu_mux->select_gpio = devm_gpiod_get(dev, "select", GPIOD_OUT_LOW);
/linux-master/drivers/fpga/
H A Dice40-spi.c167 priv->cdone = devm_gpiod_get(dev, "cdone", GPIOD_IN);
174 priv->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
/linux-master/drivers/rtc/
H A Drtc-ds2404.c42 chip->rst_gpiod = devm_gpiod_get(dev, "rst", GPIOD_OUT_LOW);
46 chip->clk_gpiod = devm_gpiod_get(dev, "clk", GPIOD_OUT_HIGH);
50 chip->dq_gpiod = devm_gpiod_get(dev, "dq", GPIOD_ASIS);
H A Drtc-moxart.c253 moxart_rtc->gpio_data = devm_gpiod_get(&pdev->dev, "rtc-data",
261 moxart_rtc->gpio_sclk = devm_gpiod_get(&pdev->dev, "rtc-sclk",
269 moxart_rtc->gpio_reset = devm_gpiod_get(&pdev->dev, "rtc-reset",
/linux-master/sound/soc/pxa/
H A Dspitz.c289 gpiod_mic = devm_gpiod_get(&pdev->dev, "mic", GPIOD_OUT_LOW);
292 gpiod_mute_l = devm_gpiod_get(&pdev->dev, "mute-l", GPIOD_OUT_LOW);
295 gpiod_mute_r = devm_gpiod_get(&pdev->dev, "mute-r", GPIOD_OUT_LOW);
/linux-master/sound/soc/atmel/
H A Dtse850-pcm5142.c372 tse850->add = devm_gpiod_get(dev, "axentia,add", GPIOD_OUT_HIGH);
378 tse850->loop1 = devm_gpiod_get(dev, "axentia,loop1", GPIOD_OUT_HIGH);
384 tse850->loop2 = devm_gpiod_get(dev, "axentia,loop2", GPIOD_OUT_HIGH);
/linux-master/sound/soc/ti/
H A Drx51.c417 pdata->tvout_selection_gpio = devm_gpiod_get(card->dev,
425 pdata->eci_sw_gpio = devm_gpiod_get(card->dev, "eci-switch",
432 pdata->speaker_amp_gpio = devm_gpiod_get(card->dev,

Completed in 248 milliseconds

1234567891011>>