Lines Matching refs:src_id
299 uint8_t src_id = signal_info.bit; in espi_xec_send_vwire() local
303 if ((src_id >= ESPI_VWIRE_SRC_ID_MAX) || in espi_xec_send_vwire()
317 sys_write8(level, regaddr + MSVW_BI_SRC0 + src_id); in espi_xec_send_vwire()
323 sys_write8(level, regaddr + SMVW_BI_SRC0 + src_id); in espi_xec_send_vwire()
344 uint8_t src_id = signal_info.bit; in espi_xec_receive_vwire() local
348 if ((src_id >= ESPI_VWIRE_SRC_ID_MAX) || in espi_xec_receive_vwire()
361 *level = sys_read8(regaddr + MSVW_BI_SRC0 + src_id) & BIT(0); in espi_xec_receive_vwire()
366 *level = sys_read8(regaddr + SMVW_BI_SRC0 + src_id) & BIT(0); in espi_xec_receive_vwire()
832 uint8_t src_id, uint8_t intr_mode) in xec_espi_vw_intr_ctrl() argument
837 if ((msvw_idx >= ESPI_NUM_MSVW) || (src_id > 3)) { in xec_espi_vw_intr_ctrl()
843 sys_write8(intr_mode, msvw_addr + MSVW_BI_IRQ_SEL0 + src_id); in xec_espi_vw_intr_ctrl()