Lines Matching refs:rule_index
1063 static void clear_rsm_rule(struct hfi1_devdata *dd, u8 rule_index);
14271 static bool has_rsm_rule(struct hfi1_devdata *dd, u8 rule_index) in has_rsm_rule() argument
14273 return read_csr(dd, RCV_RSM_CFG + (8 * rule_index)) != 0; in has_rsm_rule()
14279 static void add_rsm_rule(struct hfi1_devdata *dd, u8 rule_index, in add_rsm_rule() argument
14282 write_csr(dd, RCV_RSM_CFG + (8 * rule_index), in add_rsm_rule()
14284 1ull << rule_index | /* enable bit */ in add_rsm_rule()
14286 write_csr(dd, RCV_RSM_SELECT + (8 * rule_index), in add_rsm_rule()
14293 write_csr(dd, RCV_RSM_MATCH + (8 * rule_index), in add_rsm_rule()
14303 static void clear_rsm_rule(struct hfi1_devdata *dd, u8 rule_index) in clear_rsm_rule() argument
14305 write_csr(dd, RCV_RSM_CFG + (8 * rule_index), 0); in clear_rsm_rule()
14306 write_csr(dd, RCV_RSM_SELECT + (8 * rule_index), 0); in clear_rsm_rule()
14307 write_csr(dd, RCV_RSM_MATCH + (8 * rule_index), 0); in clear_rsm_rule()