Lines Matching refs:v_idx
869 wx_intr_enable(wx, WX_INTR_Q(q_vector->v_idx)); in wx_poll()
1754 unsigned int v_count, unsigned int v_idx, in wx_alloc_q_vector() argument
1775 wx->q_vector[v_idx] = q_vector; in wx_alloc_q_vector()
1777 q_vector->v_idx = v_idx; in wx_alloc_q_vector()
1778 if (cpu_online(v_idx)) in wx_alloc_q_vector()
1779 q_vector->numa_node = cpu_to_node(v_idx); in wx_alloc_q_vector()
1863 static void wx_free_q_vector(struct wx *wx, int v_idx) in wx_free_q_vector() argument
1865 struct wx_q_vector *q_vector = wx->q_vector[v_idx]; in wx_free_q_vector()
1874 wx->q_vector[v_idx] = NULL; in wx_free_q_vector()
1888 unsigned int rxr_idx = 0, txr_idx = 0, v_idx = 0; in wx_alloc_q_vectors() local
1895 for (; v_idx < q_vectors; v_idx++) { in wx_alloc_q_vectors()
1896 rqpv = DIV_ROUND_UP(rxr_remaining, q_vectors - v_idx); in wx_alloc_q_vectors()
1897 tqpv = DIV_ROUND_UP(txr_remaining, q_vectors - v_idx); in wx_alloc_q_vectors()
1898 err = wx_alloc_q_vector(wx, q_vectors, v_idx, in wx_alloc_q_vectors()
1919 while (v_idx--) in wx_alloc_q_vectors()
1920 wx_free_q_vector(wx, v_idx); in wx_alloc_q_vectors()
1935 int v_idx = wx->num_q_vectors; in wx_free_q_vectors() local
1941 while (v_idx--) in wx_free_q_vectors()
1942 wx_free_q_vector(wx, v_idx); in wx_free_q_vectors()
2140 int v_idx = q_vector->v_idx; in wx_write_eitr() local
2150 wr32(wx, WX_PX_ITR(v_idx + 1), itr_reg); in wx_write_eitr()
2164 u16 v_idx; in wx_configure_vectors() local
2183 for (v_idx = 0; v_idx < wx->num_q_vectors; v_idx++) { in wx_configure_vectors()
2184 struct wx_q_vector *q_vector = wx->q_vector[v_idx]; in wx_configure_vectors()
2188 wx_set_ivar(wx, 0, ring->reg_idx, v_idx); in wx_configure_vectors()
2191 wx_set_ivar(wx, 1, ring->reg_idx, v_idx); in wx_configure_vectors()