Lines Matching refs:ns_rsqep
140 #define ns_rsqe_vpi(ns_rsqep) \ argument
141 ((le32_to_cpu((ns_rsqep)->word_1) & 0x00FF0000) >> 16)
142 #define ns_rsqe_vci(ns_rsqep) \ argument
143 (le32_to_cpu((ns_rsqep)->word_1) & 0x0000FFFF)
156 #define ns_rsqe_valid(ns_rsqep) \ argument
157 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_VALID)
158 #define ns_rsqe_nzgfc(ns_rsqep) \ argument
159 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_NZGFC)
160 #define ns_rsqe_eopdu(ns_rsqep) \ argument
161 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_EOPDU)
162 #define ns_rsqe_bufsize(ns_rsqep) \ argument
163 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_BUFSIZE)
164 #define ns_rsqe_congestion(ns_rsqep) \ argument
165 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CONGESTION)
166 #define ns_rsqe_clp(ns_rsqep) \ argument
167 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CLP)
168 #define ns_rsqe_crcerr(ns_rsqep) \ argument
169 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CRCERR)
171 #define ns_rsqe_cellcount(ns_rsqep) \ argument
172 (le32_to_cpu((ns_rsqep)->word_4) & 0x000001FF)
173 #define ns_rsqe_init(ns_rsqep) \ argument
174 ((ns_rsqep)->word_4 = cpu_to_le32(0x00000000))