/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-ioctl.c | 562 struct v4l2_frequency *vf) 566 if (vf->tuner != 0) 569 cx18_call_all(cx, tuner, g_frequency, vf); 573 int cx18_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf) argument 578 if (vf->tuner != 0) 582 CX18_DEBUG_INFO("v4l2 ioctl: set frequency %d\n", vf->frequency); 583 cx18_call_all(cx, tuner, s_frequency, vf); 561 cx18_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf) argument
|
/linux-master/drivers/misc/genwqe/ |
H A D | card_base.c | 360 unsigned int vf; local 369 for (vf = 0; vf < totalvfs; vf++) { 371 if (cd->vf_jobtimeout_msec[vf] == 0) 374 x = ilog2(cd->vf_jobtimeout_msec[vf] * 378 0xff00 | (x & 0xff), vf + 1);
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe.h | 240 int vf; member in struct:vf_macvlans 1073 void ixgbe_ipsec_vf_clear(struct ixgbe_adapter *adapter, u32 vf); 1074 int ixgbe_ipsec_vf_add_sa(struct ixgbe_adapter *adapter, u32 *mbuf, u32 vf); 1075 int ixgbe_ipsec_vf_del_sa(struct ixgbe_adapter *adapter, u32 *mbuf, u32 vf); 1087 u32 vf) { } 1089 u32 *mbuf, u32 vf) { return -EACCES; } 1091 u32 *mbuf, u32 vf) { return -EACCES; } 1086 ixgbe_ipsec_vf_clear(struct ixgbe_adapter *adapter, u32 vf) argument 1088 ixgbe_ipsec_vf_add_sa(struct ixgbe_adapter *adapter, u32 *mbuf, u32 vf) argument 1090 ixgbe_ipsec_vf_del_sa(struct ixgbe_adapter *adapter, u32 *mbuf, u32 vf) argument
|
H A D | ixgbe_common.h | 84 void ixgbe_set_mac_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf); 85 void ixgbe_set_vlan_anti_spoofing(struct ixgbe_hw *hw, bool enable, int vf);
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_debugfs.c | 581 int pf, vf, num_vfs, hw_vfs; local 633 for (vf = 0; vf < num_vfs; vf++) { 635 ((vf + 1) * LMT_MAPTBL_ENTRY_SIZE); 637 "PF%d:VF%d \t\t", pf, vf); 702 int index, pf, vf, lf_str_size = 12, buf_size = 256; local 712 for (vf = 0; vf <= rvu->hw->total_vfs; vf 742 int pf, vf, pcifunc; local 2687 int pf, vf, numvfs, blkaddr; local 2997 int pf, vf = -1; local [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_base.c | 124 ice_calc_vf_reg_idx(vsi->vf, q_vector); 126 } else if (vsi->type == ICE_VSI_CTRL && vsi->vf) { 213 if (vsi->type == ICE_VSI_CTRL && vsi->vf && 330 tlan_ctx->vmvf_num = hw->func_caps.vf_base_id + vsi->vf->vf_id; 430 ice_vf_is_port_vlan_ena(vsi->vf)) 1129 if (q_vector && !(vsi->vf && ice_is_vf_disabled(vsi->vf)))
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_cxt.c | 1037 u32 type, vf; local 1044 for (vf = 0; vf < MAX_NUM_VFS; vf++) { 1045 bitmap_free(p_mngr->acquired_vf[type][vf].cid_map); 1046 p_mngr->acquired_vf[type][vf].max_count = 0; 1047 p_mngr->acquired_vf[type][vf].start_cid = 0; 1079 u32 type, vf; local 1092 for (vf = 0; vf < MAX_NUM_VF 1218 u32 vf; local [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | nic.h | 94 * @vf: Array of &struct siena_vf objects 108 struct siena_vf *vf; member in struct:siena_nic_data
|
/linux-master/drivers/char/hw_random/ |
H A D | Makefile | 40 obj-$(CONFIG_HW_RANDOM_CAVIUM) += cavium-rng.o cavium-rng-vf.o
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | mae.h | 138 int efx_mae_lookup_mport(struct efx_nic *efx, u32 vf, u32 *id);
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_isp_configs.c | 311 size = binary->info->mem_offsets.offsets.config->dmem.vf.size; 315 offset = binary->info->mem_offsets.offsets.config->dmem.vf.offset;
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_cn9k_pf.c | 375 u32 vf, active_vfs, active_rings_per_vf, vf_mbox_queue; local 383 for (vf = 0; vf < active_vfs; vf++) { 384 vf_mbox_queue = vf * active_rings_per_vf; 395 dev_err(&oct->pdev->dev, "bad mbox vf %d\n", vf); 507 /* Interrupt handler for vf input ring error interrupts. */ 524 /* Interrupt handler for vf output ring error interrupts. */
|
H A D | octep_cnxk_pf.c | 404 u32 vf, active_vfs, active_rings_per_vf, vf_mbox_queue; local 411 for (vf = 0; vf < active_vfs; vf++) { 412 vf_mbox_queue = vf * active_rings_per_vf; 417 dev_err(&oct->pdev->dev, "bad mbox vf %d\n", vf); 528 /* Interrupt handler for vf input ring error interrupts. */ 545 /* Interrupt handler for vf output ring error interrupts. */
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hnae3.h | 473 * request to hclge(vf) to update promisc mode 555 * Set vlan filter config of vf 567 * Enable/disable spoof check for specified vf 569 * Enable/disable trust for specified vf, if the vf being trusted, then 572 * Set the max tx rate of specified vf. 592 * Clean residual vf info after disable sriov 762 int (*get_vf_config)(struct hnae3_handle *handle, int vf, 764 int (*set_vf_link_state)(struct hnae3_handle *handle, int vf, 766 int (*set_vf_spoofchk)(struct hnae3_handle *handle, int vf, [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 3201 unsigned int i, vf, nvfs; local 3226 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); 3227 vf < nvfs; vf++) { 3228 macaddr[5] = adap->pf * nvfs + vf; 3229 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, macaddr); 3233 static int cxgb4_mgmt_set_vf_mac(struct net_device *dev, int vf, u8 *mac) argument 3243 mac, vf); 3248 "Setting MAC %pM on VF %d\n", mac, vf); 3249 ret = t4_set_vf_mac_acl(adap, vf 3255 cxgb4_mgmt_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivi) argument 3287 cxgb4_mgmt_set_vf_rate(struct net_device *dev, int vf, int min_tx_rate, int max_tx_rate) argument 3388 cxgb4_mgmt_set_vf_vlan(struct net_device *dev, int vf, u16 vlan, u8 qos, __be16 vlan_proto) argument 3412 cxgb4_mgmt_set_vf_link_state(struct net_device *dev, int vf, int link) argument [all...] |
H A D | sched.c | 77 unsigned int vf = 0; local 96 vf = 0; 98 err = t4_set_params(adap, adap->mbox, pf, vf, 1,
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 3642 struct virtchnl_filter *vf = &filter->f; local 3682 vf->flow_type = VIRTCHNL_TCP_V6_FLOW; 3722 vf->mask.tcp_spec.dst_mac[i] |= 0xff; 3723 ether_addr_copy(vf->data.tcp_spec.dst_mac, 3732 vf->mask.tcp_spec.src_mac[i] |= 0xff; 3733 ether_addr_copy(vf->data.tcp_spec.src_mac, 3751 vf->mask.tcp_spec.vlan_id |= cpu_to_be16(0xffff); 3752 vf->data.tcp_spec.vlan_id = cpu_to_be16(match.key->vlan_id); 3795 vf->mask.tcp_spec.dst_ip[0] |= cpu_to_be32(0xffffffff); 3796 vf [all...] |
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_flows.c | 27 int vf; member in struct:otx2_flow 974 int err, vf = 0; local 1009 vf = ethtool_get_flow_spec_ring_vf(ring_cookie); 1010 if (vf > pci_num_vf(pfvf->pdev)) { 1017 if (!vf && (req->features & BIT_ULL(NPC_OUTER_VID)) && 1035 if (vf) { 1036 req->vf = vf; 1038 flow->vf = vf; [all...] |
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | mcg.c | 1173 static void clear_pending_reqs(struct mcast_group *group, int vf) argument 1182 list_for_each_entry_safe(req, tmp, &group->func[vf].pending, func_list) { 1192 --group->func[vf].num_pend_reqs; 1200 if (!pend && (!list_empty(&group->func[vf].pending) || group->func[vf].num_pend_reqs)) { 1202 list_empty(&group->func[vf].pending), group->func[vf].num_pend_reqs);
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-driver.c | 1301 struct v4l2_frequency vf; local 1336 vf.tuner = 0; 1337 vf.type = V4L2_TUNER_ANALOG_TV; 1338 vf.frequency = 6400; /* the tuner 'baseline' frequency */ 1343 vf.frequency = 1460; /* ch. 1 91250*16/1000 */ 1346 vf.frequency = 1076; /* ch. 4 67250*16/1000 */ 1357 ivtv_s_frequency(NULL, &fh, &vf);
|
/linux-master/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_main.c | 1214 static int fun_set_vf_mac(struct net_device *dev, int vf, u8 *mac) argument 1227 vi = fun_get_vport(ed, vf); 1232 rc = fun_adi_write(fdev, FUN_ADMIN_ADI_ATTR_MACADDR, vf + 1, 1241 static int fun_set_vf_vlan(struct net_device *dev, int vf, u16 vlan, u8 qos, argument 1258 vi = fun_get_vport(ed, vf); 1264 rc = fun_adi_write(fdev, FUN_ADMIN_ADI_ATTR_VLAN, vf + 1, &vlan_param); 1275 static int fun_set_vf_rate(struct net_device *dev, int vf, int min_tx_rate, argument 1289 vi = fun_get_vport(ed, vf); 1294 rc = fun_adi_write(fdev, FUN_ADMIN_ADI_ATTR_RATE, vf + 1, &rate_param); 1302 static int fun_get_vf_config(struct net_device *dev, int vf, argument [all...] |
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-css.c | 1561 const struct v4l2_pix_format_mplane *vf = local 1648 if (vf->width < bi->info.isp.sp.output.min_width || 1649 vf->width > bi->info.isp.sp.output.max_width || 1650 vf->height < bi->info.isp.sp.output.min_height || 1651 vf->height > bi->info.isp.sp.output.max_height) 1686 [IPU3_CSS_QUEUE_VF] = "vf", 1701 struct v4l2_pix_format_mplane *in, *out, *vf; local 1710 vf = &q[IPU3_CSS_QUEUE_VF].fmt.mpix; 1744 /* Always require one input and vf only if out is also enabled */ 1779 vf [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_irq.c | 564 xe_memirq_reset(&tile->sriov.vf.memirq); 607 xe_memirq_postinstall(&tile->sriov.vf.memirq); 650 xe_memirq_handler(&tile->sriov.vf.memirq);
|
/linux-master/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 2037 static int ipoib_set_vf_link_state(struct net_device *dev, int vf, int link_state) argument 2041 return ib_set_vf_link_state(priv->ca, vf, priv->port, link_state); 2044 static int ipoib_get_vf_config(struct net_device *dev, int vf, argument 2050 err = ib_get_vf_config(priv->ca, vf, priv->port, ivf); 2054 ivf->vf = vf; 2060 static int ipoib_set_vf_guid(struct net_device *dev, int vf, u64 guid, int type) argument 2067 return ib_set_vf_guid(priv->ca, vf, priv->port, guid, type); 2070 static int ipoib_get_vf_guid(struct net_device *dev, int vf, argument 2076 return ib_get_vf_guid(priv->ca, vf, pri 2079 ipoib_get_vf_stats(struct net_device *dev, int vf, struct ifla_vf_stats *vf_stats) argument [all...] |
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 1112 * param[in] fabric - Fabric instance. This can be a base fabric or vf. 1429 * Returns FCS vf structure for a given vf_id. 1434 * If lookup succeeds, retuns fcs vf object, otherwise returns NULL 1449 * @param[in] vf vf for which logical ports are returned 1456 bfa_fcs_vf_get_ports(bfa_fcs_vf_t *vf, wwn_t lpwwn[], int *nlports) argument 1463 if (vf == NULL || lpwwn == NULL || *nlports == 0) 1466 fcs = vf->fcs; 1468 bfa_trc(fcs, vf->vf_id); 1471 lpwwn[i++] = vf [all...] |