Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpiolib.c241 offset = gpio_chip_hwgpio(desc); in gpiod_get_direction()
2115 offset = gpio_chip_hwgpio(desc); in gpiod_request_commit()
2216 gc->free(gc, gpio_chip_hwgpio(desc)); in gpiod_free_commit()
2388 int gpio = gpio_chip_hwgpio(desc); in gpio_set_config_with_argument_optional()
2916 int hwgpio = gpio_chip_hwgpio(desc); in gpiod_get_array_value_complex()
2938 int hwgpio = gpio_chip_hwgpio(desc); in gpiod_get_array_value_complex()
3070 int offset = gpio_chip_hwgpio(desc); in gpio_set_open_drain_value_commit()
3095 int offset = gpio_chip_hwgpio(desc); in gpio_set_open_source_value_commit()
3208 int hwgpio = gpio_chip_hwgpio(desc); in gpiod_set_array_value_complex()
3419 offset = gpio_chip_hwgpio(desc); in gpiod_to_irq()
[all …]
H A Dgpiolib-sysfs.c198 ret = gpiochip_lock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc)); in gpio_sysfs_request_irq()
212 gpiochip_unlock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc)); in gpio_sysfs_request_irq()
230 gpiochip_unlock_as_irq(desc->gdev->chip, gpio_chip_hwgpio(desc)); in gpio_sysfs_free_irq()
462 offset = gpio_chip_hwgpio(desc); in export_store()
620 offset = gpio_chip_hwgpio(desc); in gpiod_export()
H A Dgpiolib.h228 static inline int gpio_chip_hwgpio(const struct gpio_desc *desc) in gpio_chip_hwgpio() function
H A Dgpiolib-cdev.c847 le.offset = gpio_chip_hwgpio(line->desc); in process_hw_ts_thread()
964 le.offset = gpio_chip_hwgpio(line->desc); in edge_irq_thread()
1062 le.offset = gpio_chip_hwgpio(line->desc); in debounce_work_func()
1793 gpio_chip_hwgpio(lr->lines[i].desc)); in linereq_show_fdinfo()
2468 info->offset = gpio_chip_hwgpio(desc); in gpio_desc_to_lineinfo()
2730 if (!test_bit(gpio_chip_hwgpio(desc), cdev->watched_lines)) in lineinfo_changed_notify()
H A Dgpio-aspeed.c1018 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()