Searched refs:gpio_chip_hwgpio (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/gpio/ |
D | gpiolib.c | 240 offset = gpio_chip_hwgpio(desc); in gpiod_get_direction() 2055 offset = gpio_chip_hwgpio(desc); in gpiod_request_commit() 2156 gc->free(gc, gpio_chip_hwgpio(desc)); in gpiod_free_commit() 2320 return gpio_do_set_config(gc, gpio_chip_hwgpio(desc), config); in gpio_set_config_with_argument() 2328 int gpio = gpio_chip_hwgpio(desc); in gpio_set_config_with_argument_optional() 2432 ret = gc->direction_input(gc, gpio_chip_hwgpio(desc)); in gpiod_direction_input() 2434 (gc->get_direction(gc, gpio_chip_hwgpio(desc)) != 1)) { in gpiod_direction_input() 2470 ret = gc->direction_output(gc, gpio_chip_hwgpio(desc), val); in gpiod_direction_output_raw_commit() 2474 gc->get_direction(gc, gpio_chip_hwgpio(desc))) { in gpiod_direction_output_raw_commit() 2484 gc->set(gc, gpio_chip_hwgpio(desc), val); in gpiod_direction_output_raw_commit() [all …]
|
D | gpiolib-sysfs.c | 197 ret = gpiochip_lock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc)); in gpio_sysfs_request_irq() 211 gpiochip_unlock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc)); in gpio_sysfs_request_irq() 229 gpiochip_unlock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc)); in gpio_sysfs_free_irq() 461 offset = gpio_chip_hwgpio(desc); in export_store() 616 offset = gpio_chip_hwgpio(desc); in gpiod_export()
|
D | gpiolib.h | 230 static inline int gpio_chip_hwgpio(const struct gpio_desc *desc) in gpio_chip_hwgpio() function
|
D | gpiolib-cdev.c | 701 le.offset = gpio_chip_hwgpio(line->desc); in process_hw_ts_thread() 818 le.offset = gpio_chip_hwgpio(line->desc); in edge_irq_thread() 916 le.offset = gpio_chip_hwgpio(line->desc); in debounce_work_func() 1613 gpio_chip_hwgpio(lr->lines[i].desc)); in linereq_show_fdinfo() 2281 info->offset = gpio_chip_hwgpio(desc); in gpio_desc_to_lineinfo() 2542 if (!test_bit(gpio_chip_hwgpio(desc), cdev->watched_lines)) in lineinfo_changed_notify()
|
D | gpio-aspeed.c | 1016 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_grab_gpio() 1062 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_release_gpio()
|