Home
last modified time | relevance | path

Searched refs:pinmask (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/input/keyboard/
H A Dtca6416-keypad.c50 u16 pinmask; member
99 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()
/openbmc/linux/include/linux/
H A Dtca6416_keypad.h26 uint16_t pinmask; member
/openbmc/linux/drivers/pinctrl/nuvoton/
H A Dpinctrl-npcm7xx.c105 unsigned int pinmask) in npcm_gpio_set() argument
112 val = ioread32(reg) | pinmask; in npcm_gpio_set()
119 unsigned int pinmask) in npcm_gpio_clr() argument
126 val = ioread32(reg) & ~pinmask; in npcm_gpio_clr()
1452 unsigned long pinmask = BIT(gpio); in npcm7xx_get_slew_rate() local
1456 & pinmask; in npcm7xx_get_slew_rate()
1514 unsigned long pinmask = BIT(gpio); in npcm7xx_get_drive_strength() local
1522 & pinmask; in npcm7xx_get_drive_strength()
1729 unsigned long pinmask = BIT(gpio); in npcm7xx_config_get() local
1737 pu = ioread32(bank->base + NPCM7XX_GP_N_PU) & pinmask; in npcm7xx_config_get()
[all …]
H A Dpinctrl-npcm8xx.c119 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
1926 unsigned long pinmask = BIT(gpio); in npcm8xx_get_drive_strength() local
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()
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-mmio.c136 unsigned long pinmask = bgpio_line2mask(gc, gpio); in bgpio_get_set() local
137 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()