Lines Matching refs:pup
45 u32 pup; in samsung_gpio_setpull_updown() local
47 pup = __raw_readl(reg); in samsung_gpio_setpull_updown()
48 pup &= ~(3 << shift); in samsung_gpio_setpull_updown()
49 pup |= pull << shift; in samsung_gpio_setpull_updown()
50 __raw_writel(pup, reg); in samsung_gpio_setpull_updown()
60 u32 pup = __raw_readl(reg); in samsung_gpio_getpull_updown() local
62 pup >>= shift; in samsung_gpio_getpull_updown()
63 pup &= 0x3; in samsung_gpio_getpull_updown()
65 return (__force samsung_gpio_pull_t)pup; in samsung_gpio_getpull_updown()
113 u32 pup = __raw_readl(reg); in s3c24xx_gpio_setpull_1() local
116 pup &= ~(1 << off); in s3c24xx_gpio_setpull_1()
118 pup |= (1 << off); in s3c24xx_gpio_setpull_1()
122 __raw_writel(pup, reg); in s3c24xx_gpio_setpull_1()
131 u32 pup = __raw_readl(reg); in s3c24xx_gpio_getpull_1() local
133 pup &= (1 << off); in s3c24xx_gpio_getpull_1()
134 return pup ? S3C_GPIO_PULL_NONE : updown; in s3c24xx_gpio_getpull_1()
1294 u32 pup = 0; in s3c_gpio_getpull() local
1300 pup = samsung_gpio_do_getpull(chip, offset); in s3c_gpio_getpull()
1304 return (__force samsung_gpio_pull_t)pup; in s3c_gpio_getpull()