Lines Matching refs:vw_reg
702 struct espi_vw_regs *const vw_reg = in espi_it8xxx2_send_vwire() local
713 vw_reg->VW_INDEX[vw_index] |= level_mask; in espi_it8xxx2_send_vwire()
715 vw_reg->VW_INDEX[vw_index] &= ~level_mask; in espi_it8xxx2_send_vwire()
718 vw_reg->VW_INDEX[vw_index] |= valid_mask; in espi_it8xxx2_send_vwire()
727 struct espi_vw_regs *const vw_reg = in espi_it8xxx2_receive_vwire() local
738 if (vw_reg->VW_INDEX[vw_index] & valid_mask) { in espi_it8xxx2_receive_vwire()
739 *level = !!(vw_reg->VW_INDEX[vw_index] & level_mask); in espi_it8xxx2_receive_vwire()
745 *level = !!(vw_reg->VW_INDEX[vw_index] & level_mask); in espi_it8xxx2_receive_vwire()
1568 struct espi_vw_regs *const vw_reg = in espi_it8xxx2_reset_vwidx_cache() local
1574 vw_reg->VW_INDEX[vwidx_isr_list[i].vw_index]; in espi_it8xxx2_reset_vwidx_cache()
1581 struct espi_vw_regs *const vw_reg = in espi_it8xxx2_vw_isr() local
1583 uint8_t vwidx_updated = vw_reg->VWCTRL1; in espi_it8xxx2_vw_isr()
1586 vw_reg->VWCTRL1 = vwidx_updated; in espi_it8xxx2_vw_isr()
1592 vw_flag = vw_reg->VW_INDEX[vwidx_isr_list[i].vw_index]; in espi_it8xxx2_vw_isr()
1899 struct espi_vw_regs *const vw_reg = in espi_it8xxx2_init() local
1938 vw_reg->VWCTRL0 |= IT8XXX2_ESPI_VW_INTERRUPT_ENABLE; in espi_it8xxx2_init()
1944 vw_reg->VWCTRL2 |= IT8XXX2_ESPI_VW_RESET_PLTRST; in espi_it8xxx2_init()