Searched refs:pinmask (Results 1 – 5 of 5) sorted by relevance
50 u16 pinmask; member99 reg_val &= chip->pinmask; in tca6416_keys_scan()116 if (chip->pinmask & (1 << i)) in tca6416_keys_scan()166 chip->reg_direction | chip->pinmask); in tca6416_setup_registers()178 chip->reg_input &= chip->pinmask; in tca6416_setup_registers()218 chip->pinmask = pdata->pinmask; in tca6416_keypad_probe()
26 uint16_t pinmask; member
105 unsigned int pinmask) in npcm_gpio_set() argument112 val = ioread32(reg) | pinmask; in npcm_gpio_set()119 unsigned int pinmask) in npcm_gpio_clr() argument126 val = ioread32(reg) & ~pinmask; in npcm_gpio_clr()1452 unsigned long pinmask = BIT(gpio); in npcm7xx_get_slew_rate() local1456 & pinmask; in npcm7xx_get_slew_rate()1514 unsigned long pinmask = BIT(gpio); in npcm7xx_get_drive_strength() local1522 & pinmask; in npcm7xx_get_drive_strength()1729 unsigned long pinmask = BIT(gpio); in npcm7xx_config_get() local1737 pu = ioread32(bank->base + NPCM7XX_GP_N_PU) & pinmask; in npcm7xx_config_get()[all …]
119 unsigned int pinmask) in npcm_gpio_set() argument124 iowrite32(ioread32(reg) | pinmask, reg); in npcm_gpio_set()129 unsigned int pinmask) in npcm_gpio_clr() argument134 iowrite32(ioread32(reg) & ~pinmask, reg); in npcm_gpio_clr()1866 unsigned long pinmask = BIT(gpio); in npcm8xx_get_slew_rate() local1926 unsigned long pinmask = BIT(gpio); in npcm8xx_get_drive_strength() local2196 unsigned long pinmask = BIT(gpio); in npcm8xx_config_get() local2204 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()[all …]
136 unsigned long pinmask = bgpio_line2mask(gc, gpio); in bgpio_get_set() local137 bool dir = !!(gc->bgpio_dir & pinmask); in bgpio_get_set()140 return !!(gc->read_reg(gc->reg_set) & pinmask); in bgpio_get_set()142 return !!(gc->read_reg(gc->reg_dat) & pinmask); in bgpio_get_set()