Home
last modified time | relevance | path

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

123

/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/arm/mach-omap2/
H A Dvoltage.c54 if (!voltdm || IS_ERR(voltdm)) { in voltdm_get_voltage()
76 if (!voltdm || IS_ERR(voltdm)) { in voltdm_scale()
107 ret = voltdm->scale(voltdm, volt); in voltdm_scale()
127 if (!voltdm || IS_ERR(voltdm)) { in voltdm_reset()
157 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_get_volttable()
185 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_get_voltdata()
219 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_register_pmic()
279 voltdm = NULL; in _voltdm_lookup()
288 return voltdm; in _voltdm_lookup()
293 if (!voltdm || !voltdm->name) in _voltdm_register()
[all …]
H A Dvp.c45 if (!voltdm->pmic || !voltdm->pmic->uv_to_vsel) { in omap_vp_init()
50 if (!voltdm->read || !voltdm->write) { in omap_vp_init()
62 vddmin = max(voltdm->vp_param->vddmin, voltdm->pmic->vddmin); in omap_vp_init()
63 vddmax = min(voltdm->vp_param->vddmax, voltdm->pmic->vddmax); in omap_vp_init()
103 if (!voltdm->vp) in omap_vp_update_errorgain()
112 voltdm->rmw(voltdm->vp->common->vpconfig_errorgain_mask, in omap_vp_update_errorgain()
202 if (!voltdm || IS_ERR(voltdm)) { in omap_vp_enable()
207 vp = voltdm->vp; in omap_vp_enable()
208 if (!voltdm->read || !voltdm->write) { in omap_vp_enable()
247 if (!voltdm || IS_ERR(voltdm)) { in omap_vp_disable()
[all …]
H A Dvc.c158 if (!voltdm->read || !voltdm->write) { in omap_vc_pre_scale()
165 *current_vsel = voltdm->pmic->uv_to_vsel(voltdm->nominal_volt); in omap_vc_pre_scale()
340 vc.vd = voltdm; in omap3_vc_init_pmic_signaling()
380 val = (voltdm->vc_param->on - idle) / voltdm->pmic->slew_rate; in omap3_init_voltsetup1()
408 omap3_init_voltsetup1(voltdm, c, voltdm->vc_param->off); in omap3_set_i2c_timings()
411 omap3_init_voltsetup1(voltdm, c, voltdm->vc_param->ret); in omap3_set_i2c_timings()
561 voltdm->vc_param->on - voltdm->vc_param->off); in omap4_set_timings()
565 voltdm->vc_param->on - voltdm->vc_param->ret); in omap4_set_timings()
829 if (!voltdm->pmic || !voltdm->pmic->uv_to_vsel) { in omap_vc_init_channel()
834 if (!voltdm->read || !voltdm->write) { in omap_vc_init_channel()
[all …]
H A Dpowerdomains3xxx_data.c50 .voltdm = { .name = "mpu_iva" },
109 .voltdm = { .name = "core" },
131 .voltdm = { .name = "core" },
148 .voltdm = { .name = "core" },
163 .voltdm = { .name = "core" },
178 .voltdm = { .name = "core" },
353 .voltdm = { .name = "dsp" },
360 .voltdm = { .name = "iva" },
367 .voltdm = { .name = "dsp" },
374 .voltdm = { .name = "core" },
[all …]
H A Dpowerdomains44xx_data.c33 .voltdm = { .name = "core" },
59 .voltdm = { .name = "core" },
76 .voltdm = { .name = "iva" },
96 .voltdm = { .name = "core" },
114 .voltdm = { .name = "iva" },
152 .voltdm = { .name = "mpu" },
169 .voltdm = { .name = "mpu" },
202 .voltdm = { .name = "mpu" },
223 .voltdm = { .name = "iva" },
247 .voltdm = { .name = "core" },
[all …]
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" },
183 .voltdm = { .name = "mm" },
242 .voltdm = { .name = "mm" },
[all …]
H A Domap_twl.c215 struct voltagedomain *voltdm; in omap4_twl_init() local
221 voltdm = voltdm_lookup("mpu"); in omap4_twl_init()
222 omap_voltage_register_pmic(voltdm, &omap4_mpu_pmic); in omap4_twl_init()
224 voltdm = voltdm_lookup("iva"); in omap4_twl_init()
225 omap_voltage_register_pmic(voltdm, &omap4_iva_pmic); in omap4_twl_init()
227 voltdm = voltdm_lookup("core"); in omap4_twl_init()
228 omap_voltage_register_pmic(voltdm, &omap4_core_pmic); in omap4_twl_init()
235 struct voltagedomain *voltdm; in omap3_twl_init() local
240 voltdm = voltdm_lookup("mpu_iva"); in omap3_twl_init()
241 omap_voltage_register_pmic(voltdm, &omap3_mpu_pmic); in omap3_twl_init()
[all …]
H A Dpmic-cpcap.c240 struct voltagedomain *voltdm; in omap4_cpcap_init() local
245 voltdm = voltdm_lookup("mpu"); in omap4_cpcap_init()
246 omap_voltage_register_pmic(voltdm, &omap443x_max8952_mpu); in omap4_cpcap_init()
249 voltdm = voltdm_lookup("core"); in omap4_cpcap_init()
250 omap_voltage_register_pmic(voltdm, &omap_cpcap_core); in omap4_cpcap_init()
252 voltdm = voltdm_lookup("iva"); in omap4_cpcap_init()
253 omap_voltage_register_pmic(voltdm, &omap_cpcap_iva); in omap4_cpcap_init()
255 voltdm = voltdm_lookup("core"); in omap4_cpcap_init()
256 omap_voltage_register_pmic(voltdm, &omap4_fan_core); in omap4_cpcap_init()
258 voltdm = voltdm_lookup("iva"); in omap4_cpcap_init()
[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 int voltdm_add_pwrdm(struct voltagedomain *voltdm, struct powerdomain *pwrdm);
167 int voltdm_scale(struct voltagedomain *voltdm, unsigned long target_volt);
168 void voltdm_reset(struct voltagedomain *voltdm);
169 unsigned long voltdm_get_voltage(struct voltagedomain *voltdm);
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/arm/mach-omap2/
H A Dvoltage.c54 if (!voltdm || IS_ERR(voltdm)) { in voltdm_get_voltage()
76 if (!voltdm || IS_ERR(voltdm)) { in voltdm_scale()
107 ret = voltdm->scale(voltdm, volt); in voltdm_scale()
127 if (!voltdm || IS_ERR(voltdm)) { in voltdm_reset()
157 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_get_volttable()
185 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_get_voltdata()
219 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_register_pmic()
279 voltdm = NULL; in _voltdm_lookup()
288 return voltdm; in _voltdm_lookup()
293 if (!voltdm || !voltdm->name) in _voltdm_register()
[all …]
H A Dvp.c45 if (!voltdm->pmic || !voltdm->pmic->uv_to_vsel) { in omap_vp_init()
50 if (!voltdm->read || !voltdm->write) { in omap_vp_init()
62 vddmin = max(voltdm->vp_param->vddmin, voltdm->pmic->vddmin); in omap_vp_init()
63 vddmax = min(voltdm->vp_param->vddmax, voltdm->pmic->vddmax); in omap_vp_init()
103 if (!voltdm->vp) in omap_vp_update_errorgain()
112 voltdm->rmw(voltdm->vp->common->vpconfig_errorgain_mask, in omap_vp_update_errorgain()
202 if (!voltdm || IS_ERR(voltdm)) { in omap_vp_enable()
207 vp = voltdm->vp; in omap_vp_enable()
208 if (!voltdm->read || !voltdm->write) { in omap_vp_enable()
247 if (!voltdm || IS_ERR(voltdm)) { in omap_vp_disable()
[all …]
H A Dvc.c158 if (!voltdm->read || !voltdm->write) { in omap_vc_pre_scale()
165 *current_vsel = voltdm->pmic->uv_to_vsel(voltdm->nominal_volt); in omap_vc_pre_scale()
340 vc.vd = voltdm; in omap3_vc_init_pmic_signaling()
380 val = (voltdm->vc_param->on - idle) / voltdm->pmic->slew_rate; in omap3_init_voltsetup1()
408 omap3_init_voltsetup1(voltdm, c, voltdm->vc_param->off); in omap3_set_i2c_timings()
411 omap3_init_voltsetup1(voltdm, c, voltdm->vc_param->ret); in omap3_set_i2c_timings()
561 voltdm->vc_param->on - voltdm->vc_param->off); in omap4_set_timings()
565 voltdm->vc_param->on - voltdm->vc_param->ret); in omap4_set_timings()
829 if (!voltdm->pmic || !voltdm->pmic->uv_to_vsel) { in omap_vc_init_channel()
834 if (!voltdm->read || !voltdm->write) { in omap_vc_init_channel()
[all …]
H A Dpowerdomains3xxx_data.c50 .voltdm = { .name = "mpu_iva" },
109 .voltdm = { .name = "core" },
131 .voltdm = { .name = "core" },
148 .voltdm = { .name = "core" },
163 .voltdm = { .name = "core" },
178 .voltdm = { .name = "core" },
353 .voltdm = { .name = "dsp" },
360 .voltdm = { .name = "iva" },
367 .voltdm = { .name = "dsp" },
374 .voltdm = { .name = "core" },
[all …]
H A Dpowerdomains44xx_data.c33 .voltdm = { .name = "core" },
59 .voltdm = { .name = "core" },
76 .voltdm = { .name = "iva" },
96 .voltdm = { .name = "core" },
114 .voltdm = { .name = "iva" },
152 .voltdm = { .name = "mpu" },
169 .voltdm = { .name = "mpu" },
202 .voltdm = { .name = "mpu" },
223 .voltdm = { .name = "iva" },
247 .voltdm = { .name = "core" },
[all …]
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" },
183 .voltdm = { .name = "mm" },
242 .voltdm = { .name = "mm" },
[all …]
H A Domap_twl.c215 struct voltagedomain *voltdm; in omap4_twl_init() local
221 voltdm = voltdm_lookup("mpu"); in omap4_twl_init()
222 omap_voltage_register_pmic(voltdm, &omap4_mpu_pmic); in omap4_twl_init()
224 voltdm = voltdm_lookup("iva"); in omap4_twl_init()
225 omap_voltage_register_pmic(voltdm, &omap4_iva_pmic); in omap4_twl_init()
227 voltdm = voltdm_lookup("core"); in omap4_twl_init()
228 omap_voltage_register_pmic(voltdm, &omap4_core_pmic); in omap4_twl_init()
235 struct voltagedomain *voltdm; in omap3_twl_init() local
240 voltdm = voltdm_lookup("mpu_iva"); in omap3_twl_init()
241 omap_voltage_register_pmic(voltdm, &omap3_mpu_pmic); in omap3_twl_init()
[all …]
H A Dpmic-cpcap.c240 struct voltagedomain *voltdm; in omap4_cpcap_init() local
245 voltdm = voltdm_lookup("mpu"); in omap4_cpcap_init()
246 omap_voltage_register_pmic(voltdm, &omap443x_max8952_mpu); in omap4_cpcap_init()
249 voltdm = voltdm_lookup("core"); in omap4_cpcap_init()
250 omap_voltage_register_pmic(voltdm, &omap_cpcap_core); in omap4_cpcap_init()
252 voltdm = voltdm_lookup("iva"); in omap4_cpcap_init()
253 omap_voltage_register_pmic(voltdm, &omap_cpcap_iva); in omap4_cpcap_init()
255 voltdm = voltdm_lookup("core"); in omap4_cpcap_init()
256 omap_voltage_register_pmic(voltdm, &omap4_fan_core); in omap4_cpcap_init()
258 voltdm = voltdm_lookup("iva"); in omap4_cpcap_init()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/arm/mach-omap2/
H A Dvoltage.c54 if (!voltdm || IS_ERR(voltdm)) { in voltdm_get_voltage()
76 if (!voltdm || IS_ERR(voltdm)) { in voltdm_scale()
107 ret = voltdm->scale(voltdm, volt); in voltdm_scale()
127 if (!voltdm || IS_ERR(voltdm)) { in voltdm_reset()
157 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_get_volttable()
185 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_get_voltdata()
219 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_register_pmic()
279 voltdm = NULL; in _voltdm_lookup()
288 return voltdm; in _voltdm_lookup()
293 if (!voltdm || !voltdm->name) in _voltdm_register()
[all …]
H A Dvp.c45 if (!voltdm->pmic || !voltdm->pmic->uv_to_vsel) { in omap_vp_init()
50 if (!voltdm->read || !voltdm->write) { in omap_vp_init()
62 vddmin = max(voltdm->vp_param->vddmin, voltdm->pmic->vddmin); in omap_vp_init()
63 vddmax = min(voltdm->vp_param->vddmax, voltdm->pmic->vddmax); in omap_vp_init()
103 if (!voltdm->vp) in omap_vp_update_errorgain()
112 voltdm->rmw(voltdm->vp->common->vpconfig_errorgain_mask, in omap_vp_update_errorgain()
202 if (!voltdm || IS_ERR(voltdm)) { in omap_vp_enable()
207 vp = voltdm->vp; in omap_vp_enable()
208 if (!voltdm->read || !voltdm->write) { in omap_vp_enable()
247 if (!voltdm || IS_ERR(voltdm)) { in omap_vp_disable()
[all …]
H A Dvc.c158 if (!voltdm->read || !voltdm->write) { in omap_vc_pre_scale()
165 *current_vsel = voltdm->pmic->uv_to_vsel(voltdm->nominal_volt); in omap_vc_pre_scale()
340 vc.vd = voltdm; in omap3_vc_init_pmic_signaling()
380 val = (voltdm->vc_param->on - idle) / voltdm->pmic->slew_rate; in omap3_init_voltsetup1()
408 omap3_init_voltsetup1(voltdm, c, voltdm->vc_param->off); in omap3_set_i2c_timings()
411 omap3_init_voltsetup1(voltdm, c, voltdm->vc_param->ret); in omap3_set_i2c_timings()
561 voltdm->vc_param->on - voltdm->vc_param->off); in omap4_set_timings()
565 voltdm->vc_param->on - voltdm->vc_param->ret); in omap4_set_timings()
829 if (!voltdm->pmic || !voltdm->pmic->uv_to_vsel) { in omap_vc_init_channel()
834 if (!voltdm->read || !voltdm->write) { in omap_vc_init_channel()
[all …]
H A Dpowerdomains3xxx_data.c50 .voltdm = { .name = "mpu_iva" },
109 .voltdm = { .name = "core" },
131 .voltdm = { .name = "core" },
148 .voltdm = { .name = "core" },
163 .voltdm = { .name = "core" },
178 .voltdm = { .name = "core" },
353 .voltdm = { .name = "dsp" },
360 .voltdm = { .name = "iva" },
367 .voltdm = { .name = "dsp" },
374 .voltdm = { .name = "core" },
[all …]
H A Dpowerdomains44xx_data.c33 .voltdm = { .name = "core" },
59 .voltdm = { .name = "core" },
76 .voltdm = { .name = "iva" },
96 .voltdm = { .name = "core" },
114 .voltdm = { .name = "iva" },
152 .voltdm = { .name = "mpu" },
169 .voltdm = { .name = "mpu" },
202 .voltdm = { .name = "mpu" },
223 .voltdm = { .name = "iva" },
247 .voltdm = { .name = "core" },
[all …]
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" },
183 .voltdm = { .name = "mm" },
242 .voltdm = { .name = "mm" },
[all …]
H A Domap_twl.c215 struct voltagedomain *voltdm; in omap4_twl_init() local
221 voltdm = voltdm_lookup("mpu"); in omap4_twl_init()
222 omap_voltage_register_pmic(voltdm, &omap4_mpu_pmic); in omap4_twl_init()
224 voltdm = voltdm_lookup("iva"); in omap4_twl_init()
225 omap_voltage_register_pmic(voltdm, &omap4_iva_pmic); in omap4_twl_init()
227 voltdm = voltdm_lookup("core"); in omap4_twl_init()
228 omap_voltage_register_pmic(voltdm, &omap4_core_pmic); in omap4_twl_init()
235 struct voltagedomain *voltdm; in omap3_twl_init() local
240 voltdm = voltdm_lookup("mpu_iva"); in omap3_twl_init()
241 omap_voltage_register_pmic(voltdm, &omap3_mpu_pmic); in omap3_twl_init()
[all …]
H A Dpmic-cpcap.c240 struct voltagedomain *voltdm; in omap4_cpcap_init() local
245 voltdm = voltdm_lookup("mpu"); in omap4_cpcap_init()
246 omap_voltage_register_pmic(voltdm, &omap443x_max8952_mpu); in omap4_cpcap_init()
249 voltdm = voltdm_lookup("core"); in omap4_cpcap_init()
250 omap_voltage_register_pmic(voltdm, &omap_cpcap_core); in omap4_cpcap_init()
252 voltdm = voltdm_lookup("iva"); in omap4_cpcap_init()
253 omap_voltage_register_pmic(voltdm, &omap_cpcap_iva); in omap4_cpcap_init()
255 voltdm = voltdm_lookup("core"); in omap4_cpcap_init()
256 omap_voltage_register_pmic(voltdm, &omap4_fan_core); in omap4_cpcap_init()
258 voltdm = voltdm_lookup("iva"); in omap4_cpcap_init()
[all …]

123