Searched refs:scpi_ops (Results 1 - 6 of 6) sorted by relevance

/linux-master/include/linux/
H A Dscpi_protocol.h40 * struct scpi_ops - represents the various operations provided
63 struct scpi_ops { struct
82 struct scpi_ops *get_scpi_ops(void);
84 static inline struct scpi_ops *get_scpi_ops(void) { return NULL; }
/linux-master/drivers/hwmon/
H A Dscpi-hwmon.c33 struct scpi_ops *scpi_ops; member in struct:scpi_sensors
69 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; local
74 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value);
89 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; local
96 ret = scpi_ops
141 struct scpi_ops *scpi_ops; local
[all...]
/linux-master/drivers/pmdomain/arm/
H A Dscpi_pm_domain.c18 struct scpi_ops *ops;
72 struct scpi_ops *scpi_ops; local
75 scpi_ops = get_scpi_ops();
76 if (!scpi_ops)
84 if (!scpi_ops->device_set_power_state ||
85 !scpi_ops->device_get_power_state) {
112 scpi_pd->ops = scpi_ops;
/linux-master/drivers/cpufreq/
H A Dscpi-cpufreq.c28 static struct scpi_ops *scpi_ops; variable in typeref:struct:scpi_ops
63 domain = scpi_ops->device_domain_id(cpu_dev);
75 tdomain = scpi_ops->device_domain_id(tcpu_dev);
97 ret = scpi_ops->add_opps_to_device(cpu_dev);
150 latency = scpi_ops->get_transition_latency(cpu_dev);
200 scpi_ops = get_scpi_ops();
201 if (!scpi_ops)
214 scpi_ops = NULL;
/linux-master/drivers/clk/
H A Dclk-scpi.c20 struct scpi_ops *scpi_ops; member in struct:scpi_clk
32 return clk->scpi_ops->clk_get_val(clk->id);
52 return clk->scpi_ops->clk_set_val(clk->id, rate);
85 int idx = clk->scpi_ops->dvfs_get_idx(clk->id);
122 return clk->scpi_ops->dvfs_set_idx(clk->id, (u8)ret);
150 sclk->scpi_ops = get_scpi_ops();
153 sclk->info = sclk->scpi_ops->dvfs_get_info(sclk->id);
157 if (sclk->scpi_ops->clk_get_range(sclk->id, &min, &max) || !max)
/linux-master/drivers/firmware/
H A Darm_scpi.c256 struct scpi_ops *scpi_ops; member in struct:scpi_drvinfo
785 static struct scpi_ops scpi_ops = { variable in typeref:struct:scpi_ops
803 struct scpi_ops *get_scpi_ops(void)
805 return scpi_info ? scpi_info->scpi_ops : NULL;
991 scpi_ops.clk_set_val = legacy_scpi_clk_set_val;
1025 scpi_drvinfo->scpi_ops = &scpi_ops;

Completed in 146 milliseconds