Home
last modified time | relevance | path

Searched refs:cpuhp_state_num (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/perf/
Darm_dmc620_pmu.c100 static int cpuhp_state_num; variable
428 ret = cpuhp_state_add_instance_nocalls(cpuhp_state_num, &irq->node); in __dmc620_pmu_get_irq()
479 cpuhp_state_remove_instance_nocalls(cpuhp_state_num, &irq->node); in dmc620_pmu_put_irq()
730 cpuhp_state_num = cpuhp_setup_state_multi(CPUHP_AP_ONLINE_DYN, in dmc620_pmu_init()
734 if (cpuhp_state_num < 0) in dmc620_pmu_init()
735 return cpuhp_state_num; in dmc620_pmu_init()
739 cpuhp_remove_multi_state(cpuhp_state_num); in dmc620_pmu_init()
747 cpuhp_remove_multi_state(cpuhp_state_num); in dmc620_pmu_exit()
Darm_smmuv3_pmu.c119 static int cpuhp_state_num; variable
897 err = cpuhp_state_add_instance_nocalls(cpuhp_state_num, in smmu_pmu_probe()
920 cpuhp_state_remove_instance_nocalls(cpuhp_state_num, &smmu_pmu->node); in smmu_pmu_probe()
929 cpuhp_state_remove_instance_nocalls(cpuhp_state_num, &smmu_pmu->node); in smmu_pmu_remove()
964 cpuhp_state_num = cpuhp_setup_state_multi(CPUHP_AP_ONLINE_DYN, in arm_smmu_pmu_init()
968 if (cpuhp_state_num < 0) in arm_smmu_pmu_init()
969 return cpuhp_state_num; in arm_smmu_pmu_init()
973 cpuhp_remove_multi_state(cpuhp_state_num); in arm_smmu_pmu_init()
982 cpuhp_remove_multi_state(cpuhp_state_num); in arm_smmu_pmu_exit()