Home
last modified time | relevance | path

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

12345678910

/linux/sound/soc/codecs/
H A Dwm1250-ev1.c140 wm1250->clk_ena = devm_gpiod_get(&i2c->dev, "clk-ena", GPIOD_OUT_LOW); in wm1250_ev1_pdata()
145 wm1250->clk_sel0 = devm_gpiod_get(&i2c->dev, "clk-sel0", GPIOD_OUT_HIGH); in wm1250_ev1_pdata()
150 wm1250->clk_sel1 = devm_gpiod_get(&i2c->dev, "clk-sel1", GPIOD_OUT_HIGH); in wm1250_ev1_pdata()
155 wm1250->osr = devm_gpiod_get(&i2c->dev, "osr", GPIOD_OUT_LOW); in wm1250_ev1_pdata()
160 wm1250->master = devm_gpiod_get(&i2c->dev, "master", GPIOD_OUT_LOW); in wm1250_ev1_pdata()
H A Dmax9759.c151 priv->gpiod_shutdown = devm_gpiod_get(dev, "shutdown", GPIOD_OUT_HIGH); in max9759_probe()
156 priv->gpiod_mute = devm_gpiod_get(dev, "mute", GPIOD_OUT_HIGH); in max9759_probe()
H A Duda1334.c259 uda1334->mute = devm_gpiod_get(&pdev->dev, "nxp,mute", GPIOD_OUT_LOW); in uda1334_codec_probe()
266 uda1334->deemph = devm_gpiod_get(&pdev->dev, "nxp,deemph", GPIOD_OUT_LOW); in uda1334_codec_probe()
/linux/drivers/siox/
H A Dsiox-bus-gpio.c102 ddata->din = devm_gpiod_get(dev, "din", GPIOD_IN); in siox_gpio_probe()
107 ddata->dout = devm_gpiod_get(dev, "dout", GPIOD_OUT_LOW); in siox_gpio_probe()
112 ddata->dclk = devm_gpiod_get(dev, "dclk", GPIOD_OUT_LOW); in siox_gpio_probe()
117 ddata->dld = devm_gpiod_get(dev, "dld", GPIOD_OUT_LOW); in siox_gpio_probe()
/linux/drivers/input/mouse/
H A Dgpio_mouse.c88 gmouse->up = devm_gpiod_get(dev, "up", GPIOD_IN); in gpio_mouse_probe()
91 gmouse->down = devm_gpiod_get(dev, "down", GPIOD_IN); in gpio_mouse_probe()
94 gmouse->left = devm_gpiod_get(dev, "left", GPIOD_IN); in gpio_mouse_probe()
97 gmouse->right = devm_gpiod_get(dev, "right", GPIOD_IN); in gpio_mouse_probe()
/linux/drivers/gpu/drm/panel/
H A Dpanel-ronbo-rb070d30.c160 ctx->gpios.reset = devm_gpiod_get(&dsi->dev, "reset", GPIOD_OUT_LOW); in rb070d30_panel_dsi_probe()
166 ctx->gpios.power = devm_gpiod_get(&dsi->dev, "power", GPIOD_OUT_LOW); in rb070d30_panel_dsi_probe()
176 ctx->gpios.updn = devm_gpiod_get(&dsi->dev, "updn", GPIOD_OUT_LOW); in rb070d30_panel_dsi_probe()
186 ctx->gpios.shlr = devm_gpiod_get(&dsi->dev, "shlr", GPIOD_OUT_LOW); in rb070d30_panel_dsi_probe()
H A Dpanel-boe-himax8279d.c832 pinfo->pp18_gpio = devm_gpiod_get(dev, "pp18", GPIOD_OUT_HIGH); in panel_add()
838 pinfo->pp33_gpio = devm_gpiod_get(dev, "pp33", GPIOD_OUT_HIGH); in panel_add()
844 pinfo->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_HIGH); in panel_add()
H A Dpanel-sharp-ls037v7dw01.c153 lcd->ini_gpio = devm_gpiod_get(&pdev->dev, "enable", GPIOD_OUT_LOW); in ls037v7dw01_probe()
158 lcd->resb_gpio = devm_gpiod_get(&pdev->dev, "reset", GPIOD_OUT_LOW); in ls037v7dw01_probe()
H A Dpanel-lincolntech-lcd197.c205 lcd->enable_gpio = devm_gpiod_get(dev, "enable", in lincoln_lcd197_panel_probe()
211 lcd->reset_gpio = devm_gpiod_get(dev, "reset", in lincoln_lcd197_panel_probe()
/linux/drivers/hwmon/
H A Dnsa320-hwmon.c167 hwmon->act = devm_gpiod_get(&pdev->dev, "act", GPIOD_OUT_LOW); in nsa320_hwmon_probe()
171 hwmon->clk = devm_gpiod_get(&pdev->dev, "clk", GPIOD_OUT_HIGH); in nsa320_hwmon_probe()
175 hwmon->data = devm_gpiod_get(&pdev->dev, "data", GPIOD_IN); in nsa320_hwmon_probe()
/linux/drivers/extcon/
H A Dextcon-intel-int3496.c138 devm_gpiod_get(dev, "id", GPIOD_IN | GPIOD_FLAGS_BIT_NONEXCLUSIVE); in int3496_probe()
151 data->gpio_vbus_en = devm_gpiod_get(dev, "vbus", GPIOD_ASIS); in int3496_probe()
157 data->gpio_usb_mux = devm_gpiod_get(dev, "mux", GPIOD_ASIS); in int3496_probe()
H A Dextcon-max3355.c65 gpiod = devm_gpiod_get(&pdev->dev, "id", GPIOD_IN); in max3355_probe()
72 gpiod = devm_gpiod_get(&pdev->dev, "maxim,shdn", GPIOD_OUT_HIGH); in max3355_probe()
/linux/drivers/platform/x86/
H A Dmeegopad_anx7428.c101 gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_HIGH); in anx7428_probe()
107 gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in anx7428_probe()
/linux/sound/soc/pxa/
H A Dspitz.c289 gpiod_mic = devm_gpiod_get(&pdev->dev, "mic", GPIOD_OUT_LOW); in spitz_probe()
292 gpiod_mute_l = devm_gpiod_get(&pdev->dev, "mute-l", GPIOD_OUT_LOW); in spitz_probe()
295 gpiod_mute_r = devm_gpiod_get(&pdev->dev, "mute-r", GPIOD_OUT_LOW); in spitz_probe()
/linux/drivers/rtc/
H A Drtc-ds2404.c42 chip->rst_gpiod = devm_gpiod_get(dev, "rst", GPIOD_OUT_LOW); in ds2404_gpio_map()
46 chip->clk_gpiod = devm_gpiod_get(dev, "clk", GPIOD_OUT_HIGH); in ds2404_gpio_map()
50 chip->dq_gpiod = devm_gpiod_get(dev, "dq", GPIOD_ASIS); in ds2404_gpio_map()
H A Drtc-moxart.c253 moxart_rtc->gpio_data = devm_gpiod_get(&pdev->dev, "rtc-data", in moxart_rtc_probe()
261 moxart_rtc->gpio_sclk = devm_gpiod_get(&pdev->dev, "rtc-sclk", in moxart_rtc_probe()
269 moxart_rtc->gpio_reset = devm_gpiod_get(&pdev->dev, "rtc-reset", in moxart_rtc_probe()
/linux/drivers/pcmcia/
H A 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/drivers/video/fbdev/omap/
H A Dlcd_ams_delta.c132 gpiod_vblen = devm_gpiod_get(&pdev->dev, "vblen", GPIOD_OUT_LOW); in ams_delta_panel_probe()
137 gpiod_ndisp = devm_gpiod_get(&pdev->dev, "ndisp", GPIOD_OUT_LOW); in ams_delta_panel_probe()
/linux/drivers/iio/resolver/
H A 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/sound/soc/atmel/
H A Dtse850-pcm5142.c371 tse850->add = devm_gpiod_get(dev, "axentia,add", GPIOD_OUT_HIGH); in tse850_probe()
377 tse850->loop1 = devm_gpiod_get(dev, "axentia,loop1", GPIOD_OUT_HIGH); in tse850_probe()
383 tse850->loop2 = devm_gpiod_get(dev, "axentia,loop2", GPIOD_OUT_HIGH); in tse850_probe()
/linux/sound/soc/ti/
H A Domap3pandora.c245 dac_power_gpio = devm_gpiod_get(&omap3pandora_snd_device->dev, in omap3pandora_soc_init()
252 amp_power_gpio = devm_gpiod_get(&omap3pandora_snd_device->dev, in omap3pandora_soc_init()
/linux/drivers/gpio/
H A Dgpiolib-devres.c65 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get() function
71 EXPORT_SYMBOL_GPL(devm_gpiod_get);
/linux/sound/soc/intel/boards/
H A Dsof_wm8804.c236 ctx->gpio_44 = devm_gpiod_get(&pdev->dev, "BCM-GPIO5", in sof_wm8804_probe()
246 ctx->gpio_48 = devm_gpiod_get(&pdev->dev, "BCM-GPIO6", in sof_wm8804_probe()
/linux/drivers/power/reset/
H A Dltc2952-poweroff.c186 data->gpio_watchdog = devm_gpiod_get(&pdev->dev, "watchdog", in ltc2952_poweroff_init()
194 data->gpio_kill = devm_gpiod_get(&pdev->dev, "kill", GPIOD_OUT_LOW); in ltc2952_poweroff_init()
/linux/drivers/staging/iio/adc/
H A Dad7816.c370 chip->rdwr_pin = devm_gpiod_get(&spi_dev->dev, "rdwr", GPIOD_OUT_HIGH); in ad7816_probe()
377 chip->convert_pin = devm_gpiod_get(&spi_dev->dev, "convert", in ad7816_probe()
386 chip->busy_pin = devm_gpiod_get(&spi_dev->dev, "busy", in ad7816_probe()

12345678910