Searched refs:ecp_lock (Results 1 – 2 of 2) sorted by relevance
61 struct k_sem ecp_lock; member717 k_sem_take(&xdat->ecp_lock, K_FOREVER); in saf_ecp_access()766 k_sem_give(&xdat->ecp_lock); in saf_ecp_access()869 k_sem_init(&data->ecp_lock, 1, 1); in espi_saf_xec_init()
84 struct k_sem ecp_lock; member944 rc = k_sem_take(&xdat->ecp_lock, K_MSEC(MAX_SAF_FLASH_TIMEOUT_MS)); in saf_ecp_access()1044 k_sem_give(&data->ecp_lock); in espi_saf_done_isr()1092 k_sem_init(&data->ecp_lock, 0, 1); in espi_saf_xec_init()