freebsd-dev/sys/dev/bhnd
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
..
bcma bhnd(4): Add a bhnd bus method for fetching the device's core table. 2016-08-28 19:34:22 +00:00
bhndb bhnd(4): Initial PMU/PWRCTL power and clock management support. 2016-08-27 00:03:02 +00:00
cores [BHND/PMU] Correct shift of bits in BHND_PMU_SET_BITS macro 2016-09-01 13:38:46 +00:00
nvram bhnd(4): Initial PMU/PWRCTL power and clock management support. 2016-08-27 00:03:02 +00:00
siba bhnd(4): Apply the siba chipid ncore fixup in bhnd_read_chipid(), ensuring 2016-08-28 20:39:53 +00:00
tools bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00
bhnd_bus_if.m bhnd(4): Add a bhnd bus method for fetching the device's core table. 2016-08-28 19:34:22 +00:00
bhnd_core.h bhnd(4): Initial PMU/PWRCTL power and clock management support. 2016-08-27 00:03:02 +00:00
bhnd_debug.h [bhnd] Add logging macros to BHND. 2016-05-16 23:40:32 +00:00
bhnd_ids.h bhnd(4): Initial PMU/PWRCTL power and clock management support. 2016-08-27 00:03:02 +00:00
bhnd_match.h [bhnd] Normalize bhnd(4) device matching API 2016-05-24 21:20:17 +00:00
bhnd_nexus.c bhnd(4): Fix resource allocation issues exposed by chipc PMU support. 2016-06-16 19:57:24 +00:00
bhnd_nexusvar.h Switch mips/sentry5 to bhnd(4), and unify with mips/broadcom 2016-06-04 19:53:47 +00:00
bhnd_subr.c bhnd(4): Apply the siba chipid ncore fixup in bhnd_read_chipid(), ensuring 2016-08-28 20:39:53 +00:00
bhnd_types.h bhnd(4): Initial PMU/PWRCTL power and clock management support. 2016-08-27 00:03:02 +00:00
bhnd.c bhnd(4): Initial PMU/PWRCTL power and clock management support. 2016-08-27 00:03:02 +00:00
bhnd.h bhnd(4): Apply the siba chipid ncore fixup in bhnd_read_chipid(), ensuring 2016-08-28 20:39:53 +00:00
bhndreg.h
bhndvar.h bhnd(4): Initial PMU/PWRCTL power and clock management support. 2016-08-27 00:03:02 +00:00