Lines Matching refs:ns_rsqep
144 #define ns_rsqe_vpi(ns_rsqep) \ argument
145 ((le32_to_cpu((ns_rsqep)->word_1) & 0x00FF0000) >> 16)
146 #define ns_rsqe_vci(ns_rsqep) \ argument
147 (le32_to_cpu((ns_rsqep)->word_1) & 0x0000FFFF)
160 #define ns_rsqe_valid(ns_rsqep) \ argument
161 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_VALID)
162 #define ns_rsqe_nzgfc(ns_rsqep) \ argument
163 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_NZGFC)
164 #define ns_rsqe_eopdu(ns_rsqep) \ argument
165 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_EOPDU)
166 #define ns_rsqe_bufsize(ns_rsqep) \ argument
167 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_BUFSIZE)
168 #define ns_rsqe_congestion(ns_rsqep) \ argument
169 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CONGESTION)
170 #define ns_rsqe_clp(ns_rsqep) \ argument
171 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CLP)
172 #define ns_rsqe_crcerr(ns_rsqep) \ argument
173 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CRCERR)
175 #define ns_rsqe_cellcount(ns_rsqep) \ argument
176 (le32_to_cpu((ns_rsqep)->word_4) & 0x000001FF)
177 #define ns_rsqe_init(ns_rsqep) \ argument
178 ((ns_rsqep)->word_4 = cpu_to_le32(0x00000000))