Searched refs:gpiomap (Results 1 – 3 of 3) sorted by relevance
192 unsigned char gpiomap[ADP5588_MAXGPIO]; member220 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_get_value()221 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_get_value()240 unsigned int bank = ADP5588_BANK(kpad->gpiomap[off]); in adp5588_gpio_set_value()241 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_set_value()260 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_set_config()294 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_direction_input()312 unsigned int bit = ADP5588_BIT(kpad->gpiomap[off]); in adp5588_gpio_direction_output()353 kpad->gpiomap[n_unused++] = i; in adp5588_build_gpiomap()387 unsigned long real_irq = kpad->gpiomap[hwirq]; in adp5588_irq_mask()[all …]
242 unsigned char gpiomap[ADP5589_MAXGPIO]; member392 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()
267 qemu_irq gpiomap[5]; member317 qemu_set_irq(s->gpiomap[spitz_keycode & 0xf], (keycode < 0x80)); in spitz_keyboard_keydown()525 s->gpiomap[i] = qdev_get_gpio_in(cpu->gpio, spitz_gpiomap[i]); in spitz_keyboard_register()528 s->gpiomap[4] = qemu_irq_invert(s->gpiomap[4]); in spitz_keyboard_register()531 qemu_set_irq(s->gpiomap[i], 0); in spitz_keyboard_register()