Lines Matching refs:member
29 #define HINIC_DMA_ATTR_SET(val, member) \ argument
30 (((u32)(val) & HINIC_DMA_ATTR_##member##_MASK) << \
31 HINIC_DMA_ATTR_##member##_SHIFT)
33 #define HINIC_DMA_ATTR_CLEAR(val, member) \ argument
34 ((val) & (~(HINIC_DMA_ATTR_##member##_MASK \
35 << HINIC_DMA_ATTR_##member##_SHIFT)))
50 #define HINIC_FA0_GET(val, member) \ argument
51 (((val) >> HINIC_FA0_##member##_SHIFT) & HINIC_FA0_##member##_MASK)
70 #define HINIC_FA1_GET(val, member) \ argument
71 (((val) >> HINIC_FA1_##member##_SHIFT) & HINIC_FA1_##member##_MASK)
76 #define HINIC_FA2_GET(val, member) \ argument
77 (((val) >> HINIC_FA2_##member##_SHIFT) & HINIC_FA2_##member##_MASK)
85 #define HINIC_FA4_GET(val, member) \ argument
86 (((val) >> HINIC_FA4_##member##_SHIFT) & HINIC_FA4_##member##_MASK)
88 #define HINIC_FA4_SET(val, member) \ argument
89 ((((u32)val) & HINIC_FA4_##member##_MASK) << HINIC_FA4_##member##_SHIFT)
91 #define HINIC_FA4_CLEAR(val, member) \ argument
92 ((val) & (~(HINIC_FA4_##member##_MASK << HINIC_FA4_##member##_SHIFT)))
97 #define HINIC_FA5_SET(val, member) \ argument
98 (((u32)(val) & HINIC_FA5_##member##_MASK) << HINIC_FA5_##member##_SHIFT)
100 #define HINIC_FA5_CLEAR(val, member) \ argument
101 ((val) & (~(HINIC_FA5_##member##_MASK << HINIC_FA5_##member##_SHIFT)))
106 #define HINIC_PPF_ELECTION_SET(val, member) \ argument
107 (((u32)(val) & HINIC_PPF_ELECTION_##member##_MASK) << \
108 HINIC_PPF_ELECTION_##member##_SHIFT)
110 #define HINIC_PPF_ELECTION_GET(val, member) \ argument
111 (((val) >> HINIC_PPF_ELECTION_##member##_SHIFT) & \
112 HINIC_PPF_ELECTION_##member##_MASK)
114 #define HINIC_PPF_ELECTION_CLEAR(val, member) \ argument
115 ((val) & (~(HINIC_PPF_ELECTION_##member##_MASK \
116 << HINIC_PPF_ELECTION_##member##_SHIFT)))
130 #define HINIC_MSIX_ATTR_SET(val, member) \ argument
131 (((u32)(val) & HINIC_MSIX_##member##_MASK) << \
132 HINIC_MSIX_##member##_SHIFT)
134 #define HINIC_MSIX_ATTR_GET(val, member) \ argument
135 (((val) >> HINIC_MSIX_##member##_SHIFT) & \
136 HINIC_MSIX_##member##_MASK)
142 #define HINIC_MSIX_CNT_SET(val, member) \ argument
143 (((u32)(val) & HINIC_MSIX_CNT_##member##_MASK) << \
144 HINIC_MSIX_CNT_##member##_SHIFT)