opnsense-src/sys/dev/bhnd/cores/pmu
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
..
bhnd_pmu.c
bhnd_pmu.h
bhnd_pmu_core.c
bhnd_pmu_if.m
bhnd_pmu_private.h
bhnd_pmu_subr.c
bhnd_pmureg.h [BHND/PMU] Correct shift of bits in BHND_PMU_SET_BITS macro 2016-09-01 13:38:46 +00:00
bhnd_pmuvar.h