Lines Matching +full:resume +full:- +full:offset
1 /* SPDX-License-Identifier: GPL-2.0 */
7 * S3C Platform - GPIO core
13 /* Bring in machine-local definitions, especially S3C_GPIO_END */
14 #include "gpio-samsung.h"
34 * struct samsung_gpio_pm - power management (suspend/resume) information
36 * @resume: Routine to resume the GPIO block.
40 void (*resume)(struct samsung_gpio_chip *chip); member
46 * struct samsung_gpio_chip - wrapper for specific implementation of gpio
51 * @config: special function and pull-resistor control information.
53 * @pm_save: Save information for suspend/resume support.
87 * samsung_gpiolib_to_irq - convert gpio pin to irq number
89 * @offset: The offset of the pin in the chip.
91 * This helper returns the irq number calculated from the chip->irq_base and
92 * the provided offset.
94 extern int samsung_gpiolib_to_irq(struct gpio_chip *chip, unsigned int offset);
116 return ((pin - chip->chip.base) < chip->chip.ngpio) ? chip : NULL; in samsung_gpiolib_getchip()
136 #define samsung_gpio_lock(_oc, _fl) spin_lock_irqsave(&(_oc)->lock, _fl)
137 #define samsung_gpio_unlock(_oc, _fl) spin_unlock_irqrestore(&(_oc)->lock, _fl)