/kernel/linux/linux-5.10/drivers/power/supply/ |
D | max8903_charger.c | 187 pdata->cen = of_get_named_gpio(np, "cen-gpios", 0); in max8903_parse_dt_data() 191 pdata->chg = of_get_named_gpio(np, "chg-gpios", 0); in max8903_parse_dt_data() 195 pdata->flt = of_get_named_gpio(np, "flt-gpios", 0); in max8903_parse_dt_data() 199 pdata->usus = of_get_named_gpio(np, "usus-gpios", 0); in max8903_parse_dt_data() 203 pdata->dcm = of_get_named_gpio(np, "dcm-gpios", 0); in max8903_parse_dt_data() 207 pdata->dok = of_get_named_gpio(np, "dok-gpios", 0); in max8903_parse_dt_data() 213 pdata->uok = of_get_named_gpio(np, "uok-gpios", 0); in max8903_parse_dt_data()
|
/kernel/linux/linux-5.10/sound/soc/tegra/ |
D | tegra_wm8903.c | 265 machine->gpio_spkr_en = of_get_named_gpio(np, "nvidia,spkr-en-gpios", in tegra_wm8903_driver_probe() 278 machine->gpio_hp_mute = of_get_named_gpio(np, "nvidia,hp-mute-gpios", in tegra_wm8903_driver_probe() 291 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_wm8903_driver_probe() 295 machine->gpio_int_mic_en = of_get_named_gpio(np, in tegra_wm8903_driver_probe() 310 machine->gpio_ext_mic_en = of_get_named_gpio(np, in tegra_wm8903_driver_probe()
|
D | tegra_rt5677.c | 204 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_rt5677_probe() 208 machine->gpio_mic_present = of_get_named_gpio(np, in tegra_rt5677_probe() 213 machine->gpio_hp_en = of_get_named_gpio(np, "nvidia,hp-en-gpios", 0); in tegra_rt5677_probe() 225 machine->gpio_dmic_clk_en = of_get_named_gpio(np, in tegra_rt5677_probe()
|
D | tegra_max98090.c | 211 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_max98090_probe() 216 of_get_named_gpio(np, "nvidia,mic-det-gpios", 0); in tegra_max98090_probe()
|
D | tegra20_ac97.c | 338 ac97->reset_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe() 352 ac97->sync_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
|
/kernel/linux/linux-5.10/drivers/nfc/s3fwrn5/ |
D | i2c.c | 201 phy->gpio_en = of_get_named_gpio(np, "en-gpios", 0); in s3fwrn5_i2c_parse_dt() 204 phy->gpio_en = of_get_named_gpio(np, "s3fwrn5,en-gpios", 0); in s3fwrn5_i2c_parse_dt() 209 phy->gpio_fw_wake = of_get_named_gpio(np, "wake-gpios", 0); in s3fwrn5_i2c_parse_dt() 212 phy->gpio_fw_wake = of_get_named_gpio(np, "s3fwrn5,fw-gpios", 0); in s3fwrn5_i2c_parse_dt()
|
/kernel/linux/linux-5.10/sound/soc/sirf/ |
D | sirf-audio.c | 105 sirf_audio_card->gpio_spk_pa = of_get_named_gpio(pdev->dev.of_node, in sirf_audio_probe() 107 sirf_audio_card->gpio_hp_pa = of_get_named_gpio(pdev->dev.of_node, in sirf_audio_probe()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
D | rtc-moxart.c | 250 moxart_rtc->gpio_data = of_get_named_gpio(pdev->dev.of_node, in moxart_rtc_probe() 258 moxart_rtc->gpio_sclk = of_get_named_gpio(pdev->dev.of_node, in moxart_rtc_probe() 266 moxart_rtc->gpio_reset = of_get_named_gpio(pdev->dev.of_node, in moxart_rtc_probe()
|
/kernel/linux/linux-5.10/sound/soc/ |
D | soc-ac97.c | 337 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 0); in snd_soc_ac97_parse_pinctl() 349 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 1); in snd_soc_ac97_parse_pinctl() 361 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 2); in snd_soc_ac97_parse_pinctl()
|
/kernel/linux/linux-5.10/sound/soc/rockchip/ |
D | rk3288_hdmi_analog.c | 185 machine->gpio_hp_det = of_get_named_gpio(np, in snd_rk_mc_probe() 190 machine->gpio_hp_en = of_get_named_gpio(np, in snd_rk_mc_probe()
|
/kernel/linux/linux-5.10/include/linux/ |
D | of_gpio.h | 132 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio() function
|
/kernel/linux/linux-5.10/drivers/net/ieee802154/ |
D | cc2520.c | 931 pdata->fifo = of_get_named_gpio(np, "fifo-gpio", 0); in cc2520_get_platform_data() 934 pdata->fifop = of_get_named_gpio(np, "fifop-gpio", 0); in cc2520_get_platform_data() 936 pdata->sfd = of_get_named_gpio(np, "sfd-gpio", 0); in cc2520_get_platform_data() 937 pdata->cca = of_get_named_gpio(np, "cca-gpio", 0); in cc2520_get_platform_data() 938 pdata->vreg = of_get_named_gpio(np, "vreg-gpio", 0); in cc2520_get_platform_data() 939 pdata->reset = of_get_named_gpio(np, "reset-gpio", 0); in cc2520_get_platform_data()
|
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/ |
D | pm-board.c | 96 pic_gpios[i] = of_get_named_gpio(np, "ctrl-gpios", i); in mvebu_armada_pm_init()
|
/kernel/linux/linux-5.10/sound/soc/mediatek/mt2701/ |
D | mt2701-cs42448.c | 386 of_get_named_gpio(dev->of_node, "i2s1-in-sel-gpio1", 0); in mt2701_cs42448_machine_probe() 397 of_get_named_gpio(dev->of_node, "i2s1-in-sel-gpio2", 0); in mt2701_cs42448_machine_probe()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | adau1701.c | 826 gpio_nreset = of_get_named_gpio(dev->of_node, "reset-gpio", 0); in adau1701_i2c_probe() 832 gpio_pll_mode[0] = of_get_named_gpio(dev->of_node, in adau1701_i2c_probe() 839 gpio_pll_mode[1] = of_get_named_gpio(dev->of_node, in adau1701_i2c_probe()
|
D | ak5386.c | 184 priv->reset_gpio = of_get_named_gpio(dev->of_node, in ak5386_probe()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | tps62360-regulator.c | 313 pdata->vsel0_gpio = of_get_named_gpio(np, "vsel0-gpio", 0); in of_get_tps62360_platform_data() 314 pdata->vsel1_gpio = of_get_named_gpio(np, "vsel1-gpio", 0); in of_get_tps62360_platform_data()
|
D | max8998.c | 548 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck1-dvs-gpios", 0); in max8998_pmic_dt_parse_dvs_gpio() 555 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck1-dvs-gpios", 1); in max8998_pmic_dt_parse_dvs_gpio() 562 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck2-dvs-gpio", 0); in max8998_pmic_dt_parse_dvs_gpio()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | hi655x-pmic.c | 123 pmic->gpio = of_get_named_gpio(np, "pmic-gpios", 0); in hi655x_pmic_probe()
|
/kernel/linux/linux-5.10/drivers/video/backlight/ |
D | hx8357.c | 604 lcd->reset = of_get_named_gpio(spi->dev.of_node, "gpios-reset", 0); in hx8357_probe() 624 lcd->im_pins[i] = of_get_named_gpio(spi->dev.of_node, in hx8357_probe()
|
/kernel/linux/linux-5.10/arch/mips/pci/ |
D | pci-lantiq.c | 126 reset_gpio = of_get_named_gpio(node, "gpio-reset", 0); in ltq_pci_startup()
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
D | matrix_keypad.c | 452 ret = of_get_named_gpio(np, "row-gpios", i); in matrix_keypad_parse_dt() 459 ret = of_get_named_gpio(np, "col-gpios", i); in matrix_keypad_parse_dt()
|
/kernel/linux/linux-5.10/drivers/char/tpm/st33zp24/ |
D | i2c.c | 157 gpio = of_get_named_gpio(pp, "lpcpd-gpios", 0); in st33zp24_i2c_of_request_resources()
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
D | imx-es8328.c | 160 data->jack_gpio = of_get_named_gpio(pdev->dev.of_node, "jack-gpio", 0); in imx_es8328_probe()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | egalax_ts.c | 129 gpio = of_get_named_gpio(np, "wakeup-gpios", 0); in egalax_wake_up_device()
|