Home
last modified time | relevance | path

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

1234567891011

/linux-6.1.9/drivers/power/supply/
Dtosa_battery.c343 tosa_bat_main.gpiod_charge_off = devm_gpiod_get(dev, "main charge off", GPIOD_OUT_HIGH); in tosa_bat_probe()
347 tosa_bat_jacket.gpiod_charge_off = devm_gpiod_get(dev, "jacket charge off", GPIOD_OUT_HIGH); in tosa_bat_probe()
353 tosa_bat_main.gpiod_bat = devm_gpiod_get(dev, "main battery", GPIOD_OUT_LOW); in tosa_bat_probe()
357 tosa_bat_jacket.gpiod_bat = devm_gpiod_get(dev, "jacket battery", GPIOD_OUT_LOW); in tosa_bat_probe()
361 tosa_bat_bu.gpiod_bat = devm_gpiod_get(dev, "backup battery", GPIOD_OUT_LOW); in tosa_bat_probe()
367 tosa_bat_main.gpiod_full = devm_gpiod_get(dev, "main battery full", GPIOD_IN); in tosa_bat_probe()
371 tosa_bat_jacket.gpiod_full = devm_gpiod_get(dev, "jacket battery full", GPIOD_IN); in tosa_bat_probe()
377 tosa_bat_main.gpiod_temp = devm_gpiod_get(dev, "main battery temp", GPIOD_OUT_LOW); in tosa_bat_probe()
381 tosa_bat_jacket.gpiod_temp = devm_gpiod_get(dev, "jacket battery temp", GPIOD_OUT_LOW); in tosa_bat_probe()
387 jacket_detect = devm_gpiod_get(dev, "jacket detect", GPIOD_IN); in tosa_bat_probe()
[all …]
/linux-6.1.9/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-6.1.9/drivers/input/mouse/
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-6.1.9/drivers/bus/
Dts-nbus.c52 ts_nbus->csn = devm_gpiod_get(&pdev->dev, "ts,csn", GPIOD_OUT_HIGH); in ts_nbus_init_pdata()
58 ts_nbus->txrx = devm_gpiod_get(&pdev->dev, "ts,txrx", GPIOD_OUT_HIGH); in ts_nbus_init_pdata()
64 ts_nbus->strobe = devm_gpiod_get(&pdev->dev, "ts,strobe", GPIOD_OUT_HIGH); in ts_nbus_init_pdata()
70 ts_nbus->ale = devm_gpiod_get(&pdev->dev, "ts,ale", GPIOD_OUT_HIGH); in ts_nbus_init_pdata()
76 ts_nbus->rdy = devm_gpiod_get(&pdev->dev, "ts,rdy", GPIOD_IN); in ts_nbus_init_pdata()
/linux-6.1.9/sound/soc/pxa/
Dmagician.c336 gpiod_spk_power = devm_gpiod_get(dev, "SPK_POWER", GPIOD_OUT_LOW); in magician_audio_probe()
339 gpiod_ep_power = devm_gpiod_get(dev, "EP_POWER", GPIOD_OUT_LOW); in magician_audio_probe()
342 gpiod_mic_power = devm_gpiod_get(dev, "MIC_POWER", GPIOD_OUT_LOW); in magician_audio_probe()
345 gpiod_in_sel0 = devm_gpiod_get(dev, "IN_SEL0", GPIOD_OUT_HIGH); in magician_audio_probe()
348 gpiod_in_sel1 = devm_gpiod_get(dev, "IN_SEL1", GPIOD_OUT_LOW); in magician_audio_probe()
De740_wm9705.c126 gpiod_input_amp = devm_gpiod_get(&pdev->dev, "Mic amp", GPIOD_OUT_LOW); in e740_probe()
130 gpiod_output_amp = devm_gpiod_get(&pdev->dev, "Output amp", GPIOD_OUT_LOW); in e740_probe()
134 gpiod_audio_power = devm_gpiod_get(&pdev->dev, "Audio power", GPIOD_OUT_HIGH); in e740_probe()
Dcorgi.c298 gpiod_mute_l = devm_gpiod_get(&pdev->dev, "mute-l", GPIOD_OUT_HIGH); in corgi_probe()
301 gpiod_mute_r = devm_gpiod_get(&pdev->dev, "mute-r", GPIOD_OUT_HIGH); in corgi_probe()
304 gpiod_apm_on = devm_gpiod_get(&pdev->dev, "apm-on", GPIOD_OUT_LOW); in corgi_probe()
307 gpiod_mic_bias = devm_gpiod_get(&pdev->dev, "mic-bias", GPIOD_OUT_LOW); in corgi_probe()
De750_wm9705.c109 gpiod_hp_amp = devm_gpiod_get(&pdev->dev, "Headphone amp", GPIOD_OUT_LOW); in e750_probe()
113 gpiod_spk_amp = devm_gpiod_get(&pdev->dev, "Speaker amp", GPIOD_OUT_LOW); in e750_probe()
De800_wm9712.c109 gpiod_hp_amp = devm_gpiod_get(&pdev->dev, "Headphone amp", GPIOD_OUT_LOW); in e800_probe()
113 gpiod_spk_amp = devm_gpiod_get(&pdev->dev, "Speaker amp", GPIOD_OUT_LOW); in e800_probe()
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()
Dhx4700.c170 gpiod_hp_driver = devm_gpiod_get(&pdev->dev, "hp-driver", GPIOD_ASIS); in hx4700_audio_probe()
174 gpiod_spk_sd = devm_gpiod_get(&pdev->dev, "spk-sd", GPIOD_ASIS); in hx4700_audio_probe()
/linux-6.1.9/drivers/gpu/drm/panel/
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()
/linux-6.1.9/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-6.1.9/drivers/extcon/
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()
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-6.1.9/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-6.1.9/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-6.1.9/drivers/ata/
Dpata_palmld.c70 lda->power = devm_gpiod_get(dev, "power", GPIOD_OUT_HIGH); in palmld_pata_probe()
73 lda->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in palmld_pata_probe()
/linux-6.1.9/drivers/video/fbdev/omap/
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-6.1.9/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-6.1.9/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()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/fpga/
Dice40-spi.c167 priv->cdone = devm_gpiod_get(dev, "cdone", GPIOD_IN); in ice40_fpga_probe()
174 priv->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ice40_fpga_probe()
/linux-6.1.9/sound/soc/codecs/
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()

1234567891011