Searched refs:gpiod_hwgpio (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/gpio/ |
| H A D | gpiolib.c | 246 int gpiod_hwgpio(const struct gpio_desc *desc) in gpiod_hwgpio() function 250 EXPORT_SYMBOL_GPL(gpiod_hwgpio); 467 offset = gpiod_hwgpio(desc); in gpiod_get_direction() 2600 offset = gpiod_hwgpio(desc); in gpiod_request_commit() 2664 guard.gc->free(guard.gc, gpiod_hwgpio(desc)); in gpiod_free_commit() 2824 ret = guard.gc->set_config(guard.gc, gpiod_hwgpio(desc), config); in gpio_do_set_config() 2855 int gpio = gpiod_hwgpio(desc); in gpio_set_config_with_argument_optional() 3018 gpiod_hwgpio(desc)); in gpiod_direction_input_nonotify() 3020 dir = gpiochip_get_direction(guard.gc, gpiod_hwgpio(desc)); in gpiod_direction_input_nonotify() 3079 gpiod_hwgpio(desc), val); in gpiod_direction_output_raw_commit() [all …]
|
| H A D | gpiolib-cdev.c | 655 le.offset = gpiod_hwgpio(line->desc); in process_hw_ts_thread() 772 le.offset = gpiod_hwgpio(line->desc); in edge_irq_thread() 870 le.offset = gpiod_hwgpio(line->desc); in debounce_work_func() 1583 gpiod_hwgpio(lr->lines[i].desc)); in linereq_show_fdinfo() 2187 info->offset = gpiod_hwgpio(desc); in gpio_desc_to_lineinfo() 2493 if (!test_bit(gpiod_hwgpio(desc), cdev->watched_lines)) in lineinfo_changed_notify()
|
| H A D | gpio-aspeed.c | 941 int rc = 0, bindex, offset = gpiod_hwgpio(desc); in aspeed_gpio_copro_grab_gpio() 986 int rc = 0, bindex, offset = gpiod_hwgpio(desc); in aspeed_gpio_copro_release_gpio()
|
| H A D | gpiolib-shared.c | 694 dev_name(dev), gpiod_hwgpio(shared_desc->desc), in devm_gpiod_shared_get()
|