Home
last modified time | relevance | path

Searched refs:volt_data (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/arch/arm/mach-omap2/
Dsr_device.c32 static void __init sr_set_nvalues(struct omap_volt_data *volt_data, in sr_set_nvalues() argument
41 while (volt_data[count].volt_nominal) in sr_set_nvalues()
57 u16 offset = volt_data[i].sr_efuse_offs; in sr_set_nvalues()
63 v = omap_ctrl_readl(volt_data[i].sr_efuse_offs); in sr_set_nvalues()
78 nvalue_table[j].efuse_offs = volt_data[i].sr_efuse_offs; in sr_set_nvalues()
79 nvalue_table[j].errminlimit = volt_data[i].sr_errminlimit; in sr_set_nvalues()
80 nvalue_table[j].volt_nominal = volt_data[i].volt_nominal; in sr_set_nvalues()
94 struct omap_volt_data *volt_data; in sr_init_by_name() local
138 omap_voltage_get_volttable(sr_data->voltdm, &volt_data); in sr_init_by_name()
139 if (!volt_data) { in sr_init_by_name()
[all …]
Dvoltage.c87 if (!voltdm->volt_data) { in voltdm_scale()
94 for (i = 0; voltdm->volt_data[i].volt_nominal != 0; i++) { in voltdm_scale()
95 if (voltdm->volt_data[i].volt_nominal >= target_volt) { in voltdm_scale()
96 volt = voltdm->volt_data[i].volt_nominal; in voltdm_scale()
155 struct omap_volt_data **volt_data) in omap_voltage_get_volttable() argument
162 *volt_data = voltdm->volt_data; in omap_voltage_get_volttable()
190 if (!voltdm->volt_data) { in omap_voltage_get_voltdata()
196 for (i = 0; voltdm->volt_data[i].volt_nominal != 0; i++) { in omap_voltage_get_voltdata()
197 if (voltdm->volt_data[i].volt_nominal == volt) in omap_voltage_get_voltdata()
198 return &voltdm->volt_data[i]; in omap_voltage_get_voltdata()
Dvoltagedomains44xx_data.c105 omap4_voltdm_mpu.volt_data = omap443x_vdd_mpu_volt_data; in omap44xx_voltagedomains_init()
106 omap4_voltdm_iva.volt_data = omap443x_vdd_iva_volt_data; in omap44xx_voltagedomains_init()
107 omap4_voltdm_core.volt_data = omap443x_vdd_core_volt_data; in omap44xx_voltagedomains_init()
109 omap4_voltdm_mpu.volt_data = omap446x_vdd_mpu_volt_data; in omap44xx_voltagedomains_init()
110 omap4_voltdm_iva.volt_data = omap446x_vdd_iva_volt_data; in omap44xx_voltagedomains_init()
111 omap4_voltdm_core.volt_data = omap446x_vdd_core_volt_data; in omap44xx_voltagedomains_init()
Dvoltagedomains3xxx_data.c109 omap3_voltdm_mpu.volt_data = omap36xx_vddmpu_volt_data; in omap3xxx_voltagedomains_init()
110 omap3_voltdm_core.volt_data = omap36xx_vddcore_volt_data; in omap3xxx_voltagedomains_init()
112 omap3_voltdm_mpu.volt_data = omap34xx_vddmpu_volt_data; in omap3xxx_voltagedomains_init()
113 omap3_voltdm_core.volt_data = omap34xx_vddcore_volt_data; in omap3xxx_voltagedomains_init()
Dvp.c101 struct omap_volt_data *volt_data; in omap_vp_update_errorgain() local
107 volt_data = omap_voltage_get_voltdata(voltdm, target_volt); in omap_vp_update_errorgain()
108 if (IS_ERR(volt_data)) in omap_vp_update_errorgain()
113 volt_data->vp_errgain << in omap_vp_update_errorgain()
Dvoltage.h87 struct omap_volt_data *volt_data; member
152 struct omap_volt_data **volt_data);
/linux-6.1.9/drivers/soc/ti/
Dsmartreflex.c551 struct omap_volt_data *volt_data; in sr_enable() local
561 volt_data = omap_voltage_get_voltdata(sr->voltdm, volt); in sr_enable()
563 if (IS_ERR(volt_data)) { in sr_enable()
566 return PTR_ERR(volt_data); in sr_enable()
569 nvalue_row = sr_retrieve_nvalue_row(sr, volt_data->sr_efuse_offs); in sr_enable()