Searched refs:samsung_gpio_chip (Results 1 – 5 of 5) sorted by relevance
/arch/arm/plat-samsung/include/plat/ |
D | gpio-cfg-helpers.h | 27 static inline int samsung_gpio_do_setcfg(struct samsung_gpio_chip *chip, in samsung_gpio_do_setcfg() 33 static inline unsigned samsung_gpio_do_getcfg(struct samsung_gpio_chip *chip, in samsung_gpio_do_getcfg() 39 static inline int samsung_gpio_do_setpull(struct samsung_gpio_chip *chip, in samsung_gpio_do_setpull() 45 static inline samsung_gpio_pull_t samsung_gpio_do_getpull(struct samsung_gpio_chip *chip, in samsung_gpio_do_getpull() 68 extern int s3c24xx_gpio_setpull_1up(struct samsung_gpio_chip *chip, 80 extern int s3c24xx_gpio_setpull_1down(struct samsung_gpio_chip *chip, 98 extern int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip, 111 extern samsung_gpio_pull_t samsung_gpio_getpull_updown(struct samsung_gpio_chip *chip, 122 extern samsung_gpio_pull_t s3c24xx_gpio_getpull_1up(struct samsung_gpio_chip *chip, 133 extern samsung_gpio_pull_t s3c24xx_gpio_getpull_1down(struct samsung_gpio_chip *chip, [all …]
|
D | gpio-core.h | 31 struct samsung_gpio_chip; 39 void (*save)(struct samsung_gpio_chip *chip); 40 void (*resume)(struct samsung_gpio_chip *chip); 67 struct samsung_gpio_chip { struct 81 static inline struct samsung_gpio_chip *to_samsung_gpio(struct gpio_chip *gpc) in to_samsung_gpio() argument 83 return container_of(gpc, struct samsung_gpio_chip, chip); in to_samsung_gpio() 100 extern struct samsung_gpio_chip *s3c_gpios[S3C_GPIO_END]; 102 static inline struct samsung_gpio_chip *samsung_gpiolib_getchip(unsigned int chip) in samsung_gpiolib_getchip() 109 extern struct samsung_gpio_chip s3c24xx_gpios[]; 111 static inline struct samsung_gpio_chip *samsung_gpiolib_getchip(unsigned int pin) in samsung_gpiolib_getchip() [all …]
|
D | gpio-cfg.h | 33 struct samsung_gpio_chip; 57 samsung_gpio_pull_t (*get_pull)(struct samsung_gpio_chip *chip, unsigned offs); 58 int (*set_pull)(struct samsung_gpio_chip *chip, unsigned offs, 61 unsigned (*get_config)(struct samsung_gpio_chip *chip, unsigned offs); 62 int (*set_config)(struct samsung_gpio_chip *chip, unsigned offs,
|
/arch/arm/plat-samsung/ |
D | pm-gpio.c | 31 static void samsung_gpio_pm_1bit_save(struct samsung_gpio_chip *chip) in samsung_gpio_pm_1bit_save() 37 static void samsung_gpio_pm_1bit_resume(struct samsung_gpio_chip *chip) in samsung_gpio_pm_1bit_resume() 68 static void samsung_gpio_pm_2bit_save(struct samsung_gpio_chip *chip) in samsung_gpio_pm_2bit_save() 124 static void samsung_gpio_pm_2bit_resume(struct samsung_gpio_chip *chip) in samsung_gpio_pm_2bit_resume() 196 static void samsung_gpio_pm_4bit_save(struct samsung_gpio_chip *chip) in samsung_gpio_pm_4bit_save() 245 static void samsung_gpio_pm_4bit_con(struct samsung_gpio_chip *chip, int index) in samsung_gpio_pm_4bit_con() 260 static void samsung_gpio_pm_4bit_resume(struct samsung_gpio_chip *chip) in samsung_gpio_pm_4bit_resume() 311 static void samsung_pm_save_gpio(struct samsung_gpio_chip *ourchip) in samsung_pm_save_gpio() 329 struct samsung_gpio_chip *ourchip; in samsung_pm_save_gpios() 357 static void samsung_pm_resume_gpio(struct samsung_gpio_chip *ourchip) in samsung_pm_resume_gpio() [all …]
|
D | s5p-irq-gpioint.c | 38 struct samsung_gpio_chip **chips; 88 struct samsung_gpio_chip *chip = bank->chips[group]; in s5p_gpioint_handler() 111 static __init int s5p_gpioint_add(struct samsung_gpio_chip *chip) in s5p_gpioint_add() 132 bank->chips = kzalloc(sizeof(struct samsung_gpio_chip *) * in s5p_gpioint_add() 175 struct samsung_gpio_chip *my_chip = samsung_gpiolib_getchip(pin); in s5p_register_gpio_interrupt()
|