Home
last modified time | relevance | path

Searched refs:scpi_ops (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/hwmon/
A Dscpi-hwmon.c33 struct scpi_ops *scpi_ops; member
69 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; in scpi_read_temp() local
74 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value); in scpi_read_temp()
89 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; in scpi_show_sensor() local
96 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value); in scpi_show_sensor()
141 struct scpi_ops *scpi_ops; in scpi_hwmon_probe() local
147 scpi_ops = get_scpi_ops(); in scpi_hwmon_probe()
148 if (!scpi_ops) in scpi_hwmon_probe()
151 ret = scpi_ops->sensor_get_capability(&nr_sensors); in scpi_hwmon_probe()
172 scpi_sensors->scpi_ops = scpi_ops; in scpi_hwmon_probe()
[all …]
/linux/drivers/firmware/
A Dscpi_pm_domain.c17 struct scpi_ops *ops;
71 struct scpi_ops *scpi_ops; in scpi_pm_domain_probe() local
74 scpi_ops = get_scpi_ops(); in scpi_pm_domain_probe()
75 if (!scpi_ops) in scpi_pm_domain_probe()
83 if (!scpi_ops->device_set_power_state || in scpi_pm_domain_probe()
84 !scpi_ops->device_get_power_state) { in scpi_pm_domain_probe()
111 scpi_pd->ops = scpi_ops; in scpi_pm_domain_probe()
A Darm_scpi.c253 struct scpi_ops *scpi_ops; member
782 static struct scpi_ops scpi_ops = { variable
800 struct scpi_ops *get_scpi_ops(void) in get_scpi_ops()
802 return scpi_info ? scpi_info->scpi_ops : NULL; in get_scpi_ops()
995 scpi_ops.clk_set_val = legacy_scpi_clk_set_val; in scpi_probe()
1025 scpi_info->scpi_ops = &scpi_ops; in scpi_probe()
/linux/drivers/cpufreq/
A Dscpi-cpufreq.c36 static struct scpi_ops *scpi_ops; variable
71 domain = scpi_ops->device_domain_id(cpu_dev); in scpi_get_sharing_cpus()
83 tdomain = scpi_ops->device_domain_id(tcpu_dev); in scpi_get_sharing_cpus()
105 ret = scpi_ops->add_opps_to_device(cpu_dev); in scpi_cpufreq_init()
158 latency = scpi_ops->get_transition_latency(cpu_dev); in scpi_cpufreq_init()
208 scpi_ops = get_scpi_ops(); in scpi_cpufreq_probe()
209 if (!scpi_ops) in scpi_cpufreq_probe()
222 scpi_ops = NULL; in scpi_cpufreq_remove()
/linux/drivers/clk/
A Dclk-scpi.c21 struct scpi_ops *scpi_ops; member
33 return clk->scpi_ops->clk_get_val(clk->id); in scpi_clk_recalc_rate()
53 return clk->scpi_ops->clk_set_val(clk->id, rate); in scpi_clk_set_rate()
86 int idx = clk->scpi_ops->dvfs_get_idx(clk->id); in scpi_dvfs_recalc_rate()
123 return clk->scpi_ops->dvfs_set_idx(clk->id, (u8)ret); in scpi_dvfs_set_rate()
151 sclk->scpi_ops = get_scpi_ops(); in scpi_clk_ops_init()
154 sclk->info = sclk->scpi_ops->dvfs_get_info(sclk->id); in scpi_clk_ops_init()
158 if (sclk->scpi_ops->clk_get_range(sclk->id, &min, &max) || !max) in scpi_clk_ops_init()
/linux/include/linux/
A Dscpi_protocol.h63 struct scpi_ops { struct
82 struct scpi_ops *get_scpi_ops(void); argument
84 static inline struct scpi_ops *get_scpi_ops(void) { return NULL; } in get_scpi_ops()
/linux/
A DSystem.map158147 ffff800012096a80 d scpi_ops
163296 ffff800012157180 b scpi_ops
A D.tmp_System.map158147 ffff800012096a80 d scpi_ops
163296 ffff800012157180 b scpi_ops

Completed in 377 milliseconds