Home
last modified time | relevance | path

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

/Zephyr-latest/soc/ite/ec/common/
Dchip_chipregs.h14 #define ECREG(x) x macro
20 #define ECREG(x) (*((volatile unsigned char *)(x))) macro
50 #define IT8XXX2_GCTRL_EIDSR ECREG(IT8XXX2_GCTRL_BASE + 0x31)
51 #define IT8XXX2_GCTRL_PMER3 ECREG(IT8XXX2_GCTRL_BASE + 0x46)
59 #define IT8XXX2_JTAG_PINS_BASE ECREG(0xF01660)
60 #define IT8XXX2_JTAG_VOLT_SET ECREG(0xF01648)
62 #define IT8XXX2_JTAG_PINS_BASE ECREG(0xF01610)
63 #define IT8XXX2_JTAG_VOLT_SET ECREG(0xF016e9)
69 #define IT8XXX2_EGPIO_EGCR ECREG(IT8XXX2_EGPIO_BASE + 0x04)
85 #define ISR0 ECREG(EC_REG_BASE_ADDR + 0x3F00)
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_ite_it8xxx2_v2.c97 ECREG(reg_gpcr) = GPCR_PORT_PIN_MODE_TRISTATE; in gpio_ite_configure()
102 if (ECREG(reg_gpcr) != GPCR_PORT_PIN_MODE_TRISTATE) { in gpio_ite_configure()
104 ECREG(reg_gpcr) = GPCR_PORT_PIN_MODE_INPUT; in gpio_ite_configure()
123 ECREG(reg_gpotr) |= mask; in gpio_ite_configure()
125 ECREG(reg_gpotr) &= ~mask; in gpio_ite_configure()
135 ECREG(reg_p18scr) |= mask; in gpio_ite_configure()
138 ECREG(reg_p18scr) &= ~mask; in gpio_ite_configure()
146 ECREG(reg_p18scr) &= ~mask; in gpio_ite_configure()
157 ECREG(reg_gpdr) |= mask; in gpio_ite_configure()
159 ECREG(reg_gpdr) &= ~mask; in gpio_ite_configure()
[all …]
/Zephyr-latest/tests/drivers/gpio/gpio_ite_it8xxx2_v2/include/
Dchip_chipregs.h12 #undef ECREG
15 #define ECREG(x) (*((volatile unsigned char *)fake_ecreg((intptr_t)x))) macro
/Zephyr-latest/drivers/interrupt_controller/
Dintc_ite_it8xxx2_v2.c20 #define IT8XXX2_INTC_ISR(g) ECREG(IT8XXX2_INTC_BASE_SHIFT(g) + \
23 #define IT8XXX2_INTC_IER(g) ECREG(IT8XXX2_INTC_BASE_SHIFT(g) + \
26 #define IT8XXX2_INTC_IELMR(g) ECREG(IT8XXX2_INTC_BASE_SHIFT(g) + \
29 #define IT8XXX2_INTC_IPOLR(g) ECREG(IT8XXX2_INTC_BASE_SHIFT(g) + \