/Linux-v5.10/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_iov.c | 11 struct fm10k_vf_info *vf_info = (struct fm10k_vf_info *)mbx; in fm10k_iov_msg_error() local 16 **results & FM10K_TLV_ID_MASK, vf_info->vf_idx); in fm10k_iov_msg_error() 36 struct fm10k_vf_info *vf_info = (struct fm10k_vf_info *)mbx; in fm10k_iov_msg_queue_mac_vlan() local 46 if (!FM10K_VF_FLAG_ENABLED(vf_info)) in fm10k_iov_msg_queue_mac_vlan() 74 if (vf_info->pf_vid) in fm10k_iov_msg_queue_mac_vlan() 77 err = fm10k_iov_select_vid(vf_info, (u16)vid); in fm10k_iov_msg_queue_mac_vlan() 85 err = hw->mac.ops.update_vlan(hw, vid, vf_info->vsi, set); in fm10k_iov_msg_queue_mac_vlan() 97 if (is_valid_ether_addr(vf_info->mac) && in fm10k_iov_msg_queue_mac_vlan() 98 !ether_addr_equal(mac, vf_info->mac)) in fm10k_iov_msg_queue_mac_vlan() 104 err = fm10k_iov_select_vid(vf_info, vlan); in fm10k_iov_msg_queue_mac_vlan() [all …]
|
D | fm10k_pf.c | 829 struct fm10k_vf_info *vf_info) in fm10k_iov_assign_default_mac_vlan_pf() argument 837 if (!vf_info || vf_info->vf_idx >= hw->iov.num_vfs) in fm10k_iov_assign_default_mac_vlan_pf() 845 vf_idx = vf_info->vf_idx; in fm10k_iov_assign_default_mac_vlan_pf() 854 if (vf_info->pf_vid) in fm10k_iov_assign_default_mac_vlan_pf() 855 vf_vid = vf_info->pf_vid | FM10K_VLAN_OVERRIDE; in fm10k_iov_assign_default_mac_vlan_pf() 857 vf_vid = vf_info->sw_vid; in fm10k_iov_assign_default_mac_vlan_pf() 862 vf_info->mac, vf_vid); in fm10k_iov_assign_default_mac_vlan_pf() 877 if (vf_info->mbx.ops.enqueue_tx) { in fm10k_iov_assign_default_mac_vlan_pf() 878 err = vf_info->mbx.ops.enqueue_tx(hw, &vf_info->mbx, msg); in fm10k_iov_assign_default_mac_vlan_pf() 908 if (is_valid_ether_addr(vf_info->mac)) { in fm10k_iov_assign_default_mac_vlan_pf() [all …]
|
D | fm10k_type.h | 601 #define FM10K_VF_FLAG_CAPABLE(vf_info) ((vf_info)->vf_flags & (u8)0xF) argument 602 #define FM10K_VF_FLAG_ENABLED(vf_info) ((vf_info)->vf_flags >> 4) argument
|
D | fm10k_pf.h | 100 s32 fm10k_iov_select_vid(struct fm10k_vf_info *vf_info, u16 vid);
|
D | fm10k_pci.c | 1289 struct fm10k_vf_info *vf_info = &iov_data->vf_info[vf]; in fm10k_handle_fault() local 1291 hw->iov.ops.reset_lport(hw, vf_info); in fm10k_handle_fault() 1292 hw->iov.ops.reset_resources(hw, vf_info); in fm10k_handle_fault() 1295 hw->iov.ops.set_lport(hw, vf_info, vf, in fm10k_handle_fault() 1299 vf_info->mbx.ops.connect(hw, &vf_info->mbx); in fm10k_handle_fault()
|
/Linux-v5.10/drivers/crypto/qat/qat_common/ |
D | adf_sriov.c | 40 struct adf_accel_vf_info *vf_info; member 48 adf_vf2pf_req_hndl(pf2vf_resp->vf_info); in adf_iov_send_resp() 54 struct adf_accel_vf_info *vf_info = (struct adf_accel_vf_info *)data; in adf_vf2pf_bh_handler() local 61 pf2vf_resp->vf_info = vf_info; in adf_vf2pf_bh_handler() 74 struct adf_accel_vf_info *vf_info; in adf_enable_sriov() local 78 for (i = 0, vf_info = accel_dev->pf.vf_info; i < totalvfs; in adf_enable_sriov() 79 i++, vf_info++) { in adf_enable_sriov() 81 vf_info->accel_dev = accel_dev; in adf_enable_sriov() 82 vf_info->vf_nr = i; in adf_enable_sriov() 84 tasklet_init(&vf_info->vf2pf_bh_tasklet, in adf_enable_sriov() [all …]
|
D | adf_isr.c | 25 if (!accel_dev->pf.vf_info) { in adf_enable_msix() 65 if (accel_dev->pf.vf_info) { in adf_msix_isr_ae() 79 struct adf_accel_vf_info *vf_info; in adf_msix_isr_ae() local 93 vf_info = accel_dev->pf.vf_info + i; in adf_msix_isr_ae() 95 if (!__ratelimit(&vf_info->vf2pf_ratelimit)) { in adf_msix_isr_ae() 98 vf_info->vf_nr + 1); in adf_msix_isr_ae() 103 tasklet_hi_schedule(&vf_info->vf2pf_bh_tasklet); in adf_msix_isr_ae() 129 if (!accel_dev->pf.vf_info) { in adf_request_irqs() 194 if (!accel_dev->pf.vf_info) in adf_isr_alloc_msix_entry_table()
|
D | adf_pf2vf_msg.c | 104 lock = &accel_dev->pf.vf_info[vf_nr].pf2vf_lock; in __adf_iov_putmsg() 191 void adf_vf2pf_req_hndl(struct adf_accel_vf_info *vf_info) in adf_vf2pf_req_hndl() argument 193 struct adf_accel_dev *accel_dev = vf_info->accel_dev; in adf_vf2pf_req_hndl() 198 u32 msg, resp = 0, vf_nr = vf_info->vf_nr; in adf_vf2pf_req_hndl() 267 vf_info->init = true; in adf_vf2pf_req_hndl() 275 vf_info->init = false; in adf_vf2pf_req_hndl() 300 for (i = 0, vf = accel_dev->pf.vf_info; i < num_vfs; i++, vf++) { in adf_pf2vf_notify_restarting()
|
D | adf_accel_devices.h | 194 struct adf_accel_vf_info *vf_info; member
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/ |
D | ia_css_vf.host.c | 58 const struct ia_css_frame_info *vf_info, in sh_css_vf_downscale_log2() argument 63 if ((!out_info) || (!vf_info)) in sh_css_vf_downscale_log2() 75 while (out_width >= vf_info->res.width) in sh_css_vf_downscale_log2() 94 const struct ia_css_frame_info *vf_info, in configure_kernel() argument 101 if (vf_info) in configure_kernel() 103 err = sh_css_vf_downscale_log2(out_info, vf_info, &vf_log_ds); in configure_kernel() 118 const struct ia_css_frame_info *vf_info) in configure_dma() argument 120 config->info = vf_info; in configure_dma() 127 struct ia_css_frame_info *vf_info, in ia_css_vf_configure() argument 133 err = configure_kernel(info, out_info, vf_info, downscale_log2, &config); in ia_css_vf_configure() [all …]
|
D | ia_css_vf.host.h | 32 const struct ia_css_frame_info *vf_info, 45 struct ia_css_frame_info *vf_info,
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/camera/pipe/interface/ |
D | ia_css_pipe_binarydesc.h | 38 struct ia_css_frame_info *vf_info); 88 struct ia_css_frame_info *vf_info); 106 struct ia_css_frame_info *vf_info, 126 struct ia_css_frame_info *vf_info); 142 struct ia_css_frame_info *vf_info); 159 struct ia_css_frame_info *vf_info, 207 struct ia_css_frame_info *vf_info); 269 struct ia_css_frame_info *vf_info);
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
D | pipe_binarydesc.c | 40 struct ia_css_frame_info *vf_info) in pipe_binarydesc_get_offline() argument 72 descr->vf_info = vf_info; in pipe_binarydesc_get_offline() 83 struct ia_css_frame_info *vf_info) in ia_css_pipe_get_copy_binarydesc() argument 97 copy_descr, in_info, out_infos, vf_info); in ia_css_pipe_get_copy_binarydesc() 213 struct ia_css_frame_info *vf_info) in ia_css_pipe_get_preview_binarydesc() argument 223 assert(vf_info); in ia_css_pipe_get_preview_binarydesc() 244 preview_descr, in_info, out_infos, vf_info); in ia_css_pipe_get_preview_binarydesc() 304 *out_info = *vf_info; in ia_css_pipe_get_preview_binarydesc() 332 struct ia_css_frame_info *vf_info, in ia_css_pipe_get_video_binarydesc() argument 363 video_descr, in_info, out_infos, vf_info); in ia_css_pipe_get_video_binarydesc() [all …]
|
/Linux-v5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 212 struct vf_data_storage *vf_info; in hinic_init_vf_config() local 216 vf_info = hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_init_vf_config() 217 if (vf_info->pf_set_mac) { in hinic_init_vf_config() 222 err = hinic_set_mac(hwdev, vf_info->vf_mac_addr, vlan_id, in hinic_init_vf_config() 232 err = hinic_set_vf_vlan(hwdev, true, vf_info->pf_vlan, in hinic_init_vf_config() 233 vf_info->pf_qos, vf_id); in hinic_init_vf_config() 241 if (vf_info->max_rate) { in hinic_init_vf_config() 242 err = hinic_set_vf_tx_rate(hwdev, vf_id, vf_info->max_rate, in hinic_init_vf_config() 243 vf_info->min_rate); in hinic_init_vf_config() 246 HW_VF_ID_TO_OS(vf_id), vf_info->max_rate, in hinic_init_vf_config() [all …]
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.c | 1302 struct qed_vf_info *vf_info, in qed_iov_prepare_resp() argument 1305 struct qed_iov_vf_mbx *mbx = &vf_info->vf_mbx; in qed_iov_prepare_resp() 1313 qed_iov_send_response(p_hwfn, p_ptt, vf_info, length, status); in qed_iov_prepare_resp() 1332 struct qed_public_vf_info *vf_info; in qed_iov_clean_vf() local 1334 vf_info = qed_iov_get_public_vf_info(p_hwfn, vfid, false); in qed_iov_clean_vf() 1336 if (!vf_info) in qed_iov_clean_vf() 1340 eth_zero_addr(vf_info->mac); in qed_iov_clean_vf() 1342 vf_info->rx_accept_mode = 0; in qed_iov_clean_vf() 1343 vf_info->tx_accept_mode = 0; in qed_iov_clean_vf() 1895 struct qed_vf_info *vf_info; in qed_iov_vf_mbx_start_vport() local [all …]
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_pf.c | 108 vp = sriov->vf_info[id].vp; in qlcnic_sriov_pf_cal_res_limit() 245 vp = sriov->vf_info[index].vp; in qlcnic_sriov_pf_reset_vport_handle() 263 vp = sriov->vf_info[index].vp; in qlcnic_sriov_pf_set_vport_handle() 272 struct qlcnic_vf_info *vf_info; in qlcnic_sriov_pf_get_vport_handle() local 280 vf_info = &sriov->vf_info[index]; in qlcnic_sriov_pf_get_vport_handle() 281 return vf_info->vp->handle; in qlcnic_sriov_pf_get_vport_handle() 413 cancel_work_sync(&sriov->vf_info[i].flr_work); in qlcnic_sriov_pf_del_flr_queue() 693 vp = adapter->ahw->sriov->vf_info[id].vp; in qlcnic_sriov_set_vf_acl() 1769 vf = &sriov->vf_info[i]; in qlcnic_sriov_pf_reset() 1805 struct qlcnic_vf_info *vf_info; in qlcnic_sriov_set_vf_mac() local [all …]
|
D | qlcnic_sriov_common.c | 159 sriov->vf_info = kcalloc(num_vfs, sizeof(struct qlcnic_vf_info), in qlcnic_sriov_init() 161 if (!sriov->vf_info) { in qlcnic_sriov_init() 190 vf = &sriov->vf_info[i]; in qlcnic_sriov_init() 209 sriov->vf_info[i].vp = vp; in qlcnic_sriov_init() 230 kfree(sriov->vf_info); in qlcnic_sriov_init() 273 vf = &sriov->vf_info[i]; in __qlcnic_sriov_cleanup() 282 kfree(sriov->vf_info[i].vp); in __qlcnic_sriov_cleanup() 284 kfree(sriov->vf_info); in __qlcnic_sriov_cleanup() 681 struct qlcnic_vf_info *vf_info = adapter->ahw->sriov->vf_info; in qlcnic_sriov_func_to_index() local 688 if (vf_info[i].pci_func == pci_func) in qlcnic_sriov_func_to_index() [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/isp/kernels/iterator/iterator_1.0/ |
D | ia_css_iterator.host.c | 37 ia_css_frame_info_to_frame_sp_info(&to->vf_info, from->vf_info); in ia_css_iterator_config() 51 config.vf_info = &binary->vf_frame_info; in ia_css_iterator_configure()
|
D | ia_css_iterator_param.h | 27 const struct ia_css_frame_info *vf_info; member 35 struct ia_css_frame_sp_info vf_info; member
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/camera/util/src/ |
D | util.c | 106 const struct ia_css_frame_info *const vf_info) in ia_css_util_check_vf_out_info() argument 111 assert(vf_info); in ia_css_util_check_vf_out_info() 116 err = ia_css_util_check_vf_info(vf_info); in ia_css_util_check_vf_out_info()
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/runtime/binary/interface/ |
D | ia_css_binary.h | 77 struct ia_css_frame_info *vf_info; member 107 struct ia_css_frame_info *vf_info; member 169 const struct ia_css_frame_info *vf_info,
|
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_mbx.c | 232 if (!vport->vf_info.trusted) { in hclge_set_vf_promisc_mode() 239 vport->vf_info.promisc_enable = (en_uc || en_mc) ? 1 : 0; in hclge_set_vf_promisc_mode() 249 memcpy(&msg_data[0], &vport->vf_info.promisc_enable, sizeof(u16)); in hclge_inform_vf_promisc_info() 271 if (!is_zero_ether_addr(vport->vf_info.mac) && in hclge_set_vf_uc_mac_addr() 272 !ether_addr_equal(mac_addr, vport->vf_info.mac)) in hclge_set_vf_uc_mac_addr() 430 ether_addr_copy(resp_msg->data, vport->vf_info.mac); in hclge_get_vf_mac_addr() 480 switch (vport->vf_info.link_state) { in hclge_get_link_info()
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/camera/util/interface/ |
D | ia_css_util.h | 66 const struct ia_css_frame_info *const vf_info);
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
D | binary.c | 1079 const struct ia_css_frame_info *vf_info, /* can be NULL */ in ia_css_binary_fill_info() argument 1215 if (vf_info && (vf_info->res.width != 0)) in ia_css_binary_fill_info() 1218 (struct ia_css_frame_info *)vf_info, &vf_log_ds); in ia_css_binary_fill_info() 1234 if ((vf_info) && (vf_info->res.width != 0)) in ia_css_binary_fill_info() 1238 binary->vf_frame_info.format = vf_info->format; in ia_css_binary_fill_info() 1430 req_vf_info = descr->vf_info; in __ia_css_binary_find() 1433 if ((descr->vf_info) && (descr->vf_info->res.width == 0)) in __ia_css_binary_find() 1437 req_vf_info = descr->vf_info; in __ia_css_binary_find()
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/ |
D | sh_css.c | 5502 &cas_scaler_descr.vf_info[i]); in load_video_binaries() 5998 capt_pp_out_info, vf_info, in load_primary_binaries() local 6054 vf_info = *pipe_vf_out_info; in load_primary_binaries() 6066 ia_css_frame_info_set_format(&vf_info, IA_CSS_FRAME_FORMAT_YUV_LINE); in load_primary_binaries() 6116 &cas_scaler_descr.vf_info[i]); in load_primary_binaries() 6162 &capt_pp_out_info, &vf_info); in load_primary_binaries() 6194 local_vf_info = &vf_info; in load_primary_binaries() 6349 vf_info, *vf_pp_in_info, *pipe_out_info, in load_advanced_binaries() local 6365 vf_info = *pipe_vf_out_info; in load_advanced_binaries() 6366 err = ia_css_util_check_vf_out_info(pipe_out_info, &vf_info); in load_advanced_binaries() [all …]
|