bcm-v4

[Specification

u32 PMU Res Deps (u32 rsrcs, bool all)

  1. Set u32 deps to 0
  2. Loop 31 times with i as index
    1. If rscrs & (1 << i) is zero

      1. Continue
    2. Write i to register 0x620
    3. Read register 0x624, or with deps, and write back to deps
  3. If all is false
    1. Return deps
  4. If deps is not zero
    1. Return deps ORed with PMU Res Deps with deps, true as arguments (yes - recursive)

  5. Return 0

Exported/Archived from the wiki to HTML on 2016-10-27