Home
last modified time | relevance | path

Searched refs:xdat (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.6.0/drivers/espi/
Despi_saf_mchp_xec.c672 struct espi_saf_xec_data *xdat = dev->data; in saf_ecp_access() local
717 k_sem_take(&xdat->ecp_lock, K_FOREVER); in saf_ecp_access()
745 xdat->hwstatus = regs->SAF_ECP_STATUS; in saf_ecp_access()
746 while (!(xdat->hwstatus & MCHP_SAF_ECP_STS_DONE)) { in saf_ecp_access()
751 xdat->hwstatus = regs->SAF_ECP_STATUS; in saf_ecp_access()
755 regs->SAF_ECP_STATUS = xdat->hwstatus; in saf_ecp_access()
756 if (xdat->hwstatus & MCHP_SAF_ECP_STS_ERR_MASK) { in saf_ecp_access()
766 k_sem_give(&xdat->ecp_lock); in saf_ecp_access()
Despi_saf_mchp_xec_v2.c848 struct espi_saf_xec_data *xdat = dev->data; in saf_ecp_access() local
944 rc = k_sem_take(&xdat->ecp_lock, K_MSEC(MAX_SAF_FLASH_TIMEOUT_MS)); in saf_ecp_access()