Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm/plat-samsung/include/plat/
Dgpio-cfg-helpers.h23 static inline int samsung_gpio_do_setcfg(struct samsung_gpio_chip *chip, in samsung_gpio_do_setcfg()
29 static inline unsigned samsung_gpio_do_getcfg(struct samsung_gpio_chip *chip, in samsung_gpio_do_getcfg()
35 static inline int samsung_gpio_do_setpull(struct samsung_gpio_chip *chip, in samsung_gpio_do_setpull()
41 static inline samsung_gpio_pull_t samsung_gpio_do_getpull(struct samsung_gpio_chip *chip, in samsung_gpio_do_getpull()
64 extern int s3c24xx_gpio_setpull_1up(struct samsung_gpio_chip *chip,
76 extern int s3c24xx_gpio_setpull_1down(struct samsung_gpio_chip *chip,
94 extern int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip,
107 extern samsung_gpio_pull_t samsung_gpio_getpull_updown(struct samsung_gpio_chip *chip,
118 extern samsung_gpio_pull_t s3c24xx_gpio_getpull_1up(struct samsung_gpio_chip *chip,
129 extern samsung_gpio_pull_t s3c24xx_gpio_getpull_1down(struct samsung_gpio_chip *chip,
[all …]
Dgpio-core.h31 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 …]
Dgpio-cfg.h28 struct samsung_gpio_chip;
52 samsung_gpio_pull_t (*get_pull)(struct samsung_gpio_chip *chip, unsigned offs);
53 int (*set_pull)(struct samsung_gpio_chip *chip, unsigned offs,
56 unsigned (*get_config)(struct samsung_gpio_chip *chip, unsigned offs);
57 int (*set_config)(struct samsung_gpio_chip *chip, unsigned offs,
/Linux-v5.4/arch/arm/plat-samsung/
Dgpio-samsung.c40 int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip, in samsung_gpio_setpull_updown()
55 samsung_gpio_pull_t samsung_gpio_getpull_updown(struct samsung_gpio_chip *chip, in samsung_gpio_getpull_updown()
68 int s3c2443_gpio_setpull(struct samsung_gpio_chip *chip, in s3c2443_gpio_setpull()
85 samsung_gpio_pull_t s3c2443_gpio_getpull(struct samsung_gpio_chip *chip, in s3c2443_gpio_getpull()
108 static int s3c24xx_gpio_setpull_1(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1()
126 static samsung_gpio_pull_t s3c24xx_gpio_getpull_1(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1()
137 samsung_gpio_pull_t s3c24xx_gpio_getpull_1up(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1up()
143 int s3c24xx_gpio_setpull_1up(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1up()
149 samsung_gpio_pull_t s3c24xx_gpio_getpull_1down(struct samsung_gpio_chip *chip, in s3c24xx_gpio_getpull_1down()
155 int s3c24xx_gpio_setpull_1down(struct samsung_gpio_chip *chip, in s3c24xx_gpio_setpull_1down()
[all …]
Dpm-gpio.c27 static void samsung_gpio_pm_1bit_save(struct samsung_gpio_chip *chip) in samsung_gpio_pm_1bit_save()
33 static void samsung_gpio_pm_1bit_resume(struct samsung_gpio_chip *chip) in samsung_gpio_pm_1bit_resume()
64 static void samsung_gpio_pm_2bit_save(struct samsung_gpio_chip *chip) in samsung_gpio_pm_2bit_save()
120 static void samsung_gpio_pm_2bit_resume(struct samsung_gpio_chip *chip) in samsung_gpio_pm_2bit_resume()
192 static void samsung_gpio_pm_4bit_save(struct samsung_gpio_chip *chip) in samsung_gpio_pm_4bit_save()
241 static void samsung_gpio_pm_4bit_con(struct samsung_gpio_chip *chip, int index) in samsung_gpio_pm_4bit_con()
256 static void samsung_gpio_pm_4bit_resume(struct samsung_gpio_chip *chip) in samsung_gpio_pm_4bit_resume()
307 static void samsung_pm_save_gpio(struct samsung_gpio_chip *ourchip) in samsung_pm_save_gpio()
325 struct samsung_gpio_chip *ourchip; in samsung_pm_save_gpios()
353 static void samsung_pm_resume_gpio(struct samsung_gpio_chip *ourchip) in samsung_pm_resume_gpio()
[all …]