Lines Matching refs:off
44 unsigned int off, samsung_gpio_pull_t pull) in samsung_gpio_setpull_updown() argument
47 int shift = off * 2; in samsung_gpio_setpull_updown()
59 unsigned int off) in samsung_gpio_getpull_updown() argument
62 int shift = off * 2; in samsung_gpio_getpull_updown()
72 unsigned int off, samsung_gpio_pull_t pull) in s3c2443_gpio_setpull() argument
85 return samsung_gpio_setpull_updown(chip, off, pull); in s3c2443_gpio_setpull()
89 unsigned int off) in s3c2443_gpio_getpull() argument
93 pull = samsung_gpio_getpull_updown(chip, off); in s3c2443_gpio_getpull()
112 unsigned int off, samsung_gpio_pull_t pull, in s3c24xx_gpio_setpull_1() argument
119 pup &= ~(1 << off); in s3c24xx_gpio_setpull_1()
121 pup |= (1 << off); in s3c24xx_gpio_setpull_1()
130 unsigned int off, in s3c24xx_gpio_getpull_1() argument
136 pup &= (1 << off); in s3c24xx_gpio_getpull_1()
141 unsigned int off) in s3c24xx_gpio_getpull_1up() argument
143 return s3c24xx_gpio_getpull_1(chip, off, S3C_GPIO_PULL_UP); in s3c24xx_gpio_getpull_1up()
147 unsigned int off, samsung_gpio_pull_t pull) in s3c24xx_gpio_setpull_1up() argument
149 return s3c24xx_gpio_setpull_1(chip, off, pull, S3C_GPIO_PULL_UP); in s3c24xx_gpio_setpull_1up()
153 unsigned int off) in s3c24xx_gpio_getpull_1down() argument
155 return s3c24xx_gpio_getpull_1(chip, off, S3C_GPIO_PULL_DOWN); in s3c24xx_gpio_getpull_1down()
159 unsigned int off, samsung_gpio_pull_t pull) in s3c24xx_gpio_setpull_1down() argument
161 return s3c24xx_gpio_setpull_1(chip, off, pull, S3C_GPIO_PULL_DOWN); in s3c24xx_gpio_setpull_1down()
179 unsigned int off, unsigned int cfg) in samsung_gpio_setcfg_2bit() argument
182 unsigned int shift = off * 2; in samsung_gpio_setcfg_2bit()
212 unsigned int off) in samsung_gpio_getcfg_2bit() argument
217 con >>= off * 2; in samsung_gpio_getcfg_2bit()
242 unsigned int off, unsigned int cfg) in samsung_gpio_setcfg_4bit() argument
245 unsigned int shift = (off & 7) * 4; in samsung_gpio_setcfg_4bit()
248 if (off < 8 && chip->chip.ngpio > 8) in samsung_gpio_setcfg_4bit()
277 unsigned int off) in samsung_gpio_getcfg_4bit() argument
280 unsigned int shift = (off & 7) * 4; in samsung_gpio_getcfg_4bit()
283 if (off < 8 && chip->chip.ngpio > 8) in samsung_gpio_getcfg_4bit()
307 unsigned int off, unsigned int cfg) in s3c24xx_gpio_setcfg_abank() argument
310 unsigned int shift = off; in s3c24xx_gpio_setcfg_abank()
345 unsigned int off) in s3c24xx_gpio_getcfg_abank() argument
350 con >>= off; in s3c24xx_gpio_getcfg_abank()