Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/espi/
Despi_saf_mchp_xec.c61 struct k_sem ecp_lock; member
717 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()
Despi_saf_mchp_xec_v2.c84 struct k_sem ecp_lock; member
944 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()