Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/drivers/gpio/
Dgpio_ite_it8xxx2_v2.c33 uintptr_t reg_gpdr; member
69 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_configure() local
92 (uint32_t)reg_gpdr, pin); in gpio_ite_configure()
140 *reg_gpdr |= mask; in gpio_ite_configure()
142 *reg_gpdr &= ~mask; in gpio_ite_configure()
177 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_get_config() local
208 if (*reg_gpdr & mask) { in gpio_ite_get_config()
251 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_port_set_masked_raw() local
252 uint8_t out = *reg_gpdr; in gpio_ite_port_set_masked_raw()
254 *reg_gpdr = ((out & ~mask) | (value & mask)); in gpio_ite_port_set_masked_raw()
[all …]
Dgpio_ite_it8xxx2.c35 uintptr_t reg_gpdr; member
360 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_configure() local
428 *reg_gpdr |= mask; in gpio_ite_configure()
430 *reg_gpdr &= ~mask; in gpio_ite_configure()
465 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_get_config() local
501 if (*reg_gpdr & mask) { in gpio_ite_get_config()
544 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_port_set_masked_raw() local
545 uint8_t out = *reg_gpdr; in gpio_ite_port_set_masked_raw()
547 *reg_gpdr = ((out & ~mask) | (value & mask)); in gpio_ite_port_set_masked_raw()
556 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_port_set_bits_raw() local
[all …]