Searched refs:scpi_ops (Results 1 – 5 of 5) sorted by relevance
39 struct scpi_ops *scpi_ops; member51 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; in scpi_read_temp() local56 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value); in scpi_read_temp()69 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; in scpi_show_sensor() local76 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value); in scpi_show_sensor()102 struct scpi_ops *scpi_ops; in scpi_hwmon_probe() local107 scpi_ops = get_scpi_ops(); in scpi_hwmon_probe()108 if (!scpi_ops) in scpi_hwmon_probe()111 ret = scpi_ops->sensor_get_capability(&nr_sensors); in scpi_hwmon_probe()132 scpi_sensors->scpi_ops = scpi_ops; in scpi_hwmon_probe()[all …]
28 struct scpi_ops *ops;83 struct scpi_ops *scpi_ops; in scpi_pm_domain_probe() local86 scpi_ops = get_scpi_ops(); in scpi_pm_domain_probe()87 if (!scpi_ops) in scpi_pm_domain_probe()95 if (!scpi_ops->device_set_power_state || in scpi_pm_domain_probe()96 !scpi_ops->device_get_power_state) { in scpi_pm_domain_probe()123 scpi_pd->ops = scpi_ops; in scpi_pm_domain_probe()
165 struct scpi_ops *scpi_ops; member568 static struct scpi_ops scpi_ops = { variable583 struct scpi_ops *get_scpi_ops(void) in get_scpi_ops()585 return scpi_info ? scpi_info->scpi_ops : NULL; in get_scpi_ops()773 scpi_info->scpi_ops = &scpi_ops; in scpi_probe()
31 static struct scpi_ops *scpi_ops; variable39 return scpi_ops->dvfs_get_info(domain); in scpi_get_dvfs_info()91 scpi_ops = get_scpi_ops(); in scpi_cpufreq_probe()92 if (!scpi_ops) in scpi_cpufreq_probe()101 scpi_ops = NULL; in scpi_cpufreq_remove()
32 struct scpi_ops *scpi_ops; member44 return clk->scpi_ops->clk_get_val(clk->id); in scpi_clk_recalc_rate()64 return clk->scpi_ops->clk_set_val(clk->id, rate); in scpi_clk_set_rate()97 int idx = clk->scpi_ops->dvfs_get_idx(clk->id); in scpi_dvfs_recalc_rate()134 return clk->scpi_ops->dvfs_set_idx(clk->id, (u8)ret); in scpi_dvfs_set_rate()162 sclk->scpi_ops = get_scpi_ops(); in scpi_clk_ops_init()165 sclk->info = sclk->scpi_ops->dvfs_get_info(sclk->id); in scpi_clk_ops_init()169 if (sclk->scpi_ops->clk_get_range(sclk->id, &min, &max) || !max) in scpi_clk_ops_init()