Lines Matching refs:data
63 struct cpuidle_qcom_spm_data *data = container_of(drv, struct cpuidle_qcom_spm_data,
66 return CPU_PM_CPU_IDLE_ENTER_PARAM(qcom_cpu_spc, idx, data->spm);
83 { .compatible = "qcom,idle-state-spc", .data = spm_enter_idle_state },
91 struct cpuidle_qcom_spm_data *data = NULL;
108 data = devm_kzalloc(cpuidle_dev, sizeof(*data), GFP_KERNEL);
109 if (!data)
112 data->spm = dev_get_drvdata(&pdev->dev);
113 if (!data->spm)
116 data->cpuidle_driver = qcom_spm_idle_driver;
117 data->cpuidle_driver.cpumask = (struct cpumask *)cpumask_of(cpu);
119 ret = dt_init_idle_driver(&data->cpuidle_driver,
124 return cpuidle_register(&data->cpuidle_driver, NULL);