Searched refs:hcent (Results 1 – 1 of 1) sorted by relevance
445 #define CONT_GET_DID(hcent) ((((uint64_t)(hcent)->hi) >> 8) & 0xFFFF) argument446 #define CONT_SET_DID(hcent, did) ((hcent)->hi |= ((0xFFFF & (did)) << 8)) argument448 #define CONT_GET_AVAIL(hcent) ((((uint64_t)((hcent)->hi)) >> 0x3) & 0xF) argument449 #define CONT_SET_AVAIL(hcent, av) ((hcent)->hi |= ((0xF & (av)) << 0x3)) argument451 #define CONT_GET_LO_AW(hcent) (30 + 9 *((hcent)->hi & 0x7)) argument452 #define CONT_GET_AW(hcent) \ argument453 ((CONT_GET_LO_AW(hcent) == 66) ? 64 : CONT_GET_LO_AW(hcent))454 #define CONT_SET_AW(hcent, aw) \ argument455 ((hcent)->hi |= (((((aw) + 2) - 30) / 9) & 0x7))457 #define CONT_GET_ASR(hcent) ((hcent)->lo & ~(0xFFF)) argument[all …]