SHIFT_AMOUNT 29 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h #define SHIFTED_2 (2 << SHIFT_AMOUNT) SHIFT_AMOUNT 30 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h #define MAX (1 << (SHIFT_AMOUNT - 1)) - 1 /* 32767 - Might change in the future */ SHIFT_AMOUNT 44 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h unsigned int decimal: SHIFT_AMOUNT; /*Needs to always be unsigned*/ SHIFT_AMOUNT 45 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h int real: 32 - SHIFT_AMOUNT; SHIFT_AMOUNT 223 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h temp.full = (X << SHIFT_AMOUNT); SHIFT_AMOUNT 241 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h temp.full = (X << SHIFT_AMOUNT); SHIFT_AMOUNT 494 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h return (A.full >> SHIFT_AMOUNT); SHIFT_AMOUNT 501 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h A.full = X << SHIFT_AMOUNT; SHIFT_AMOUNT 502 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h B.full = Y << SHIFT_AMOUNT; SHIFT_AMOUNT 515 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h dec[i] = tmp / (1 << SHIFT_AMOUNT); SHIFT_AMOUNT 516 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h tmp = tmp - ((1 << SHIFT_AMOUNT)*dec[i]);