Home
last modified time | relevance | path

Searched refs:SHIFT_AMOUNT (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppevvmath.h25 #define SHIFT_AMOUNT 16 /* We multiply all original integers with 2^SHIFT_AMOUNT to get the fInt re… macro
29 #define SHIFTED_2 (2 << SHIFT_AMOUNT)
30 #define MAX (1 << (SHIFT_AMOUNT - 1)) - 1 /* 32767 - Might change in the future */
44 unsigned int decimal: SHIFT_AMOUNT; /*Needs to always be unsigned*/
45 int real: 32 - SHIFT_AMOUNT;
223 temp.full = (X << SHIFT_AMOUNT); in ConvertToFraction()
241 temp.full = (X << SHIFT_AMOUNT); in Convert_ULONG_ToFraction()
494 return (A.full >> SHIFT_AMOUNT); in GetReal()
501 A.full = X << SHIFT_AMOUNT; in Divide()
502 B.full = Y << SHIFT_AMOUNT; in Divide()
[all …]