Lines Matching refs:pinmask
119 unsigned int pinmask) in npcm_gpio_set() argument
124 iowrite32(ioread32(reg) | pinmask, reg); in npcm_gpio_set()
129 unsigned int pinmask) in npcm_gpio_clr() argument
134 iowrite32(ioread32(reg) & ~pinmask, reg); in npcm_gpio_clr()
1866 unsigned long pinmask = BIT(gpio); in npcm8xx_get_slew_rate() local
1870 return ioread32(bank->base + NPCM8XX_GP_N_OSRC) & pinmask; in npcm8xx_get_slew_rate()
1926 unsigned long pinmask = BIT(gpio); in npcm8xx_get_drive_strength() local
1934 val = ioread32(bank->base + NPCM8XX_GP_N_ODSC) & pinmask; in npcm8xx_get_drive_strength()
2196 unsigned long pinmask = BIT(gpio); in npcm8xx_config_get() local
2204 pu = ioread32(bank->base + NPCM8XX_GP_N_PU) & pinmask; in npcm8xx_config_get()
2205 pd = ioread32(bank->base + NPCM8XX_GP_N_PD) & pinmask; in npcm8xx_config_get()
2215 ie = ioread32(bank->base + NPCM8XX_GP_N_IEM) & pinmask; in npcm8xx_config_get()
2216 oe = ioread32(bank->base + NPCM8XX_GP_N_OE) & pinmask; in npcm8xx_config_get()
2223 rc = !(ioread32(bank->base + NPCM8XX_GP_N_OTYP) & pinmask); in npcm8xx_config_get()
2226 rc = ioread32(bank->base + NPCM8XX_GP_N_OTYP) & pinmask; in npcm8xx_config_get()
2229 rc = ioread32(bank->base + NPCM8XX_GP_N_DBNC) & pinmask; in npcm8xx_config_get()