opnsense-src/sys/dev/bhnd/cores
Michael Zhilin d5f271dde9 [BHND/PMU] Correct shift of bits in BHND_PMU_SET_BITS macro
The purpose of BHND_PMU_{GET,SET}_BITS macro is to transform values from/into
register format. SET macro shifts value to left and applies filter mask.
GET macro applies filter mask and then shifts value to right.

Reviewed by:    landonf, adrian (mentor)
Approved by:    adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D7721
2016-09-01 13:38:46 +00:00
..
chipc [mips/broadcom]: Replace static frequency table with generic PMU clock 2016-08-27 00:06:20 +00:00
pci bhnd(4): Add a vendor parameter to BHND_DEVICE(), replacing vendor-specific 2016-06-08 21:31:33 +00:00
pcie2 bhnd(4): Add a vendor parameter to BHND_DEVICE(), replacing vendor-specific 2016-06-08 21:31:33 +00:00
pmu [BHND/PMU] Correct shift of bits in BHND_PMU_SET_BITS macro 2016-09-01 13:38:46 +00:00