Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/pm/inc/
Dhardwaremanager.h254 #define PHM_MAX_NUM_CAPS_BITS_PER_FIELD (sizeof(uint32_t)*8) macro
258 …((PHM_PlatformCaps_Max + ((PHM_MAX_NUM_CAPS_BITS_PER_FIELD) - 1)) / (PHM_MAX_NUM_CAPS_BITS_PER_FIE…
286 caps[c / PHM_MAX_NUM_CAPS_BITS_PER_FIELD] |= (1UL << in phm_cap_set()
287 (c & (PHM_MAX_NUM_CAPS_BITS_PER_FIELD - 1))); in phm_cap_set()
293 caps[c / PHM_MAX_NUM_CAPS_BITS_PER_FIELD] &= ~(1UL << (c & (PHM_MAX_NUM_CAPS_BITS_PER_FIELD - 1))); in phm_cap_unset()
298 return (0 != (caps[c / PHM_MAX_NUM_CAPS_BITS_PER_FIELD] & in phm_cap_enabled()
299 (1UL << (c & (PHM_MAX_NUM_CAPS_BITS_PER_FIELD - 1))))); in phm_cap_enabled()