Home
last modified time | relevance | path

Searched refs:gpio_to_desc (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/include/asm-generic/
Dgpio.h59 return gpiod_to_chip(gpio_to_desc(gpio)); in gpio_to_chip()
70 return gpiod_direction_input(gpio_to_desc(gpio)); in gpio_direction_input()
74 return gpiod_direction_output_raw(gpio_to_desc(gpio), value); in gpio_direction_output()
79 return gpiod_set_debounce(gpio_to_desc(gpio), debounce); in gpio_set_debounce()
84 return gpiod_get_raw_value_cansleep(gpio_to_desc(gpio)); in gpio_get_value_cansleep()
88 return gpiod_set_raw_value_cansleep(gpio_to_desc(gpio), value); in gpio_set_value_cansleep()
98 return gpiod_get_raw_value(gpio_to_desc(gpio)); in __gpio_get_value()
102 return gpiod_set_raw_value(gpio_to_desc(gpio), value); in __gpio_set_value()
107 return gpiod_cansleep(gpio_to_desc(gpio)); in __gpio_cansleep()
112 return gpiod_to_irq(gpio_to_desc(gpio)); in __gpio_to_irq()
[all …]
/linux-6.1.9/drivers/gpio/
Dgpiolib-legacy.c11 gpiod_free(gpio_to_desc(gpio)); in gpio_free()
26 desc = gpio_to_desc(gpio); in gpio_request_one()
70 struct gpio_desc *desc = gpio_to_desc(gpio); in gpio_request()
Dgpiolib-sysfs.c443 desc = gpio_to_desc(gpio); in export_store()
493 desc = gpio_to_desc(gpio); in unexport_store()
Dgpiolib-acpi.c749 desc = gpio_to_desc(agpio->pin_table[pin_index]); in acpi_populate_gpio_lookup()
Dgpiolib.c107 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc() function
129 EXPORT_SYMBOL_GPL(gpio_to_desc);
/linux-6.1.9/include/linux/gpio/
Dconsumer.h171 struct gpio_desc *gpio_to_desc(unsigned gpio);
537 static inline struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc() function
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dpi.c181 ddata->enable_gpio = gpio_to_desc(pdata->enable_gpio); in panel_dpi_probe_pdata()
/linux-6.1.9/drivers/leds/
Dleds-gpio.c233 gpiod = gpio_to_desc(template->gpio); in gpio_led_get_gpiod()
/linux-6.1.9/sound/soc/
Dsoc-jack.c362 gpios[i].desc = gpio_to_desc(gpios[i].gpio); in snd_soc_jack_add_gpios()
/linux-6.1.9/drivers/input/keyboard/
Dgpio_keys_polled.c329 bdata->gpiod = gpio_to_desc(button->gpio); in gpio_keys_polled_probe()
Dgpio_keys.c556 bdata->gpiod = gpio_to_desc(button->gpio); in gpio_keys_setup_key()
/linux-6.1.9/drivers/pcmcia/
Dsoc_common.c221 skt->stat[i].desc = gpio_to_desc(skt->stat[i].gpio); in soc_pcmcia_hw_init()
/linux-6.1.9/Documentation/driver-api/gpio/
Dconsumer.rst459 struct gpio_desc *gpio_to_desc(unsigned gpio)
463 All the same, a GPIO number passed to gpio_to_desc() must first be properly
/linux-6.1.9/drivers/pci/controller/
Dpci-mvebu.c1363 port->reset_gpio = gpio_to_desc(reset_gpio); in mvebu_pcie_parse_port()
/linux-6.1.9/drivers/media/i2c/
Dov9650.c1431 ov965x->gpios[i] = gpio_to_desc(gpio); in ov965x_configure_gpios_pdata()
/linux-6.1.9/sound/soc/codecs/
Darizona-jack.c1336 info->micd_pol_gpio = gpio_to_desc(pdata->micd_pol_gpio); in arizona_jack_codec_dev_probe()
/linux-6.1.9/drivers/usb/gadget/udc/
Dpxa27x_udc.c2370 udc->gpiod = gpio_to_desc(mach->gpio_pullup); in pxa_udc_probe()