/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 78 static void bnx2x_vf_igu_ack_sb(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_igu_ack_sb() 114 struct bnx2x_virtf *vf, in bnx2x_validate_vf_sp_objs() 128 void bnx2x_vfop_qctor_dump_tx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_tx() 144 void bnx2x_vfop_qctor_dump_rx(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_dump_rx() 169 struct bnx2x_virtf *vf, in bnx2x_vfop_qctor_prep() 234 struct bnx2x_virtf *vf, int qid, in bnx2x_vf_queue_create() 273 static int bnx2x_vf_queue_destroy(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_queue_destroy() 317 struct bnx2x_virtf *vf = bnx2x_vf_by_abs_fid(bp, abs_vfid); in bnx2x_vf_set_igu_info() local 354 static int bnx2x_vf_vlan_mac_clear(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_vlan_mac_clear() 399 struct bnx2x_virtf *vf, int qid, in bnx2x_vf_mac_vlan_config() [all …]
|
D | bnx2x_vfpf.c | 542 static void bnx2x_leading_vfq_init(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_leading_vfq_init() 1124 struct bnx2x_virtf *vf) in bnx2x_vf_mbx_resp_single_tlv() 1140 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_send_msg() 1205 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp() 1213 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_phys_port() 1236 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_resp_fp_hsi_ver() 1255 static void bnx2x_vf_mbx_acquire_resp(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_resp() 1381 struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire_chk_dorq() 1398 static void bnx2x_vf_mbx_acquire(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_acquire() 1468 static void bnx2x_vf_mbx_init_vf(struct bnx2x *bp, struct bnx2x_virtf *vf, in bnx2x_vf_mbx_init_vf() [all …]
|
D | bnx2x_sriov.h | 163 #define vf_rxq_count(vf) ((vf)->alloc_resc.num_rxqs) argument 164 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs) argument 165 #define vf_sb_count(vf) ((vf)->alloc_resc.num_sbs) argument 166 #define vf_mac_rules_cnt(vf) ((vf)->alloc_resc.num_mac_filters) argument 167 #define vf_vlan_rules_cnt(vf) ((vf)->alloc_resc.num_vlan_filters) argument 168 #define vf_mc_rules_cnt(vf) ((vf)->alloc_resc.num_mc_filters) argument 176 #define bnx2x_vfq(vf, nr, var) ((vf)->vfqs[(nr)].var) argument 177 #define bnx2x_leading_vfq(vf, var) ((vf)->vfqs[LEADING_IDX].var) argument 221 #define for_each_vfq(vf, var) \ argument 224 #define for_each_vf_sb(vf, var) \ argument [all …]
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 47 struct i40e_vf *vf = pf->vf; in i40e_vc_vf_broadcast() local 71 static void i40e_vc_notify_vf_link_state(struct i40e_vf *vf) in i40e_vc_notify_vf_link_state() 130 void i40e_vc_notify_vf_reset(struct i40e_vf *vf) in i40e_vc_notify_vf_reset() 161 static inline void i40e_vc_disable_vf(struct i40e_pf *pf, struct i40e_vf *vf) in i40e_vc_disable_vf() 174 static inline bool i40e_vc_isvalid_vsi_id(struct i40e_vf *vf, u16 vsi_id) in i40e_vc_isvalid_vsi_id() 190 static inline bool i40e_vc_isvalid_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_isvalid_queue_id() 206 static inline bool i40e_vc_isvalid_vector_id(struct i40e_vf *vf, u32 vector_id) in i40e_vc_isvalid_vector_id() 223 static u16 i40e_vc_get_pf_queue_id(struct i40e_vf *vf, u16 vsi_id, in i40e_vc_get_pf_queue_id() 252 static void i40e_config_irq_link_list(struct i40e_vf *vf, u16 vsi_id, in i40e_config_irq_link_list() 363 static int i40e_config_vsi_tx_queue(struct i40e_vf *vf, u16 vsi_id, in i40e_config_vsi_tx_queue() [all …]
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 328 u32 *msgbuf, u32 vf) in ixgbe_set_vf_multicasts() 407 u32 vf) in ixgbe_set_vf_vlan() 416 static s32 ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 *msgbuf, u32 vf) in ixgbe_set_vf_lpe() 502 static void ixgbe_set_vmolr(struct ixgbe_hw *hw, u32 vf, bool aupe) in ixgbe_set_vmolr() 513 static void ixgbe_clear_vmvir(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_clear_vmvir() 519 static inline void ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_vf_reset_event() 559 int vf, unsigned char *mac_addr) in ixgbe_set_vf_mac() 569 int vf, int index, unsigned char *mac_addr) in ixgbe_set_vf_macvlan() 636 static inline void ixgbe_write_qde(struct ixgbe_adapter *adapter, u32 vf, in ixgbe_write_qde() 657 static int ixgbe_vf_reset_msg(struct ixgbe_adapter *adapter, u32 vf) in ixgbe_vf_reset_msg() [all …]
|
D | ixgbe_sriov.h | 63 u16 vid, u16 qos, u32 vf) in ixgbe_set_vmvir()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_pf.c | 744 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_channel_cfg_cmd() local 790 struct qlcnic_vf_info *vf, in qlcnic_sriov_cfg_vf_def_mac() 857 struct qlcnic_vf_info *vf, in qlcnic_83xx_cfg_default_mac_vlan() 888 struct qlcnic_vf_info *vf = tran->vf; in qlcnic_sriov_pf_create_rx_ctx_cmd() local 916 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_mac_address_cmd() local 948 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_create_tx_ctx_cmd() local 971 static int qlcnic_sriov_validate_del_rx_ctx(struct qlcnic_vf_info *vf, in qlcnic_sriov_validate_del_rx_ctx() 986 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_del_rx_ctx_cmd() local 1006 static int qlcnic_sriov_validate_del_tx_ctx(struct qlcnic_vf_info *vf, in qlcnic_sriov_validate_del_tx_ctx() 1021 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_pf_del_tx_ctx_cmd() local [all …]
|
D | qlcnic_sriov_common.c | 144 struct qlcnic_vf_info *vf; in qlcnic_sriov_init() local 258 struct qlcnic_vf_info *vf; in __qlcnic_sriov_cleanup() local 818 static int qlcnic_sriov_clear_trans(struct qlcnic_vf_info *vf, in qlcnic_sriov_clear_trans() 844 struct qlcnic_vf_info *vf, in qlcnic_sriov_schedule_bc_cmd() 887 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_wait_for_channel_free() local 916 static int __qlcnic_sriov_issue_bc_post(struct qlcnic_vf_info *vf) in __qlcnic_sriov_issue_bc_post() 934 struct qlcnic_vf_info *vf = trans->vf; in qlcnic_sriov_issue_bc_post() local 965 struct qlcnic_vf_info *vf, u8 type) in __qlcnic_sriov_send_bc_msg() 1007 struct qlcnic_vf_info *vf; in qlcnic_sriov_send_bc_cmd() local 1049 struct qlcnic_vf_info *vf = container_of(work, struct qlcnic_vf_info, in qlcnic_sriov_process_bc_cmd() local [all …]
|
/drivers/net/ethernet/cisco/enic/ |
D | enic_pp.c | 38 int enic_is_valid_pp_vf(struct enic *enic, int vf, int *err) in enic_is_valid_pp_vf() 69 static int enic_set_port_profile(struct enic *enic, int vf) in enic_set_port_profile() 145 static int enic_unset_port_profile(struct enic *enic, int vf) in enic_unset_port_profile() 189 static int enic_pp_preassociate(struct enic *enic, int vf, in enic_pp_preassociate() 195 static int enic_pp_disassociate(struct enic *enic, int vf, in enic_pp_disassociate() 217 static int enic_pp_preassociate_rr(struct enic *enic, int vf, in enic_pp_preassociate_rr() 256 static int enic_pp_associate(struct enic *enic, int vf, in enic_pp_associate() 304 int enic_process_set_pp_request(struct enic *enic, int vf, in enic_process_set_pp_request() 321 int enic_process_get_pp_request(struct enic *enic, int vf, in enic_process_get_pp_request()
|
D | enic_pp.h | 22 #define ENIC_PP_BY_INDEX(enic, vf, pp, err) \ argument
|
D | enic_dev.h | 29 #define ENIC_DEVCMD_PROXY_BY_INDEX(vf, err, enic, vnicdevcmdfn, ...) \ argument
|
D | enic_api.c | 29 int enic_api_devcmd_proxy_by_index(struct net_device *netdev, int vf, in enic_api_devcmd_proxy_by_index()
|
/drivers/net/ethernet/sfc/ |
D | siena_sriov.c | 193 static unsigned abs_index(struct siena_vf *vf, unsigned index) in abs_index() 303 static void efx_siena_sriov_reset_tx_filter(struct siena_vf *vf) in efx_siena_sriov_reset_tx_filter() 347 static void efx_siena_sriov_reset_rx_filter(struct siena_vf *vf) in efx_siena_sriov_reset_rx_filter() 386 static void __efx_siena_sriov_update_vf_addr(struct siena_vf *vf) in __efx_siena_sriov_update_vf_addr() 401 static void __efx_siena_sriov_push_vf_status(struct siena_vf *vf) in __efx_siena_sriov_push_vf_status() 531 static int efx_vfdi_init_evq(struct siena_vf *vf) in efx_vfdi_init_evq() 572 static int efx_vfdi_init_rxq(struct siena_vf *vf) in efx_vfdi_init_rxq() 613 static int efx_vfdi_init_txq(struct siena_vf *vf) in efx_vfdi_init_txq() 660 static bool efx_vfdi_flush_wake(struct siena_vf *vf) in efx_vfdi_flush_wake() 669 static void efx_vfdi_flush_clear(struct siena_vf *vf) in efx_vfdi_flush_clear() [all …]
|
D | ef10_sriov.c | 124 struct ef10_vf *vf = nic_data->vf + i; in efx_ef10_sriov_free_vf_vports() local 163 struct ef10_vf *vf = nic_data->vf + vf_i; in efx_ef10_sriov_assign_vf_vport() local 463 struct ef10_vf *vf; in efx_ef10_sriov_set_vf_mac() local 537 struct ef10_vf *vf; in efx_ef10_sriov_set_vf_vlan() local 697 struct ef10_vf *vf; in efx_ef10_sriov_get_vf_config() local
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 43 struct bnxt_vf_info *vf; in bnxt_set_vf_spoofchk() local 84 struct bnxt_vf_info *vf; in bnxt_get_vf_config() local 114 struct bnxt_vf_info *vf; in bnxt_set_vf_mac() local 142 struct bnxt_vf_info *vf; in bnxt_set_vf_vlan() local 177 struct bnxt_vf_info *vf; in bnxt_set_vf_bw() local 218 struct bnxt_vf_info *vf; in bnxt_set_vf_link_state() local 251 struct bnxt_vf_info *vf; in bnxt_set_vf_attr() local 329 struct bnxt_vf_info *vf = &bp->pf.vf[k]; in bnxt_alloc_vf_resources() local 586 static int bnxt_hwrm_fwd_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_fwd_resp() 622 static int bnxt_hwrm_fwd_err_resp(struct bnxt *bp, struct bnxt_vf_info *vf, in bnxt_hwrm_fwd_err_resp() [all …]
|
/drivers/net/ethernet/cavium/thunder/ |
D | nic_main.c | 102 static void nic_clear_mbx_intr(struct nicpf *nic, int vf, int mbx_reg) in nic_clear_mbx_intr() 107 static u64 nic_get_mbx_addr(int vf) in nic_get_mbx_addr() 116 static void nic_send_msg_to_vf(struct nicpf *nic, int vf, union nic_mbx *mbx) in nic_send_msg_to_vf() 141 static void nic_mbx_send_ready(struct nicpf *nic, int vf) in nic_mbx_send_ready() 171 static void nic_mbx_send_ack(struct nicpf *nic, int vf) in nic_mbx_send_ack() 183 static void nic_mbx_send_nack(struct nicpf *nic, int vf) in nic_mbx_send_nack() 236 static int nic_update_hw_frs(struct nicpf *nic, int new_frs, int vf) in nic_update_hw_frs() 434 static void nic_send_rss_size(struct nicpf *nic, int vf) in nic_send_rss_size() 624 static void nic_enable_vf(struct nicpf *nic, int vf, bool enable) in nic_enable_vf() 640 static void nic_handle_mbx_intr(struct nicpf *nic, int vf) in nic_handle_mbx_intr() [all …]
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_main.c | 78 struct usnic_ib_vf *vf = obj; in usnic_ib_dump_vf_hdr() local 83 static void usnic_ib_dump_vf(struct usnic_ib_vf *vf, char *buf, int buf_sz) in usnic_ib_dump_vf() 90 void usnic_ib_log_vf(struct usnic_ib_vf *vf) in usnic_ib_log_vf() 534 struct usnic_ib_vf *vf; in usnic_ib_pci_probe() local 611 struct usnic_ib_vf *vf = pci_get_drvdata(pdev); in usnic_ib_pci_remove() local
|
D | usnic_ib_verbs.c | 150 struct usnic_ib_vf *vf; in find_free_vf_and_create_qp_grp() local 221 struct usnic_ib_vf *vf = qp_grp->vf; in qp_grp_destroy() local 378 struct usnic_ib_vf *vf; in usnic_ib_query_qp() local 549 struct usnic_ib_vf *vf; in usnic_ib_destroy_qp() local 699 struct usnic_ib_vf *vf; in usnic_ib_mmap() local
|
/drivers/media/platform/vivid/ |
D | vivid-radio-common.c | 153 int vivid_radio_g_frequency(struct file *file, const unsigned *pfreq, struct v4l2_frequency *vf) in vivid_radio_g_frequency() 161 int vivid_radio_s_frequency(struct file *file, unsigned *pfreq, const struct v4l2_frequency *vf) in vivid_radio_s_frequency()
|
/drivers/crypto/qat/qat_common/ |
D | adf_dev_mgr.c | 65 static int adf_get_vf_id(struct adf_accel_dev *vf) in adf_get_vf_id() 72 static int adf_get_vf_num(struct adf_accel_dev *vf) in adf_get_vf_num() 111 void adf_clean_vf_map(bool vf) in adf_clean_vf_map()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 5691 static int igb_vf_configure(struct igb_adapter *adapter, int vf) in igb_vf_configure() 5719 static int igb_set_vf_promisc(struct igb_adapter *adapter, u32 *msgbuf, u32 vf) in igb_set_vf_promisc() 5759 u32 *msgbuf, u32 vf) in igb_set_vf_multicasts() 5811 static void igb_clear_vf_vfta(struct igb_adapter *adapter, u32 vf) in igb_clear_vf_vfta() 5840 static s32 igb_vlvf_set(struct igb_adapter *adapter, u32 vid, bool add, u32 vf) in igb_vlvf_set() 5935 static void igb_set_vmvir(struct igb_adapter *adapter, u32 vid, u32 vf) in igb_set_vmvir() 5946 int vf, u16 vlan, u8 qos) in igb_ndo_set_vf_vlan() 6001 static int igb_set_vf_vlan(struct igb_adapter *adapter, u32 *msgbuf, u32 vf) in igb_set_vf_vlan() 6052 static inline void igb_vf_reset(struct igb_adapter *adapter, u32 vf) in igb_vf_reset() 6077 static void igb_vf_reset_event(struct igb_adapter *adapter, u32 vf) in igb_vf_reset_event() [all …]
|
/drivers/media/radio/si4713/ |
D | radio-platform-si4713.c | 109 struct v4l2_frequency *vf) in radio_si4713_g_frequency() 116 const struct v4l2_frequency *vf) in radio_si4713_s_frequency()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 883 static enum ib_port_state vf_port_state(struct mlx4_dev *dev, int port, int vf) in vf_port_state() 2690 static int mlx4_get_slave_indx(struct mlx4_dev *dev, int vf) in mlx4_get_slave_indx() 2734 int vf; in mlx4_get_active_ports() local 2939 int mlx4_set_vf_mac(struct mlx4_dev *dev, int port, int vf, u64 mac) in mlx4_set_vf_mac() 2962 int mlx4_set_vf_vlan(struct mlx4_dev *dev, int port, int vf, u16 vlan, u8 qos) in mlx4_set_vf_vlan() 3006 int mlx4_set_vf_rate(struct mlx4_dev *dev, int port, int vf, int min_tx_rate, in mlx4_set_vf_rate() 3094 int mlx4_set_vf_spoofchk(struct mlx4_dev *dev, int port, int vf, bool setting) in mlx4_set_vf_spoofchk() 3116 int mlx4_get_vf_config(struct mlx4_dev *dev, int port, int vf, struct ifla_vf_info *ivf) in mlx4_get_vf_config() 3156 int mlx4_set_vf_link_state(struct mlx4_dev *dev, int port, int vf, int link_state) in mlx4_set_vf_link_state()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 1567 static int be_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) in be_set_vf_mac() 1607 static int be_get_vf_config(struct net_device *netdev, int vf, in be_get_vf_config() 1631 static int be_set_vf_tvt(struct be_adapter *adapter, int vf, u16 vlan) in be_set_vf_tvt() 1660 static int be_clear_vf_tvt(struct be_adapter *adapter, int vf) in be_clear_vf_tvt() 1687 static int be_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos) in be_set_vf_vlan() 1717 static int be_set_vf_tx_rate(struct net_device *netdev, int vf, in be_set_vf_tx_rate() 1779 static int be_set_vf_link_state(struct net_device *netdev, int vf, in be_set_vf_link_state() 1803 static int be_set_vf_spoofchk(struct net_device *netdev, int vf, bool enable) in be_set_vf_spoofchk() 3670 u32 vf; in be_vf_eth_addr_config() local 3700 int status, vf; in be_vfs_mac_query() local [all …]
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 347 static int pvr2_s_frequency(struct file *file, void *priv, const struct v4l2_frequency *vf) in pvr2_s_frequency() 380 static int pvr2_g_frequency(struct file *file, void *priv, struct v4l2_frequency *vf) in pvr2_g_frequency() 422 static int pvr2_g_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *vf) in pvr2_g_fmt_vid_cap() 442 static int pvr2_try_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *vf) in pvr2_try_fmt_vid_cap() 480 static int pvr2_s_fmt_vid_cap(struct file *file, void *priv, struct v4l2_format *vf) in pvr2_s_fmt_vid_cap()
|