Lines Matching refs:hdr
60 #define CDC_GET_IF_IDX(hdr) \
61 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT))
62 #define CDC_SET_IF_IDX(hdr, idx) \
63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
93 #define BDC_GET_PAD_LEN(hdr) \
94 ((int)(((((hdr)->flags2) & BDC_FLAG2_PAD_MASK) >> BDC_FLAG2_PAD_SHIFT) | \
95 ((((hdr)->flags) & BDC_FLAG_PAD_MASK) >> BDC_FLAG_PAD_SHIFT)))
96 #define BDC_SET_PAD_LEN(hdr, idx) \
97 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_PAD_MASK) | \
99 ((hdr)->flags = (((hdr)->flags & ~BDC_FLAG_PAD_MASK) | \
102 #define BDC_GET_IF_IDX(hdr) \
103 ((int)((((hdr)->flags2) & BDC_FLAG2_IF_MASK) >> BDC_FLAG2_IF_SHIFT))
104 #define BDC_SET_IF_IDX(hdr, idx) \
105 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_IF_MASK) | ((idx) << BDC_FLAG2_IF_SHIFT)))