Lines Matching refs:qmap_idx

623 	u16 qmap_stride, qpp, vpp, vf_q_idx, vf_q_idx0, qmap_idx;  in fm10k_iov_assign_resources_pf()  local
646 qmap_idx = 0; in fm10k_iov_assign_resources_pf()
691 for (j = 0; j < qpp; j++, qmap_idx++, vf_q_idx++) { in fm10k_iov_assign_resources_pf()
705 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx), vf_q_idx); in fm10k_iov_assign_resources_pf()
706 fm10k_write_reg(hw, FM10K_RQMAP(qmap_idx), vf_q_idx); in fm10k_iov_assign_resources_pf()
710 for (; j < qmap_stride; j++, qmap_idx++) { in fm10k_iov_assign_resources_pf()
711 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx), vf_q_idx0); in fm10k_iov_assign_resources_pf()
712 fm10k_write_reg(hw, FM10K_RQMAP(qmap_idx), vf_q_idx0); in fm10k_iov_assign_resources_pf()
717 while (qmap_idx < FM10K_TQMAP_TABLE_SIZE) { in fm10k_iov_assign_resources_pf()
718 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx), 0); in fm10k_iov_assign_resources_pf()
719 fm10k_write_reg(hw, FM10K_RQMAP(qmap_idx), 0); in fm10k_iov_assign_resources_pf()
720 qmap_idx++; in fm10k_iov_assign_resources_pf()
832 u16 qmap_stride, queues_per_pool, vf_q_idx, timeout, qmap_idx, i; in fm10k_iov_assign_default_mac_vlan_pf() local
848 qmap_idx = qmap_stride * vf_idx; in fm10k_iov_assign_default_mac_vlan_pf()
892 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx), 0); in fm10k_iov_assign_default_mac_vlan_pf()
933 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx), vf_q_idx); in fm10k_iov_assign_default_mac_vlan_pf()
947 u16 qmap_stride, queues_per_pool, vf_q_idx, qmap_idx; in fm10k_iov_reset_resources_pf() local
972 qmap_idx = qmap_stride * vf_idx; in fm10k_iov_reset_resources_pf()
975 for (i = qmap_idx; i < (qmap_idx + qmap_stride); i++) { in fm10k_iov_reset_resources_pf()
1059 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx + i), vf_q_idx + i); in fm10k_iov_reset_resources_pf()
1060 fm10k_write_reg(hw, FM10K_RQMAP(qmap_idx + i), vf_q_idx + i); in fm10k_iov_reset_resources_pf()
1065 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx + i), vf_q_idx); in fm10k_iov_reset_resources_pf()
1066 fm10k_write_reg(hw, FM10K_RQMAP(qmap_idx + i), vf_q_idx); in fm10k_iov_reset_resources_pf()