• Home
  • Raw
  • Download

Lines Matching refs:reg_idx

377 	u32 reg, reg_idx;  in i40e_config_irq_link_list()  local
383 reg_idx = I40E_VPINT_LNKLST0(vf->vf_id); in i40e_config_irq_link_list()
385 reg_idx = I40E_VPINT_LNKLSTN( in i40e_config_irq_link_list()
391 wr32(hw, reg_idx, I40E_VPINT_LNKLST0_FIRSTQ_INDX_MASK); in i40e_config_irq_link_list()
416 wr32(hw, reg_idx, reg); in i40e_config_irq_link_list()
421 reg_idx = I40E_QINT_RQCTL(pf_queue_id); in i40e_config_irq_link_list()
425 reg_idx = I40E_QINT_TQCTL(pf_queue_id); in i40e_config_irq_link_list()
450 wr32(hw, reg_idx, reg); in i40e_config_irq_link_list()
489 u32 v_idx, reg_idx, reg; in i40e_release_iwarp_qvlist() local
499 reg_idx = (msix_vf - 1) * vf->vf_id + qv_info->ceq_idx; in i40e_release_iwarp_qvlist()
500 reg = rd32(hw, I40E_VPINT_CEQCTL(reg_idx)); in i40e_release_iwarp_qvlist()
506 reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); in i40e_release_iwarp_qvlist()
512 wr32(hw, I40E_VPINT_LNKLSTN(reg_idx), reg); in i40e_release_iwarp_qvlist()
532 u32 v_idx, i, reg_idx, reg; in i40e_config_iwarp_qvlist() local
574 reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); in i40e_config_iwarp_qvlist()
579 reg = rd32(hw, I40E_VPINT_LNKLSTN(reg_idx)); in i40e_config_iwarp_qvlist()
586 reg_idx = (msix_vf - 1) * vf->vf_id + qv_info->ceq_idx; in i40e_config_iwarp_qvlist()
592 wr32(hw, I40E_VPINT_CEQCTL(reg_idx), reg); in i40e_config_iwarp_qvlist()
594 reg_idx = ((msix_vf - 1) * vf->vf_id) + (v_idx - 1); in i40e_config_iwarp_qvlist()
599 wr32(hw, I40E_VPINT_LNKLSTN(reg_idx), reg); in i40e_config_iwarp_qvlist()
1025 u32 reg_idx, reg; in i40e_free_vf_res() local
1067 reg_idx = I40E_VFINT_DYN_CTL0(vf->vf_id); in i40e_free_vf_res()
1069 reg_idx = I40E_VFINT_DYN_CTLN(((msix_vf - 1) * in i40e_free_vf_res()
1072 wr32(hw, reg_idx, I40E_VFINT_DYN_CTLN_CLEARPBA_MASK); in i40e_free_vf_res()
1080 reg_idx = I40E_VPINT_LNKLST0(vf->vf_id); in i40e_free_vf_res()
1082 reg_idx = I40E_VPINT_LNKLSTN(((msix_vf - 1) * in i40e_free_vf_res()
1087 wr32(hw, reg_idx, reg); in i40e_free_vf_res()
1444 u32 reg, reg_idx, bit_idx; in i40e_trigger_vf_reset() local
1482 reg_idx = (hw->func_caps.vf_base_id + vf->vf_id) / 32; in i40e_trigger_vf_reset()
1484 wr32(hw, I40E_GLGEN_VFLRSTAT(reg_idx), BIT(bit_idx)); in i40e_trigger_vf_reset()
1746 u32 reg_idx, bit_idx; in i40e_free_vfs() local
1804 reg_idx = (hw->func_caps.vf_base_id + vf_id) / 32; in i40e_free_vfs()
1806 wr32(hw, I40E_GLGEN_VFLRSTAT(reg_idx), BIT(bit_idx)); in i40e_free_vfs()
4189 u32 reg, reg_idx, bit_idx; in i40e_vc_process_vflr_event() local
4208 reg_idx = (hw->func_caps.vf_base_id + vf_id) / 32; in i40e_vc_process_vflr_event()
4212 reg = rd32(hw, I40E_GLGEN_VFLRSTAT(reg_idx)); in i40e_vc_process_vflr_event()