Lines Matching refs:throttle_irq
53 int throttle_irq; member
176 if (data->throttle_irq >= 0) in qcom_cpufreq_hw_get()
366 enable_irq(data->throttle_irq); in qcom_lmh_dcvs_notify()
388 disable_irq_nosync(c_data->throttle_irq); in qcom_lmh_dcvs_handle_irq()
436 data->throttle_irq = platform_get_irq_optional(pdev, index); in qcom_cpufreq_hw_lmh_init()
437 if (data->throttle_irq == -ENXIO) in qcom_cpufreq_hw_lmh_init()
439 if (data->throttle_irq < 0) in qcom_cpufreq_hw_lmh_init()
440 return data->throttle_irq; in qcom_cpufreq_hw_lmh_init()
449 ret = request_threaded_irq(data->throttle_irq, NULL, qcom_lmh_dcvs_handle_irq, in qcom_cpufreq_hw_lmh_init()
456 ret = irq_set_affinity_and_hint(data->throttle_irq, policy->cpus); in qcom_cpufreq_hw_lmh_init()
459 data->irq_name, data->throttle_irq); in qcom_cpufreq_hw_lmh_init()
470 if (data->throttle_irq <= 0) in qcom_cpufreq_hw_cpu_online()
477 ret = irq_set_affinity_and_hint(data->throttle_irq, policy->cpus); in qcom_cpufreq_hw_cpu_online()
480 data->irq_name, data->throttle_irq); in qcom_cpufreq_hw_cpu_online()
489 if (data->throttle_irq <= 0) in qcom_cpufreq_hw_cpu_offline()
497 irq_set_affinity_and_hint(data->throttle_irq, NULL); in qcom_cpufreq_hw_cpu_offline()
498 disable_irq_nosync(data->throttle_irq); in qcom_cpufreq_hw_cpu_offline()
505 if (data->throttle_irq <= 0) in qcom_cpufreq_hw_lmh_exit()
508 free_irq(data->throttle_irq, data); in qcom_cpufreq_hw_lmh_exit()
594 if (data->throttle_irq >= 0) in qcom_cpufreq_ready()
595 enable_irq(data->throttle_irq); in qcom_cpufreq_ready()