Lines Matching refs:powergates_lock
453 struct mutex powergates_lock; member
655 mutex_lock(&pmc->powergates_lock); in tegra_powergate_set()
658 mutex_unlock(&pmc->powergates_lock); in tegra_powergate_set()
664 mutex_unlock(&pmc->powergates_lock); in tegra_powergate_set()
674 mutex_lock(&pmc->powergates_lock); in __tegra_powergate_remove_clamping()
701 mutex_unlock(&pmc->powergates_lock); in __tegra_powergate_remove_clamping()
1381 mutex_lock(&pmc->powergates_lock); in tegra_pmc_core_pd_set_performance_state()
1383 mutex_unlock(&pmc->powergates_lock); in tegra_pmc_core_pd_set_performance_state()
1627 mutex_lock(&pmc->powergates_lock); in tegra_io_pad_power_enable()
1646 mutex_unlock(&pmc->powergates_lock); in tegra_io_pad_power_enable()
1670 mutex_lock(&pmc->powergates_lock); in tegra_io_pad_power_disable()
1689 mutex_unlock(&pmc->powergates_lock); in tegra_io_pad_power_disable()
1730 mutex_lock(&pmc->powergates_lock); in tegra_io_pad_set_voltage()
1758 mutex_unlock(&pmc->powergates_lock); in tegra_io_pad_set_voltage()
2555 mutex_lock(&pmc->powergates_lock); in tegra_pmc_clk_notify_cb()
2563 mutex_unlock(&pmc->powergates_lock); in tegra_pmc_clk_notify_cb()
3034 mutex_lock(&pmc->powergates_lock); in tegra_pmc_probe()
3037 mutex_unlock(&pmc->powergates_lock); in tegra_pmc_probe()
4308 mutex_lock(&pmc->powergates_lock); in tegra_pmc_sync_state()
4310 mutex_unlock(&pmc->powergates_lock); in tegra_pmc_sync_state()
4368 mutex_init(&pmc->powergates_lock); in tegra_pmc_early_init()