Lines Matching refs:v_idx
1589 unsigned int v_count, unsigned int v_idx, in fm10k_alloc_q_vector() argument
1608 interface->q_vector[v_idx] = q_vector; in fm10k_alloc_q_vector()
1610 q_vector->v_idx = v_idx; in fm10k_alloc_q_vector()
1689 static void fm10k_free_q_vector(struct fm10k_intfc *interface, int v_idx) in fm10k_free_q_vector() argument
1691 struct fm10k_q_vector *q_vector = interface->q_vector[v_idx]; in fm10k_free_q_vector()
1702 interface->q_vector[v_idx] = NULL; in fm10k_free_q_vector()
1719 unsigned int rxr_idx = 0, txr_idx = 0, v_idx = 0; in fm10k_alloc_q_vectors() local
1723 for (; rxr_remaining; v_idx++) { in fm10k_alloc_q_vectors()
1724 err = fm10k_alloc_q_vector(interface, q_vectors, v_idx, in fm10k_alloc_q_vectors()
1735 for (; v_idx < q_vectors; v_idx++) { in fm10k_alloc_q_vectors()
1736 int rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx); in fm10k_alloc_q_vectors()
1737 int tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx); in fm10k_alloc_q_vectors()
1739 err = fm10k_alloc_q_vector(interface, q_vectors, v_idx, in fm10k_alloc_q_vectors()
1758 while (v_idx--) in fm10k_alloc_q_vectors()
1759 fm10k_free_q_vector(interface, v_idx); in fm10k_alloc_q_vectors()
1774 int v_idx = interface->num_q_vectors; in fm10k_free_q_vectors() local
1778 while (v_idx--) in fm10k_free_q_vectors()
1779 fm10k_free_q_vector(interface, v_idx); in fm10k_free_q_vectors()