Lines Matching full:dat
453 unsigned long dat; in samsung_gpiolib_2bit_output() local
458 dat = __raw_readl(base + 0x04); in samsung_gpiolib_2bit_output()
459 dat &= ~(1 << offset); in samsung_gpiolib_2bit_output()
461 dat |= 1 << offset; in samsung_gpiolib_2bit_output()
462 __raw_writel(dat, base + 0x04); in samsung_gpiolib_2bit_output()
469 __raw_writel(dat, base + 0x04); in samsung_gpiolib_2bit_output()
516 unsigned long dat; in samsung_gpiolib_4bit_output() local
522 dat = __raw_readl(base + GPIODAT_OFF); in samsung_gpiolib_4bit_output()
525 dat |= 1 << offset; in samsung_gpiolib_4bit_output()
527 dat &= ~(1 << offset); in samsung_gpiolib_4bit_output()
529 __raw_writel(dat, base + GPIODAT_OFF); in samsung_gpiolib_4bit_output()
531 __raw_writel(dat, base + GPIODAT_OFF); in samsung_gpiolib_4bit_output()
533 pr_debug("%s: %p: CON %08lx, DAT %08lx\n", __func__, base, con, dat); in samsung_gpiolib_4bit_output()
589 unsigned long dat; in samsung_gpiolib_4bit2_output() local
601 dat = __raw_readl(base + GPIODAT_OFF); in samsung_gpiolib_4bit2_output()
604 dat |= 1 << offset; in samsung_gpiolib_4bit2_output()
606 dat &= ~(1 << offset); in samsung_gpiolib_4bit2_output()
608 __raw_writel(dat, base + GPIODAT_OFF); in samsung_gpiolib_4bit2_output()
610 __raw_writel(dat, base + GPIODAT_OFF); in samsung_gpiolib_4bit2_output()
612 pr_debug("%s: %p: CON %08lx, DAT %08lx\n", __func__, base, con, dat); in samsung_gpiolib_4bit2_output()
631 unsigned long dat; in s3c24xx_gpiolib_banka_output() local
637 dat = __raw_readl(base + 0x04); in s3c24xx_gpiolib_banka_output()
639 dat &= ~(1 << offset); in s3c24xx_gpiolib_banka_output()
641 dat |= 1 << offset; in s3c24xx_gpiolib_banka_output()
643 __raw_writel(dat, base + 0x04); in s3c24xx_gpiolib_banka_output()
648 __raw_writel(dat, base + 0x04); in s3c24xx_gpiolib_banka_output()
661 unsigned long dat; in samsung_gpiolib_set() local
665 dat = __raw_readl(base + 0x04); in samsung_gpiolib_set()
666 dat &= ~(1 << offset); in samsung_gpiolib_set()
668 dat |= 1 << offset; in samsung_gpiolib_set()
669 __raw_writel(dat, base + 0x04); in samsung_gpiolib_set()