Home
last modified time | relevance | path

Searched refs:gpio_chip_hwgpio (Results 1 – 5 of 5) sorted by relevance

/drivers/gpio/
Dgpiolib.c220 offset = gpio_chip_hwgpio(desc); in gpiod_get_direction()
1919 offset = gpio_chip_hwgpio(desc); in gpiod_request_commit()
2024 gc->free(gc, gpio_chip_hwgpio(desc)); in gpiod_free_commit()
2183 return gpio_do_set_config(gc, gpio_chip_hwgpio(desc), config); in gpio_set_config_with_argument()
2191 int gpio = gpio_chip_hwgpio(desc); in gpio_set_config_with_argument_optional()
2295 ret = gc->direction_input(gc, gpio_chip_hwgpio(desc)); in gpiod_direction_input()
2297 (gc->get_direction(gc, gpio_chip_hwgpio(desc)) != 1)) { in gpiod_direction_input()
2333 ret = gc->direction_output(gc, gpio_chip_hwgpio(desc), val); in gpiod_direction_output_raw_commit()
2337 gc->get_direction(gc, gpio_chip_hwgpio(desc))) { in gpiod_direction_output_raw_commit()
2347 gc->set(gc, gpio_chip_hwgpio(desc), val); in gpiod_direction_output_raw_commit()
[all …]
Dgpiolib-sysfs.c191 ret = gpiochip_lock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc)); in gpio_sysfs_request_irq()
205 gpiochip_unlock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc)); in gpio_sysfs_request_irq()
223 gpiochip_unlock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc)); in gpio_sysfs_free_irq()
467 offset = gpio_chip_hwgpio(desc); in export_store()
626 offset = gpio_chip_hwgpio(desc); in gpiod_export()
Dgpiolib.h198 static inline int gpio_chip_hwgpio(const struct gpio_desc *desc) in gpio_chip_hwgpio() function
Dgpiolib-cdev.c651 le.offset = gpio_chip_hwgpio(line->desc); in edge_irq_thread()
743 le.offset = gpio_chip_hwgpio(line->desc); in debounce_work_func()
2026 info->offset = gpio_chip_hwgpio(desc); in gpio_desc_to_lineinfo()
2297 if (!test_bit(gpio_chip_hwgpio(desc), cdev->watched_lines)) in lineinfo_changed_notify()
Dgpio-aspeed.c1006 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_grab_gpio()
1052 int rc = 0, bindex, offset = gpio_chip_hwgpio(desc); in aspeed_gpio_copro_release_gpio()