Home
last modified time | relevance | path

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

12345678

/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/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/drivers/rtc/
H A Drtc-ds2404.c41 chip->rst_gpiod = devm_gpiod_get(dev, "rst", GPIOD_OUT_LOW); in ds2404_gpio_map()
45 chip->clk_gpiod = devm_gpiod_get(dev, "clk", GPIOD_OUT_HIGH); in ds2404_gpio_map()
49 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/gpu/drm/panel/
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-jdi-lt070me05000.c384 jdi->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in jdi_panel_add()
390 jdi->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in jdi_panel_add()
395 jdi->dcdc_en_gpio = devm_gpiod_get(dev, "dcdc-en", GPIOD_OUT_LOW); in jdi_panel_add()
/linux/drivers/iio/resolver/
H A Dad2s1200.c146 st->sample = devm_gpiod_get(&spi->dev, "adi,sample", GPIOD_OUT_LOW); in ad2s1200_probe()
153 st->rdvel = devm_gpiod_get(&spi->dev, "adi,rdvel", GPIOD_OUT_LOW); in ad2s1200_probe()
/linux/drivers/gpio/
H A Dgpiolib-devres.c47 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, in devm_gpiod_get() function
53 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/gpu/drm/tiny/
H A Dili9486.c217 dbi->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ili9486_probe()
221 dc = devm_gpiod_get(dev, "dc", GPIOD_OUT_LOW); in ili9486_probe()
/linux/sound/soc/ti/
H A Dams-delta.c490 gpiod_modem_codec = devm_gpiod_get(card->dev, "modem_codec", in ams_delta_cx20442_init()
562 handset_mute = devm_gpiod_get(card->dev, "handset_mute", in ams_delta_probe()
567 handsfree_mute = devm_gpiod_get(card->dev, "handsfree_mute", in ams_delta_probe()
/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()
/linux/drivers/misc/
H A Dhisi_hikey_usb.c154 hisi_hikey_usb->otg_switch = devm_gpiod_get(dev, "otg-switch", in hisi_hikey_usb_of_role_switch()
162 hisi_hikey_usb->typec_vbus = devm_gpiod_get(dev, "typec-vbus", in hisi_hikey_usb_of_role_switch()
/linux/drivers/video/backlight/
H A Dl4f00242t03.c184 priv->reset = devm_gpiod_get(&spi->dev, "reset", GPIOD_OUT_HIGH); in l4f00242t03_probe()
190 priv->enable = devm_gpiod_get(&spi->dev, "enable", GPIOD_OUT_LOW); in l4f00242t03_probe()
/linux/drivers/net/ieee802154/
H A Dcc2520.c1067 priv->fifo_pin = devm_gpiod_get(&spi->dev, "fifo", GPIOD_IN); in cc2520_probe()
1074 cca = devm_gpiod_get(&spi->dev, "cca", GPIOD_IN); in cc2520_probe()
1081 fifop = devm_gpiod_get(&spi->dev, "fifop", GPIOD_IN); in cc2520_probe()
1088 sfd = devm_gpiod_get(&spi->dev, "sfd", GPIOD_IN); in cc2520_probe()
1095 reset = devm_gpiod_get(&spi->dev, "reset", GPIOD_OUT_LOW); in cc2520_probe()
1102 vreg = devm_gpiod_get(&spi->dev, "vreg", GPIOD_OUT_LOW); in cc2520_probe()
/linux/drivers/platform/x86/lenovo/
H A Dyoga-tab2-pro-1380-fastcharger.c190 fc->uart3_txd = devm_gpiod_get(dev, "uart3_txd", GPIOD_OUT_HIGH); in yt2_1380_fc_serdev_probe()
194 fc->uart3_rxd = devm_gpiod_get(dev, "uart3_rxd", GPIOD_OUT_HIGH); in yt2_1380_fc_serdev_probe()

12345678