Home
last modified time | relevance | path

Searched refs:of_get_named_gpio (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/include/linux/
Dof_gpio.h22 extern int of_get_named_gpio(const struct device_node *np,
30 static inline int of_get_named_gpio(const struct device_node *np, in of_get_named_gpio() function
/linux-6.6.21/drivers/nfc/s3fwrn5/
Di2c.c157 phy->common.gpio_en = of_get_named_gpio(np, "en-gpios", 0); in s3fwrn5_i2c_parse_dt()
160 phy->common.gpio_en = of_get_named_gpio(np, in s3fwrn5_i2c_parse_dt()
167 phy->common.gpio_fw_wake = of_get_named_gpio(np, "wake-gpios", 0); in s3fwrn5_i2c_parse_dt()
170 phy->common.gpio_fw_wake = of_get_named_gpio(np, in s3fwrn5_i2c_parse_dt()
Duart.c100 phy->common.gpio_en = of_get_named_gpio(np, "en-gpios", 0); in s3fwrn82_uart_parse_dt()
104 phy->common.gpio_fw_wake = of_get_named_gpio(np, "wake-gpios", 0); in s3fwrn82_uart_parse_dt()
/linux-6.6.21/sound/soc/rockchip/
Drk3288_hdmi_analog.c185 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()
/linux-6.6.21/sound/soc/tegra/
Dtegra20_ac97.c345 ac97->reset_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
360 ac97->sync_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
/linux-6.6.21/sound/soc/mediatek/mt2701/
Dmt2701-cs42448.c386 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()
/linux-6.6.21/drivers/pci/controller/dwc/
Dpcie-kirin.c385 pcie->gpio_id_clkreq[i] = of_get_named_gpio(dev->of_node, in kirin_pcie_get_gpio_enable()
413 pcie->gpio_id_reset[i] = of_get_named_gpio(child, in kirin_pcie_parse_port()
469 kirin_pcie->gpio_id_dwc_perst = of_get_named_gpio(dev->of_node, in kirin_pcie_get_resource()
/linux-6.6.21/sound/soc/codecs/
Dak5386.c183 priv->reset_gpio = of_get_named_gpio(dev->of_node, in ak5386_probe()
Dtpa6130a2.c245 data->power_gpio = of_get_named_gpio(np, "power-gpio", 0); in tpa6130a2_probe()
Dmax98373.c482 max98373->reset_gpio = of_get_named_gpio(dev->of_node, in max98373_slot_config()
Dcs4271.c660 of_get_named_gpio(dev->of_node, "reset-gpio", 0); in cs4271_common_probe()
Dtas5086.c945 gpio_nreset = of_get_named_gpio(of_node, "reset-gpio", 0); in tas5086_i2c_probe()
Dcs42l73.c1308 pdata->reset_gpio = of_get_named_gpio(i2c_client->dev.of_node, in cs42l73_i2c_probe()
/linux-6.6.21/drivers/video/backlight/
Dhx8357.c604 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()
/linux-6.6.21/drivers/regulator/
Dmax8998.c548 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()
Ds5m8767.c491 gpio = of_get_named_gpio(pmic_np, in s5m8767_pmic_dt_parse_dvs_gpio()
509 gpio = of_get_named_gpio(pmic_np, in s5m8767_pmic_dt_parse_ds_gpio()
Dmax8973-regulator.c534 pdata->dvs_gpio = of_get_named_gpio(np, "maxim,dvs-gpio", 0); in max8973_parse_dt()
/linux-6.6.21/drivers/input/keyboard/
Dmatrix_keypad.c452 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()
/linux-6.6.21/sound/soc/fsl/
Dimx-es8328.c177 data->jack_gpio = of_get_named_gpio(pdev->dev.of_node, "jack-gpio", 0); in imx_es8328_probe()
/linux-6.6.21/drivers/nfc/nfcmrvl/
Dmain.c256 reset_n_io = of_get_named_gpio(node, "reset-n-io", 0); in nfcmrvl_parse_dt()
/linux-6.6.21/sound/soc/ti/
Domap-twl4030.c282 priv->jack_detect = of_get_named_gpio(node, in omap_twl4030_probe()
/linux-6.6.21/drivers/gpio/
Dgpiolib-of.c410 int of_get_named_gpio(const struct device_node *np, const char *propname, in of_get_named_gpio() function
422 EXPORT_SYMBOL_GPL(of_get_named_gpio);
/linux-6.6.21/sound/arm/
Dpxa2xx-ac97-lib.c355 pdata->reset_gpio = of_get_named_gpio(dev->dev.of_node, in pxa2xx_ac97_hw_probe()
/linux-6.6.21/drivers/mmc/host/
Dsdhci-s3c.c449 if (of_get_named_gpio(node, "cd-gpios", 0)) in sdhci_s3c_parse_dt()
/linux-6.6.21/drivers/nfc/st95hf/
Dcore.c1112 of_get_named_gpio(nfc_spi_dev->dev.of_node, in st95hf_probe()

12