/drivers/net/ethernet/cisco/enic/ |
H A D | enic_pp.h | 22 #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 D | enic_pp.c | 35 * 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 D | enic_dev.h | 26 * 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 D | enic.h | 132 int enic_is_valid_vf(struct enic *enic, int vf);
|
H A D | enic_main.c | 142 int enic_is_valid_vf(struct enic *enic, int vf) argument 145 return vf >= 0 && vf < enic->num_vfs; 1061 static int enic_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument 1067 ENIC_PP_BY_INDEX(enic, vf, pp, &err); 1078 static int enic_set_vf_port(struct net_device *netdev, int vf, argument 1086 ENIC_PP_BY_INDEX(enic, vf, pp, &err); 1121 if (vf == PORT_SELF_VF && is_zero_ether_addr(netdev->dev_addr)) 1124 err = enic_process_set_pp_request(enic, vf, &prev_pp, &restore_pp); 1133 if (vf 1155 enic_get_vf_port(struct net_device *netdev, int vf, struct sk_buff *skb) argument [all...] |
/drivers/net/ethernet/intel/igbvf/ |
H A D | Makefile | 34 igbvf-objs := vf.o \
|
H A D | mbx.c | 147 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 D | vf.h | 250 struct e1000_dev_spec_vf vf; member in union:e1000_hw::__anon2319
|
/drivers/net/ethernet/intel/ixgbevf/ |
H A D | Makefile | 34 ixgbevf-objs := vf.o \
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.c | 129 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 D | ixgbe_sriov.h | 39 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 D | cx18-ioctl.h | 30 int cx18_s_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
|
H A D | cx18-driver.c | 1155 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 D | cx18-ioctl.c | 610 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 D | ivtv-ioctl.h | 32 int ivtv_s_frequency(struct file *file, void *fh, struct v4l2_frequency *vf);
|
H A D | ivtv-driver.c | 1261 struct v4l2_frequency vf; local 1295 vf.tuner = 0; 1296 vf.type = V4L2_TUNER_ANALOG_TV; 1297 vf.frequency = 6400; /* the tuner 'baseline' frequency */ 1302 vf.frequency = 1460; /* ch. 1 91250*16/1000 */ 1305 vf.frequency = 1076; /* ch. 4 67250*16/1000 */ 1316 ivtv_s_frequency(NULL, &fh, &vf);
|
/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 407 const struct v4l2_frequency *vf = (struct v4l2_frequency *)arg; local 417 if (vf->type == V4L2_TUNER_RADIO) { 428 fv = vf->frequency; 441 struct v4l2_frequency *vf = (struct v4l2_frequency *)arg; local 455 vf->type = V4L2_TUNER_RADIO; 457 vf->type = V4L2_TUNER_ANALOG_TV; 464 vf->frequency = val; 483 struct v4l2_format *vf = (struct v4l2_format *)arg; local 485 switch(vf->type) { 487 memcpy(vf, 515 struct v4l2_format *vf = (struct v4l2_format *)arg; local [all...] |
/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 161 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); 2230 * igb_probe_vfs - Initialize vf data storage and add VFs to pci config space 2233 * This function initializes the vf specific data storage and then attempts to 4937 static int igb_vf_configure(struct igb_adapter *adapter, int vf) argument 4947 igb_set_vf_mac(adapter, vf, mac_addr); 4953 thisvf_devfn = (pdev->devfn + 0x80 + (vf << 5054 igb_set_vf_promisc(struct igb_adapter *adapter, u32 *msgbuf, u32 vf) argument 5094 igb_set_vf_multicasts(struct igb_adapter *adapter, u32 *msgbuf, u32 vf) argument 5146 igb_clear_vf_vfta(struct igb_adapter *adapter, u32 vf) argument 5175 igb_vlvf_set(struct igb_adapter *adapter, u32 vid, bool add, u32 vf) argument 5268 igb_set_vmvir(struct igb_adapter *adapter, u32 vid, u32 vf) argument 5278 igb_ndo_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos) argument 5316 igb_set_vf_vlan(struct igb_adapter *adapter, u32 *msgbuf, u32 vf) argument 5324 igb_vf_reset(struct igb_adapter *adapter, u32 vf) argument 5349 igb_vf_reset_event(struct igb_adapter *adapter, u32 vf) argument 5361 igb_vf_reset_msg(struct igb_adapter *adapter, u32 vf) argument 5389 igb_set_vf_mac_addr(struct igb_adapter *adapter, u32 *msg, int vf) argument 5404 igb_rcv_ack_from_vf(struct igb_adapter *adapter, u32 vf) argument 5418 igb_rcv_msg_from_vf(struct igb_adapter *adapter, u32 vf) argument 5508 u32 vf; local 6989 igb_set_vf_mac(struct igb_adapter *adapter, int vf, unsigned char *mac_addr) argument 7004 igb_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument 7034 igb_set_vf_rate_limit(struct e1000_hw *hw, int vf, int tx_rate, int link_speed) argument 7087 igb_ndo_set_vf_bw(struct net_device *netdev, int vf, int tx_rate) argument 7109 igb_ndo_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivi) argument [all...] |
/drivers/media/video/usbvision/ |
H A D | usbvision-video.c | 890 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 D | radio-si4713.c | 210 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 D | cxgb4.h | 653 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 D | t4_hw.c | 2137 * @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 D | be_main.c | 782 static int be_vid_config(struct be_adapter *adapter, bool vf, u32 vf_num) argument 789 if (vf) { 892 static int be_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) argument 895 struct be_vf_cfg *vf_cfg = &adapter->vf_cfg[vf]; 901 if (!is_valid_ether_addr(mac) || vf >= adapter->num_vfs) 905 status = be_cmd_set_mac_list(adapter, mac, 1, vf + 1); 908 vf_cfg->pmac_id, vf + 1); 911 &vf_cfg->pmac_id, vf + 1); 916 mac, vf); 923 static int be_get_vf_config(struct net_device *netdev, int vf, argument 944 be_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos) argument 972 be_set_vf_tx_rate(struct net_device *netdev, int vf, int rate) argument 2498 u32 vf; local 2528 u32 vf; local 2560 int vf; local 2571 u32 cap_flags, en_flags, vf; local [all...] |
/drivers/video/ |
H A D | acornfb.h | 91 u_int vf; member in struct:modey_params
|
/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 1082 * param[in] fabric - Fabric instance. This can be a base fabric or vf. 1391 * Returns FCS vf structure for a given vf_id. 1396 * If lookup succeeds, retuns fcs vf object, otherwise returns NULL 1411 * @param[in] vf vf for which logical ports are returned 1418 bfa_fcs_vf_get_ports(bfa_fcs_vf_t *vf, wwn_t lpwwn[], int *nlports) argument 1425 if (vf == NULL || lpwwn == NULL || *nlports == 0) 1428 fcs = vf->fcs; 1430 bfa_trc(fcs, vf->vf_id); 1433 lpwwn[i++] = vf [all...] |