Home
last modified time | relevance | path

Searched refs:gpiomap (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/input/keyboard/
Dadp5588-keys.c49 unsigned char gpiomap[ADP5588_MAXGPIO]; member
77 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_get_value()
78 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_get_value()
97 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_set_value()
98 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_set_value()
116 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_direction_input()
117 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_direction_input()
134 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_direction_output()
135 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_direction_output()
177 kpad->gpiomap[n_unused++] = i; in adp5588_build_gpiomap()
Dadp5589-keys.c242 unsigned char gpiomap[ADP5589_MAXGPIO]; member
392 unsigned int bank = kpad->var->bank(kpad->gpiomap[off]); in adp5589_gpio_get_value()
393 unsigned int bit = kpad->var->bit(kpad->gpiomap[off]); in adp5589_gpio_get_value()
404 unsigned int bank = kpad->var->bank(kpad->gpiomap[off]); in adp5589_gpio_set_value()
405 unsigned int bit = kpad->var->bit(kpad->gpiomap[off]); in adp5589_gpio_set_value()
423 unsigned int bank = kpad->var->bank(kpad->gpiomap[off]); in adp5589_gpio_direction_input()
424 unsigned int bit = kpad->var->bit(kpad->gpiomap[off]); in adp5589_gpio_direction_input()
443 unsigned int bank = kpad->var->bank(kpad->gpiomap[off]); in adp5589_gpio_direction_output()
444 unsigned int bit = kpad->var->bit(kpad->gpiomap[off]); in adp5589_gpio_direction_output()
494 kpad->gpiomap[n_unused++] = i; in adp5589_build_gpiomap()