Searched refs:vf_offset (Results 1 – 11 of 11) sorted by relevance
67 unsigned int vf_offset; in nfp_app_set_vf_mac() local82 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_mac()83 writel(get_unaligned_be32(mac), app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_mac()85 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_MAC_LO); in nfp_app_set_vf_mac()102 unsigned int vf_offset; in nfp_app_set_vf_vlan() local141 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_vlan()142 writel(vlan_tag, app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_VLAN); in nfp_app_set_vf_vlan()151 u32 vf_offset, ratevalue; in nfp_app_set_vf_rate() local165 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_rate()172 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_RATE); in nfp_app_set_vf_rate()[all …]
30 uint16_t vf_offset, uint16_t vf_stride) in pcie_sriov_pf_init() argument42 pci_set_word(cfg + PCI_SRIOV_VF_OFFSET, vf_offset); in pcie_sriov_pf_init()171 uint16_t vf_offset = in register_vfs() local175 int32_t devfn = dev->devfn + vf_offset; in register_vfs()
1450 uint16_t vf_offset = in pci_config_get_bar_addr() local1454 uint32_t vf_num = (d->devfn - (pf->devfn + vf_offset)) / vf_stride; in pci_config_get_bar_addr()
33 uint16_t vf_offset, uint16_t vf_stride);
683 unsigned vf_offset = EFX_VI_BASE + vf->index * efx_vf_size(efx); in efx_vfdi_fini_all_queues() local703 vf_offset + index); in efx_vfdi_fini_all_queues()709 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()730 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()744 vf_offset + index); in efx_vfdi_fini_all_queues()746 vf_offset + index); in efx_vfdi_fini_all_queues()748 vf_offset + index); in efx_vfdi_fini_all_queues()750 vf_offset + index); in efx_vfdi_fini_all_queues()
533 u8 vf_offset; member549 u8 vf_offset; member
2085 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD; in hclge_get_vlan_rx_offload_cfg()2119 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD; in hclge_get_vlan_tx_offload_cfg()
9764 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_tx_offload_cfg()9804 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_rx_offload_cfg()
1490 u16 vf_offset; in hinic_vf_mbox_random_id_init() local1497 vf_offset = hinic_glb_pf_vf_offset(hwdev->hwif); in hinic_vf_mbox_random_id_init()1500 err = set_vf_mbox_random_id(hwdev, vf_offset + vf_in_pf); in hinic_vf_mbox_random_id_init()
987 u32 vf_offset; member
3656 p_out_params->vf_resc_start = mfw_resc_info.vf_offset; in qed_mcp_resc_allocation_msg()