/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sriov_common.c | 146 struct qlcnic_vf_info *vf; local 190 vf = &sriov->vf_info[i]; 191 vf->adapter = adapter; 192 vf->pci_func = qlcnic_sriov_virtid_fn(adapter, i); 193 mutex_init(&vf->send_cmd_lock); 194 spin_lock_init(&vf->vlan_list_lock); 195 INIT_LIST_HEAD(&vf->rcv_act.wait_list); 196 INIT_LIST_HEAD(&vf->rcv_pend.wait_list); 197 spin_lock_init(&vf->rcv_act.lock); 198 spin_lock_init(&vf 265 struct qlcnic_vf_info *vf; local 824 qlcnic_sriov_clear_trans(struct qlcnic_vf_info *vf, struct qlcnic_bc_trans *trans, u8 type) argument 849 qlcnic_sriov_schedule_bc_cmd(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, work_func_t func) argument 893 struct qlcnic_vf_info *vf = trans->vf; local 920 __qlcnic_sriov_issue_bc_post(struct qlcnic_vf_info *vf) argument 938 struct qlcnic_vf_info *vf = trans->vf; local 966 __qlcnic_sriov_send_bc_msg(struct qlcnic_bc_trans *trans, struct qlcnic_vf_info *vf, u8 type) argument 1009 struct qlcnic_vf_info *vf; local 1051 struct qlcnic_vf_info *vf = container_of(work, struct qlcnic_vf_info, local 1086 qlcnic_sriov_handle_bc_resp(struct qlcnic_bc_hdr *hdr, struct qlcnic_vf_info *vf) argument 1118 __qlcnic_sriov_add_act_list(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, struct qlcnic_bc_trans *trans) argument 1132 qlcnic_sriov_add_act_list(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, struct qlcnic_bc_trans *trans) argument 1146 qlcnic_sriov_handle_pending_trans(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, struct qlcnic_bc_hdr *hdr) argument 1190 qlcnic_sriov_handle_bc_cmd(struct qlcnic_sriov *sriov, struct qlcnic_bc_hdr *hdr, struct qlcnic_vf_info *vf) argument 1264 qlcnic_sriov_handle_msg_event(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf) argument 1285 qlcnic_sriov_handle_flr_event(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf) argument 1299 struct qlcnic_vf_info *vf; local 1469 struct qlcnic_vf_info *vf = &adapter->ahw->sriov->vf_info[0]; local 1502 struct qlcnic_vf_info *vf; local 1949 qlcnic_sriov_check_vlan_id(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, u16 vlan_id) argument 1970 qlcnic_sriov_validate_num_vlans(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf) argument 1988 struct qlcnic_vf_info *vf; local 2022 qlcnic_sriov_vlan_operation(struct qlcnic_vf_info *vf, u16 vlan_id, enum qlcnic_vlan_operations opcode) argument 2055 struct qlcnic_vf_info *vf; local 2163 struct qlcnic_vf_info *vf; local 2180 struct qlcnic_vf_info *vf; local 2190 qlcnic_sriov_add_vlan_id(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, u16 vlan_id) argument 2204 qlcnic_sriov_del_vlan_id(struct qlcnic_sriov *sriov, struct qlcnic_vf_info *vf, u16 vlan_id) argument 2218 qlcnic_sriov_check_any_vlan(struct qlcnic_vf_info *vf) argument [all...] |
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sriov.c | 163 struct qed_vf_info *vf = NULL; local 172 vf = &p_hwfn->pf_iov_info->vfs_array[relative_vf_id]; 177 return vf; 430 struct qed_vf_info *vf = &p_iov_info->vfs_array[idx]; local 433 vf->vf_mbx.req_virt = p_req_virt_addr + idx; 434 vf->vf_mbx.req_phys = req_p + idx * sizeof(union vfpf_tlvs); 435 vf->vf_mbx.reply_virt = p_reply_virt_addr + idx; 436 vf->vf_mbx.reply_phys = rply_p + idx * sizeof(union pfvf_tlvs); 438 vf->state = VF_STOPPED; 439 vf 680 struct qed_vf_info *vf; local 713 qed_iov_vf_igu_reset(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 733 qed_iov_vf_igu_set_int(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf, bool enable) argument 783 qed_iov_enable_vf_access(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 841 qed_iov_config_perm_table(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf, u8 enable) argument 859 qed_iov_enable_vf_traffic(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 872 qed_iov_alloc_vf_igu_sbs(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf, u16 num_rx_queues) argument 914 qed_iov_free_vf_igu_sbs(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 985 struct qed_vf_info *vf = NULL; local 1093 struct qed_vf_info *vf = NULL; local 1323 struct qed_vf_info *vf = NULL; local 1535 qed_iov_vf_mbx_acquire(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 1889 qed_iov_vf_mbx_start_vport(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 1976 qed_iov_vf_mbx_stop_vport(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 2012 qed_iov_vf_mbx_start_rxq_resp(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf, u8 status, bool b_legacy) argument 2086 qed_iov_vf_mbx_start_rxq(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 2419 qed_iov_vf_mbx_start_txq(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 2493 qed_iov_vf_stop_rxqs(struct qed_hwfn *p_hwfn, struct qed_vf_info *vf, u16 rxq_id, u8 qid_usage_idx, bool cqe_completion) argument 2540 qed_iov_vf_stop_txqs(struct qed_hwfn *p_hwfn, struct qed_vf_info *vf, u16 txq_id, u8 qid_usage_idx) argument 2563 qed_iov_vf_mbx_stop_rxqs(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 2601 qed_iov_vf_mbx_stop_txqs(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 2639 qed_iov_vf_mbx_update_rxqs(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 2866 qed_iov_vp_update_rss_param(struct qed_hwfn *p_hwfn, struct qed_vf_info *vf, struct qed_sp_vport_update_params *p_data, struct qed_rss_params *p_rss, struct qed_iov_vf_mbx *p_mbx, u16 *tlvs_mask, u16 *tlvs_accepted) argument 2932 qed_iov_vp_update_sge_tpa_param(struct qed_hwfn *p_hwfn, struct qed_vf_info *vf, struct qed_sp_vport_update_params *p_data, struct qed_sge_tpa_params *p_sge_tpa, struct qed_iov_vf_mbx *p_mbx, u16 *tlvs_mask) argument 3023 qed_iov_vf_mbx_vport_update(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 3245 struct qed_public_vf_info *vf; local 3267 qed_iov_vf_mbx_ucast_filter(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 3354 qed_iov_vf_mbx_int_cleanup(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 3371 qed_iov_vf_mbx_close(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 3484 qed_iov_vf_pf_set_coalesce(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, struct qed_vf_info *vf) argument 4297 struct qed_vf_info *vf; local 4371 struct qed_vf_info *vf; local 4392 struct qed_vf_info *vf; local 4834 struct qed_public_vf_info *vf; local 4871 struct qed_public_vf_info *vf; local 4912 struct qed_public_vf_info *vf; local 5068 struct qed_vf_info *vf; local 5135 struct qed_vf_info *vf; local [all...] |
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-ioctl.h | 16 int cx18_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-radio-common.c | 141 int vivid_radio_g_frequency(struct file *file, const unsigned *pfreq, struct v4l2_frequency *vf) argument 143 if (vf->tuner != 0) 145 vf->frequency = *pfreq; 149 int vivid_radio_s_frequency(struct file *file, unsigned *pfreq, const struct v4l2_frequency *vf) argument 155 if (vf->tuner != 0) 158 if (vf->frequency >= (FM_FREQ_RANGE_LOW + SW_FREQ_RANGE_HIGH) / 2) 160 else if (vf->frequency <= (AM_FREQ_RANGE_HIGH + SW_FREQ_RANGE_LOW) / 2) 165 freq = clamp_t(u32, vf->frequency, vivid_radio_bands[band].rangelow,
|
H A D | vivid-sdr-cap.h | 12 int vivid_sdr_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf); 13 int vivid_sdr_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
|
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_api.c | 14 int enic_api_devcmd_proxy_by_index(struct net_device *netdev, int vf, argument 30 vnic_dev_cmd_proxy_by_index_start(vdev, vf);
|
H A D | enic_dev.h | 12 * If vf argument is valid, it proxies the devcmd 14 #define ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnicdevcmdfn, ...) \ 17 if (enic_is_valid_vf(enic, vf)) { \ 18 vnic_dev_cmd_proxy_by_index_start(enic->vdev, vf); \
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_repr.h | 20 struct ice_vf *vf; member in struct:ice_repr 29 struct ice_repr *ice_repr_add_vf(struct ice_vf *vf);
|
H A D | ice_sriov.h | 52 void ice_calc_vf_reg_idx(struct ice_vf *vf, struct ice_q_vector *q_vector); 60 void ice_print_vf_rx_mdd_event(struct ice_vf *vf); 61 void ice_print_vf_tx_mdd_event(struct ice_vf *vf); 63 ice_vc_validate_pattern(struct ice_vf *vf, struct virtchnl_proto_hdrs *proto); 72 static inline void ice_print_vf_rx_mdd_event(struct ice_vf *vf) { } argument 73 static inline void ice_print_vf_tx_mdd_event(struct ice_vf *vf) { } argument 136 ice_calc_vf_reg_idx(struct ice_vf __always_unused *vf, argument
|
/linux-master/drivers/gpu/drm/xe/regs/ |
H A D | xe_reg_defs.h | 41 * @vf: register is accessible from the Virtual Function. 43 u32 vf:1; member in struct:xe_reg::__anon817::__anon818 90 #define XE_REG_OPTION_VF .vf = 1
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_switch.c | 40 req.vf = pcifunc; 72 req.vf = pcifunc; 89 int pf, vf, numvfs; local 128 for (vf = 0; vf < numvfs; vf++) { 129 pcifunc = pf << 10 | ((vf + 1) & 0x3FF); 136 pf, vf, err); 145 pf, vf, err); 217 int pf, vf, numvf local [all...] |
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_main.c | 78 struct usnic_ib_vf *vf = obj; local 79 return scnprintf(buf, buf_sz, "PF: %s ", dev_name(&vf->pf->ib_dev.dev)); 83 static void usnic_ib_dump_vf(struct usnic_ib_vf *vf, char *buf, int buf_sz) argument 85 usnic_vnic_dump(vf->vnic, buf, buf_sz, vf, 90 void usnic_ib_log_vf(struct usnic_ib_vf *vf) argument 97 usnic_ib_dump_vf(vf, buf, 1000); 534 struct usnic_ib_vf *vf; local 542 vf = kzalloc(sizeof(*vf), GFP_KERNE 615 struct usnic_ib_vf *vf = pci_get_drvdata(pdev); local [all...] |
H A D | usnic_ib_qp_grp.c | 88 usnic_vnic_get_index(qp_grp->vf->vnic), 116 vnic_idx = usnic_vnic_get_index(qp_grp->vf->vnic); 157 vnic_idx = usnic_vnic_get_index(qp_grp->vf->vnic); 195 uaction->vnic_idx = usnic_vnic_get_index(qp_grp->vf->vnic); 485 ib_event.device = &qp_grp->vf->pf->ib_dev; 585 static int qp_grp_and_vf_bind(struct usnic_ib_vf *vf, argument 592 lockdep_assert_held(&vf->lock); 594 pdev = usnic_vnic_get_pdev(vf->vnic); 595 if (vf->qp_grp_ref_cnt == 0) { 602 vf 667 usnic_ib_qp_grp_create(struct usnic_ib_qp_grp *qp_grp, struct usnic_fwd_dev *ufdev, struct usnic_ib_vf *vf, struct usnic_ib_pd *pd, struct usnic_vnic_res_spec *res_spec, struct usnic_transport_spec *transport_spec) argument [all...] |
H A D | usnic_ib_qp_grp.h | 60 struct usnic_ib_vf *vf; member in struct:usnic_ib_qp_grp 93 struct usnic_fwd_dev *ufdev, struct usnic_ib_vf *vf,
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_vf_isr.c | 116 tasklet_init(&accel_dev->vf.pf2vf_bh_tasklet, 119 mutex_init(&accel_dev->vf.vf2pf_lock); 125 tasklet_disable(&accel_dev->vf.pf2vf_bh_tasklet); 126 tasklet_kill(&accel_dev->vf.pf2vf_bh_tasklet); 127 mutex_destroy(&accel_dev->vf.vf2pf_lock); 159 tasklet_hi_schedule(&accel_dev->vf.pf2vf_bh_tasklet); 184 snprintf(accel_dev->vf.irq_name, ADF_MAX_MSIX_VECTOR_NAME, 187 ret = request_irq(pdev->irq, adf_isr, 0, accel_dev->vf.irq_name, 191 accel_dev->vf.irq_name); 196 accel_dev->vf [all...] |
H A D | adf_pfvf_vf_proto.c | 39 &accel_dev->vf.vf2pf_lock); 55 return pfvf_ops->recv_msg(accel_dev, pfvf_offset, accel_dev->vf.pf_compat_ver); 76 reinit_completion(&accel_dev->vf.msg_received); 88 ret = wait_for_completion_timeout(&accel_dev->vf.msg_received, 92 *resp = accel_dev->vf.response; 95 accel_dev->vf.response.type = 0; 323 accel_dev->vf.response = msg; 324 complete(&accel_dev->vf.msg_received); 349 * adf_enable_vf2pf_comms() - Function enables communication from vf to pf
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptpf_mbox.c | 29 struct otx2_cptvf_info *vf, 57 "AF not responding to VF%d messages\n", vf->vf_id); 66 struct otx2_cptvf_info *vf, 72 otx2_mbox_alloc_msg(&cptpf->vfpf_mbox, vf->vf_id, 88 struct otx2_cptvf_info *vf, 96 otx2_mbox_alloc_msg(&cptpf->vfpf_mbox, vf->vf_id, sizeof(*rsp)); 111 struct otx2_cptvf_info *vf, 117 otx2_mbox_alloc_msg(&cptpf->vfpf_mbox, vf->vf_id, sizeof(*rsp)); 310 struct otx2_cptvf_info *vf, 321 err = handle_msg_get_eng_grp_num(cptpf, vf, re 28 forward_to_af(struct otx2_cptpf_dev *cptpf, struct otx2_cptvf_info *vf, struct mbox_msghdr *req, int size) argument 65 handle_msg_get_caps(struct otx2_cptpf_dev *cptpf, struct otx2_cptvf_info *vf, struct mbox_msghdr *req) argument 87 handle_msg_get_eng_grp_num(struct otx2_cptpf_dev *cptpf, struct otx2_cptvf_info *vf, struct mbox_msghdr *req) argument 110 handle_msg_kvf_limits(struct otx2_cptpf_dev *cptpf, struct otx2_cptvf_info *vf, struct mbox_msghdr *req) argument 309 cptpf_handle_vf_req(struct otx2_cptpf_dev *cptpf, struct otx2_cptvf_info *vf, struct mbox_msghdr *req, int size) argument 348 struct otx2_cptvf_info *vf; local 379 struct otx2_cptvf_info *vf; local [all...] |
H A D | otx2_cptpf_main.c | 139 int vf, reg = 0; local 145 vf = flr_work - pf->flr_work; 158 req->pcifunc |= (vf + 1) & RVU_PFVF_FUNC_MASK; 163 if (vf >= 64) { 165 vf = vf - 64; 169 RVU_PF_VFTRPENDX(reg), BIT_ULL(vf)); 171 RVU_PF_VFFLR_INT_ENA_W1SX(reg), BIT_ULL(vf)); 178 int reg, dev, vf, start_vf, num_reg = 1; local 191 for (vf 211 int reg, vf, num_reg = 1; local 336 int vf; local [all...] |
/linux-master/drivers/net/netdevsim/ |
H A D | netdev.c | 132 static int nsim_set_vf_mac(struct net_device *dev, int vf, u8 *mac) argument 138 if (vf >= nsim_dev_get_vfs(nsim_dev) || is_multicast_ether_addr(mac)) 140 memcpy(nsim_dev->vfconfigs[vf].vf_mac, mac, ETH_ALEN); 145 static int nsim_set_vf_vlan(struct net_device *dev, int vf, argument 151 if (vf >= nsim_dev_get_vfs(nsim_dev) || vlan > 4095 || qos > 7) 154 nsim_dev->vfconfigs[vf].vlan = vlan; 155 nsim_dev->vfconfigs[vf].qos = qos; 156 nsim_dev->vfconfigs[vf].vlan_proto = vlan_proto; 161 static int nsim_set_vf_rate(struct net_device *dev, int vf, int min, int max) argument 171 if (vf > 180 nsim_set_vf_spoofchk(struct net_device *dev, int vf, bool val) argument 192 nsim_set_vf_rss_query_en(struct net_device *dev, int vf, bool val) argument 204 nsim_set_vf_trust(struct net_device *dev, int vf, bool val) argument 217 nsim_get_vf_config(struct net_device *dev, int vf, struct ifla_vf_info *ivi) argument 240 nsim_set_vf_link_state(struct net_device *dev, int vf, int state) argument [all...] |
/linux-master/include/linux/ |
H A D | if_link.h | 21 __u32 vf; member in struct:ifla_vf_info
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-ioctl.h | 20 int ivtv_s_frequency(struct file *file, void *fh, const struct v4l2_frequency *vf);
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.h | 41 u32 vf; member in struct:rx_sa 57 u32 vf; member in struct:tx_sa
|
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | Makefile | 11 obj-$(CONFIG_FSL_ENETC_VF) += fsl-enetc-vf.o 12 fsl-enetc-vf-y := enetc_vf.o
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | ef10_sriov.h | 40 int efx_ef10_sriov_set_vf_mac(struct efx_nic *efx, int vf, const u8 *mac); 45 int efx_ef10_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf,
|
/linux-master/drivers/net/ethernet/intel/ice/devlink/ |
H A D | devlink_port.c | 377 * @vf: the VF to create a port for 383 int ice_devlink_create_vf_port(struct ice_vf *vf) argument 393 pf = vf->pf; 395 devlink_port = &vf->devlink_port; 397 vsi = ice_get_vf_vsi(vf); 403 attrs.pci_vf.vf = vf->vf_id; 413 vf->vf_id, err); 422 * @vf: the VF to cleanup 426 void ice_devlink_destroy_vf_port(struct ice_vf *vf) argument [all...] |