Searched refs:xdat (Results 1 – 2 of 2) sorted by relevance
672 struct espi_saf_xec_data *xdat = dev->data; in saf_ecp_access() local717 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()
848 struct espi_saf_xec_data *xdat = dev->data; in saf_ecp_access() local944 rc = k_sem_take(&xdat->ecp_lock, K_MSEC(MAX_SAF_FLASH_TIMEOUT_MS)); in saf_ecp_access()