Home
last modified time | relevance | path

Searched refs:devm_gpio_request (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/power/supply/
Dmax8903_charger.c234 ret = devm_gpio_request(dev, pdata->dok, in max8903_setup_gpios()
252 ret = devm_gpio_request(dev, pdata->dcm, data->psy_desc.name); in max8903_setup_gpios()
266 ret = devm_gpio_request(dev, pdata->uok, in max8903_setup_gpios()
285 ret = devm_gpio_request(dev, pdata->cen, data->psy_desc.name); in max8903_setup_gpios()
297 ret = devm_gpio_request(dev, pdata->chg, data->psy_desc.name); in max8903_setup_gpios()
307 ret = devm_gpio_request(dev, pdata->flt, data->psy_desc.name); in max8903_setup_gpios()
317 ret = devm_gpio_request(dev, pdata->usus, data->psy_desc.name); in max8903_setup_gpios()
/kernel/linux/linux-5.10/include/linux/
Dgpio.h95 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label);
229 static inline int devm_gpio_request(struct device *dev, unsigned gpio, in devm_gpio_request() function
/kernel/linux/linux-5.10/drivers/pcmcia/
Dat91_cf.c277 status = devm_gpio_request(&pdev->dev, board->det_pin, "cf_det"); in at91_cf_probe()
288 status = devm_gpio_request(&pdev->dev, board->rst_pin, "cf_rst"); in at91_cf_probe()
293 status = devm_gpio_request(&pdev->dev, board->vcc_pin, "cf_vcc"); in at91_cf_probe()
305 status = devm_gpio_request(&pdev->dev, board->irq_pin, "cf_irq"); in at91_cf_probe()
/kernel/linux/linux-5.10/sound/soc/
Dsoc-ac97.c342 ret = devm_gpio_request(dev, gpio, "AC97 link sync"); in snd_soc_ac97_parse_pinctl()
354 ret = devm_gpio_request(dev, gpio, "AC97 link sdata"); in snd_soc_ac97_parse_pinctl()
366 ret = devm_gpio_request(dev, gpio, "AC97 link reset"); in snd_soc_ac97_parse_pinctl()
/kernel/linux/linux-5.10/drivers/regulator/
Ds5m8767.c808 ret = devm_gpio_request(&pdev->dev, pdata->buck_gpios[0], in s5m8767_pmic_probe()
813 ret = devm_gpio_request(&pdev->dev, pdata->buck_gpios[1], in s5m8767_pmic_probe()
818 ret = devm_gpio_request(&pdev->dev, pdata->buck_gpios[2], in s5m8767_pmic_probe()
834 ret = devm_gpio_request(&pdev->dev, pdata->buck_ds[0], "S5M8767 DS2"); in s5m8767_pmic_probe()
838 ret = devm_gpio_request(&pdev->dev, pdata->buck_ds[1], "S5M8767 DS3"); in s5m8767_pmic_probe()
842 ret = devm_gpio_request(&pdev->dev, pdata->buck_ds[2], "S5M8767 DS4"); in s5m8767_pmic_probe()
Dmax8997-regulator.c1126 ret = devm_gpio_request(&pdev->dev, pdata->buck125_gpios[0], in max8997_pmic_probe()
1131 ret = devm_gpio_request(&pdev->dev, pdata->buck125_gpios[1], in max8997_pmic_probe()
1136 ret = devm_gpio_request(&pdev->dev, pdata->buck125_gpios[2], in max8997_pmic_probe()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib-devres.c412 int devm_gpio_request(struct device *dev, unsigned gpio, const char *label) in devm_gpio_request() function
432 EXPORT_SYMBOL_GPL(devm_gpio_request);
/kernel/linux/linux-5.10/sound/soc/mediatek/mt2701/
Dmt2701-cs42448.c388 ret = devm_gpio_request(dev, priv->i2s1_in_mux_gpio_sel_1, in mt2701_cs42448_machine_probe()
399 ret = devm_gpio_request(dev, priv->i2s1_in_mux_gpio_sel_2, in mt2701_cs42448_machine_probe()
/kernel/linux/linux-5.10/arch/mips/pci/
Dpci-lantiq.c128 int ret = devm_gpio_request(&pdev->dev, in ltq_pci_startup()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtpa6130a2.c250 ret = devm_gpio_request(dev, data->power_gpio, in tpa6130a2_probe()
Dmax98373-i2c.c543 ret = devm_gpio_request(&i2c->dev, max98373->reset_gpio, in max98373_i2c_probe()
Dcs4271.c667 ret = devm_gpio_request(dev, cs4271->gpio_nreset, in cs4271_common_probe()
Dtas5086.c951 if (devm_gpio_request(dev, gpio_nreset, "TAS5086 Reset")) in tas5086_i2c_probe()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-moxart.c277 ret = devm_gpio_request(&pdev->dev, moxart_rtc->gpio_data, "rtc_data"); in moxart_rtc_probe()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-s3c24xx.c553 err = devm_gpio_request(&pdev->dev, pdata->pin_cs, in s3c24xx_spi_probe()
Dspi-mt65xx.c781 ret = devm_gpio_request(&pdev->dev, in mtk_spi_probe()
Dspi-pl022.c2198 if (devm_gpio_request(dev, cs_gpio, "ssp-pl022")) in pl022_probe()
/kernel/linux/linux-5.10/Documentation/driver-api/driver-model/
Ddevres.rst278 devm_gpio_request()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dpic32_uart.c836 ret = devm_gpio_request(sport->dev, in pic32_uart_probe()
Dsirfsoc_uart.c1328 ret = devm_gpio_request(&pdev->dev, sirfport->cts_gpio, in sirfsoc_uart_probe()
1335 ret = devm_gpio_request(&pdev->dev, sirfport->rts_gpio, in sirfsoc_uart_probe()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dat91_udc.c1623 ret = devm_gpio_request(&udc->pdev->dev, udc->board.pullup_pin, in at91rm9200_udc_init()
1890 retval = devm_gpio_request(dev, udc->board.vbus_pin, in at91udc_probe()
Dpxa25x_udc.c2389 retval = devm_gpio_request(&pdev->dev, dev->mach->gpio_pullup, in pxa25x_udc_probe()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dlpc32xx_slc.c858 if (gpio_is_valid(host->ncfg->wp_gpio) && devm_gpio_request(&pdev->dev, in lpc32xx_nand_probe()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-pci-core.c369 err = devm_gpio_request(&slot->chip->pdev->dev, gpio, "sd_cd"); in sdhci_pci_add_own_cd()
2174 if (!devm_gpio_request(&pdev->dev, slot->rst_n_gpio, "eMMC_reset")) { in sdhci_pci_probe_slot()
Datmel-mci.c2282 if (devm_gpio_request(&host->pdev->dev, slot->detect_pin, in atmci_init_slot()
2300 if (devm_gpio_request(&host->pdev->dev, slot->wp_pin, in atmci_init_slot()

12