summaryrefslogtreecommitdiff
path: root/rnd.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04rnd: add gen_key_bytes to generate key from good entropy sourceDaniel Borkmann1-1/+2
Make this a function and do not have this in curvetun hard coded. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04rnd: move entropy source definition to rndDaniel Borkmann1-0/+7
It's better off there anyway. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04rnd: break out prng from xutilsDaniel Borkmann1-0/+6
We only need it in curvetun, this makes it easier to maintain. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
span='2' class='oid'>0090dcecc572c84af17138168c491cf9a0714581 /include/soc/tegra/pmc.h parente8cf6616a346029fe3e3931dd34fc589fade4b6e (diff)
soc/tegra: pmc: Change powergate and rail IDs to be an unsigned type
The Tegra powergate and rail IDs are always positive values and so change the type to be unsigned and remove the tests to see if the ID is less than zero. Update the Tegra DC powergate type to be an unsigned as well. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/soc/tegra/pmc.h')