Searched refs:gpio_to_desc (Results 1 – 17 of 17) sorted by relevance
86 return gpiod_direction_input(gpio_to_desc(gpio)); in gpio_direction_input()90 return gpiod_direction_output_raw(gpio_to_desc(gpio), value); in gpio_direction_output()95 return gpiod_get_raw_value_cansleep(gpio_to_desc(gpio)); in gpio_get_value_cansleep()99 return gpiod_set_raw_value_cansleep(gpio_to_desc(gpio), value); in gpio_set_value_cansleep()104 return gpiod_get_raw_value(gpio_to_desc(gpio)); in gpio_get_value()108 return gpiod_set_raw_value(gpio_to_desc(gpio), value); in gpio_set_value()113 return gpiod_to_irq(gpio_to_desc(gpio)); in gpio_to_irq()
11 gpiod_free(gpio_to_desc(gpio)); in gpio_free()26 desc = gpio_to_desc(gpio); in gpio_request_one()58 struct gpio_desc *desc = gpio_to_desc(gpio); in gpio_request()
454 desc = gpio_to_desc(gpio); in export_store()504 desc = gpio_to_desc(gpio); in unexport_store()
778 desc = gpio_to_desc(agpio->pin_table[pin_index]); in acpi_populate_gpio_lookup()
125 struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc() function147 EXPORT_SYMBOL_GPL(gpio_to_desc);
415 gpiod_export(gpio_to_desc(GPIO_PTX5), 0); in ap325rxa_devices_setup()419 gpiod_export(gpio_to_desc(GPIO_PTX4), 0); in ap325rxa_devices_setup()424 gpiod_export(gpio_to_desc(GPIO_PTF7), 0); in ap325rxa_devices_setup()
172 struct gpio_desc *gpio_to_desc(unsigned gpio);538 static inline struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc() function
250 gpiod = gpio_to_desc(template->gpio); in gpio_led_get_gpiod()
362 gpios[i].desc = gpio_to_desc(gpios[i].gpio); in snd_soc_jack_add_gpios()
325 bdata->gpiod = gpio_to_desc(button->gpio); in gpio_keys_polled_probe()
553 bdata->gpiod = gpio_to_desc(button->gpio); in gpio_keys_setup_key()
893 struct gpio_desc *desc = gpio_to_desc(pin); in vip_gpio_reserve()933 struct gpio_desc *desc = gpio_to_desc(pin); in vip_gpio_release()
340 struct gpio_chip *chip = gpiod_to_chip(gpio_to_desc(gpio)); in pinctrl_ready_for_gpio_range()1679 chip = gpiod_to_chip(gpio_to_desc(gpio_num)); in pinctrl_pins_show()
221 skt->stat[i].desc = gpio_to_desc(skt->stat[i].gpio); in soc_pcmcia_hw_init()
459 struct gpio_desc *gpio_to_desc(unsigned gpio)463 All the same, a GPIO number passed to gpio_to_desc() must first be properly
1336 info->micd_pol_gpio = gpio_to_desc(pdata->micd_pol_gpio); in arizona_jack_codec_dev_probe()
2370 udc->gpiod = gpio_to_desc(mach->gpio_pullup); in pxa_udc_probe()