/linux-6.1.9/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-6.1.9/drivers/crypto/qat/qat_common/ |
D | adf_sriov.c | 17 struct adf_accel_vf_info *vf_info; member 24 struct adf_accel_vf_info *vf_info = pf2vf_resp->vf_info; in adf_iov_send_resp() local 25 struct adf_accel_dev *accel_dev = vf_info->accel_dev; in adf_iov_send_resp() 26 u32 vf_nr = vf_info->vf_nr; in adf_iov_send_resp() 37 void adf_schedule_vf2pf_handler(struct adf_accel_vf_info *vf_info) in adf_schedule_vf2pf_handler() argument 45 pf2vf_resp->vf_info = vf_info; in adf_schedule_vf2pf_handler() 55 struct adf_accel_vf_info *vf_info; in adf_enable_sriov() local 58 for (i = 0, vf_info = accel_dev->pf.vf_info; i < totalvfs; in adf_enable_sriov() 59 i++, vf_info++) { in adf_enable_sriov() 61 vf_info->accel_dev = accel_dev; in adf_enable_sriov() [all …]
|
D | adf_pfvf_pf_proto.c | 38 &accel_dev->pf.vf_info[vf_nr].pf2vf_lock); in adf_send_pf2vf_msg() 52 struct adf_accel_vf_info *vf_info = &accel_dev->pf.vf_info[vf_nr]; in adf_recv_vf2pf_msg() local 56 return pfvf_ops->recv_msg(accel_dev, pfvf_offset, vf_info->vf_compat_ver); in adf_recv_vf2pf_msg() 80 static int adf_pf2vf_blkmsg_get_data(struct adf_accel_vf_info *vf_info, in adf_pf2vf_blkmsg_get_data() argument 85 struct adf_accel_dev *accel_dev = vf_info->accel_dev; in adf_pf2vf_blkmsg_get_data() 97 if (unlikely((*provider)(accel_dev, blkmsg, vf_info->vf_compat_ver))) { in adf_pf2vf_blkmsg_get_data() 123 static struct pfvf_message handle_blkmsg_req(struct adf_accel_vf_info *vf_info, in handle_blkmsg_req() argument 155 dev_dbg(&GET_DEV(vf_info->accel_dev), in handle_blkmsg_req() 157 blk_type, blk_byte + 1, vf_info->vf_nr); in handle_blkmsg_req() 159 if (!adf_pf2vf_blkmsg_get_data(vf_info, blk_type, blk_byte, in handle_blkmsg_req() [all …]
|
D | adf_isr.c | 99 struct adf_accel_vf_info *vf_info; in adf_handle_vf2pf_int() local 107 vf_info = accel_dev->pf.vf_info + i; in adf_handle_vf2pf_int() 109 if (!__ratelimit(&vf_info->vf2pf_ratelimit)) { in adf_handle_vf2pf_int() 112 vf_info->vf_nr); in adf_handle_vf2pf_int() 116 adf_schedule_vf2pf_handler(vf_info); in adf_handle_vf2pf_int() 141 if (accel_dev->pf.vf_info && adf_handle_vf2pf_int(accel_dev)) in adf_msix_isr_ae() 190 if (!accel_dev->pf.vf_info) { in adf_request_irqs() 254 if (!accel_dev->pf.vf_info) in adf_isr_alloc_msix_vectors_data()
|
D | adf_pfvf_pf_msg.c | 15 for (i = 0, vf = accel_dev->pf.vf_info; i < num_vfs; i++, vf++) { in adf_pf2vf_notify_restarting()
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/isp/kernels/vf/vf_1.0/ |
D | ia_css_vf.host.c | 60 const struct ia_css_frame_info *vf_info, in sh_css_vf_downscale_log2() argument 65 if ((!out_info) || (!vf_info)) in sh_css_vf_downscale_log2() 77 while (out_width >= vf_info->res.width) in sh_css_vf_downscale_log2() 96 const struct ia_css_frame_info *vf_info, in configure_kernel() argument 103 if (vf_info) in configure_kernel() 105 err = sh_css_vf_downscale_log2(out_info, vf_info, &vf_log_ds); in configure_kernel() 120 const struct ia_css_frame_info *vf_info) in configure_dma() argument 122 config->info = vf_info; in configure_dma() 127 struct ia_css_frame_info *vf_info, in ia_css_vf_configure() argument 134 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, 43 struct ia_css_frame_info *vf_info,
|
/linux-6.1.9/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-6.1.9/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 71 descr->vf_info = vf_info; in pipe_binarydesc_get_offline() 82 struct ia_css_frame_info *vf_info) in ia_css_pipe_get_copy_binarydesc() argument 96 copy_descr, in_info, out_infos, vf_info); in ia_css_pipe_get_copy_binarydesc() 212 struct ia_css_frame_info *vf_info) in ia_css_pipe_get_preview_binarydesc() argument 222 assert(vf_info); in ia_css_pipe_get_preview_binarydesc() 243 preview_descr, in_info, out_infos, vf_info); in ia_css_pipe_get_preview_binarydesc() 303 *out_info = *vf_info; in ia_css_pipe_get_preview_binarydesc() 331 struct ia_css_frame_info *vf_info, in ia_css_pipe_get_video_binarydesc() argument 362 video_descr, in_info, out_infos, vf_info); in ia_css_pipe_get_video_binarydesc() [all …]
|
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/ |
D | hinic_sriov.c | 214 struct vf_data_storage *vf_info; in hinic_init_vf_config() local 218 vf_info = hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_init_vf_config() 219 if (vf_info->pf_set_mac) { in hinic_init_vf_config() 224 err = hinic_set_mac(hwdev, vf_info->vf_mac_addr, vlan_id, in hinic_init_vf_config() 234 err = hinic_set_vf_vlan(hwdev, true, vf_info->pf_vlan, in hinic_init_vf_config() 235 vf_info->pf_qos, vf_id); in hinic_init_vf_config() 243 if (vf_info->max_rate) { in hinic_init_vf_config() 244 err = hinic_set_vf_tx_rate(hwdev, vf_id, vf_info->max_rate, in hinic_init_vf_config() 245 vf_info->min_rate); in hinic_init_vf_config() 248 HW_VF_ID_TO_OS(vf_id), vf_info->max_rate, in hinic_init_vf_config() [all …]
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.c | 1304 struct qed_vf_info *vf_info, in qed_iov_prepare_resp() argument 1307 struct qed_iov_vf_mbx *mbx = &vf_info->vf_mbx; in qed_iov_prepare_resp() 1315 qed_iov_send_response(p_hwfn, p_ptt, vf_info, length, status); in qed_iov_prepare_resp() 1334 struct qed_public_vf_info *vf_info; in qed_iov_clean_vf() local 1336 vf_info = qed_iov_get_public_vf_info(p_hwfn, vfid, false); in qed_iov_clean_vf() 1338 if (!vf_info) in qed_iov_clean_vf() 1342 eth_zero_addr(vf_info->mac); in qed_iov_clean_vf() 1344 vf_info->rx_accept_mode = 0; in qed_iov_clean_vf() 1345 vf_info->tx_accept_mode = 0; in qed_iov_clean_vf() 1897 struct qed_vf_info *vf_info; in qed_iov_vf_mbx_start_vport() local [all …]
|
/linux-6.1.9/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() 695 vp = adapter->ahw->sriov->vf_info[id].vp; in qlcnic_sriov_set_vf_acl() 1771 vf = &sriov->vf_info[i]; in qlcnic_sriov_pf_reset() 1807 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() 225 kfree(sriov->vf_info[i].vp); in qlcnic_sriov_init() 232 kfree(sriov->vf_info); in qlcnic_sriov_init() 275 vf = &sriov->vf_info[i]; in __qlcnic_sriov_cleanup() 284 kfree(sriov->vf_info[i].vp); in __qlcnic_sriov_cleanup() 286 kfree(sriov->vf_info); in __qlcnic_sriov_cleanup() 684 struct qlcnic_vf_info *vf_info = adapter->ahw->sriov->vf_info; in qlcnic_sriov_func_to_index() local [all …]
|
/linux-6.1.9/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() 50 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-6.1.9/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-6.1.9/drivers/staging/media/atomisp/pci/runtime/binary/interface/ |
D | ia_css_binary.h | 77 struct ia_css_frame_info *vf_info; member 106 struct ia_css_frame_info *vf_info; member 166 const struct ia_css_frame_info *vf_info,
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/camera/util/interface/ |
D | ia_css_util.h | 66 const struct ia_css_frame_info *const vf_info);
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
D | binary.c | 659 const struct ia_css_frame_info *vf_info, /* can be NULL */ in ia_css_binary_fill_info() argument 795 if (vf_info && (vf_info->res.width != 0)) in ia_css_binary_fill_info() 798 (struct ia_css_frame_info *)vf_info, &vf_log_ds); in ia_css_binary_fill_info() 814 if ((vf_info) && (vf_info->res.width != 0)) in ia_css_binary_fill_info() 818 binary->vf_frame_info.format = vf_info->format; in ia_css_binary_fill_info() 989 req_vf_info = descr->vf_info; in __ia_css_binary_find()
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_mbx.c | 340 vport->vf_info.request_uc_en = req->msg.en_uc; in hclge_set_vf_promisc_mode() 341 vport->vf_info.request_mc_en = req->msg.en_mc; in hclge_set_vf_promisc_mode() 342 vport->vf_info.request_bc_en = req->msg.en_bc; in hclge_set_vf_promisc_mode() 370 if (!is_zero_ether_addr(vport->vf_info.mac) && in hclge_set_vf_uc_mac_addr() 371 !ether_addr_equal(mac_addr, vport->vf_info.mac)) in hclge_set_vf_uc_mac_addr() 530 ether_addr_copy(resp_msg->data, vport->vf_info.mac); in hclge_get_vf_mac_addr() 576 switch (vport->vf_info.link_state) { in hclge_push_vf_link_status()
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/ |
D | sh_css.c | 4992 &cas_scaler_descr.vf_info[i]); in load_video_binaries() 5458 capt_pp_out_info, vf_info, in load_primary_binaries() local 5516 vf_info = *pipe_vf_out_info; in load_primary_binaries() 5528 ia_css_frame_info_set_format(&vf_info, IA_CSS_FRAME_FORMAT_YUV_LINE); in load_primary_binaries() 5581 &cas_scaler_descr.vf_info[i]); in load_primary_binaries() 5609 &vf_info); in load_primary_binaries() 5643 local_vf_info = &vf_info; in load_primary_binaries() 5802 vf_info, *vf_pp_in_info, *pipe_out_info, in load_advanced_binaries() local 5818 vf_info = *pipe_vf_out_info; in load_advanced_binaries() 5819 err = ia_css_util_check_vf_out_info(pipe_out_info, &vf_info); in load_advanced_binaries() [all …]
|