Lines Matching refs:pup
46 u32 pup; in samsung_gpio_setpull_updown() local
48 pup = __raw_readl(reg); in samsung_gpio_setpull_updown()
49 pup &= ~(3 << shift); in samsung_gpio_setpull_updown()
50 pup |= pull << shift; in samsung_gpio_setpull_updown()
51 __raw_writel(pup, reg); in samsung_gpio_setpull_updown()
61 u32 pup = __raw_readl(reg); in samsung_gpio_getpull_updown() local
63 pup >>= shift; in samsung_gpio_getpull_updown()
64 pup &= 0x3; in samsung_gpio_getpull_updown()
66 return (__force samsung_gpio_pull_t)pup; in samsung_gpio_getpull_updown()
114 u32 pup = __raw_readl(reg); in s3c24xx_gpio_setpull_1() local
117 pup &= ~(1 << off); in s3c24xx_gpio_setpull_1()
119 pup |= (1 << off); in s3c24xx_gpio_setpull_1()
123 __raw_writel(pup, reg); in s3c24xx_gpio_setpull_1()
132 u32 pup = __raw_readl(reg); in s3c24xx_gpio_getpull_1() local
134 pup &= (1 << off); in s3c24xx_gpio_getpull_1()
135 return pup ? S3C_GPIO_PULL_NONE : updown; in s3c24xx_gpio_getpull_1()
1295 u32 pup = 0; in s3c_gpio_getpull() local
1301 pup = samsung_gpio_do_getpull(chip, offset); in s3c_gpio_getpull()
1305 return (__force samsung_gpio_pull_t)pup; in s3c_gpio_getpull()