Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_ite_it8xxx2_v2.c38 uintptr_t reg_gpdr; member
81 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_configure() local
106 (uint32_t)reg_gpdr, pin); in gpio_ite_configure()
157 ECREG(reg_gpdr) |= mask; in gpio_ite_configure()
159 ECREG(reg_gpdr) &= ~mask; in gpio_ite_configure()
228 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_get_config() local
260 if (ECREG(reg_gpdr) & mask) { in gpio_ite_get_config()
304 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_port_set_masked_raw() local
308 uint8_t out = ECREG(reg_gpdr); in gpio_ite_port_set_masked_raw()
310 ECREG(reg_gpdr) = ((out & ~mask) | masked_value); in gpio_ite_port_set_masked_raw()
[all …]
Dgpio_ite_it8xxx2.c36 uintptr_t reg_gpdr; member
361 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_configure() local
429 *reg_gpdr |= mask; in gpio_ite_configure()
431 *reg_gpdr &= ~mask; in gpio_ite_configure()
467 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_get_config() local
504 if (*reg_gpdr & mask) { in gpio_ite_get_config()
547 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_port_set_masked_raw() local
548 uint8_t out = *reg_gpdr; in gpio_ite_port_set_masked_raw()
550 *reg_gpdr = ((out & ~mask) | (value & mask)); in gpio_ite_port_set_masked_raw()
559 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_port_set_bits_raw() local
[all …]