Home
last modified time | relevance | path

Searched refs:gpiod_get_optional (Results 1 – 25 of 30) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/usb/dwc3/
H A Ddwc3-pci.c200 gpio = gpiod_get_optional(&pdev->dev, "cs", GPIOD_OUT_LOW); in dwc3_pci_quirks()
207 gpio = gpiod_get_optional(&pdev->dev, "reset", GPIOD_OUT_LOW); in dwc3_pci_quirks()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dcx20810.c131 reset_gpio = gpiod_get_optional(dev, in cx2081x_probe()
H A Drk3328_codec.c452 rk3328->mute = gpiod_get_optional(&pdev->dev, "mute", GPIOD_OUT_HIGH); in rk3328_platform_probe()
/OK3568_Linux_fs/kernel/include/linux/gpio/
H A Dconsumer.h72 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
217 gpiod_get_optional(struct device *dev, const char *con_id, in gpiod_get_optional() function
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dwm8994-regulator.c178 gpiod = gpiod_get_optional(pdev->dev.parent, in wm8994_ldo_probe()
H A Dfixed.c229 cfg.ena_gpiod = gpiod_get_optional(&pdev->dev, NULL, gflags); in reg_fixed_voltage_probe()
H A Dmax8952.c220 gpiod = gpiod_get_optional(&client->dev, in max8952_pmic_probe()
H A Darizona-ldo1.c260 config.ena_gpiod = gpiod_get_optional(parent_dev, "wlf,ldoena", in arizona_ldo1_common_init()
H A Dgpio-regulator.c328 cfg.ena_gpiod = gpiod_get_optional(dev, "enable", gflags); in gpio_regulator_probe()
H A Dpca9450-regulator.c821 pca9450->sd_vsel_gpio = gpiod_get_optional(pca9450->dev, "sd-vsel", GPIOD_OUT_HIGH); in pca9450_i2c_probe()
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dtw9910.c614 priv->rstb_gpio = gpiod_get_optional(&client->dev, "rstb", in tw9910_power_on()
969 priv->pdn_gpio = gpiod_get_optional(&client->dev, "pdn", in tw9910_probe()
H A Drj54n1cb0c.c1357 rj54n1->pwup_gpio = gpiod_get_optional(&client->dev, "powerup", in rj54n1_probe()
1366 rj54n1->enable_gpio = gpiod_get_optional(&client->dev, "enable", in rj54n1_probe()
H A Dov772x.c864 priv->rstb_gpio = gpiod_get_optional(&client->dev, "reset", in ov772x_power_on()
1410 priv->pwdn_gpio = gpiod_get_optional(&client->dev, "powerdown", in ov772x_probe()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/
H A Dsun8i_dw_hdmi.c175 hdmi->ddc_en = gpiod_get_optional(&connector_pdev->dev, in sun8i_dw_hdmi_bind()
/OK3568_Linux_fs/kernel/drivers/net/phy/
H A Dmdio_bus.c46 mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev, in mdiobus_register_gpiod()
/OK3568_Linux_fs/kernel/Documentation/driver-api/gpio/
H A Dconsumer.rst86 pattern where a GPIO is optional, the gpiod_get_optional() and
90 struct gpio_desc *gpiod_get_optional(struct device *dev,
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64_mtk881 gpiod_get_optional
2854 gpiod_get_optional
H A Dabi_gki_aarch64_virtual_device599 gpiod_get_optional
H A Dabi_gki_aarch64_vivo616 gpiod_get_optional
H A Dabi_gki_aarch64_db845c915 gpiod_get_optional
H A Dabi_gki_aarch64_imx421 gpiod_get_optional
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Dsa1100fb.c1176 fbi->shannon_lcden = gpiod_get_optional(&pdev->dev, "shannon-lcden", in sa1100fb_probe()
/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Dcore.c631 nvmem->wp_gpio = gpiod_get_optional(config->dev, "wp", in nvmem_register()
/OK3568_Linux_fs/kernel/drivers/extcon/
H A Dextcon-arizona.c1511 info->micd_pol_gpio = gpiod_get_optional(arizona->dev, in arizona_extcon_probe()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpiolib.c3888 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev, in gpiod_get_optional() function
3894 EXPORT_SYMBOL_GPL(gpiod_get_optional);

12