Home
last modified time | relevance | path

Searched refs:gpiod_get_index (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/driver-api/gpio/
H A Dboard.rst48 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH);
49 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH);
50 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH);
171 red = gpiod_get_index(dev, "led", 0, GPIOD_OUT_HIGH);
172 green = gpiod_get_index(dev, "led", 1, GPIOD_OUT_HIGH);
173 blue = gpiod_get_index(dev, "led", 2, GPIOD_OUT_HIGH);
H A Dconsumer.rst55 struct gpio_desc *gpiod_get_index(struct device *dev,
/OK3568_Linux_fs/kernel/Documentation/firmware-guide/acpi/
H A Dgpio-properties.rst235 desc = gpiod_get_index(dev, connection_id, index, flags);
243 desc = gpiod_get_index(dev, "non-null-connection-id", index, flags);
248 desc = gpiod_get_index(dev, NULL, index, flags);
256 Be aware that gpiod_get_index() in cases 1 and 2, assuming that there
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/i2c/
H A Datomisp-lm3554.c808 platform_data.gpio_reset = gpiod_get_index(&client->dev, in lm3554_platform_data_func()
812 platform_data.gpio_strobe = gpiod_get_index(&client->dev, in lm3554_platform_data_func()
816 platform_data.gpio_torch = gpiod_get_index(&client->dev, in lm3554_platform_data_func()
/OK3568_Linux_fs/kernel/include/linux/gpio/
H A Dconsumer.h68 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
208 gpiod_get_index(struct device *dev, in gpiod_get_index() function
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dsurface3_button.c76 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in surface3_button_lookup_gpio()
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-netxbig.c375 gpiod = gpiod_get_index(gpio_ext_dev, "addr", i, in netxbig_gpio_ext_get()
397 gpiod = gpiod_get_index(gpio_ext_dev, "data", i, in netxbig_gpio_ext_get()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpiolib-devres.c101 desc = gpiod_get_index(dev, con_id, idx, flags); in devm_gpiod_get_index()
H A Dgpiolib.c3874 return gpiod_get_index(dev, con_id, 0, flags); in gpiod_get()
3979 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, in gpiod_get_index() function
4052 EXPORT_SYMBOL_GPL(gpiod_get_index);
4141 desc = gpiod_get_index(dev, con_id, index, flags); in gpiod_get_index_optional()
4235 desc = gpiod_get_index(dev, con_id, descs->ndescs, flags); in gpiod_get_array()
/OK3568_Linux_fs/kernel/sound/soc/
H A Dsoc-jack.c338 gpios[i].desc = gpiod_get_index(gpios[i].gpiod_dev, in snd_soc_jack_add_gpios()
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dsoc_button_array.c119 desc = gpiod_get_index(dev, NULL, acpi_index, GPIOD_ASIS); in soc_button_lookup_gpio()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/
H A Datomisp_gmin_platform.c531 gs->gpio0 = gpiod_get_index(dev, NULL, 0, GPIOD_OUT_LOW); in gmin_subdev_add()
537 gs->gpio1 = gpiod_get_index(dev, NULL, 1, GPIOD_OUT_LOW); in gmin_subdev_add()
/OK3568_Linux_fs/kernel/sound/soc/intel/boards/
H A Dbytcht_es8316.c569 gpiod_get_index(codec_dev, "speaker-enable", 0, in snd_byt_cht_es8316_mc_probe()