Home
last modified time | relevance | path

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

/linux/arch/arm/mach-omap2/
H A Dsr_device.c30 static void __init sr_set_nvalues(struct omap_volt_data *volt_data, in sr_set_nvalues() argument
39 while (volt_data[count].volt_nominal) in sr_set_nvalues()
55 u16 offset = volt_data[i].sr_efuse_offs; in sr_set_nvalues()
61 v = omap_ctrl_readl(volt_data[i].sr_efuse_offs); in sr_set_nvalues()
76 nvalue_table[j].efuse_offs = volt_data[i].sr_efuse_offs; in sr_set_nvalues()
77 nvalue_table[j].errminlimit = volt_data[i].sr_errminlimit; in sr_set_nvalues()
78 nvalue_table[j].volt_nominal = volt_data[i].volt_nominal; in sr_set_nvalues()
92 struct omap_volt_data *volt_data; in sr_init_by_name() local
136 omap_voltage_get_volttable(sr_data->voltdm, &volt_data); in sr_init_by_name()
137 if (!volt_data) { in sr_init_by_name()
[all …]
H A 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()
H A 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()
H A 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()
H A 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()
H A Dvoltage.h87 struct omap_volt_data *volt_data; member
152 struct omap_volt_data **volt_data);
/linux/drivers/soc/ti/
H A Dsmartreflex.c547 struct omap_volt_data *volt_data; in sr_enable() local
557 volt_data = omap_voltage_get_voltdata(sr->voltdm, volt); in sr_enable()
559 if (IS_ERR(volt_data)) { in sr_enable()
562 return PTR_ERR(volt_data); in sr_enable()
565 nvalue_row = sr_retrieve_nvalue_row(sr, volt_data->sr_efuse_offs); in sr_enable()