Searched refs:mutex_id (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/acpi/acpica/ |
D | utmutex.c | 15 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 …]
|
D | utdecode.c | 387 const char *acpi_ut_get_mutex_name(u32 mutex_id) in acpi_ut_get_mutex_name() argument 390 if (mutex_id > ACPI_MAX_MUTEX) { in acpi_ut_get_mutex_name() 394 return (acpi_gbl_mutex_names[mutex_id]); in acpi_ut_get_mutex_name()
|
D | acutils.h | 201 const char *acpi_ut_get_mutex_name(u32 mutex_id); 629 acpi_status acpi_ut_acquire_mutex(acpi_mutex_handle mutex_id); 631 acpi_status acpi_ut_release_mutex(acpi_mutex_handle mutex_id);
|
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-phy-v2.c | 560 unsigned int mutex_id; in xgbe_phy_get_comm_ownership() local 573 mutex_id = 0; in xgbe_phy_get_comm_ownership() 574 XP_SET_BITS(mutex_id, XP_I2C_MUTEX, ID, phy_data->port_id); in xgbe_phy_get_comm_ownership() 575 XP_SET_BITS(mutex_id, XP_I2C_MUTEX, ACTIVE, 1); in xgbe_phy_get_comm_ownership() 587 XP_IOWRITE(pdata, XP_I2C_MUTEX, mutex_id); in xgbe_phy_get_comm_ownership() 588 XP_IOWRITE(pdata, XP_MDIO_MUTEX, mutex_id); in xgbe_phy_get_comm_ownership()
|