Lines Matching refs:powergates_lock
441 struct mutex powergates_lock; member
637 mutex_lock(&pmc->powergates_lock); in tegra_powergate_set()
640 mutex_unlock(&pmc->powergates_lock); in tegra_powergate_set()
646 mutex_unlock(&pmc->powergates_lock); in tegra_powergate_set()
656 mutex_lock(&pmc->powergates_lock); in __tegra_powergate_remove_clamping()
683 mutex_unlock(&pmc->powergates_lock); in __tegra_powergate_remove_clamping()
1373 mutex_lock(&pmc->powergates_lock); in tegra_pmc_core_pd_set_performance_state()
1375 mutex_unlock(&pmc->powergates_lock); in tegra_pmc_core_pd_set_performance_state()
1638 mutex_lock(&pmc->powergates_lock); in tegra_io_pad_power_enable()
1657 mutex_unlock(&pmc->powergates_lock); in tegra_io_pad_power_enable()
1674 mutex_lock(&pmc->powergates_lock); in tegra_io_pad_power_disable()
1693 mutex_unlock(&pmc->powergates_lock); in tegra_io_pad_power_disable()
1727 mutex_lock(&pmc->powergates_lock); in tegra_io_pad_set_voltage()
1755 mutex_unlock(&pmc->powergates_lock); in tegra_io_pad_set_voltage()
2515 mutex_lock(&pmc->powergates_lock); in tegra_pmc_clk_notify_cb()
2523 mutex_unlock(&pmc->powergates_lock); in tegra_pmc_clk_notify_cb()
2995 mutex_lock(&pmc->powergates_lock); in tegra_pmc_probe()
2998 mutex_unlock(&pmc->powergates_lock); in tegra_pmc_probe()
3939 mutex_lock(&pmc->powergates_lock); in tegra_pmc_sync_state()
3941 mutex_unlock(&pmc->powergates_lock); in tegra_pmc_sync_state()
3999 mutex_init(&pmc->powergates_lock); in tegra_pmc_early_init()