/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_lib.c | 47 static int ice_vsi_ctrl_all_rx_rings(struct ice_vsi *vsi, bool ena) in ice_vsi_ctrl_all_rx_rings() argument 52 ice_for_each_rxq(vsi, i) in ice_vsi_ctrl_all_rx_rings() 53 ice_vsi_ctrl_one_rx_ring(vsi, ena, i, false); in ice_vsi_ctrl_all_rx_rings() 55 ice_flush(&vsi->back->hw); in ice_vsi_ctrl_all_rx_rings() 57 ice_for_each_rxq(vsi, i) { in ice_vsi_ctrl_all_rx_rings() 58 ret = ice_vsi_wait_one_rx_ring(vsi, ena, i); in ice_vsi_ctrl_all_rx_rings() 73 static int ice_vsi_alloc_arrays(struct ice_vsi *vsi) in ice_vsi_alloc_arrays() argument 75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() 79 if (vsi->type == ICE_VSI_CHNL) in ice_vsi_alloc_arrays() 83 vsi->tx_rings = devm_kcalloc(dev, vsi->alloc_txq, in ice_vsi_alloc_arrays() [all …]
|
D | ice_vsi_vlan_lib.c | 9 static void print_invalid_tpid(struct ice_vsi *vsi, u16 tpid) in print_invalid_tpid() argument 11 dev_err(ice_pf_to_dev(vsi->back), "%s %d specified invalid VLAN tpid 0x%04x\n", in print_invalid_tpid() 12 ice_vsi_type_str(vsi->type), vsi->idx, tpid); in print_invalid_tpid() 24 static bool validate_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan) in validate_vlan() argument 28 print_invalid_tpid(vsi, vlan->tpid); in validate_vlan() 40 int ice_vsi_add_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan) in ice_vsi_add_vlan() argument 44 if (!validate_vlan(vsi, vlan)) in ice_vsi_add_vlan() 47 err = ice_fltr_add_vlan(vsi, vlan); in ice_vsi_add_vlan() 49 dev_err(ice_pf_to_dev(vsi->back), "Failure Adding VLAN %d on VSI %i, status %d\n", in ice_vsi_add_vlan() 50 vlan->vid, vsi->vsi_num, err); in ice_vsi_add_vlan() [all …]
|
D | ice_lib.h | 39 static inline struct ice_vsi_cfg_params ice_vsi_to_params(struct ice_vsi *vsi) in ice_vsi_to_params() argument 43 params.pi = vsi->port_info; in ice_vsi_to_params() 44 params.ch = vsi->ch; in ice_vsi_to_params() 45 params.vf = vsi->vf; in ice_vsi_to_params() 46 params.type = vsi->type; in ice_vsi_to_params() 55 void ice_update_eth_stats(struct ice_vsi *vsi); 57 int ice_vsi_cfg_single_rxq(struct ice_vsi *vsi, u16 q_idx); 59 int ice_vsi_cfg_single_txq(struct ice_vsi *vsi, struct ice_tx_ring **tx_rings, u16 q_idx); 61 int ice_vsi_cfg_rxqs(struct ice_vsi *vsi); 63 int ice_vsi_cfg_lan_txqs(struct ice_vsi *vsi); [all …]
|
D | ice_fltr.c | 58 ice_fltr_set_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi, in ice_fltr_set_vlan_vsi_promisc() argument 64 result = ice_set_vlan_vsi_promisc(hw, vsi->idx, promisc_mask, false); in ice_fltr_set_vlan_vsi_promisc() 68 vsi->vsi_num, result); in ice_fltr_set_vlan_vsi_promisc() 82 ice_fltr_clear_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi, in ice_fltr_clear_vlan_vsi_promisc() argument 88 result = ice_set_vlan_vsi_promisc(hw, vsi->idx, promisc_mask, true); in ice_fltr_clear_vlan_vsi_promisc() 92 vsi->vsi_num, result); in ice_fltr_clear_vlan_vsi_promisc() 148 int ice_fltr_add_mac_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_add_mac_list() argument 150 return ice_add_mac(&vsi->back->hw, list); in ice_fltr_add_mac_list() 158 int ice_fltr_remove_mac_list(struct ice_vsi *vsi, struct list_head *list) in ice_fltr_remove_mac_list() argument 160 return ice_remove_mac(&vsi->back->hw, list); in ice_fltr_remove_mac_list() [all …]
|
D | ice_vf_vsi_vlan_ops.c | 12 noop_vlan_arg(struct ice_vsi __always_unused *vsi, in noop_vlan_arg() argument 19 noop_vlan(struct ice_vsi __always_unused *vsi) in noop_vlan() argument 24 static void ice_port_vlan_on(struct ice_vsi *vsi) in ice_port_vlan_on() argument 27 struct ice_pf *pf = vsi->back; in ice_port_vlan_on() 30 vlan_ops = &vsi->outer_vlan_ops; in ice_port_vlan_on() 37 vlan_ops = &vsi->inner_vlan_ops; in ice_port_vlan_on() 45 vlan_ops = &vsi->inner_vlan_ops; in ice_port_vlan_on() 59 static void ice_port_vlan_off(struct ice_vsi *vsi) in ice_port_vlan_off() argument 62 struct ice_pf *pf = vsi->back; in ice_port_vlan_off() 65 vlan_ops = &vsi->inner_vlan_ops; in ice_port_vlan_off() [all …]
|
D | ice_arfs.c | 10 static bool ice_is_arfs_active(struct ice_vsi *vsi) in ice_is_arfs_active() argument 12 return !!vsi->arfs_fltr_list; in ice_is_arfs_active() 28 struct ice_vsi *vsi; in ice_is_arfs_using_perfect_flow() local 30 vsi = ice_get_main_vsi(pf); in ice_is_arfs_using_perfect_flow() 31 if (!vsi) in ice_is_arfs_using_perfect_flow() 34 arfs_fltr_cntrs = vsi->arfs_fltr_cntrs; in ice_is_arfs_using_perfect_flow() 59 ice_arfs_update_active_fltr_cntrs(struct ice_vsi *vsi, in ice_arfs_update_active_fltr_cntrs() argument 62 struct ice_arfs_active_fltr_cntrs *fltr_cntrs = vsi->arfs_fltr_cntrs; in ice_arfs_update_active_fltr_cntrs() 90 …dev_err(ice_pf_to_dev(vsi->back), "aRFS: Failed to update filter counters, invalid filter type %d\… in ice_arfs_update_active_fltr_cntrs() 105 ice_arfs_del_flow_rules(struct ice_vsi *vsi, struct hlist_head *del_list_head) in ice_arfs_del_flow_rules() argument [all …]
|
D | ice_main.c | 77 static void ice_remove_q_channels(struct ice_vsi *vsi, bool rem_adv_fltr); 113 struct ice_vsi *vsi = NULL; in ice_check_for_hang_subtask() local 120 if (pf->vsi[v] && pf->vsi[v]->type == ICE_VSI_PF) { in ice_check_for_hang_subtask() 121 vsi = pf->vsi[v]; in ice_check_for_hang_subtask() 125 if (!vsi || test_bit(ICE_VSI_DOWN, vsi->state)) in ice_check_for_hang_subtask() 128 if (!(vsi->netdev && netif_carrier_ok(vsi->netdev))) in ice_check_for_hang_subtask() 131 hw = &vsi->back->hw; in ice_check_for_hang_subtask() 133 ice_for_each_txq(vsi, i) { in ice_check_for_hang_subtask() 134 struct ice_tx_ring *tx_ring = vsi->tx_rings[i]; in ice_check_for_hang_subtask() 181 struct ice_vsi *vsi; in ice_init_mac_fltr() local [all …]
|
D | ice_vf_lib.c | 126 return vf->pf->vsi[vf->lan_vsi_idx]; in ice_get_vf_vsi() 221 struct ice_vsi *vsi = ice_get_vf_vsi(vf); in ice_vf_clear_counters() local 223 if (vsi) in ice_vf_clear_counters() 224 vsi->num_vlan = 0; in ice_vf_clear_counters() 286 struct ice_vsi *vsi = ice_get_vf_vsi(vf); in ice_vf_rebuild_vsi() local 289 if (WARN_ON(!vsi)) in ice_vf_rebuild_vsi() 292 if (ice_vsi_rebuild(vsi, ICE_VSI_FLAG_INIT)) { in ice_vf_rebuild_vsi() 300 vsi->vsi_num = ice_get_hw_vsi_num(&pf->hw, vsi->idx); in ice_vf_rebuild_vsi() 301 vf->lan_vsi_num = vsi->vsi_num; in ice_vf_rebuild_vsi() 314 static int ice_vf_rebuild_host_vlan_cfg(struct ice_vf *vf, struct ice_vsi *vsi) in ice_vf_rebuild_host_vlan_cfg() argument [all …]
|
D | ice_base.c | 102 static int ice_vsi_alloc_q_vector(struct ice_vsi *vsi, u16 v_idx) in ice_vsi_alloc_q_vector() argument 104 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_q_vector() 113 q_vector->vsi = vsi; in ice_vsi_alloc_q_vector() 123 if (vsi->type == ICE_VSI_VF) { in ice_vsi_alloc_q_vector() 124 q_vector->reg_idx = ice_calc_vf_reg_idx(vsi->vf, q_vector); in ice_vsi_alloc_q_vector() 126 } else if (vsi->type == ICE_VSI_CTRL && vsi->vf) { in ice_vsi_alloc_q_vector() 127 struct ice_vsi *ctrl_vsi = ice_get_vf_ctrl_vsi(pf, vsi); in ice_vsi_alloc_q_vector() 140 q_vector->irq = ice_alloc_irq(pf, vsi->irq_dyn_alloc); in ice_vsi_alloc_q_vector() 157 if (vsi->netdev) in ice_vsi_alloc_q_vector() 158 netif_napi_add(vsi->netdev, &q_vector->napi, ice_napi_poll); in ice_vsi_alloc_q_vector() [all …]
|
D | ice_vsi_vlan_lib.h | 18 int ice_vsi_add_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan); 19 int ice_vsi_del_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan); 21 int ice_vsi_ena_inner_stripping(struct ice_vsi *vsi, u16 tpid); 22 int ice_vsi_dis_inner_stripping(struct ice_vsi *vsi); 23 int ice_vsi_ena_inner_insertion(struct ice_vsi *vsi, u16 tpid); 24 int ice_vsi_dis_inner_insertion(struct ice_vsi *vsi); 25 int ice_vsi_set_inner_port_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan); 26 int ice_vsi_clear_inner_port_vlan(struct ice_vsi *vsi); 28 int ice_vsi_ena_rx_vlan_filtering(struct ice_vsi *vsi); 29 int ice_vsi_dis_rx_vlan_filtering(struct ice_vsi *vsi); [all …]
|
D | ice_vsi_vlan_ops.c | 10 op_unsupported_vlan_arg(struct ice_vsi * __always_unused vsi, in op_unsupported_vlan_arg() argument 17 op_unsupported_tpid_arg(struct ice_vsi *__always_unused vsi, in op_unsupported_tpid_arg() argument 23 static int op_unsupported(struct ice_vsi *__always_unused vsi) in op_unsupported() argument 54 static void ice_vsi_init_unsupported_vlan_ops(struct ice_vsi *vsi) in ice_vsi_init_unsupported_vlan_ops() argument 56 vsi->outer_vlan_ops = ops_unsupported; in ice_vsi_init_unsupported_vlan_ops() 57 vsi->inner_vlan_ops = ops_unsupported; in ice_vsi_init_unsupported_vlan_ops() 68 void ice_vsi_init_vlan_ops(struct ice_vsi *vsi) in ice_vsi_init_vlan_ops() argument 71 ice_vsi_init_unsupported_vlan_ops(vsi); in ice_vsi_init_vlan_ops() 73 switch (vsi->type) { in ice_vsi_init_vlan_ops() 76 ice_pf_vsi_init_vlan_ops(vsi); in ice_vsi_init_vlan_ops() [all …]
|
D | ice_xsk.c | 25 static void ice_qp_reset_stats(struct ice_vsi *vsi, u16 q_idx) in ice_qp_reset_stats() argument 30 pf = vsi->back; in ice_qp_reset_stats() 34 vsi_stat = pf->vsi_stats[vsi->idx]; in ice_qp_reset_stats() 42 if (ice_is_xdp_ena_vsi(vsi)) in ice_qp_reset_stats() 43 memset(&vsi->xdp_rings[q_idx]->ring_stats->stats, 0, in ice_qp_reset_stats() 44 sizeof(vsi->xdp_rings[q_idx]->ring_stats->stats)); in ice_qp_reset_stats() 52 static void ice_qp_clean_rings(struct ice_vsi *vsi, u16 q_idx) in ice_qp_clean_rings() argument 54 ice_clean_tx_ring(vsi->tx_rings[q_idx]); in ice_qp_clean_rings() 55 if (ice_is_xdp_ena_vsi(vsi)) { in ice_qp_clean_rings() 57 ice_clean_tx_ring(vsi->xdp_rings[q_idx]); in ice_qp_clean_rings() [all …]
|
D | ice_vsi_vlan_ops.h | 13 int (*add_vlan)(struct ice_vsi *vsi, struct ice_vlan *vlan); 14 int (*del_vlan)(struct ice_vsi *vsi, struct ice_vlan *vlan); 15 int (*ena_stripping)(struct ice_vsi *vsi, const u16 tpid); 16 int (*dis_stripping)(struct ice_vsi *vsi); 17 int (*ena_insertion)(struct ice_vsi *vsi, const u16 tpid); 18 int (*dis_insertion)(struct ice_vsi *vsi); 19 int (*ena_rx_filtering)(struct ice_vsi *vsi); 20 int (*dis_rx_filtering)(struct ice_vsi *vsi); 21 int (*ena_tx_filtering)(struct ice_vsi *vsi); 22 int (*dis_tx_filtering)(struct ice_vsi *vsi); [all …]
|
D | ice_virtchnl.c | 372 ice_vc_get_vlan_caps(struct ice_hw *hw, struct ice_vf *vf, struct ice_vsi *vsi, in ice_vc_get_vlan_caps() argument 397 ice_vf_vsi_cfg_svm_legacy_vlan_mode(vsi); in ice_vc_get_vlan_caps() 403 ice_vf_vsi_cfg_dvm_legacy_vlan_mode(vsi); in ice_vc_get_vlan_caps() 422 struct ice_vsi *vsi; in ice_vc_get_vf_res_msg() local 447 vsi = ice_get_vf_vsi(vf); in ice_vc_get_vf_res_msg() 448 if (!vsi) { in ice_vc_get_vf_res_msg() 453 vfres->vf_cap_flags |= ice_vc_get_vlan_caps(hw, vf, vsi, in ice_vc_get_vf_res_msg() 500 vfres->num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg() 508 vfres->vsi_res[0].num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg() 553 struct ice_vsi *vsi; in ice_vc_isvalid_vsi_id() local [all …]
|
D | ice.h | 160 #define ice_for_each_txq(vsi, i) \ argument 161 for ((i) = 0; (i) < (vsi)->num_txq; (i)++) 163 #define ice_for_each_xdp_txq(vsi, i) \ argument 164 for ((i) = 0; (i) < (vsi)->num_xdp_txq; (i)++) 166 #define ice_for_each_rxq(vsi, i) \ argument 167 for ((i) = 0; (i) < (vsi)->num_rxq; (i)++) 170 #define ice_for_each_alloc_txq(vsi, i) \ argument 171 for ((i) = 0; (i) < (vsi)->alloc_txq; (i)++) 173 #define ice_for_each_alloc_rxq(vsi, i) \ argument 174 for ((i) = 0; (i) < (vsi)->alloc_rxq; (i)++) [all …]
|
D | ice_ethtool.c | 35 return ((np->vsi->alloc_txq + np->vsi->alloc_rxq) * in ice_q_stats_len() 350 struct ice_vsi *vsi) in __ice_get_drvinfo() argument 352 struct ice_pf *pf = vsi->back; in __ice_get_drvinfo() 378 __ice_get_drvinfo(netdev, drvinfo, np->vsi); in ice_get_drvinfo() 391 struct ice_pf *pf = np->vsi->back; in ice_get_regs() 405 struct ice_pf *pf = np->vsi->back; in ice_get_msglevel() 419 struct ice_pf *pf = np->vsi->back; in ice_set_msglevel() 434 struct ice_pf *pf = np->vsi->back; in ice_get_eeprom_len() 444 struct ice_vsi *vsi = np->vsi; in ice_get_eeprom() local 445 struct ice_pf *pf = vsi->back; in ice_get_eeprom() [all …]
|
D | ice_fltr.h | 11 ice_fltr_set_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi, 14 ice_fltr_clear_vlan_vsi_promisc(struct ice_hw *hw, struct ice_vsi *vsi, 23 ice_fltr_add_mac_to_list(struct ice_vsi *vsi, struct list_head *list, 26 ice_fltr_add_mac(struct ice_vsi *vsi, const u8 *mac, 29 ice_fltr_add_mac_and_broadcast(struct ice_vsi *vsi, const u8 *mac, 31 int ice_fltr_add_mac_list(struct ice_vsi *vsi, struct list_head *list); 33 ice_fltr_remove_mac(struct ice_vsi *vsi, const u8 *mac, 35 int ice_fltr_remove_mac_list(struct ice_vsi *vsi, struct list_head *list); 37 int ice_fltr_add_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan); 38 int ice_fltr_remove_vlan(struct ice_vsi *vsi, struct ice_vlan *vlan); [all …]
|
D | ice_dcb_lib.c | 35 struct ice_vsi *vsi; in ice_is_pfc_causing_hung_q() local 38 vsi = ice_get_main_vsi(pf); in ice_is_pfc_causing_hung_q() 39 if (!vsi) in ice_is_pfc_causing_hung_q() 43 if (vsi->tc_cfg.ena_tc & BIT(i)) in ice_is_pfc_causing_hung_q() 48 if (ice_find_q_in_range(vsi->tc_cfg.tc_info[tc].qoffset, in ice_is_pfc_causing_hung_q() 49 vsi->tc_cfg.tc_info[tc + 1].qoffset, in ice_is_pfc_causing_hung_q() 149 static u8 ice_get_first_droptc(struct ice_vsi *vsi) in ice_get_first_droptc() argument 151 struct ice_dcbx_cfg *cfg = &vsi->port_info->qos_cfg.local_dcbx_cfg; in ice_get_first_droptc() 152 struct device *dev = ice_pf_to_dev(vsi->back); in ice_get_first_droptc() 180 void ice_vsi_set_dcb_tc_cfg(struct ice_vsi *vsi) in ice_vsi_set_dcb_tc_cfg() argument [all …]
|
/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | ws.c | 18 static struct irdma_ws_node *irdma_alloc_node(struct irdma_sc_vsi *vsi, in irdma_alloc_node() argument 33 node_index = irdma_alloc_ws_node_id(vsi->dev); in irdma_alloc_node() 42 node->vsi_index = vsi->vsi_idx; in irdma_alloc_node() 46 node->traffic_class = vsi->qos[user_pri].traffic_class; in irdma_alloc_node() 48 node->rel_bw = vsi->qos[user_pri].rel_bw; in irdma_alloc_node() 52 node->lan_qs_handle = vsi->qos[user_pri].lan_qos_handle; in irdma_alloc_node() 70 static void irdma_free_node(struct irdma_sc_vsi *vsi, in irdma_free_node() argument 76 irdma_free_ws_node_id(vsi->dev, node->index); in irdma_free_node() 89 static int irdma_ws_cqp_cmd(struct irdma_sc_vsi *vsi, in irdma_ws_cqp_cmd() argument 95 node_info.vsi = node->vsi_index; in irdma_ws_cqp_cmd() [all …]
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_vp9_if.c | 201 struct vdec_vp9_vsi *vsi; member 209 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_is_sf_ref_fb() local 211 for (i = 0; i < ARRAY_SIZE(vsi->sf_ref_fb); i++) { in vp9_is_sf_ref_fb() 212 if (fb == &vsi->sf_ref_fb[i].fb) in vp9_is_sf_ref_fb() 265 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_ref_cnt_fb() local 268 if (ref_idx >= 0 && vsi->frm_bufs[ref_idx].ref_cnt > 0) { in vp9_ref_cnt_fb() 269 vsi->frm_bufs[ref_idx].ref_cnt--; in vp9_ref_cnt_fb() 271 if (vsi->frm_bufs[ref_idx].ref_cnt == 0) { in vp9_ref_cnt_fb() 273 vsi->frm_bufs[ref_idx].buf.fb)) { in vp9_ref_cnt_fb() 277 vsi->frm_bufs[ref_idx].buf.fb->base_y.va); in vp9_ref_cnt_fb() [all …]
|
D | vdec_vp9_req_lat_if.c | 388 struct vdec_vp9_slice_vsi vsi; member 487 struct vdec_vp9_slice_vsi *vsi; member 509 struct vdec_vp9_slice_init_vsi *vsi; in vdec_vp9_slice_init_default_frame_ctx() local 513 vsi = instance->vpu.vsi; in vdec_vp9_slice_init_default_frame_ctx() 514 if (!ctx || !vsi) in vdec_vp9_slice_init_default_frame_ctx() 518 (u32)vsi->default_frame_ctx); in vdec_vp9_slice_init_default_frame_ctx() 543 struct vdec_vp9_slice_vsi *vsi) in vdec_vp9_slice_alloc_working_buffer() argument 558 w = vsi->frame.uh.frame_width; in vdec_vp9_slice_alloc_working_buffer() 559 h = vsi->frame.uh.frame_height; in vdec_vp9_slice_alloc_working_buffer() 658 static void vdec_vp9_slice_vsi_from_remote(struct vdec_vp9_slice_vsi *vsi, in vdec_vp9_slice_vsi_from_remote() argument [all …]
|
D | vdec_av1_req_lat_if.c | 678 struct vdec_av1_slice_vsi vsi; member 734 struct vdec_av1_slice_vsi *vsi; member 772 struct vdec_av1_slice_init_vsi *vsi; in vdec_av1_slice_init_cdf_table() local 776 vsi = instance->vpu.vsi; in vdec_av1_slice_init_cdf_table() 778 (u32)vsi->cdf_table_addr); in vdec_av1_slice_init_cdf_table() 788 instance->cdf_table.size = vsi->cdf_table_size; in vdec_av1_slice_init_cdf_table() 794 memcpy(instance->cdf_table.va, remote_cdf_table, vsi->cdf_table_size); in vdec_av1_slice_init_cdf_table() 803 struct vdec_av1_slice_init_vsi *vsi; in vdec_av1_slice_init_iq_table() local 807 vsi = instance->vpu.vsi; in vdec_av1_slice_init_iq_table() 809 (u32)vsi->iq_table_addr); in vdec_av1_slice_init_iq_table() [all …]
|
D | vdec_vp8_req_if.c | 105 struct vdec_vp8_slice_vsi *vsi; member 133 inst->vsi->pic.pic_w = ctx->picinfo.pic_w; in vdec_vp8_slice_get_pic_info() 134 inst->vsi->pic.pic_h = ctx->picinfo.pic_h; in vdec_vp8_slice_get_pic_info() 135 inst->vsi->pic.buf_w = ctx->picinfo.buf_w; in vdec_vp8_slice_get_pic_info() 136 inst->vsi->pic.buf_h = ctx->picinfo.buf_h; in vdec_vp8_slice_get_pic_info() 137 inst->vsi->pic.fb_sz[0] = ctx->picinfo.fb_sz[0]; in vdec_vp8_slice_get_pic_info() 138 inst->vsi->pic.fb_sz[1] = ctx->picinfo.fb_sz[1]; in vdec_vp8_slice_get_pic_info() 158 inst->vsi->dec.seg_id_buf_dma = (u64)mem->dma_addr; in vdec_vp8_slice_alloc_working_buf() 167 inst->vsi->dec.wrap_y_dma = (u64)mem->dma_addr; in vdec_vp8_slice_alloc_working_buf() 176 inst->vsi->dec.wrap_c_dma = (u64)mem->dma_addr; in vdec_vp8_slice_alloc_working_buf() [all …]
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 31 static void i40e_vsi_reinit_locked(struct i40e_vsi *vsi); 33 static int i40e_add_vsi(struct i40e_vsi *vsi); 34 static int i40e_add_veb(struct i40e_veb *veb, struct i40e_vsi *vsi); 224 if (pile == pf->qp_pile && pf->vsi[id]->type == I40E_VSI_FDIR) { in i40e_get_lump() 302 if (pf->vsi[i] && (pf->vsi[i]->id == id)) in i40e_find_vsi_from_id() 303 return pf->vsi[i]; in i40e_find_vsi_from_id() 334 struct i40e_vsi *vsi = np->vsi; in i40e_tx_timeout() local 335 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() 343 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_tx_timeout() 344 if (vsi->tx_rings[i] && vsi->tx_rings[i]->desc) { in i40e_tx_timeout() [all …]
|
D | i40e_debugfs.c | 32 if (pf->vsi[i] && (pf->vsi[i]->seid == seid)) in i40e_dbg_find_vsi() 33 return pf->vsi[i]; in i40e_dbg_find_vsi() 89 pf->vsi[pf->lan_vsi]->netdev->name, in i40e_dbg_command_read() 119 struct i40e_vsi *vsi; in i40e_dbg_dump_vsi_seid() local 122 vsi = i40e_dbg_find_vsi(pf, seid); in i40e_dbg_dump_vsi_seid() 123 if (!vsi) { in i40e_dbg_dump_vsi_seid() 129 if (vsi->netdev) { in i40e_dbg_dump_vsi_seid() 130 struct net_device *nd = vsi->netdev; in i40e_dbg_dump_vsi_seid() 143 vsi->flags, vsi->netdev_registered, vsi->current_netdev_flags); in i40e_dbg_dump_vsi_seid() 147 i, vsi->state[i]); in i40e_dbg_dump_vsi_seid() [all …]
|