Home
last modified time | relevance | path

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

/linux/drivers/input/keyboard/
A Dtca6416-keypad.c49 u16 pinmask; member
98 reg_val &= chip->pinmask; in tca6416_keys_scan()
115 if (chip->pinmask & (1 << i)) in tca6416_keys_scan()
180 chip->reg_direction | chip->pinmask); in tca6416_setup_registers()
192 chip->reg_input &= chip->pinmask; in tca6416_setup_registers()
229 chip->pinmask = pdata->pinmask; in tca6416_keypad_probe()
/linux/drivers/pinctrl/nuvoton/
A Dpinctrl-npcm7xx.c103 unsigned int pinmask) in npcm_gpio_set() argument
110 val = ioread32(reg) | pinmask; in npcm_gpio_set()
117 unsigned int pinmask) in npcm_gpio_clr() argument
124 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()
1723 unsigned long pinmask = BIT(gpio); in npcm7xx_config_get() local
1731 pu = ioread32(bank->base + NPCM7XX_GP_N_PU) & pinmask; in npcm7xx_config_get()
[all …]
/linux/include/linux/
A Dtca6416_keypad.h26 uint16_t pinmask; member
/linux/drivers/gpio/
A Dgpio-mmio.c134 unsigned long pinmask = bgpio_line2mask(gc, gpio); in bgpio_get_set() local
135 bool dir = !!(gc->bgpio_dir & pinmask); in bgpio_get_set()
138 return !!(gc->read_reg(gc->reg_set) & pinmask); in bgpio_get_set()
140 return !!(gc->read_reg(gc->reg_dat) & pinmask); in bgpio_get_set()

Completed in 12 milliseconds