Searched refs:mutex_id (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/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 | 388 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()
|
D | acutils.h | 218 const char *acpi_ut_get_mutex_name(u32 mutex_id); 646 acpi_status acpi_ut_acquire_mutex(acpi_mutex_handle mutex_id); 648 acpi_status acpi_ut_release_mutex(acpi_mutex_handle mutex_id);
|
/Linux-v6.6/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-cmdq.c | 49 s32 *mutex_id, u32 count) in mdp_path_subfrm_require() argument 80 *mutex_id = data->pipe_info[index].mutex_id; in mdp_path_subfrm_require() 88 mtk_mutex_write_mod(mutex[*mutex_id], in mdp_path_subfrm_require() 92 mtk_mutex_write_sof(mutex[*mutex_id], in mdp_path_subfrm_require() 100 s32 *mutex_id, u32 count) in mdp_path_subfrm_run() argument 110 if (-1 == *mutex_id) { in mdp_path_subfrm_run() 130 mtk_mutex_enable_by_cmdq(mutex[*mutex_id], (void *)&cmd->pkt); in mdp_path_subfrm_run() 177 s32 mutex_id; in mdp_path_config_subfrm() local 188 ret = mdp_path_subfrm_require(path, cmd, &mutex_id, count); in mdp_path_config_subfrm() 207 ret = mdp_path_subfrm_run(path, cmd, &mutex_id, count); in mdp_path_config_subfrm() [all …]
|
D | mtk-mdp3-core.c | 156 int ret, i, mutex_id; in mdp_probe() local 180 mutex_id = mdp->mdp_data->pipe_info[i].mutex_id; in mdp_probe() 181 if (!IS_ERR_OR_NULL(mdp->mdp_mutex[mutex_id])) in mdp_probe() 183 mdp->mdp_mutex[mutex_id] = mtk_mutex_get(&mm_pdev->dev); in mdp_probe() 184 if (IS_ERR(mdp->mdp_mutex[mutex_id])) { in mdp_probe() 185 ret = PTR_ERR(mdp->mdp_mutex[mutex_id]); in mdp_probe()
|
D | mtk-mdp3-core.h | 99 u32 mutex_id; member
|
/Linux-v6.6/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-phy-v2.c | 567 unsigned int mutex_id; in xgbe_phy_get_comm_ownership() local 580 mutex_id = 0; in xgbe_phy_get_comm_ownership() 581 XP_SET_BITS(mutex_id, XP_I2C_MUTEX, ID, phy_data->port_id); in xgbe_phy_get_comm_ownership() 582 XP_SET_BITS(mutex_id, XP_I2C_MUTEX, ACTIVE, 1); in xgbe_phy_get_comm_ownership() 594 XP_IOWRITE(pdata, XP_I2C_MUTEX, mutex_id); in xgbe_phy_get_comm_ownership() 595 XP_IOWRITE(pdata, XP_MDIO_MUTEX, mutex_id); in xgbe_phy_get_comm_ownership()
|