Lines Matching refs:ns_rsqep
133 #define ns_rsqe_vpi(ns_rsqep) \ argument
134 ((le32_to_cpu((ns_rsqep)->word_1) & 0x00FF0000) >> 16)
135 #define ns_rsqe_vci(ns_rsqep) \ argument
136 (le32_to_cpu((ns_rsqep)->word_1) & 0x0000FFFF)
149 #define ns_rsqe_valid(ns_rsqep) \ argument
150 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_VALID)
151 #define ns_rsqe_nzgfc(ns_rsqep) \ argument
152 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_NZGFC)
153 #define ns_rsqe_eopdu(ns_rsqep) \ argument
154 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_EOPDU)
155 #define ns_rsqe_bufsize(ns_rsqep) \ argument
156 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_BUFSIZE)
157 #define ns_rsqe_congestion(ns_rsqep) \ argument
158 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CONGESTION)
159 #define ns_rsqe_clp(ns_rsqep) \ argument
160 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CLP)
161 #define ns_rsqe_crcerr(ns_rsqep) \ argument
162 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CRCERR)
164 #define ns_rsqe_cellcount(ns_rsqep) \ argument
165 (le32_to_cpu((ns_rsqep)->word_4) & 0x000001FF)
166 #define ns_rsqe_init(ns_rsqep) \ argument
167 ((ns_rsqep)->word_4 = cpu_to_le32(0x00000000))