Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H 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
146 scpi_ops = get_scpi_ops(); in scpi_hwmon_probe()
147 if (!scpi_ops) in scpi_hwmon_probe()
150 ret = scpi_ops->sensor_get_capability(&nr_sensors); in scpi_hwmon_probe()
171 scpi_sensors->scpi_ops = scpi_ops; in scpi_hwmon_probe()
[all …]
/linux/drivers/pmdomain/arm/
H A Dscpi_pm_domain.c18 struct scpi_ops *ops;
72 struct scpi_ops *scpi_ops; in scpi_pm_domain_probe() local
75 scpi_ops = get_scpi_ops(); in scpi_pm_domain_probe()
76 if (!scpi_ops) in scpi_pm_domain_probe()
84 if (!scpi_ops->device_set_power_state || in scpi_pm_domain_probe()
85 !scpi_ops->device_get_power_state) { in scpi_pm_domain_probe()
112 scpi_pd->ops = scpi_ops; in scpi_pm_domain_probe()
/linux/drivers/cpufreq/
H A Dscpi-cpufreq.c28 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()
205 scpi_ops = get_scpi_ops(); in scpi_cpufreq_probe()
206 if (!scpi_ops) in scpi_cpufreq_probe()
219 scpi_ops = NULL; in scpi_cpufreq_remove()
/linux/include/linux/
H 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/drivers/firmware/
H A Darm_scpi.c257 struct scpi_ops *scpi_ops; member
789 static struct scpi_ops scpi_ops = { variable
807 struct scpi_ops *get_scpi_ops(void) in get_scpi_ops()
809 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()
1029 scpi_drvinfo->scpi_ops = &scpi_ops; in scpi_probe()