Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/i86pc/sys/
H A Dimmu.h445 #define CONT_GET_DID(hcent) ((((uint64_t)(hcent)->hi) >> 8) & 0xFFFF) argument
446 #define CONT_SET_DID(hcent, did) ((hcent)->hi |= ((0xFFFF & (did)) << 8)) argument
448 #define CONT_GET_AVAIL(hcent) ((((uint64_t)((hcent)->hi)) >> 0x3) & 0xF) argument
449 #define CONT_SET_AVAIL(hcent, av) ((hcent)->hi |= ((0xF & (av)) << 0x3)) argument
451 #define CONT_GET_LO_AW(hcent) (30 + 9 *((hcent)->hi & 0x7)) argument
452 #define CONT_GET_AW(hcent) \ argument
453 ((CONT_GET_LO_AW(hcent) == 66) ? 64 : CONT_GET_LO_AW(hcent))
454 #define CONT_SET_AW(hcent, aw) \ argument
455 ((hcent)->hi |= (((((aw) + 2) - 30) / 9) & 0x7))
457 #define CONT_GET_ASR(hcent) ((hcent)->lo & ~(0xFFF)) argument
[all …]