Home
last modified time | relevance | path

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

/linux-6.1.9/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.h203 const char *acpi_ut_get_mutex_name(u32 mutex_id);
631 acpi_status acpi_ut_acquire_mutex(acpi_mutex_handle mutex_id);
633 acpi_status acpi_ut_release_mutex(acpi_mutex_handle mutex_id);
/linux-6.1.9/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-cmdq.c41 s32 *mutex_id, u32 count) in mdp_path_subfrm_require() argument
53 *mutex_id = MDP_PIPE_RDMA0; in mdp_path_subfrm_require()
56 *mutex_id = MDP_PIPE_IMGI; in mdp_path_subfrm_require()
59 *mutex_id = MDP_PIPE_WPEI; in mdp_path_subfrm_require()
62 *mutex_id = MDP_PIPE_WPEI2; in mdp_path_subfrm_require()
75 mtk_mutex_write_mod(mutex[*mutex_id], in mdp_path_subfrm_require()
79 mtk_mutex_write_sof(mutex[*mutex_id], in mdp_path_subfrm_require()
87 s32 *mutex_id, u32 count) in mdp_path_subfrm_run() argument
96 if (-1 == *mutex_id) { in mdp_path_subfrm_run()
113 mtk_mutex_enable_by_cmdq(mutex[*mutex_id], (void *)&cmd->pkt); in mdp_path_subfrm_run()
[all …]
/linux-6.1.9/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()