Add getbitposition API for bitfield

BZ: 99956

Bitfield parameter type does not allow to retrieve the position
of the bit.

This patch introduces a new API to retrieve the bit position in the
bitfield

Change-Id: I54bf8a446e7bd53bed6acda274d32966a737c877
Signed-off-by: Francois Gaffie <francois.gaffie@intel.com>
Reviewed-on: http://android.intel.com:8080/138517
Reviewed-by: Quintero, Jorge <jorge.quintero@intel.com>
Reviewed-by: Centelles, Sylvain <sylvain.centelles@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: Balestriere, VianneyX <vianneyx.balestriere@intel.com>
Tested-by: Balestriere, VianneyX <vianneyx.balestriere@intel.com>
1 file changed