Searched refs:gpio_chip_hwgpio (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpio/ |
H A D | gpiolib.c | 370 offset = gpio_chip_hwgpio(desc); in gpiod_get_direction() 2292 offset = gpio_chip_hwgpio(desc); in gpiod_request_commit() 2378 guard.gc->free(guard.gc, gpio_chip_hwgpio(desc)); in gpiod_free_commit() 2543 return gpio_do_set_config(guard.gc, gpio_chip_hwgpio(desc), config); in gpio_set_config_with_argument() 2551 int gpio = gpio_chip_hwgpio(desc); in gpio_set_config_with_argument_optional() 2663 gpio_chip_hwgpio(desc)); in gpiod_direction_input() 2666 gpio_chip_hwgpio(desc)) != 1)) { in gpiod_direction_input() 2705 gpio_chip_hwgpio(desc), val); in gpiod_direction_output_raw_commit() 2709 guard.gc->get_direction(guard.gc, gpio_chip_hwgpio(desc))) { in gpiod_direction_output_raw_commit() 2719 guard.gc->set(guard.gc, gpio_chip_hwgpio(desc), val); in gpiod_direction_output_raw_commit() [all …]
|
H A D | gpiolib-sysfs.c | 203 ret = gpiochip_lock_as_irq(guard.gc, gpio_chip_hwgpio(desc)); in gpio_sysfs_request_irq() 217 gpiochip_unlock_as_irq(guard.gc, gpio_chip_hwgpio(desc)); in gpio_sysfs_request_irq() 239 gpiochip_unlock_as_irq(guard.gc, gpio_chip_hwgpio(desc)); in gpio_sysfs_free_irq() 474 offset = gpio_chip_hwgpio(desc); in export_store() 629 offset = gpio_chip_hwgpio(desc); in gpiod_export()
|
H A D | gpiolib.h | 264 static inline int gpio_chip_hwgpio(const struct gpio_desc *desc) in gpio_chip_hwgpio() function
|
H A D | gpiolib-cdev.c | 797 le.offset = gpio_chip_hwgpio(line->desc); in process_hw_ts_thread() 914 le.offset = gpio_chip_hwgpio(line->desc); in edge_irq_thread() 1012 le.offset = gpio_chip_hwgpio(line->desc); in debounce_work_func() 1714 gpio_chip_hwgpio(lr->lines[i].desc)); in linereq_show_fdinfo() 2366 info->offset = gpio_chip_hwgpio(desc); in gpio_desc_to_lineinfo() 2621 if (!test_bit(gpio_chip_hwgpio(desc), cdev->watched_lines)) in lineinfo_changed_notify()
|
H A D | gpio-aspeed.c | 1018 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_grab_gpio() 1064 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_release_gpio()
|