RCCE_iset_power.3 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .TH RCCE 3 2010-06-27 "RCCE MANPAGE" "RCCE Library"
  2. .SH NAME
  3. RCCE_iset_power \- initiates a discrete stepping of the power and frequency within the power domain of the calling UE
  4. .SH SYNOPSIS
  5. .B #include <rcce.h>
  6. .sp
  7. .BI "int RCCE_iset_power(int " Fdiv ", RCCE_REQUEST * " request ",int * " Fdiv_new ",int * " Vlevel_new );
  8. .SH DESCRIPTION
  9. .BR RCCE_iset_power()
  10. is a non-blocking function that initiates a discrete stepping of the power and frequency within
  11. the power domain of the calling UE. It only initiates a change in the power and the frequency
  12. when called by the master of the power domain. For other UEs in the power domain, the function
  13. returns RCCE_SUCCESS immediately without issuing any power management commands.
  14. The input to the function specifies the desired tile frequency divider (an integer ranging
  15. from 2 to 16). The function will determine the lowest voltage level that is consistent with
  16. the input value of the frequency divider and initiate the voltage change. Output values define
  17. the actual settings for the frequency divisor and the voltage level.
  18. RCCE_iset_power() returns a request that is used in a call to RCCE_wait_power() to block the
  19. issuing core until the target power level has been reached. There can only be a single power
  20. change request in flight at any one time for each power domain. Additional requests are
  21. denied, and the function returns an error code.
  22. .TP
  23. .B Fdiv
  24. The requested value for the frequency divisor
  25. .TP
  26. .B request
  27. Request identifier.
  28. .TP
  29. .B Fdiv_new
  30. The tile frequency divisor that will be active once the voltage change is complete.
  31. .TP
  32. .B Vlevel_new
  33. The voltage level (0 to 7) once the voltage change is complete. In volts, this equals (0.6 + Vlevel_new* 0.1).
  34. .SH "RETURN VALUE"
  35. Upon successful completion
  36. .BR RCCE_iset_power()
  37. returns
  38. .BR RCCE_SUCCESS .
  39. .SH ERRORS
  40. Look in
  41. .BR rcce.h
  42. for additional error codes.
  43. .SH "SEE ALSO"
  44. rcce.h(5)
  45. .SH EXAMPLE
  46. .PP
  47. To be supplied.