Home
last modified time | relevance | path

Searched refs:mutex_id (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dutmutex.c15 static acpi_status acpi_ut_create_mutex(acpi_mutex_handle mutex_id);
17 static void acpi_ut_delete_mutex(acpi_mutex_handle mutex_id);
133 static acpi_status acpi_ut_create_mutex(acpi_mutex_handle mutex_id) in acpi_ut_create_mutex() argument
137 ACPI_FUNCTION_TRACE_U32(ut_create_mutex, mutex_id); in acpi_ut_create_mutex()
139 if (!acpi_gbl_mutex_info[mutex_id].mutex) { in acpi_ut_create_mutex()
141 acpi_os_create_mutex(&acpi_gbl_mutex_info[mutex_id].mutex); in acpi_ut_create_mutex()
142 acpi_gbl_mutex_info[mutex_id].thread_id = in acpi_ut_create_mutex()
144 acpi_gbl_mutex_info[mutex_id].use_count = 0; in acpi_ut_create_mutex()
162 static void acpi_ut_delete_mutex(acpi_mutex_handle mutex_id) in acpi_ut_delete_mutex() argument
165 ACPI_FUNCTION_TRACE_U32(ut_delete_mutex, mutex_id); in acpi_ut_delete_mutex()
[all …]
Dutdecode.c388 const char *acpi_ut_get_mutex_name(u32 mutex_id) in acpi_ut_get_mutex_name() argument
391 if (mutex_id > ACPI_MAX_MUTEX) { in acpi_ut_get_mutex_name()
395 return (acpi_gbl_mutex_names[mutex_id]); in acpi_ut_get_mutex_name()
Dacutils.h202 const char *acpi_ut_get_mutex_name(u32 mutex_id);
630 acpi_status acpi_ut_acquire_mutex(acpi_mutex_handle mutex_id);
632 acpi_status acpi_ut_release_mutex(acpi_mutex_handle mutex_id);
/kernel/liteos_m/kal/cmsis/
Dcmsis_liteos2.c1029 osStatus_t osMutexAcquire(osMutexId_t mutex_id, uint32_t timeout) in osMutexAcquire() argument
1031 LosMuxCB *muxCB = (LosMuxCB *)mutex_id; in osMutexAcquire()
1053 osStatus_t osMutexRelease(osMutexId_t mutex_id) in osMutexRelease() argument
1055 LosMuxCB *muxCB = (LosMuxCB *)mutex_id; in osMutexRelease()
1075 osThreadId_t osMutexGetOwner(osMutexId_t mutex_id) in osMutexGetOwner() argument
1084 if (mutex_id == NULL) { in osMutexGetOwner()
1089 pstTaskCB = ((LosMuxCB *)mutex_id)->owner; in osMutexGetOwner()
1095 osStatus_t osMutexDelete(osMutexId_t mutex_id) in osMutexDelete() argument
1103 if (mutex_id == NULL) { in osMutexDelete()
1107 ret = LOS_MuxDelete(((LosMuxCB *)mutex_id)->muxID); in osMutexDelete()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c562 unsigned int mutex_id; in xgbe_phy_get_comm_ownership() local
575 mutex_id = 0; in xgbe_phy_get_comm_ownership()
576 XP_SET_BITS(mutex_id, XP_I2C_MUTEX, ID, phy_data->port_id); in xgbe_phy_get_comm_ownership()
577 XP_SET_BITS(mutex_id, XP_I2C_MUTEX, ACTIVE, 1); in xgbe_phy_get_comm_ownership()
589 XP_IOWRITE(pdata, XP_I2C_MUTEX, mutex_id); in xgbe_phy_get_comm_ownership()
590 XP_IOWRITE(pdata, XP_MDIO_MUTEX, mutex_id); in xgbe_phy_get_comm_ownership()