Lines Matching full:dat
269 unsigned long dat; in samsung_gpiolib_2bit_output() local
274 dat = __raw_readl(base + 0x04); in samsung_gpiolib_2bit_output()
275 dat &= ~(1 << offset); in samsung_gpiolib_2bit_output()
277 dat |= 1 << offset; in samsung_gpiolib_2bit_output()
278 __raw_writel(dat, base + 0x04); in samsung_gpiolib_2bit_output()
285 __raw_writel(dat, base + 0x04); in samsung_gpiolib_2bit_output()
332 unsigned long dat; in samsung_gpiolib_4bit_output() local
338 dat = __raw_readl(base + GPIODAT_OFF); in samsung_gpiolib_4bit_output()
341 dat |= 1 << offset; in samsung_gpiolib_4bit_output()
343 dat &= ~(1 << offset); in samsung_gpiolib_4bit_output()
345 __raw_writel(dat, base + GPIODAT_OFF); in samsung_gpiolib_4bit_output()
347 __raw_writel(dat, base + GPIODAT_OFF); in samsung_gpiolib_4bit_output()
349 pr_debug("%s: %p: CON %08lx, DAT %08lx\n", __func__, base, con, dat); in samsung_gpiolib_4bit_output()
405 unsigned long dat; in samsung_gpiolib_4bit2_output() local
417 dat = __raw_readl(base + GPIODAT_OFF); in samsung_gpiolib_4bit2_output()
420 dat |= 1 << offset; in samsung_gpiolib_4bit2_output()
422 dat &= ~(1 << offset); in samsung_gpiolib_4bit2_output()
424 __raw_writel(dat, base + GPIODAT_OFF); in samsung_gpiolib_4bit2_output()
426 __raw_writel(dat, base + GPIODAT_OFF); in samsung_gpiolib_4bit2_output()
428 pr_debug("%s: %p: CON %08lx, DAT %08lx\n", __func__, base, con, dat); in samsung_gpiolib_4bit2_output()
439 unsigned long dat; in samsung_gpiolib_set() local
443 dat = __raw_readl(base + 0x04); in samsung_gpiolib_set()
444 dat &= ~(1 << offset); in samsung_gpiolib_set()
446 dat |= 1 << offset; in samsung_gpiolib_set()
447 __raw_writel(dat, base + 0x04); in samsung_gpiolib_set()