Lines Matching refs:rule_index
1063 static void clear_rsm_rule(struct hfi1_devdata *dd, u8 rule_index);
14267 static bool has_rsm_rule(struct hfi1_devdata *dd, u8 rule_index) in has_rsm_rule() argument
14269 return read_csr(dd, RCV_RSM_CFG + (8 * rule_index)) != 0; in has_rsm_rule()
14275 static void add_rsm_rule(struct hfi1_devdata *dd, u8 rule_index, in add_rsm_rule() argument
14278 write_csr(dd, RCV_RSM_CFG + (8 * rule_index), in add_rsm_rule()
14280 1ull << rule_index | /* enable bit */ in add_rsm_rule()
14282 write_csr(dd, RCV_RSM_SELECT + (8 * rule_index), in add_rsm_rule()
14289 write_csr(dd, RCV_RSM_MATCH + (8 * rule_index), in add_rsm_rule()
14299 static void clear_rsm_rule(struct hfi1_devdata *dd, u8 rule_index) in clear_rsm_rule() argument
14301 write_csr(dd, RCV_RSM_CFG + (8 * rule_index), 0); in clear_rsm_rule()
14302 write_csr(dd, RCV_RSM_SELECT + (8 * rule_index), 0); in clear_rsm_rule()
14303 write_csr(dd, RCV_RSM_MATCH + (8 * rule_index), 0); in clear_rsm_rule()