Searched refs:vf (Results 1 - 25 of 40) sorted by relevance

12

/drivers/net/ethernet/cisco/enic/
H A Denic_pp.h22 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \
24 if (enic_is_valid_pp_vf(enic, vf, err)) \
25 pp = (vf == PORT_SELF_VF) ? enic->pp : enic->pp + vf; \
30 int enic_process_set_pp_request(struct enic *enic, int vf,
32 int enic_process_get_pp_request(struct enic *enic, int vf,
34 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err);
H A Denic_pp.c35 * Checks validity of vf index that came in
38 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) argument
40 if (vf != PORT_SELF_VF) {
43 if (vf < 0 || vf >= enic->num_vfs) {
57 if (vf == PORT_SELF_VF && !enic_is_dynamic(enic)) {
69 static int enic_set_port_profile(struct enic *enic, int vf) argument
81 ENIC_PP_BY_INDEX(enic, vf, pp, &err);
99 } else if (vf == PORT_SELF_VF) {
103 "for VF %d\n", vf);
145 enic_unset_port_profile(struct enic *enic, int vf) argument
189 enic_pp_preassociate(struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp) argument
195 enic_pp_disassociate(struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp) argument
217 enic_pp_preassociate_rr(struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp) argument
256 enic_pp_associate(struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp) argument
304 enic_process_set_pp_request(struct enic *enic, int vf, struct enic_port_profile *prev_pp, int *restore_pp) argument
321 enic_process_get_pp_request(struct enic *enic, int vf, int request, u16 *response) argument
[all...]
H A Denic_dev.h26 * If vf argument is valid, it proxies the devcmd
28 #define ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnicdevcmdfn, ...) \
31 if (enic_is_valid_vf(enic, vf)) { \
32 vnic_dev_cmd_proxy_by_index_start(enic->vdev, vf); \
H A Denic.h132 int enic_is_valid_vf(struct enic *enic, int vf);
H A Denic_main.c142 int enic_is_valid_vf(struct enic *enic, int vf) argument
145 return vf >= 0 && vf < enic->num_vfs;
1062 static int enic_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument
1068 ENIC_PP_BY_INDEX(enic, vf, pp, &err);
1073 if (vf == PORT_SELF_VF) {
1078 * For sriov vf's set the mac in hw
1080 ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic,
1088 static int enic_set_vf_port(struct net_device *netdev, int vf, argument
1096 ENIC_PP_BY_INDEX(enic, vf, p
1177 enic_get_vf_port(struct net_device *netdev, int vf, struct sk_buff *skb) argument
[all...]
/drivers/net/ethernet/sfc/
H A Dsiena_sriov.c189 static unsigned abs_index(struct efx_vf *vf, unsigned index) argument
191 return EFX_VI_BASE + vf->index * efx_vf_size(vf->efx) + index;
306 static void efx_sriov_reset_tx_filter(struct efx_vf *vf) argument
308 struct efx_nic *efx = vf->efx;
313 if (vf->tx_filter_id != -1) {
315 vf->tx_filter_id);
316 netif_dbg(efx, hw, efx->net_dev, "Removed vf %s tx filter %d\n",
317 vf->pci_name, vf
350 efx_sriov_reset_rx_filter(struct efx_vf *vf) argument
389 __efx_sriov_update_vf_addr(struct efx_vf *vf) argument
401 __efx_sriov_push_vf_status(struct efx_vf *vf) argument
528 efx_vfdi_init_evq(struct efx_vf *vf) argument
569 efx_vfdi_init_rxq(struct efx_vf *vf) argument
609 efx_vfdi_init_txq(struct efx_vf *vf) argument
656 efx_vfdi_flush_wake(struct efx_vf *vf) argument
665 efx_vfdi_flush_clear(struct efx_vf *vf) argument
675 efx_vfdi_fini_all_queues(struct efx_vf *vf) argument
755 efx_vfdi_insert_filter(struct efx_vf *vf) argument
786 efx_vfdi_remove_all_filters(struct efx_vf *vf) argument
795 efx_vfdi_set_status_page(struct efx_vf *vf) argument
839 efx_vfdi_clear_status_page(struct efx_vf *vf) argument
863 struct efx_vf *vf = container_of(work, struct efx_vf, req); local
929 efx_sriov_reset_vf(struct efx_vf *vf, struct efx_buffer *buffer) argument
998 struct efx_vf *vf = container_of(work, struct efx_vf, req); local
1062 struct efx_vf *vf; local
1174 struct efx_vf *vf; local
1200 struct efx_vf *vf; local
1220 struct efx_vf *vf; local
1342 struct efx_vf *vf; local
1376 struct efx_vf *vf; local
1432 struct efx_vf *vf; local
1460 struct efx_vf *vf; local
1479 struct efx_vf *vf; local
1504 struct efx_vf *vf; local
1522 struct efx_vf *vf; local
1564 struct efx_vf *vf; local
1582 struct efx_vf *vf; local
1602 struct efx_vf *vf; local
1626 struct efx_vf *vf; local
[all...]
H A Dnic.h245 extern int efx_sriov_set_vf_mac(struct net_device *dev, int vf, u8 *mac);
246 extern int efx_sriov_set_vf_vlan(struct net_device *dev, int vf,
248 extern int efx_sriov_get_vf_config(struct net_device *dev, int vf,
250 extern int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf,
/drivers/net/ethernet/intel/igbvf/
H A DMakefile34 igbvf-objs := vf.o \
H A Dmbx.c147 v2p_mailbox |= hw->dev_spec.vf.v2p_mailbox;
148 hw->dev_spec.vf.v2p_mailbox |= v2p_mailbox & E1000_V2PMAILBOX_R2C_BITS;
169 hw->dev_spec.vf.v2p_mailbox &= ~mask;
242 /* reserve mailbox for vf use */
262 /* lock the mailbox to prevent pf/vf race condition */
286 * e1000_read_mbx_vf - Reads a message from the inbox intended for vf
298 /* lock the mailbox to prevent pf/vf race condition */
318 * e1000_init_mbx_params_vf - set initial values for vf mailbox
321 * Initializes the hw->mbx struct to correct values for vf mailbox
H A Dvf.h250 struct e1000_dev_spec_vf vf; member in union:e1000_hw::__anon2358
/drivers/net/ethernet/intel/ixgbevf/
H A DMakefile34 ixgbevf-objs := vf.o \
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c129 mv_list->vf = -1;
215 int entries, u16 *hash_list, u32 vf)
217 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf];
264 entry->vf, IXGBE_RAH_AV);
294 u32 vf)
296 return adapter->hw.mac.ops.set_vfta(&adapter->hw, vid, vf, (bool)add);
326 static void ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) argument
328 u32 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf));
335 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(vf), vmolr);
338 static void ixgbe_set_vmvir(struct ixgbe_adapter *adapter, u32 vid, u32 vf) argument
214 ixgbe_set_vf_multicasts(struct ixgbe_adapter *adapter, int entries, u16 *hash_list, u32 vf) argument
293 ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid, u32 vf) argument
349 ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf) argument
377 ixgbe_set_vf_mac(struct ixgbe_adapter *adapter, int vf, unsigned char *mac_addr) argument
389 ixgbe_set_vf_macvlan(struct ixgbe_adapter *adapter, int vf, int index, unsigned char *mac_addr) argument
508 ixgbe_vf_reset_msg(struct ixgbe_adapter *adapter, u32 vf) argument
534 ixgbe_rcv_msg_from_vf(struct ixgbe_adapter *adapter, u32 vf) argument
673 ixgbe_rcv_ack_from_vf(struct ixgbe_adapter *adapter, u32 vf) argument
686 u32 vf; local
729 ixgbe_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument
747 ixgbe_ndo_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos) argument
805 ixgbe_set_vf_rate_limit(struct ixgbe_hw *hw, int vf, int tx_rate, int link_speed) argument
873 ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate) argument
893 ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting) argument
919 ixgbe_ndo_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) argument
[all...]
H A Dixgbe_sriov.h39 int ixgbe_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate);
40 int ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting);
42 int vf, struct ifla_vf_info *ivi);
/drivers/media/video/cx18/
H A Dcx18-ioctl.h30 int cx18_s_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
H A Dcx18-driver.c1155 struct v4l2_frequency vf; local
1227 vf.tuner = 0;
1228 vf.type = V4L2_TUNER_ANALOG_TV;
1229 vf.frequency = 6400; /* the tuner 'baseline' frequency */
1234 vf.frequency = 1460; /* ch. 1 91250*16/1000 */
1236 vf.frequency = 1076; /* ch. 4 67250*16/1000 */
1247 cx18_s_frequency(NULL, &fh, &vf);
H A Dcx18-ioctl.c610 struct v4l2_frequency *vf)
614 if (vf->tuner != 0)
617 cx18_call_all(cx, tuner, g_frequency, vf);
621 int cx18_s_frequency(struct file *file, void *fh, struct v4l2_frequency *vf) argument
626 if (vf->tuner != 0)
630 CX18_DEBUG_INFO("v4l2 ioctl: set frequency %d\n", vf->frequency);
631 cx18_call_all(cx, tuner, s_frequency, vf);
609 cx18_g_frequency(struct file *file, void *fh, struct v4l2_frequency *vf) argument
/drivers/media/video/ivtv/
H A Divtv-ioctl.h32 int ivtv_s_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
/drivers/media/video/pvrusb2/
H A Dpvrusb2-v4l2.c406 const struct v4l2_frequency *vf = (struct v4l2_frequency *)arg; local
416 if (vf->type == V4L2_TUNER_RADIO) {
427 fv = vf->frequency;
440 struct v4l2_frequency *vf = (struct v4l2_frequency *)arg; local
454 vf->type = V4L2_TUNER_RADIO;
456 vf->type = V4L2_TUNER_ANALOG_TV;
463 vf->frequency = val;
482 struct v4l2_format *vf = (struct v4l2_format *)arg; local
484 switch(vf->type) {
486 memcpy(vf,
514 struct v4l2_format *vf = (struct v4l2_format *)arg; local
[all...]
/drivers/net/ethernet/intel/igb/
H A Digb_main.c161 static int igb_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac);
163 int vf, u16 vlan, u8 qos);
164 static int igb_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate);
165 static int igb_ndo_get_vf_config(struct net_device *netdev, int vf,
170 static int igb_vf_configure(struct igb_adapter *adapter, int vf);
2254 * igb_probe_vfs - Initialize vf data storage and add VFs to pci config space
2257 * This function initializes the vf specific data storage and then attempts to
4980 static int igb_vf_configure(struct igb_adapter *adapter, int vf) argument
4990 igb_set_vf_mac(adapter, vf, mac_addr);
4996 thisvf_devfn = (pdev->devfn + 0x80 + (vf <<
5097 igb_set_vf_promisc(struct igb_adapter *adapter, u32 *msgbuf, u32 vf) argument
5137 igb_set_vf_multicasts(struct igb_adapter *adapter, u32 *msgbuf, u32 vf) argument
5189 igb_clear_vf_vfta(struct igb_adapter *adapter, u32 vf) argument
5218 igb_vlvf_set(struct igb_adapter *adapter, u32 vid, bool add, u32 vf) argument
5311 igb_set_vmvir(struct igb_adapter *adapter, u32 vid, u32 vf) argument
5321 igb_ndo_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos) argument
5359 igb_set_vf_vlan(struct igb_adapter *adapter, u32 *msgbuf, u32 vf) argument
5367 igb_vf_reset(struct igb_adapter *adapter, u32 vf) argument
5392 igb_vf_reset_event(struct igb_adapter *adapter, u32 vf) argument
5404 igb_vf_reset_msg(struct igb_adapter *adapter, u32 vf) argument
5432 igb_set_vf_mac_addr(struct igb_adapter *adapter, u32 *msg, int vf) argument
5447 igb_rcv_ack_from_vf(struct igb_adapter *adapter, u32 vf) argument
5461 igb_rcv_msg_from_vf(struct igb_adapter *adapter, u32 vf) argument
5551 u32 vf; local
7024 igb_set_vf_mac(struct igb_adapter *adapter, int vf, unsigned char *mac_addr) argument
7039 igb_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument
7069 igb_set_vf_rate_limit(struct e1000_hw *hw, int vf, int tx_rate, int link_speed) argument
7122 igb_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate) argument
7144 igb_ndo_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) argument
[all...]
/drivers/media/video/usbvision/
H A Dusbvision-video.c890 struct v4l2_format *vf)
893 vf->fmt.pix.width = usbvision->curwidth;
894 vf->fmt.pix.height = usbvision->curheight;
895 vf->fmt.pix.pixelformat = usbvision->palette.format;
896 vf->fmt.pix.bytesperline =
898 vf->fmt.pix.sizeimage = vf->fmt.pix.bytesperline * usbvision->curheight;
899 vf->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M;
900 vf->fmt.pix.field = V4L2_FIELD_NONE; /* Always progressive image */
906 struct v4l2_format *vf)
889 vidioc_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *vf) argument
905 vidioc_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *vf) argument
932 vidioc_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *vf) argument
[all...]
/drivers/media/radio/
H A Dradio-si4713.c210 struct v4l2_frequency *vf)
213 g_frequency, vf);
217 struct v4l2_frequency *vf)
220 s_frequency, vf);
209 radio_si4713_g_frequency(struct file *file, void *p, struct v4l2_frequency *vf) argument
216 radio_si4713_s_frequency(struct file *file, void *p, struct v4l2_frequency *vf) argument
/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h653 int t4_port_init(struct adapter *adap, int mbox, int pf, int vf);
681 unsigned int vf, unsigned int nparams, const u32 *params,
684 unsigned int vf, unsigned int nparams, const u32 *params,
687 unsigned int vf, unsigned int txq, unsigned int txq_eth_ctrl,
692 unsigned int pf, unsigned int vf, unsigned int nmac, u8 *mac,
713 unsigned int vf, unsigned int iqtype, unsigned int iqid,
716 unsigned int vf, unsigned int eqid);
718 unsigned int vf, unsigned int eqid);
720 unsigned int vf, unsigned int eqid);
H A Dt4_hw.c2137 * @vf: the VF
2146 unsigned int vf, unsigned int nparams, const u32 *params,
2159 FW_PARAMS_CMD_VFN(vf));
2176 * @vf: the VF
2185 unsigned int vf, unsigned int nparams, const u32 *params,
2197 FW_PARAMS_CMD_VFN(vf));
2212 * @vf: the VF being configured
2229 unsigned int vf, unsigned int txq, unsigned int txq_eth_ctrl,
2239 FW_PFVF_CMD_VFN(vf));
2260 * @vf
2145 t4_query_params(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, u32 *val) argument
2184 t4_set_params(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int nparams, const u32 *params, const u32 *val) argument
2228 t4_cfg_pfvf(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int txq, unsigned int txq_eth_ctrl, unsigned int rxqi, unsigned int rxq, unsigned int tc, unsigned int vi, unsigned int cmask, unsigned int pmask, unsigned int nexact, unsigned int rcaps, unsigned int wxcaps) argument
2271 t4_alloc_vi(struct adapter *adap, unsigned int mbox, unsigned int port, unsigned int pf, unsigned int vf, unsigned int nmac, u8 *mac, unsigned int *rss_size) argument
2546 t4_iq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int iqtype, unsigned int iqid, unsigned int fl0id, unsigned int fl1id) argument
2574 t4_eth_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int eqid) argument
2598 t4_ctrl_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int eqid) argument
2622 t4_ofld_eq_free(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int eqid) argument
2798 t4_port_init(struct adapter *adap, int mbox, int pf, int vf) argument
[all...]
/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c784 static int be_vid_config(struct be_adapter *adapter, bool vf, u32 vf_num) argument
791 if (vf) {
917 static int be_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument
920 struct be_vf_cfg *vf_cfg = &adapter->vf_cfg[vf];
926 if (!is_valid_ether_addr(mac) || vf >= adapter->num_vfs)
930 status = be_cmd_set_mac_list(adapter, mac, 1, vf + 1);
933 vf_cfg->pmac_id, vf + 1);
936 &vf_cfg->pmac_id, vf + 1);
941 mac, vf);
948 static int be_get_vf_config(struct net_device *netdev, int vf, argument
969 be_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos) argument
1004 be_set_vf_tx_rate(struct net_device *netdev, int vf, int rate) argument
2447 u32 vf; local
2477 u32 vf; local
2524 int vf; local
2535 u32 cap_flags, en_flags, vf; local
[all...]
/drivers/video/
H A Dacornfb.h91 u_int vf; member in struct:modey_params

Completed in 893 milliseconds

12