Lines Matching defs:q_idx
1723 static u64 nicvf_int_type_to_mask(int int_type, int q_idx)
1729 reg_val = ((1ULL << q_idx) << NICVF_INTR_CQ_SHIFT);
1732 reg_val = ((1ULL << q_idx) << NICVF_INTR_SQ_SHIFT);
1735 reg_val = ((1ULL << q_idx) << NICVF_INTR_RBDR_SHIFT);
1757 void nicvf_enable_intr(struct nicvf *nic, int int_type, int q_idx)
1759 u64 mask = nicvf_int_type_to_mask(int_type, q_idx);
1771 void nicvf_disable_intr(struct nicvf *nic, int int_type, int q_idx)
1773 u64 mask = nicvf_int_type_to_mask(int_type, q_idx);
1785 void nicvf_clear_intr(struct nicvf *nic, int int_type, int q_idx)
1787 u64 mask = nicvf_int_type_to_mask(int_type, q_idx);
1799 int nicvf_is_intr_enabled(struct nicvf *nic, int int_type, int q_idx)
1801 u64 mask = nicvf_int_type_to_mask(int_type, q_idx);