Go to the source code of this file.
omap_voltage_get_voltdata() - API to get the voltage table entry for a particular voltage : pointer to the VDD whose voltage table has to be searched : the voltage to be searched in the voltage table
This API searches through the voltage table for the required voltage domain and tries to find a matching entry for the passed voltage volt. If a matching entry is found volt_data is populated with that entry. This API searches only through the non-compensated voltages int the voltage table. Returns pointer to the voltage table entry corresponding to volt on success. Returns -ENODATA if no voltage table exisits for the passed voltage domain or if there is no matching entry.
Definition at line 177 of file voltage.c.
voltdm_get_voltage() - Gets the current non-auto-compensated voltage : pointer to the voltdm for which current voltage info is needed
API to get the current non-auto-compensated voltage for a voltage domain. Returns 0 in case of error else returns the current voltage.
Definition at line 55 of file voltage.c.
voltdm_scale() - API to scale voltage of a particular voltage domain. : pointer to the voltage domain which is to be scaled. : The target voltage of the voltage domain
This API should be called by the kernel to do the voltage scaling for a particular voltage domain during DVFS.
Definition at line 73 of file voltage.c.