Searched refs:voltdm (Results 1 - 25 of 25) sorted by relevance

/linux-master/arch/arm/mach-omap2/
H A Dvoltage.c47 * @voltdm: pointer to the voltdm for which current voltage info is needed
52 unsigned long voltdm_get_voltage(struct voltagedomain *voltdm) argument
54 if (!voltdm || IS_ERR(voltdm)) {
59 return voltdm->nominal_volt;
64 * @voltdm: pointer to the voltage domain which is to be scaled.
70 static int voltdm_scale(struct voltagedomain *voltdm, argument
76 if (!voltdm || IS_ERR(voltdm)) {
123 voltdm_reset(struct voltagedomain *voltdm) argument
154 omap_voltage_get_volttable(struct voltagedomain *voltdm, struct omap_volt_data **volt_data) argument
180 omap_voltage_get_voltdata(struct voltagedomain *voltdm, unsigned long volt) argument
216 omap_voltage_register_pmic(struct voltagedomain *voltdm, struct omap_voltdm_pmic *pmic) argument
238 struct voltagedomain *voltdm; local
277 struct voltagedomain *voltdm, *temp_voltdm; local
291 _voltdm_register(struct voltagedomain *voltdm) argument
312 struct voltagedomain *voltdm ; local
[all...]
H A Dvp.c13 static u32 _vp_set_init_voltage(struct voltagedomain *voltdm, u32 volt) argument
15 struct omap_vp_instance *vp = voltdm->vp;
19 vsel = voltdm->pmic->uv_to_vsel(volt);
21 vpconfig = voltdm->read(vp->vpconfig);
26 voltdm->write(vpconfig, vp->vpconfig);
29 voltdm->write((vpconfig | vp->common->vpconfig_initvdd),
33 voltdm->write(vpconfig, vp->vpconfig);
39 void __init omap_vp_init(struct voltagedomain *voltdm) argument
41 struct omap_vp_instance *vp = voltdm->vp;
45 if (!voltdm
98 omap_vp_update_errorgain(struct voltagedomain *voltdm, unsigned long target_volt) argument
121 omap_vp_forceupdate_scale(struct voltagedomain *voltdm, unsigned long target_volt) argument
197 omap_vp_enable(struct voltagedomain *voltdm) argument
241 omap_vp_disable(struct voltagedomain *voltdm) argument
[all...]
H A Dvc.c62 * OMAP5 register: PRM_VC_SMPS_<voltdm>_CONFIG
102 * @voltdm: pointer to voltagdomain defining the desired VC channel
116 static int omap_vc_config_channel(struct voltagedomain *voltdm) argument
118 struct omap_vc_channel *vc = voltdm->vc;
127 voltdm->rmw(CFG_CHANNEL_MASK << vc->cfg_channel_sa_shift,
135 int omap_vc_pre_scale(struct voltagedomain *voltdm, argument
139 struct omap_vc_channel *vc = voltdm->vc;
143 if (!voltdm->pmic) {
145 __func__, voltdm->name);
149 if (!voltdm
177 omap_vc_post_scale(struct voltagedomain *voltdm, unsigned long target_volt, u8 target_vsel, u8 current_vsel) argument
191 omap_vc_bypass_scale(struct voltagedomain *voltdm, unsigned long target_volt) argument
330 omap3_vc_init_pmic_signaling(struct voltagedomain *voltdm) argument
372 omap3_init_voltsetup1(struct voltagedomain *voltdm, struct omap3_vc_timings *c, u32 idle) argument
400 omap3_set_i2c_timings(struct voltagedomain *voltdm) argument
426 omap3_set_off_timings(struct voltagedomain *voltdm) argument
455 omap3_vc_init_channel(struct voltagedomain *voltdm) argument
472 omap4_calc_volt_ramp(struct voltagedomain *voltdm, u32 voltage_diff) argument
549 omap4_set_timings(struct voltagedomain *voltdm, bool off_mode) argument
587 omap4_vc_init_pmic_signaling(struct voltagedomain *voltdm) argument
597 omap4_vc_init_channel(struct voltagedomain *voltdm) argument
662 omap4_vc_i2c_timing_init(struct voltagedomain *voltdm) argument
742 omap_vc_i2c_init(struct voltagedomain *voltdm) argument
791 omap_vc_calc_vsel(struct voltagedomain *voltdm, u32 uvolt) argument
805 omap_vc_init_channel(struct voltagedomain *voltdm) argument
[all...]
H A Dpowerdomains2xxx_3xxx_data.c54 .voltdm = { .name = "core" },
61 .voltdm = { .name = "wakeup" },
H A Dpowerdomains3xxx_data.c50 .voltdm = { .name = "mpu_iva" },
66 .voltdm = { .name = "mpu_iva" },
82 .voltdm = { .name = "mpu_iva" },
109 .voltdm = { .name = "core" },
131 .voltdm = { .name = "core" },
148 .voltdm = { .name = "core" },
163 .voltdm = { .name = "core" },
178 .voltdm = { .name = "core" },
199 .voltdm = { .name = "core" },
214 .voltdm
[all...]
H A Dsmartreflex-class3.c17 unsigned long volt = voltdm_get_voltage(sr->voltdm);
25 omap_vp_enable(sr->voltdm);
32 omap_vp_disable(sr->voltdm);
35 voltdm_reset(sr->voltdm);
H A Dpowerdomains54xx_data.c31 .voltdm = { .name = "core" },
57 .voltdm = { .name = "core" },
77 .voltdm = { .name = "core" },
86 .voltdm = { .name = "core" },
104 .voltdm = { .name = "mpu" },
121 .voltdm = { .name = "mpu" },
138 .voltdm = { .name = "wkup" },
154 .voltdm = { .name = "mpu" },
173 .voltdm = { .name = "core" },
183 .voltdm
[all...]
H A Dpowerdomains43xx_data.c19 .voltdm = { .name = "core" },
32 .voltdm = { .name = "mpu" },
53 .voltdm = { .name = "rtc" },
61 .voltdm = { .name = "core" },
73 .voltdm = { .name = "tamper" },
81 .voltdm = { .name = "core" },
90 .voltdm = { .name = "core" },
H A Dvp.h115 void omap_vp_init(struct voltagedomain *voltdm);
116 void omap_vp_enable(struct voltagedomain *voltdm);
117 void omap_vp_disable(struct voltagedomain *voltdm);
118 int omap_vp_forceupdate_scale(struct voltagedomain *voltdm,
120 int omap_vp_update_errorgain(struct voltagedomain *voltdm,
H A Domap_twl.c215 struct voltagedomain *voltdm; local
221 voltdm = voltdm_lookup("mpu");
222 omap_voltage_register_pmic(voltdm, &omap4_mpu_pmic);
224 voltdm = voltdm_lookup("iva");
225 omap_voltage_register_pmic(voltdm, &omap4_iva_pmic);
227 voltdm = voltdm_lookup("core");
228 omap_voltage_register_pmic(voltdm, &omap4_core_pmic);
235 struct voltagedomain *voltdm; local
240 voltdm = voltdm_lookup("mpu_iva");
241 omap_voltage_register_pmic(voltdm,
[all...]
H A Dvoltage.h83 int (*scale) (struct voltagedomain *voltdm,
151 void omap_voltage_get_volttable(struct voltagedomain *voltdm,
153 struct omap_volt_data *omap_voltage_get_voltdata(struct voltagedomain *voltdm,
155 int omap_voltage_register_pmic(struct voltagedomain *voltdm,
166 void voltdm_reset(struct voltagedomain *voltdm);
167 unsigned long voltdm_get_voltage(struct voltagedomain *voltdm);
H A Dpmic-cpcap.c240 struct voltagedomain *voltdm; local
245 voltdm = voltdm_lookup("mpu");
246 omap_voltage_register_pmic(voltdm, &omap443x_max8952_mpu);
249 voltdm = voltdm_lookup("core");
250 omap_voltage_register_pmic(voltdm, &omap_cpcap_core);
252 voltdm = voltdm_lookup("iva");
253 omap_voltage_register_pmic(voltdm, &omap_cpcap_iva);
255 voltdm = voltdm_lookup("core");
256 omap_voltage_register_pmic(voltdm, &omap4_fan_core);
258 voltdm
[all...]
H A Dvoltagedomains3xxx_data.c99 struct voltagedomain *voltdm; local
127 for (i = 0; voltdm = voltdms[i], voltdm; i++)
128 voltdm->sys_clk.name = sys_clk_name;
H A Dpowerdomains44xx_data.c33 .voltdm = { .name = "core" },
59 .voltdm = { .name = "core" },
76 .voltdm = { .name = "iva" },
96 .voltdm = { .name = "core" },
114 .voltdm = { .name = "iva" },
136 .voltdm = { .name = "wakeup" },
152 .voltdm = { .name = "mpu" },
169 .voltdm = { .name = "mpu" },
186 .voltdm = { .name = "wakeup" },
202 .voltdm
[all...]
H A Dpowerdomains2xxx_data.c38 .voltdm = { .name = "core" },
53 .voltdm = { .name = "core" },
72 .voltdm = { .name = "core" },
94 .voltdm = { .name = "core" },
H A Dvc.h122 void omap_vc_init_channel(struct voltagedomain *voltdm);
123 int omap_vc_pre_scale(struct voltagedomain *voltdm,
126 void omap_vc_post_scale(struct voltagedomain *voltdm,
129 int omap_vc_bypass_scale(struct voltagedomain *voltdm,
H A Dvoltagedomains54xx_data.c82 struct voltagedomain *voltdm; local
85 for (i = 0; voltdm = voltagedomains_omap5[i], voltdm; i++)
86 voltdm->sys_clk.name = sys_clk_name;
H A Dsr_device.c89 static int __init sr_init_by_name(const char *name, const char *voltdm) argument
129 sr_data->voltdm = voltdm_lookup(voltdm);
130 if (!sr_data->voltdm) {
132 __func__, voltdm);
136 omap_voltage_get_volttable(sr_data->voltdm, &volt_data);
198 const char *name, *voltdm; local
202 voltdm = sr_inst[i];
203 sr_init_by_name(name, voltdm);
H A Dpowerdomains33xx_data.c18 .voltdm = { .name = "core" },
49 .voltdm = { .name = "rtc" },
59 .voltdm = { .name = "core" },
69 .voltdm = { .name = "core" },
112 .voltdm = { .name = "mpu" },
155 .voltdm = { .name = "core" },
H A Dvoltagedomains44xx_data.c96 struct voltagedomain *voltdm; local
123 for (i = 0; voltdm = voltagedomains_omap4[i], voltdm; i++)
124 voltdm->sys_clk.name = sys_clk_name;
H A Dpowerdomain.c92 struct voltagedomain *voltdm; local
111 voltdm = voltdm_lookup(pwrdm->voltdm.name);
112 if (!voltdm) {
114 pwrdm->name, pwrdm->voltdm.name);
117 pwrdm->voltdm.ptr = voltdm;
H A Dpowerdomain.h79 * @voltdm: voltagedomain containing this powerdomain
114 } voltdm; member in struct:powerdomain
167 * @pwrdm_has_voltdm: Check if a voltdm association is needed
/linux-master/include/linux/platform_data/
H A Dvoltage-omap.h32 unsigned long voltdm_get_voltage(struct voltagedomain *voltdm);
33 struct omap_volt_data *omap_voltage_get_voltdata(struct voltagedomain *voltdm,
/linux-master/include/linux/power/
H A Dsmartreflex.h155 struct voltagedomain *voltdm; member in struct:omap_sr
278 * @voltdm: Pointer to the voltage domain associated with the SR
292 struct voltagedomain *voltdm; member in struct:omap_sr_data
301 void omap_sr_enable(struct voltagedomain *voltdm);
302 void omap_sr_disable(struct voltagedomain *voltdm);
303 void omap_sr_disable_reset_volt(struct voltagedomain *voltdm);
315 static inline void omap_sr_enable(struct voltagedomain *voltdm) {} argument
316 static inline void omap_sr_disable(struct voltagedomain *voltdm) {} argument
318 struct voltagedomain *voltdm) {}
317 omap_sr_disable_reset_volt( struct voltagedomain *voltdm) argument
/linux-master/drivers/soc/ti/
H A Dsmartreflex.c78 static struct omap_sr *_sr_lookup(struct voltagedomain *voltdm) argument
82 if (!voltdm) {
88 if (voltdm == sr_info->voltdm)
557 volt_data = omap_voltage_get_voltdata(sr->voltdm, volt);
678 * @voltdm: VDD pointer to which the SR module to be configured belongs to.
685 void omap_sr_enable(struct voltagedomain *voltdm) argument
687 struct omap_sr *sr = _sr_lookup(voltdm);
690 pr_warn("%s: omap_sr struct for voltdm not found\n", __func__);
709 * @voltdm
717 omap_sr_disable(struct voltagedomain *voltdm) argument
749 omap_sr_disable_reset_volt(struct voltagedomain *voltdm) argument
[all...]

Completed in 152 milliseconds