Home
last modified time | relevance | path

Searched refs:gctrl_regs (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/crypto/
Dcrypto_it8xxx2_sha_v2.c89 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in it8xxx2_sha256_module_calculation() local
110 gctrl_regs->GCTRL_PMER3 |= IT8XXX2_GCTRL_SRAM_CRYPTO_USED; in it8xxx2_sha256_module_calculation()
120 gctrl_regs->GCTRL_WNCKR = IT8XXX2_GCTRL_WN65K; in it8xxx2_sha256_module_calculation()
130 gctrl_regs->GCTRL_PMER3 &= ~IT8XXX2_GCTRL_SRAM_CRYPTO_USED; in it8xxx2_sha256_module_calculation()
131 gctrl_regs->GCTRL_PMER3; in it8xxx2_sha256_module_calculation()
149 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in it8xxx2_hash_handler() local
253 gctrl_regs->GCTRL_PMER3 |= IT8XXX2_GCTRL_SRAM_CRYPTO_USED; in it8xxx2_hash_handler()
261 gctrl_regs->GCTRL_WNCKR = IT8XXX2_GCTRL_WN65K; in it8xxx2_hash_handler()
272 gctrl_regs->GCTRL_PMER3 &= ~IT8XXX2_GCTRL_SRAM_CRYPTO_USED; in it8xxx2_hash_handler()
273 gctrl_regs->GCTRL_PMER3; in it8xxx2_hash_handler()
[all …]
/Zephyr-latest/soc/ite/ec/it8xxx2/
Dsoc.c375 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in ite_it8xxx2_init() local
388 gctrl_regs->GCTRL_WMCR |= BIT(7); in ite_it8xxx2_init()
394 gctrl_regs->GCTRL_MCCR &= ~IT8XXX2_GCTRL_USB_DEBUG_EN; in ite_it8xxx2_init()
419 gctrl_regs->GCTRL_RSTDMMC |= IT8XXX2_GCTRL_UART1SD; in ite_it8xxx2_init()
421 gctrl_regs->GCTRL_RSTC4 = IT8XXX2_GCTRL_RUART1; in ite_it8xxx2_init()
437 gctrl_regs->GCTRL_RSTDMMC |= IT8XXX2_GCTRL_UART2SD; in ite_it8xxx2_init()
439 gctrl_regs->GCTRL_RSTC4 = IT8XXX2_GCTRL_RUART2; in ite_it8xxx2_init()
/Zephyr-latest/drivers/flash/
Dflash_ite_it8xxx2.c96 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in ramcode_reset_i_cache() local
99 gctrl_regs->GCTRL_MCCR |= IT8XXX2_GCTRL_ICACHE_RESET; in ramcode_reset_i_cache()
103 gctrl_regs->GCTRL_MCCR &= ~IT8XXX2_GCTRL_ICACHE_RESET; in ramcode_reset_i_cache()
140 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in ramcode_flash_fsce_high() local
154 gctrl_regs->GCTRL_WNCKR = 0; in ramcode_flash_fsce_high()
155 gctrl_regs->GCTRL_WNCKR = 0; in ramcode_flash_fsce_high()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_ite_it8xxx2.c254 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in soc_interrupt_init() local
256 if (gctrl_regs->GCTRL_DBGROS & IT8XXX2_GCTRL_SMB_DBGR) { in soc_interrupt_init()
264 gctrl_regs->GCTRL_ETWDUARTCR |= IT8XXX2_GCTRL_ETWD_HW_RST_EN; in soc_interrupt_init()
273 gctrl_regs->GCTRL_ETWDUARTCR &= ~IT8XXX2_GCTRL_ETWD_HW_RST_EN; in soc_interrupt_init()
/Zephyr-latest/drivers/peci/
Dpeci_ite_it8xxx2.c221 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in peci_it8xxx2_rst_module() local
225 gctrl_regs->GCTRL_RSTC4 |= IT8XXX2_GCTRL_RPECI; in peci_it8xxx2_rst_module()
/Zephyr-latest/drivers/usb/device/
Dusb_dc_it82xx2.c565 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in it82xx2_usb_dc_attach_init() local
570 gctrl_regs->GCTRL_MCCR &= ~(IT8XXX2_GCTRL_MCCR_USB_EN); in it82xx2_usb_dc_attach_init()
571 gctrl_regs->gctrl_pmer2 |= IT8XXX2_GCTRL_PMER2_USB_PAD_EN; in it82xx2_usb_dc_attach_init()
1233 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in usb_dc_ep_set_stall() local
1249 gctrl_regs->GCTRL_WNCKR = 0; in usb_dc_ep_set_stall()
/Zephyr-latest/drivers/usb/udc/
Dudc_it82xx2.c524 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in ctrl_ep_stall_workaround() local
542 gctrl_regs->GCTRL_WNCKR = 0; in ctrl_ep_stall_workaround()
1455 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in it82xx2_init() local
1462 gctrl_regs->GCTRL_MCCR &= ~(IT8XXX2_GCTRL_MCCR_USB_EN); in it82xx2_init()
1463 gctrl_regs->gctrl_pmer2 |= IT8XXX2_GCTRL_PMER2_USB_PAD_EN; in it82xx2_init()