Home
last modified time | relevance | path

Searched refs:s3c_gpio_chip (Results 1 – 17 of 17) sorted by relevance

/linux-2.6.39/arch/arm/plat-samsung/include/plat/
Dgpio-cfg-helpers.h27 static inline int s3c_gpio_do_setcfg(struct s3c_gpio_chip *chip, in s3c_gpio_do_setcfg()
33 static inline unsigned s3c_gpio_do_getcfg(struct s3c_gpio_chip *chip, in s3c_gpio_do_getcfg()
39 static inline int s3c_gpio_do_setpull(struct s3c_gpio_chip *chip, in s3c_gpio_do_setpull()
45 static inline s3c_gpio_pull_t s3c_gpio_do_getpull(struct s3c_gpio_chip *chip, in s3c_gpio_do_getpull()
64 extern int s3c_gpio_setcfg_s3c24xx(struct s3c_gpio_chip *chip,
76 unsigned int s3c_gpio_getcfg_s3c24xx(struct s3c_gpio_chip *chip,
89 extern int s3c_gpio_setcfg_s3c24xx_a(struct s3c_gpio_chip *chip,
104 extern unsigned s3c_gpio_getcfg_s3c24xx_a(struct s3c_gpio_chip *chip,
123 extern int s3c_gpio_setcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip,
138 extern unsigned s3c_gpio_getcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip,
[all …]
Dgpio-core.h28 struct s3c_gpio_chip;
36 void (*save)(struct s3c_gpio_chip *chip);
37 void (*resume)(struct s3c_gpio_chip *chip);
63 struct s3c_gpio_chip { struct
76 static inline struct s3c_gpio_chip *to_s3c_gpio(struct gpio_chip *gpc) in to_s3c_gpio() argument
78 return container_of(gpc, struct s3c_gpio_chip, chip); in to_s3c_gpio()
89 extern void s3c_gpiolib_add(struct s3c_gpio_chip *chip);
117 extern void samsung_gpiolib_add_4bit_chips(struct s3c_gpio_chip *chip,
119 extern void samsung_gpiolib_add_4bit2_chips(struct s3c_gpio_chip *chip,
121 extern void samsung_gpiolib_add_2bit_chips(struct s3c_gpio_chip *chip,
[all …]
Dgpio-cfg.h31 struct s3c_gpio_chip;
55 s3c_gpio_pull_t (*get_pull)(struct s3c_gpio_chip *chip, unsigned offs);
56 int (*set_pull)(struct s3c_gpio_chip *chip, unsigned offs,
59 unsigned (*get_config)(struct s3c_gpio_chip *chip, unsigned offs);
60 int (*set_config)(struct s3c_gpio_chip *chip, unsigned offs,
/linux-2.6.39/arch/arm/plat-samsung/
Dgpio-config.c26 struct s3c_gpio_chip *chip = s3c_gpiolib_getchip(pin); in s3c_gpio_cfgpin()
77 struct s3c_gpio_chip *chip = s3c_gpiolib_getchip(pin); in s3c_gpio_getcfg()
97 struct s3c_gpio_chip *chip = s3c_gpiolib_getchip(pin); in s3c_gpio_setpull()
116 struct s3c_gpio_chip *chip = s3c_gpiolib_getchip(pin); in s3c_gpio_getpull()
134 int s3c_gpio_setcfg_s3c24xx_a(struct s3c_gpio_chip *chip, in s3c_gpio_setcfg_s3c24xx_a()
160 unsigned s3c_gpio_getcfg_s3c24xx_a(struct s3c_gpio_chip *chip, in s3c_gpio_getcfg_s3c24xx_a()
173 int s3c_gpio_setcfg_s3c24xx(struct s3c_gpio_chip *chip, in s3c_gpio_setcfg_s3c24xx()
196 unsigned int s3c_gpio_getcfg_s3c24xx(struct s3c_gpio_chip *chip, in s3c_gpio_getcfg_s3c24xx()
211 int s3c_gpio_setcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip, in s3c_gpio_setcfg_s3c64xx_4bit()
234 unsigned s3c_gpio_getcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip, in s3c_gpio_getcfg_s3c64xx_4bit()
[all …]
Dgpio.c23 struct s3c_gpio_chip *s3c_gpios[S3C_GPIO_END];
25 static __init void s3c_gpiolib_track(struct s3c_gpio_chip *chip) in s3c_gpiolib_track()
51 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in s3c_gpiolib_input()
70 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in s3c_gpiolib_output()
98 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in s3c_gpiolib_set()
116 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in s3c_gpiolib_get()
126 __init void s3c_gpiolib_add(struct s3c_gpio_chip *chip) in s3c_gpiolib_add()
163 struct s3c_gpio_chip *s3c_chip = container_of(chip, in samsung_gpiolib_to_irq()
164 struct s3c_gpio_chip, chip); in samsung_gpiolib_to_irq()
Dgpiolib.c50 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in samsung_gpiolib_4bit_input()
66 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in samsung_gpiolib_4bit_output()
115 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in samsung_gpiolib_4bit2_input()
137 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in samsung_gpiolib_4bit2_output()
169 void __init samsung_gpiolib_add_4bit(struct s3c_gpio_chip *chip) in samsung_gpiolib_add_4bit()
176 void __init samsung_gpiolib_add_4bit2(struct s3c_gpio_chip *chip) in samsung_gpiolib_add_4bit2()
183 void __init samsung_gpiolib_add_4bit_chips(struct s3c_gpio_chip *chip, in samsung_gpiolib_add_4bit_chips()
192 void __init samsung_gpiolib_add_4bit2_chips(struct s3c_gpio_chip *chip, in samsung_gpiolib_add_4bit2_chips()
201 void __init samsung_gpiolib_add_2bit_chips(struct s3c_gpio_chip *chip, in samsung_gpiolib_add_2bit_chips()
Dpm-gpio.c31 static void s3c_gpio_pm_1bit_save(struct s3c_gpio_chip *chip) in s3c_gpio_pm_1bit_save()
37 static void s3c_gpio_pm_1bit_resume(struct s3c_gpio_chip *chip) in s3c_gpio_pm_1bit_resume()
68 static void s3c_gpio_pm_2bit_save(struct s3c_gpio_chip *chip) in s3c_gpio_pm_2bit_save()
124 static void s3c_gpio_pm_2bit_resume(struct s3c_gpio_chip *chip) in s3c_gpio_pm_2bit_resume()
196 static void s3c_gpio_pm_4bit_save(struct s3c_gpio_chip *chip) in s3c_gpio_pm_4bit_save()
245 static void s3c_gpio_pm_4bit_con(struct s3c_gpio_chip *chip, int index) in s3c_gpio_pm_4bit_con()
260 static void s3c_gpio_pm_4bit_resume(struct s3c_gpio_chip *chip) in s3c_gpio_pm_4bit_resume()
311 static void s3c_pm_save_gpio(struct s3c_gpio_chip *ourchip) in s3c_pm_save_gpio()
329 struct s3c_gpio_chip *ourchip; in s3c_pm_save_gpios()
357 static void s3c_pm_resume_gpio(struct s3c_gpio_chip *ourchip) in s3c_pm_resume_gpio()
[all …]
/linux-2.6.39/arch/arm/mach-s5p64x0/
Dgpiolib.c68 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in s5p64x0_gpiolib_rbank_4bit2_input()
104 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in s5p64x0_gpiolib_rbank_4bit2_output()
148 int s5p64x0_gpio_setcfg_4bit_rbank(struct s3c_gpio_chip *chip, in s5p64x0_gpio_setcfg_4bit_rbank()
209 static struct s3c_gpio_chip s5p6440_gpio_4bit[] = {
245 static struct s3c_gpio_chip s5p6440_gpio_4bit2[] = {
257 static struct s3c_gpio_chip s5p6440_gpio_rbank_4bit2[] = {
269 static struct s3c_gpio_chip s5p6440_gpio_2bit[] = {
313 static struct s3c_gpio_chip s5p6450_gpio_4bit[] = {
357 static struct s3c_gpio_chip s5p6450_gpio_4bit2[] = {
377 static struct s3c_gpio_chip s5p6450_gpio_rbank_4bit2[] = {
[all …]
/linux-2.6.39/arch/arm/plat-s5p/
Dirq-gpioint.c38 struct s3c_gpio_chip **chips;
46 struct s3c_gpio_chip *chip = irq_data_get_irq_handler_data(data); in s5p_gpioint_get_offset()
52 struct s3c_gpio_chip *chip = irq_data_get_irq_handler_data(data); in s5p_gpioint_ack()
67 struct s3c_gpio_chip *chip = irq_data_get_irq_handler_data(data); in s5p_gpioint_mask()
82 struct s3c_gpio_chip *chip = irq_data_get_irq_handler_data(data); in s5p_gpioint_unmask()
103 struct s3c_gpio_chip *chip = irq_data_get_irq_handler_data(data); in s5p_gpioint_set_type()
157 struct s3c_gpio_chip *chip = bank->chips[group]; in s5p_gpioint_handler()
179 static __init int s5p_gpioint_add(struct s3c_gpio_chip *chip) in s5p_gpioint_add()
198 bank->chips = kzalloc(sizeof(struct s3c_gpio_chip *) * in s5p_gpioint_add()
232 struct s3c_gpio_chip *my_chip = s3c_gpiolib_getchip(pin); in s5p_register_gpio_interrupt()
/linux-2.6.39/arch/arm/mach-s3c2410/include/mach/
Dgpio-track.h20 extern struct s3c_gpio_chip s3c24xx_gpios[];
22 static inline struct s3c_gpio_chip *s3c_gpiolib_getchip(unsigned int pin) in s3c_gpiolib_getchip()
24 struct s3c_gpio_chip *chip; in s3c_gpiolib_getchip()
/linux-2.6.39/arch/arm/mach-s3c64xx/
Dgpiolib.c80 static struct s3c_gpio_chip gpio_4bit[] = {
146 static struct s3c_gpio_chip gpio_4bit2[] = {
198 static struct s3c_gpio_chip gpio_2bit[] = {
260 static __init void s3c64xx_gpiolib_add_2bit(struct s3c_gpio_chip *chip) in s3c64xx_gpiolib_add_2bit()
265 static __init void s3c64xx_gpiolib_add(struct s3c_gpio_chip *chips, in s3c64xx_gpiolib_add()
267 void (*fn)(struct s3c_gpio_chip *)) in s3c64xx_gpiolib_add() argument
/linux-2.6.39/arch/arm/mach-exynos4/
Dgpiolib.c46 static struct s3c_gpio_chip exynos4_gpio_part1_4bit[] = {
146 static struct s3c_gpio_chip exynos4_gpio_part2_4bit[] = {
293 static struct s3c_gpio_chip exynos4_gpio_part3_4bit[] = {
305 struct s3c_gpio_chip *chip; in exynos4_gpiolib_init()
/linux-2.6.39/arch/arm/plat-s3c24xx/
Dgpiolib.c40 struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip); in s3c24xx_gpiolib_banka_output()
87 struct s3c_gpio_chip s3c24xx_gpios[] = {
216 struct s3c_gpio_chip *chip = s3c24xx_gpios; in s3c24xx_gpiolib_init()
Dgpio.c73 struct s3c_gpio_chip *chip = s3c_gpiolib_getchip(pin); in s3c2410_gpio_getpin()
/linux-2.6.39/arch/arm/mach-s5pv210/
Dgpiolib.c49 static struct s3c_gpio_chip s5pv210_gpio_4bit[] = {
269 struct s3c_gpio_chip *chip = s5pv210_gpio_4bit; in s5pv210_gpiolib_init()
/linux-2.6.39/arch/arm/mach-s3c2412/
Dgpio.c31 struct s3c_gpio_chip *chip = s3c_gpiolib_getchip(pin); in s3c2412_gpio_set_sleepcfg()
/linux-2.6.39/arch/arm/mach-s5pc100/
Dgpiolib.c101 static struct s3c_gpio_chip s5pc100_gpio_chips[] = {
336 struct s3c_gpio_chip *chip = s5pc100_gpio_chips; in s5pc100_gpiolib_init()