Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/input/keyboard/
Dtca6416-keypad.c43 u16 pinmask; member
92 reg_val &= chip->pinmask; in tca6416_keys_scan()
109 if (chip->pinmask & (1 << i)) in tca6416_keys_scan()
159 chip->reg_direction | chip->pinmask); in tca6416_setup_registers()
171 chip->reg_input &= chip->pinmask; in tca6416_setup_registers()
211 chip->pinmask = pdata->pinmask; in tca6416_keypad_probe()
/linux-6.12.1/include/linux/
Dtca6416_keypad.h26 uint16_t pinmask; member
/linux-6.12.1/drivers/pinctrl/nuvoton/
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()
1446 unsigned long pinmask = BIT(gpio); in npcm7xx_get_slew_rate() local
1450 & pinmask; in npcm7xx_get_slew_rate()
1508 unsigned long pinmask = BIT(gpio); in npcm7xx_get_drive_strength() local
1516 & pinmask; in npcm7xx_get_drive_strength()
1710 unsigned long pinmask = BIT(gpio); in npcm7xx_config_get() local
1718 pu = ioread32(bank->base + NPCM7XX_GP_N_PU) & pinmask; in npcm7xx_config_get()
[all …]
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()
1861 unsigned long pinmask = BIT(gpio); in npcm8xx_get_slew_rate() local
1865 return ioread32(bank->base + NPCM8XX_GP_N_OSRC) & pinmask; in npcm8xx_get_slew_rate()
1921 unsigned long pinmask = BIT(gpio); in npcm8xx_get_drive_strength() local
1929 val = ioread32(bank->base + NPCM8XX_GP_N_ODSC) & pinmask; in npcm8xx_get_drive_strength()
2191 unsigned long pinmask = BIT(gpio); in npcm8xx_config_get() local
2199 pu = ioread32(bank->base + NPCM8XX_GP_N_PU) & pinmask; in npcm8xx_config_get()
[all …]
/linux-6.12.1/drivers/gpio/
Dgpio-mmio.c133 unsigned long pinmask = bgpio_line2mask(gc, gpio); in bgpio_get_set() local
134 bool dir = !!(gc->bgpio_dir & pinmask); in bgpio_get_set()
137 return !!(gc->read_reg(gc->reg_set) & pinmask); in bgpio_get_set()
139 return !!(gc->read_reg(gc->reg_dat) & pinmask); in bgpio_get_set()