Searched refs:gctrl_regs (Results 1 – 7 of 7) sorted by relevance
89 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in it8xxx2_sha256_module_calculation() local110 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() local253 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 …]
375 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in ite_it8xxx2_init() local388 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()
96 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in ramcode_reset_i_cache() local99 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() local154 gctrl_regs->GCTRL_WNCKR = 0; in ramcode_flash_fsce_high()155 gctrl_regs->GCTRL_WNCKR = 0; in ramcode_flash_fsce_high()
254 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in soc_interrupt_init() local256 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()
221 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in peci_it8xxx2_rst_module() local225 gctrl_regs->GCTRL_RSTC4 |= IT8XXX2_GCTRL_RPECI; in peci_it8xxx2_rst_module()
565 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in it82xx2_usb_dc_attach_init() local570 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() local1249 gctrl_regs->GCTRL_WNCKR = 0; in usb_dc_ep_set_stall()
524 struct gctrl_it8xxx2_regs *const gctrl_regs = GCTRL_IT8XXX2_REGS_BASE; in ctrl_ep_stall_workaround() local542 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() local1462 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()