Searched refs:pup (Results 1 – 1 of 1) sorted by relevance
142 u32 pup; in s3c_gpio_setpull_updown() local144 pup = __raw_readl(reg); in s3c_gpio_setpull_updown()145 pup &= ~(3 << shift); in s3c_gpio_setpull_updown()146 pup |= pull << shift; in s3c_gpio_setpull_updown()147 __raw_writel(pup, reg); in s3c_gpio_setpull_updown()157 u32 pup = __raw_readl(reg); in s3c_gpio_getpull_updown() local159 pup >>= shift; in s3c_gpio_getpull_updown()160 pup &= 0x3; in s3c_gpio_getpull_updown()161 return (__force s3c_gpio_pull_t)pup; in s3c_gpio_getpull_updown()