Lines Matching refs:hdr
60 #define CDC_GET_IF_IDX(hdr) \ argument
61 ((int)((((hdr)->flags) & CDCF_IOC_IF_MASK) >> CDCF_IOC_IF_SHIFT))
62 #define CDC_SET_IF_IDX(hdr, idx) \ argument
63 ((hdr)->flags = (((hdr)->flags & ~CDCF_IOC_IF_MASK) | ((idx) << CDCF_IOC_IF_SHIFT)))
106 #define BDC_GET_IF_IDX(hdr) \ argument
107 ((int)((((hdr)->flags2) & BDC_FLAG2_IF_MASK) >> BDC_FLAG2_IF_SHIFT))
108 #define BDC_SET_IF_IDX(hdr, idx) \ argument
109 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_IF_MASK) | ((idx) << BDC_FLAG2_IF_SHIFT)))
117 #define BDC_GET_PAD_LEN(hdr) \ argument
118 ((int)(((((hdr)->flags2) & BDC_FLAG2_PAD_MASK) >> BDC_FLAG2_PAD_SHIFT) | \
119 ((((hdr)->flags) & BDC_FLAG_PAD_MASK) >> BDC_FLAG_PAD_SHIFT)))
120 #define BDC_SET_PAD_LEN(hdr, idx) \ argument
121 ((hdr)->flags2 = (((hdr)->flags2 & ~BDC_FLAG2_PAD_MASK) | \
123 ((hdr)->flags = (((hdr)->flags & ~BDC_FLAG_PAD_MASK) | \