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