Lines Matching refs:VWEVSM
517 uint8_t valid = GET_FIELD(inst->VWEVSM[idx], NPCX_VWEVSM_VALID); in espi_vw_config_output()
521 SET_FIELD(inst->VWEVSM[idx], NPCX_VWEVSM_VALID, valid); in espi_vw_config_output()
527 SET_FIELD(inst->VWEVSM[idx], NPCX_VWEVSM_HW_WIRE, 0); in espi_vw_config_output()
529 LOG_DBG("VWEVSM%d 0x%08X", idx, inst->VWEVSM[idx]); in espi_vw_config_output()
839 val = GET_FIELD(inst->VWEVSM[reg_idx], NPCX_VWEVSM_WIRE); in espi_npcx_send_vwire()
852 SET_FIELD(inst->VWEVSM[reg_idx], NPCX_VWEVSM_WIRE, val); in espi_npcx_send_vwire()
853 reg_val = inst->VWEVSM[reg_idx]; in espi_npcx_send_vwire()
892 val = GET_FIELD(inst->VWEVSM[reg_idx], in espi_npcx_receive_vwire()
896 val &= GET_FIELD(inst->VWEVSM[reg_idx], in espi_npcx_receive_vwire()
1477 SET_FIELD(inst->VWEVSM[num], NPCX_VWEVSM_INDEX, index); in espi_npcx_init()
1478 SET_FIELD(inst->VWEVSM[num], NPCX_VWEVSM_VALID, 0x0); in espi_npcx_init()
1479 inst->VWEVSM[num] |= BIT(NPCX_VWEVSM_INDEX_EN); in espi_npcx_init()