/linux-6.3-rc2/arch/arm/mach-omap2/ |
A D | voltage.c | 54 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 …]
|
A D | vp.c | 45 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 …]
|
A D | vc.c | 155 if (!voltdm->read || !voltdm->write) { in omap_vc_pre_scale() 162 *current_vsel = voltdm->pmic->uv_to_vsel(voltdm->nominal_volt); in omap_vc_pre_scale() 337 vc.vd = voltdm; in omap3_vc_init_pmic_signaling() 377 val = (voltdm->vc_param->on - idle) / voltdm->pmic->slew_rate; in omap3_init_voltsetup1() 405 omap3_init_voltsetup1(voltdm, c, voltdm->vc_param->off); in omap3_set_i2c_timings() 408 omap3_init_voltsetup1(voltdm, c, voltdm->vc_param->ret); in omap3_set_i2c_timings() 558 voltdm->vc_param->on - voltdm->vc_param->off); in omap4_set_timings() 562 voltdm->vc_param->on - voltdm->vc_param->ret); in omap4_set_timings() 811 if (!voltdm->pmic || !voltdm->pmic->uv_to_vsel) { in omap_vc_init_channel() 816 if (!voltdm->read || !voltdm->write) { in omap_vc_init_channel() [all …]
|
A D | powerdomains3xxx_data.c | 50 .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 …]
|
A D | powerdomains44xx_data.c | 33 .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 …]
|
A D | powerdomains54xx_data.c | 31 .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 …]
|
A D | omap_twl.c | 215 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 …]
|
A D | pmic-cpcap.c | 240 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 …]
|
A D | powerdomains43xx_data.c | 19 .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" },
|
A D | sr_device.c | 89 static int __init sr_init_by_name(const char *name, const char *voltdm) in sr_init_by_name() argument 129 sr_data->voltdm = voltdm_lookup(voltdm); in sr_init_by_name() 130 if (!sr_data->voltdm) { in sr_init_by_name() 132 __func__, voltdm); in sr_init_by_name() 136 omap_voltage_get_volttable(sr_data->voltdm, &volt_data); in sr_init_by_name() 198 const char *name, *voltdm; in omap_devinit_smartreflex() local 202 voltdm = sr_inst[i]; in omap_devinit_smartreflex() 203 sr_init_by_name(name, voltdm); in omap_devinit_smartreflex()
|
A D | voltage.h | 83 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);
|
A D | vp.h | 115 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,
|
A D | powerdomains33xx_data.c | 18 .voltdm = { .name = "core" }, 49 .voltdm = { .name = "rtc" }, 59 .voltdm = { .name = "core" }, 69 .voltdm = { .name = "core" }, 112 .voltdm = { .name = "mpu" }, 155 .voltdm = { .name = "core" },
|
A D | smartreflex-class3.c | 17 unsigned long volt = voltdm_get_voltage(sr->voltdm); in sr_class3_enable() 25 omap_vp_enable(sr->voltdm); in sr_class3_enable() 32 omap_vp_disable(sr->voltdm); in sr_class3_disable() 35 voltdm_reset(sr->voltdm); in sr_class3_disable()
|
A D | voltagedomains54xx_data.c | 82 struct voltagedomain *voltdm; in omap54xx_voltagedomains_init() local 85 for (i = 0; voltdm = voltagedomains_omap5[i], voltdm; i++) in omap54xx_voltagedomains_init() 86 voltdm->sys_clk.name = sys_clk_name; in omap54xx_voltagedomains_init()
|
A D | powerdomains2xxx_data.c | 38 .voltdm = { .name = "core" }, 53 .voltdm = { .name = "core" }, 72 .voltdm = { .name = "core" }, 94 .voltdm = { .name = "core" },
|
A D | vc.h | 122 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,
|
A D | voltagedomains3xxx_data.c | 99 struct voltagedomain *voltdm; in omap3xxx_voltagedomains_init() local 127 for (i = 0; voltdm = voltdms[i], voltdm; i++) in omap3xxx_voltagedomains_init() 128 voltdm->sys_clk.name = sys_clk_name; in omap3xxx_voltagedomains_init()
|
A D | voltagedomains44xx_data.c | 96 struct voltagedomain *voltdm; in omap44xx_voltagedomains_init() local 123 for (i = 0; voltdm = voltagedomains_omap4[i], voltdm; i++) in omap44xx_voltagedomains_init() 124 voltdm->sys_clk.name = sys_clk_name; in omap44xx_voltagedomains_init()
|
A D | powerdomains2xxx_3xxx_data.c | 54 .voltdm = { .name = "core" }, 61 .voltdm = { .name = "wakeup" },
|
A D | powerdomain.c | 92 struct voltagedomain *voltdm; in _pwrdm_register() local 111 voltdm = voltdm_lookup(pwrdm->voltdm.name); in _pwrdm_register() 112 if (!voltdm) { in _pwrdm_register() 114 pwrdm->name, pwrdm->voltdm.name); in _pwrdm_register() 117 pwrdm->voltdm.ptr = voltdm; in _pwrdm_register()
|
A D | powerdomain.h | 114 } voltdm; member
|
/linux-6.3-rc2/include/linux/power/ |
A D | smartreflex.h | 155 struct voltagedomain *voltdm; member 292 struct voltagedomain *voltdm; member 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) {} in omap_sr_enable() argument 316 static inline void omap_sr_disable(struct voltagedomain *voltdm) {} in omap_sr_disable() argument 318 struct voltagedomain *voltdm) {} in omap_sr_disable_reset_volt() argument
|
/linux-6.3-rc2/drivers/soc/ti/ |
A D | smartreflex.c | 82 if (!voltdm) { in _sr_lookup() 88 if (voltdm == sr_info->voltdm) in _sr_lookup() 557 volt_data = omap_voltage_get_voltdata(sr->voltdm, volt); in sr_enable() 685 void omap_sr_enable(struct voltagedomain *voltdm) in omap_sr_enable() argument 687 struct omap_sr *sr = _sr_lookup(voltdm); in omap_sr_enable() 717 void omap_sr_disable(struct voltagedomain *voltdm) in omap_sr_disable() argument 719 struct omap_sr *sr = _sr_lookup(voltdm); in omap_sr_disable() 751 struct omap_sr *sr = _sr_lookup(voltdm); in omap_sr_disable_reset_volt() 860 sr_info->voltdm = pdata->voltdm; in omap_sr_probe() 949 sr_info = _sr_lookup(pdata->voltdm); in omap_sr_remove() [all …]
|
/linux-6.3-rc2/include/linux/platform_data/ |
A D | voltage-omap.h | 32 unsigned long voltdm_get_voltage(struct voltagedomain *voltdm); 33 struct omap_volt_data *omap_voltage_get_voltdata(struct voltagedomain *voltdm,
|