/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ddp.c | 292 struct i40e_vsi *vsi = np->vsi; local 293 struct i40e_pf *pf = vsi->back; 410 struct i40e_vsi *vsi = i40e_pf_get_main_vsi(pf); local 411 struct net_device *netdev = vsi->netdev; 438 struct i40e_vsi *vsi = np->vsi; local 439 struct i40e_pf *pf = vsi->back;
|
H A D | i40e_client.c | 40 * @vsi: the VSI with the message 45 int i40e_client_get_params(struct i40e_vsi *vsi, struct i40e_params *params) argument 47 struct i40e_dcbx_config *dcb_cfg = &vsi->back->hw.local_dcbx_config; 55 if (!(vsi->tc_config.enabled_tc & BIT(tc))) 58 qs_handle = le16_to_cpu(vsi->info.qs_handle[tc]); 62 dev_err(&vsi->back->pdev->dev, "Invalid queue set handle for TC = %d, vsi id = %d\n", 63 tc, vsi->id); 68 params->mtu = vsi->netdev->mtu; 74 * @vsi 82 i40e_notify_client_of_vf_msg(struct i40e_vsi *vsi, u32 vf_id, u8 *msg, u16 len) argument 110 struct i40e_vsi *vsi = i40e_pf_get_main_vsi(pf); local 336 struct i40e_vsi *vsi = i40e_pf_get_main_vsi(pf); local 402 struct i40e_vsi *vsi = i40e_pf_get_main_vsi(pf); local 668 struct i40e_vsi *vsi = i40e_pf_get_main_vsi(ldev->pf); local [all...] |
H A D | i40e.h | 478 u16 num_lan_msix; /* num queue vectors for the base PF vsi */ 555 struct i40e_vsi **vsi; member in struct:i40e_pf 694 * Find and return next non-NULL VSI pointer in pf->vsi array and 701 if (pf->vsi[*idx]) 702 return pf->vsi[*idx]; 873 u16 base_queue; /* vsi's first queue in hw array */ 898 u16 idx; /* index in pf->vsi[] */ 931 struct i40e_vsi *vsi; member in struct:i40e_netdev_priv 938 struct i40e_vsi *vsi; member in struct:i40e_q_vector 940 u16 v_idx; /* index in the vsi 1079 struct i40e_vsi *vsi = np->vsi; local 1084 i40e_vsi_setup_irqhandler(struct i40e_vsi *vsi, irqreturn_t (*irq_handler)(int, void *)) argument 1170 struct i40e_vsi *vsi; local 1250 i40e_irq_dynamic_enable(struct i40e_vsi *vsi, int vector) argument 1319 i40e_enabled_xdp_vsi(struct i40e_vsi *vsi) argument 1365 struct i40e_vsi *vsi; local [all...] |
H A D | i40e_dcb_nl.c | 870 * @vsi: the corresponding vsi 875 void i40e_dcbnl_set_all(struct i40e_vsi *vsi) argument 877 struct net_device *dev = vsi->netdev; 905 if (tc_map & vsi->tc_config.enabled_tc) { 919 * @vsi: the corresponding vsi 925 static int i40e_dcbnl_vsi_del_app(struct i40e_vsi *vsi, argument 928 struct net_device *dev = vsi->netdev; 950 struct i40e_vsi *vsi; local 1018 i40e_dcbnl_setup(struct i40e_vsi *vsi) argument [all...] |
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_pci.c | 832 item->vlan.vsi,
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | cm.c | 11 * @vsi: The VSI structure of the device 14 void irdma_free_sqbuf(struct irdma_sc_vsi *vsi, void *bufp) argument 17 struct irdma_puda_rsrc *ilq = vsi->ilq; 275 irdma_free_sqbuf(&iwdev->vsi, send_entry->sqbuf); 308 struct irdma_sc_vsi *vsi = &cm_node->iwdev->vsi; local 321 sqbuf = irdma_puda_get_bufpool(vsi->ilq); 417 struct irdma_sc_vsi *vsi = &cm_node->iwdev->vsi; local 432 sqbuf = irdma_puda_get_bufpool(vsi 1133 struct irdma_sc_vsi *vsi = &cm_node->iwdev->vsi; local 1267 struct irdma_sc_vsi *vsi; local 1432 struct irdma_sc_vsi *vsi = &cm_node->iwdev->vsi; local 3137 irdma_receive_ilq(struct irdma_sc_vsi *vsi, struct irdma_puda_buf *rbuf) argument [all...] |
H A D | verbs.c | 246 qp->vsi->qos[qp->user_pri].qs_handle; 769 udp_info->snd_mss = ib_mtu_enum_to_int(ib_mtu_int_to_enum(iwdev->vsi.mtu)); 901 init_info.vsi = &iwdev->vsi; 1013 if (dev->ws_add(&iwdev->vsi, 0)) { 1267 dev->ws_remove(iwqp->sc_qp.vsi, ctx_info->user_pri); 1268 if (iwqp->sc_qp.vsi->dscp_mode) 1270 iwqp->sc_qp.vsi->dscp_map[irdma_tos2dscp(udp_info->tos)]; 1280 if (dev->ws_add(iwqp->sc_qp.vsi, ctx_info->user_pri)) 2089 info.vsi [all...] |
H A D | hw.c | 252 atomic_dec(&iwdev->vsi.qp_suspend_reqs); 323 if (iwqp->iwdev->vsi.tc_change_pending) { 324 if (!atomic_dec_return(&qp->vsi->qp_suspend_reqs)) 1067 info.vsi = &rf->default_vsi; 1184 * @vsi: SC vsi struct 1190 u32 ceq_id, struct irdma_sc_vsi *vsi) 1214 info.vsi = vsi; 1292 * @vsi 1189 irdma_create_ceq(struct irdma_pci_f *rf, struct irdma_ceq *iwceq, u32 ceq_id, struct irdma_sc_vsi *vsi) argument 1298 irdma_setup_ceqs(struct irdma_pci_f *rf, struct irdma_sc_vsi *vsi) argument 1529 irdma_reinitialize_ieq(struct irdma_sc_vsi *vsi) argument [all...] |
/linux-master/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | venc_vpu_if.c | 16 vpu->vsi = mtk_vcodec_fw_map_dm_addr(vpu->ctx->dev->fw_handler, 159 if (IS_ERR_OR_NULL(vpu->vsi)) { 160 mtk_venc_err(vpu->ctx, "invalid venc vsi");
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_req_lat_if.c | 378 * struct vdec_vp9_slice_pfc - per-frame context that contains a local vsi. 381 * @vsi: local vsi. copy to/from remote vsi before/after decoding 387 struct vdec_vp9_slice_vsi vsi; member in struct:vdec_vp9_slice_pfc 437 * @init_vsi: vsi used for initialized VP9 instance 438 * @vsi: vsi used for decoding/flush ... 439 * @core_vsi: vsi used for Core stage 483 /* MicroP vsi */ 486 struct vdec_vp9_slice_vsi *vsi; member in union:vdec_vp9_slice_instance::__anon62 508 struct vdec_vp9_slice_init_vsi *vsi; local 541 vdec_vp9_slice_alloc_working_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi) argument 657 vdec_vp9_slice_vsi_from_remote(struct vdec_vp9_slice_vsi *vsi, struct vdec_vp9_slice_vsi *remote_vsi, int skip) argument 681 vdec_vp9_slice_vsi_to_remote(struct vdec_vp9_slice_vsi *vsi, struct vdec_vp9_slice_vsi *remote_vsi) argument 878 vdec_vp9_slice_setup_tile(struct vdec_vp9_slice_vsi *vsi, struct v4l2_ctrl_vp9_frame *hdr) argument 926 vdec_vp9_slice_setup_state(struct vdec_vp9_slice_vsi *vsi) argument 945 struct vdec_vp9_slice_vsi *vsi; local 977 vdec_vp9_slice_setup_lat_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi, struct mtk_vcodec_mem *bs, struct vdec_lat_buf *lat_buf) argument 1018 vdec_vp9_slice_setup_prob_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi) argument 1039 vdec_vp9_slice_setup_seg_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi, struct mtk_vcodec_mem *buf) argument 1065 vdec_vp9_slice_setup_tile_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi, struct mtk_vcodec_mem *bs) argument 1154 struct vdec_vp9_slice_vsi *vsi = &pfc->vsi; local 1526 vdec_vp9_slice_update_prob(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_vsi *vsi) argument 1590 struct vdec_vp9_slice_vsi *vsi; local 1616 struct vdec_vp9_slice_vsi *vsi; local 1658 vdec_vp9_slice_setup_core_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_pfc *pfc, struct vdec_vp9_slice_vsi *vsi, struct vdec_fb *fb, struct vdec_lat_buf *lat_buf) argument 1730 vdec_vp9_slice_setup_single_buffer(struct vdec_vp9_slice_instance *instance, struct vdec_vp9_slice_pfc *pfc, struct vdec_vp9_slice_vsi *vsi, struct mtk_vcodec_mem *bs, struct vdec_fb *fb) argument 1769 struct vdec_vp9_slice_vsi *vsi = &pfc->vsi; local 1795 struct vdec_vp9_slice_vsi *vsi = &pfc->vsi; local 1831 struct vdec_vp9_slice_vsi *vsi; local 1849 struct vdec_vp9_slice_init_vsi *vsi; local 1979 struct vdec_vp9_slice_vsi *vsi; local 2037 struct vdec_vp9_slice_vsi *vsi; local [all...] |
H A D | vdec_vp8_if.c | 148 * @vsi : VPU share information 162 struct vdec_vp8_vsi *vsi; member in struct:vdec_vp8_inst 183 struct vdec_vp8_vsi *vsi = inst->vsi; local 187 for (i = 0; i < ARRAY_SIZE(vsi->segment_buf); i++) { 188 for (j = ARRAY_SIZE(vsi->segment_buf[i]) - 1; j >= 0; j--) { 192 val = vsi->segment_buf[i][j]; 204 struct vdec_vp8_vsi *vsi = inst->vsi; local 208 for (i = 0; i < ARRAY_SIZE(vsi [all...] |
H A D | vdec_vp9_if.c | 185 * @vsi : shared buffer between host and VPU firmware 202 struct vdec_vp9_vsi *vsi; member in struct:vdec_vp9_inst 210 struct vdec_vp9_vsi *vsi = inst->vsi; local 212 for (i = 0; i < ARRAY_SIZE(vsi->sf_ref_fb); i++) { 213 if (fb == &vsi->sf_ref_fb[i].fb) 266 struct vdec_vp9_vsi *vsi = inst->vsi; local 269 if (ref_idx >= 0 && vsi->frm_bufs[ref_idx].ref_cnt > 0) { 270 vsi 293 struct vdec_vp9_vsi *vsi = inst->vsi; local 316 struct vdec_vp9_vsi *vsi = inst->vsi; local 363 struct vdec_vp9_vsi *vsi = inst->vsi; local 457 struct vdec_vp9_vsi *vsi = inst->vsi; local 577 struct vdec_vp9_vsi *vsi = inst->vsi; local 605 struct vdec_vp9_vsi *vsi = inst->vsi; local 737 validate_vsi_array_indexes(struct vdec_vp9_inst *inst, struct vdec_vp9_vsi *vsi) argument 815 struct vdec_vp9_vsi *vsi = inst->vsi; local [all...] |
H A D | vdec_hevc_req_multi_if.c | 349 * @vsi: vsi used for lat 350 * @vsi_core: vsi used for core 364 struct vdec_hevc_slice_vsi *vsi; member in struct:vdec_hevc_slice_inst 591 struct vdec_hevc_slice_lat_dec_param *slice_param = &inst->vsi->hevc_slice_params; 740 inst->vsi->bs.dma_addr = (u64)bs->dma_addr; 741 inst->vsi->bs.size = bs->size; 761 inst->vsi->mv_buf_dma[i].dma_addr = mem->dma_addr; 762 inst->vsi->mv_buf_dma[i].size = mem->size; 765 inst->vsi [all...] |
H A D | vdec_vp8_req_if.c | 95 * @vsi: VPU share information 104 struct vdec_vp8_slice_vsi *vsi; member in struct:vdec_vp8_slice_inst 132 inst->vsi->pic.pic_w = ctx->picinfo.pic_w; 133 inst->vsi->pic.pic_h = ctx->picinfo.pic_h; 134 inst->vsi->pic.buf_w = ctx->picinfo.buf_w; 135 inst->vsi->pic.buf_h = ctx->picinfo.buf_h; 136 inst->vsi->pic.fb_sz[0] = ctx->picinfo.fb_sz[0]; 137 inst->vsi->pic.fb_sz[1] = ctx->picinfo.fb_sz[1]; 157 inst->vsi->dec.seg_id_buf_dma = (u64)mem->dma_addr; 166 inst->vsi [all...] |
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_vpu_if.c | 20 /* the content in vsi is initialized to 0 in VPU */ 21 vpu->vsi = mtk_vcodec_fw_map_dm_addr(vpu->ctx->dev->fw_handler,
|
H A D | vdec_vpu_if.h | 16 * @vsi : driver structure allocated by VPU side and shared to AP side 34 void *vsi; member in struct:vdec_vpu_inst
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_vf_vsi_vlan_ops.c | 12 noop_vlan_arg(struct ice_vsi __always_unused *vsi, argument 19 noop_vlan(struct ice_vsi __always_unused *vsi) argument 24 static void ice_port_vlan_on(struct ice_vsi *vsi) argument 27 struct ice_pf *pf = vsi->back; 30 vlan_ops = &vsi->inner_vlan_ops; 41 vlan_ops = &vsi->outer_vlan_ops; 57 static void ice_port_vlan_off(struct ice_vsi *vsi) argument 60 struct ice_pf *pf = vsi->back; 63 vlan_ops = &vsi->inner_vlan_ops; 71 vlan_ops = &vsi 98 ice_vf_vsi_enable_port_vlan(struct ice_vsi *vsi) argument 113 ice_vf_vsi_disable_port_vlan(struct ice_vsi *vsi) argument 130 ice_vf_vsi_init_vlan_ops(struct ice_vsi *vsi) argument 165 ice_vf_vsi_cfg_dvm_legacy_vlan_mode(struct ice_vsi *vsi) argument 236 ice_vf_vsi_cfg_svm_legacy_vlan_mode(struct ice_vsi *vsi) argument [all...] |
H A D | ice_ethtool.c | 35 return ((np->vsi->alloc_txq + np->vsi->alloc_rxq) * 432 struct ice_vsi *vsi) 434 struct ice_pf *pf = vsi->back; 460 __ice_get_drvinfo(netdev, drvinfo, np->vsi); 473 struct ice_pf *pf = np->vsi->back; 487 struct ice_pf *pf = np->vsi->back; 501 struct ice_pf *pf = np->vsi->back; 516 struct ice_pf *pf = np->vsi->back; 526 struct ice_vsi *vsi local 431 __ice_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo, struct ice_vsi *vsi) argument 730 ice_lbtest_prepare_rings(struct ice_vsi *vsi) argument 769 ice_lbtest_disable_rings(struct ice_vsi *vsi) argument 1132 __ice_get_strings(struct net_device *netdev, u32 stringset, u8 *data, struct ice_vsi *vsi) argument 1222 struct ice_vsi *vsi = np->vsi; local 1266 struct ice_vsi *vsi = np->vsi; local 1303 struct ice_vsi *vsi = np->vsi; local 1363 struct ice_vsi *vsi = np->vsi; local 1388 struct ice_vsi *vsi = np->vsi; local 1414 struct ice_vsi *vsi = np->vsi; local 1596 __ice_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats __always_unused *stats, u64 *data, struct ice_vsi *vsi) argument 1779 struct ice_vsi *vsi = np->vsi; local 1877 struct ice_vsi *vsi = np->vsi; local 1987 struct ice_vsi *vsi = np->vsi; local 2650 ice_set_rss_hash_opt(struct ice_vsi *vsi, struct ethtool_rxnfc *nfc) argument 2703 ice_get_rss_hash_opt(struct ice_vsi *vsi, struct ethtool_rxnfc *nfc) argument 2770 struct ice_vsi *vsi = np->vsi; local 2798 struct ice_vsi *vsi = np->vsi; local 2838 struct ice_vsi *vsi = np->vsi; local 2866 struct ice_vsi *vsi = np->vsi; local 3158 struct ice_vsi *vsi = np->vsi; local 3285 struct ice_vsi *vsi = np->vsi; local 3363 struct ice_vsi *vsi = np->vsi; local 3488 ice_get_combined_cnt(struct ice_vsi *vsi) argument 3512 struct ice_vsi *vsi = np->vsi; local 3549 ice_vsi_set_dflt_rss_lut(struct ice_vsi *vsi, int req_rss_size) argument 3592 struct ice_vsi *vsi = np->vsi; local 3721 struct ice_vsi *vsi = np->vsi; local 3788 ice_get_q_coalesce(struct ice_vsi *vsi, struct ethtool_coalesce *ec, int q_num) argument 3826 struct ice_vsi *vsi = np->vsi; local 3865 ice_set_rc_coalesce(struct ethtool_coalesce *ec, struct ice_ring_container *rc, struct ice_vsi *vsi) argument 3956 ice_set_q_coalesce(struct ice_vsi *vsi, struct ethtool_coalesce *ec, int q_num) argument 4021 struct ice_vsi *vsi = np->vsi; local 4147 struct ice_vsi *vsi = np->vsi; local 4224 struct ice_vsi *vsi = np->vsi; local [all...] |
H A D | ice_virtchnl_fdir.c | 144 pf->vsi[vf->ctrl_vsi_idx] = NULL; 484 dev_dbg(dev, "NULL vf %d vsi pointer\n", vf->vf_id); 641 ctrl_vsi = pf->vsi[vf->ctrl_vsi_idx]; 1265 struct ice_vsi *vsi, *ctrl_vsi; local 1276 vsi = ice_get_vf_vsi(vf); 1277 if (!vsi) { 1278 dev_dbg(dev, "Invalid vsi for VF %d\n", vf->vf_id); 1282 input->dest_vsi = vsi->idx; 1285 ctrl_vsi = pf->vsi[vf->ctrl_vsi_idx];
|
H A D | ice_vf_lib.h | 220 ice_vf_get_promisc_masks(struct ice_vf *vf, struct ice_vsi *vsi, 223 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m); 225 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m); 228 struct ice_vsi *ice_get_vf_ctrl_vsi(struct ice_pf *pf, struct ice_vsi *vsi); 274 ice_vf_set_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) argument 280 ice_vf_clear_vsi_promisc(struct ice_vf *vf, struct ice_vsi *vsi, u8 promisc_m) argument 295 ice_get_vf_ctrl_vsi(struct ice_pf *pf, struct ice_vsi *vsi) argument
|
H A D | ice_flow.h | 449 u64 entry_id, u16 vsi, enum ice_flow_priority prio, 461 int ice_set_rss_cfg_symm(struct ice_hw *hw, struct ice_vsi *vsi, bool symm); 462 int ice_add_avf_rss_cfg(struct ice_hw *hw, struct ice_vsi *vsi, 465 int ice_add_rss_cfg(struct ice_hw *hw, struct ice_vsi *vsi,
|
H A D | ice_dpll.c | 1589 struct ice_vsi *vsi = ice_get_main_vsi(pf); local 1600 if (WARN_ON_ONCE(!vsi || !vsi->netdev)) 1602 dpll_netdev_pin_clear(vsi->netdev); 1614 * pin with the parents it has in the info. Register pin with the pf's main vsi 1625 struct ice_vsi *vsi = ice_get_main_vsi(pf); local 1644 if (WARN_ON((!vsi || !vsi->netdev))) 1646 dpll_netdev_pin_set(vsi->netdev, pf->dplls.rclk.pin);
|
H A D | ice_base.h | 9 int ice_vsi_cfg_single_rxq(struct ice_vsi *vsi, u16 q_idx); 10 int ice_vsi_cfg_rxqs(struct ice_vsi *vsi); 13 ice_vsi_ctrl_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx, bool wait); 14 int ice_vsi_wait_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx); 15 int ice_vsi_alloc_q_vectors(struct ice_vsi *vsi); 16 void ice_vsi_map_rings_to_vectors(struct ice_vsi *vsi); 17 void ice_vsi_free_q_vectors(struct ice_vsi *vsi); 18 int ice_vsi_cfg_single_txq(struct ice_vsi *vsi, struct ice_tx_ring **tx_rings, 20 int ice_vsi_cfg_lan_txqs(struct ice_vsi *vsi); 21 int ice_vsi_cfg_xdp_txqs(struct ice_vsi *vsi); [all...] |
H A D | ice_arfs.c | 9 * @vsi: VSI to check 11 static bool ice_is_arfs_active(struct ice_vsi *vsi) argument 13 return !!vsi->arfs_fltr_list; 29 struct ice_vsi *vsi; local 31 vsi = ice_get_main_vsi(pf); 32 if (!vsi) 35 arfs_fltr_cntrs = vsi->arfs_fltr_cntrs; 55 * @vsi: VSI that aRFS is active on 60 ice_arfs_update_active_fltr_cntrs(struct ice_vsi *vsi, argument 63 struct ice_arfs_active_fltr_cntrs *fltr_cntrs = vsi 106 ice_arfs_del_flow_rules(struct ice_vsi *vsi, struct hlist_head *del_list_head) argument 143 ice_arfs_add_flow_rules(struct ice_vsi *vsi, struct hlist_head *add_list_head) argument 182 ice_arfs_is_flow_expired(struct ice_vsi *vsi, struct ice_arfs_entry *arfs_entry) argument 215 ice_arfs_update_flow_rules(struct ice_vsi *vsi, u16 idx, struct hlist_head *add_list, struct hlist_head *del_list) argument 301 ice_arfs_build_entry(struct ice_vsi *vsi, const struct flow_keys *fk, u16 rxq_idx, u32 flow_id) argument 402 struct ice_vsi *vsi = np->vsi; local 484 ice_init_arfs_cntrs(struct ice_vsi *vsi) argument 509 ice_init_arfs(struct ice_vsi *vsi) argument 542 ice_clear_arfs(struct ice_vsi *vsi) argument 577 ice_free_cpu_rx_rmap(struct ice_vsi *vsi) argument 596 ice_set_cpu_rx_rmap(struct ice_vsi *vsi) argument [all...] |
/linux-master/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_vpu.c | 24 vpu->vsi = (struct mdp_process_vsi *)
|