/openbmc/linux/drivers/misc/genwqe/ |
H A D | card_debugfs.c | 175 unsigned int vf_num; in jtimer_show() local 182 for (vf_num = 0; vf_num < cd->num_vfs; vf_num++) { in jtimer_show() 184 vf_num + 1); in jtimer_show() 185 seq_printf(s, " VF%-2d 0x%016llx %d msec\n", vf_num, jtimer, in jtimer_show() 186 cd->vf_jobtimeout_msec[vf_num]); in jtimer_show() 196 unsigned int vf_num; in queue_working_time_show() local 202 for (vf_num = 0; vf_num < cd->num_vfs; vf_num++) { in queue_working_time_show() 203 t = genwqe_read_vreg(cd, IO_SLC_VF_QUEUE_WTIME, vf_num + 1); in queue_working_time_show() 204 seq_printf(s, " VF%-2d 0x%016llx\n", vf_num, t); in queue_working_time_show()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | vport.h | 81 u8 port_num, u16 vf_num, u16 gid_index, 84 u8 port_num, u16 vf_num, u16 pkey_index, 88 u16 vf_num,
|
/openbmc/qemu/hw/pci/ |
H A D | pcie_sriov.c | 24 const char *name, uint16_t vf_num); 145 uint16_t vf_num) in register_vf() argument 149 dev->exp.sriov_vf.vf_number = vf_num; in register_vf()
|
H A D | pci.c | 1437 uint32_t vf_num = (d->devfn - (pf->devfn + vf_offset)) / vf_stride; in pci_config_get_bar_addr() local 1444 new_addr += vf_num * size; in pci_config_get_bar_addr()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | vport.c | 518 u8 port_num, u16 vf_num, u16 gid_index, in mlx5_query_hca_vport_gid() argument 534 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid() 556 MLX5_SET(query_hca_vport_gid_in, in, vport_number, vf_num); in mlx5_query_hca_vport_gid() 584 u8 port_num, u16 vf_num, u16 pkey_index, in mlx5_query_hca_vport_pkey() argument 621 MLX5_SET(query_hca_vport_pkey_in, in, vport_number, vf_num); in mlx5_query_hca_vport_pkey() 650 u16 vf_num, in mlx5_query_hca_vport_context() argument 671 MLX5_SET(query_hca_vport_context_in, in, vport_number, vf_num); in mlx5_query_hca_vport_context()
|
/openbmc/linux/drivers/vdpa/solidrun/ |
H A D | snet_vdpa.h | 116 u32 vf_num; member
|
H A D | snet_main.c | 700 cfg->vf_num = psnet_read32(psnet, off); in psnet_read_cfg() 931 SNET_DBG(pdev, "Enable %u virtual functions\n", psnet->cfg.vf_num); in snet_vdpa_probe_pf() 932 ret = pci_enable_sriov(pdev, psnet->cfg.vf_num); in snet_vdpa_probe_pf()
|
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | cn23xx_pf_device.c | 407 u64 vf_num; in cn23xx_pf_setup_global_input_regs() local 427 vf_num = q_no / oct->sriov_info.rings_per_vf; in cn23xx_pf_setup_global_input_regs() 428 vf_num += 1; /* VF1, VF2,........ */ in cn23xx_pf_setup_global_input_regs() 430 vf_num = 0; in cn23xx_pf_setup_global_input_regs() 433 reg_val |= vf_num << CN23XX_PKT_INPUT_CTL_VF_NUM_POS; in cn23xx_pf_setup_global_input_regs()
|
H A D | octeon_device.h | 457 u16 vf_num; member
|
H A D | cn23xx_vf_device.c | 630 oct->vf_num = (reg_val >> CN23XX_PKT_INPUT_CTL_VF_NUM_POS) & in cn23xx_setup_octeon_vf_device()
|
H A D | lio_core.c | 1127 oct->octeon_id, oct->vf_num, i); in octeon_setup_interrupt() 1189 oct->octeon_id, oct->vf_num, 0); in octeon_setup_interrupt()
|
H A D | lio_main.c | 4001 u64 *data, vf_num; in octeon_recv_vf_drv_notice() local 4007 vf_num = data[0]; in octeon_recv_vf_drv_notice() 4008 octeon_swap_8B_data(&vf_num, 1); in octeon_recv_vf_drv_notice() 4009 vf_idx = (int)vf_num - 1; in octeon_recv_vf_drv_notice()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_switch.h | 44 u8 vf_num; member
|
H A D | ice_lib.c | 294 ctxt->vf_num = vsi->vf->vf_id; in ice_vsi_delete_from_hw() 1273 ctxt->vf_num = vsi->vf->vf_id + hw->func_caps.vf_base_id; in ice_vsi_init() 3470 ctx->vf_num = 0; in ice_vsi_cfg_tc()
|
H A D | ice_main.c | 1738 u16 vf_num = (reg & GL_MDET_TX_PQM_VF_NUM_M) >> in ice_handle_mdd_event() local 1747 event, queue, pf_num, vf_num); in ice_handle_mdd_event() 1755 u16 vf_num = (reg & GL_MDET_TX_TCLAN_VF_NUM_M) >> in ice_handle_mdd_event() local 1764 event, queue, pf_num, vf_num); in ice_handle_mdd_event() 1772 u16 vf_num = (reg & GL_MDET_RX_VF_NUM_M) >> in ice_handle_mdd_event() local 1781 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_ae_adapt.c | 57 int vf_num = rcb_comm->max_vfn; in hns_ae_get_base_ring_pair() local 59 return &rcb_comm->ring_pair_cb[port * q_num * vf_num]; in hns_ae_get_base_ring_pair()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_flows.c | 1091 u64 vf_num; in otx2_add_flow() local 1116 vf_num = ethtool_get_flow_spec_ring_vf(fsp->ring_cookie); in otx2_add_flow() 1117 if (!is_otx2_vf(pfvf->pcifunc) && !vf_num && in otx2_add_flow()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_cmd.h | 169 u8 vf_num; member
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.h | 2186 u8 vf_num; member 2465 u32 vf_num); 2501 int vf_num);
|
H A D | be_cmds.c | 4396 adapter->vf_num = desc->vf_num; in be_cmd_get_func_config() 4609 nic_desc.vf_num = domain; in be_cmd_config_qos() 4656 desc.nic_vft.vf_num = 0; in be_cmd_set_sriov_config() 4731 int vf_num) in be_cmd_get_if_id() argument 4750 req->hdr.domain = vf_num + 1; in be_cmd_get_if_id()
|
H A D | be.h | 648 u8 vf_num; /* Numbering used by FW, starts at 1 */ member
|
/openbmc/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 1457 u32 reg_val, type, vf_num; in qm_log_hw_error() local 1472 vf_num = reg_val & QM_DB_TIMEOUT_VF; in qm_log_hw_error() 1474 qm_db_timeout[type], vf_num); in qm_log_hw_error() 1479 vf_num = reg_val & QM_FIFO_OVERFLOW_VF; in qm_log_hw_error() 1483 qm_fifo_overflow[type], vf_num); in qm_log_hw_error()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_type.h | 1107 u8 vf_num; member
|
H A D | i40e_main.c | 5871 ctxt.vf_num = 0; in i40e_vsi_config_tc() 6303 ctxt.vf_num = 0; in i40e_add_channel() 7929 ctxt.vf_num = 0; in i40e_setup_macvlans() 10312 ctxt.vf_num = 0; in i40e_enable_pf_switch_lb() 10348 ctxt.vf_num = 0; in i40e_disable_pf_switch_lb() 11228 event, queue, pf_num, vf_num); in i40e_handle_mdd_event() 14001 ctxt.vf_num = 0; in i40e_add_vsi() 14028 ctxt.vf_num = 0; in i40e_add_vsi() 14051 ctxt.vf_num = 0; in i40e_add_vsi() 14090 ctxt.vf_num = 0; in i40e_add_vsi() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | trace-events | 296 igb_set_pfmailbox(uint32_t vf_num, uint32_t val) "PFMailbox[%d]: 0x%x" 297 igb_set_vfmailbox(uint32_t vf_num, uint32_t val) "VFMailbox[%d]: 0x%x"
|