Home
last modified time | relevance | path

Searched refs:devm_gpiod_get_index_optional (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/gpio/
Dgpiolib-devres.c78 return devm_gpiod_get_index_optional(dev, con_id, 0, flags); in devm_gpiod_get_optional()
241 struct gpio_desc *__must_check devm_gpiod_get_index_optional(struct device *dev, in devm_gpiod_get_index_optional() function
254 EXPORT_SYMBOL_GPL(devm_gpiod_get_index_optional);
/linux-6.1.9/drivers/gpu/drm/bridge/
Dti-tpd12s015.c141 gpio = devm_gpiod_get_index_optional(&pdev->dev, NULL, 0, in tpd12s015_probe()
148 gpio = devm_gpiod_get_index_optional(&pdev->dev, NULL, 1, in tpd12s015_probe()
/linux-6.1.9/drivers/regulator/
Dmax8952.c240 max8952->vid0_gpiod = devm_gpiod_get_index_optional(&client->dev, in max8952_pmic_probe()
246 max8952->vid1_gpiod = devm_gpiod_get_index_optional(&client->dev, in max8952_pmic_probe()
Drt4801-regulator.c198 priv->enable_gpios[i] = devm_gpiod_get_index_optional(&i2c->dev, in rt4801_probe()
Drk808-regulator.c1262 devm_gpiod_get_index_optional(client_dev, "dvs", i, in rk808_regulator_dt_parse_pdata()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/displays/
Dencoder-tpd12s015.c238 gpio = devm_gpiod_get_index_optional(&pdev->dev, NULL, 0, in tpd_probe()
247 gpio = devm_gpiod_get_index_optional(&pdev->dev, NULL, 1, in tpd_probe()
/linux-6.1.9/drivers/w1/masters/
Dw1-gpio.c116 devm_gpiod_get_index_optional(dev, NULL, 1, GPIOD_OUT_LOW); in w1_gpio_probe()
/linux-6.1.9/drivers/net/mdio/
Dmdio-gpio.c48 bitbang->mdo = devm_gpiod_get_index_optional(dev, NULL, MDIO_GPIO_MDO, in mdio_gpio_get_data()
/linux-6.1.9/drivers/usb/host/
Dohci-at91.c565 devm_gpiod_get_index_optional(&pdev->dev, "atmel,vbus", in ohci_hcd_at91_drv_probe()
579 devm_gpiod_get_index_optional(&pdev->dev, "atmel,oc", in ohci_hcd_at91_drv_probe()
Dfhci-hcd.c638 fhci->gpiods[i] = devm_gpiod_get_index_optional(dev, in of_fhci_probe()
/linux-6.1.9/include/linux/gpio/
Dconsumer.h96 devm_gpiod_get_index_optional(struct device *dev, const char *con_id,
289 devm_gpiod_get_index_optional(struct device *dev, const char *con_id, in devm_gpiod_get_index_optional() function
/linux-6.1.9/drivers/mtd/nand/raw/
Dfsl_upm.c216 fun->rnb_gpio[i] = devm_gpiod_get_index_optional(&ofdev->dev, in fun_probe()
/linux-6.1.9/drivers/tty/serial/
Dserial_mctrl_gpio.c163 devm_gpiod_get_index_optional(dev, in mctrl_gpio_init_noauto()
/linux-6.1.9/drivers/pci/controller/
Dpcie-mt7621.c235 port->gpio_rst = devm_gpiod_get_index_optional(dev, "reset", slot, in mt7621_pcie_parse_port()
/linux-6.1.9/Documentation/driver-api/driver-model/
Ddevres.rst273 devm_gpiod_get_index_optional()
/linux-6.1.9/drivers/mtd/nand/raw/atmel/
Dnand-controller.c1812 gpio = devm_gpiod_get_index_optional(dev, NULL, 0, GPIOD_IN); in atmel_nand_controller_legacy_add_nands()
1825 gpio = devm_gpiod_get_index_optional(dev, NULL, 1, GPIOD_OUT_HIGH); in atmel_nand_controller_legacy_add_nands()
1835 gpio = devm_gpiod_get_index_optional(nc->dev, NULL, 2, GPIOD_IN); in atmel_nand_controller_legacy_add_nands()
/linux-6.1.9/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c1211 gpiod = devm_gpiod_get_index_optional(dev, NULL, i, GPIOD_ASIS); in cpm_uart_init_port()
/linux-6.1.9/drivers/staging/fbtft/
Dfbtft-core.c79 *gpiop = devm_gpiod_get_index_optional(dev, name, index, in fbtft_request_one_gpio()
/linux-6.1.9/Documentation/driver-api/gpio/
Dconsumer.rst146 struct gpio_desc *devm_gpiod_get_index_optional(struct device *dev,
/linux-6.1.9/drivers/nfc/
Dtrf7970a.c2029 trf->en2_gpiod = devm_gpiod_get_index_optional(trf->dev, "ti,enable", 1, in trf7970a_probe()
/linux-6.1.9/drivers/net/ethernet/smsc/
Dsmc91x.c2212 gpio = devm_gpiod_get_index_optional(dev, name, index, flags); in try_toggle_control_gpio()
/linux-6.1.9/drivers/spi/
Dspi.c2980 cs[i] = devm_gpiod_get_index_optional(dev, "cs", i, in spi_get_gpio_descs()
/linux-6.1.9/drivers/media/i2c/
Dadv7604.c3457 devm_gpiod_get_index_optional(&client->dev, "hpd", i, in adv76xx_probe()