Home
last modified time | relevance | path

Searched refs:vsi_ctx (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_if.c90 struct vdec_h264_vsi vsi_ctx; member
176 inst->vsi_ctx.pred_buf_dma = 0; in free_prediction_buf()
212 inst->vsi_ctx.mv_buf_dma[i] = 0; in free_mv_buf()
228 inst->vsi_ctx.dec.cap_num_planes = in get_pic_info()
256 cr->left = inst->vsi_ctx.crop.left; in get_crop_info()
257 cr->top = inst->vsi_ctx.crop.top; in get_crop_info()
258 cr->width = inst->vsi_ctx.crop.width; in get_crop_info()
267 *dpb_sz = inst->vsi_ctx.dec.dpb_sz; in get_dpb_size()
291 memcpy(&inst->vsi_ctx, inst->vpu.vsi, sizeof(inst->vsi_ctx)); in vdec_h264_slice_init()
397 memcpy(inst->vpu.vsi, &inst->vsi_ctx, sizeof(inst->vsi_ctx)); in vdec_h264_slice_decode()
[all …]
H A Dvdec_h264_req_multi_if.c162 struct vdec_h264_slice_vsi vsi_ctx; member
741 inst->vsi_ctx.dec.bs_buf_size = bs->size; in vdec_h264_slice_single_decode()
742 inst->vsi_ctx.dec.y_fb_dma = y_fb_dma; in vdec_h264_slice_single_decode()
743 inst->vsi_ctx.dec.c_fb_dma = c_fb_dma; in vdec_h264_slice_single_decode()
773 inst->vsi_ctx.mv_buf_dma[i] = mem->dma_addr; in vdec_h264_slice_single_decode()
777 memcpy(inst->vpu.vsi, &inst->vsi_ctx, sizeof(inst->vsi_ctx)); in vdec_h264_slice_single_decode()
793 memcpy(&inst->vsi_ctx, inst->vpu.vsi, sizeof(inst->vsi_ctx)); in vdec_h264_slice_single_decode()
796 inst->vsi_ctx.dec.crc[0], inst->vsi_ctx.dec.crc[1], in vdec_h264_slice_single_decode()
797 inst->vsi_ctx.dec.crc[2], inst->vsi_ctx.dec.crc[3], in vdec_h264_slice_single_decode()
798 inst->vsi_ctx.dec.crc[4], inst->vsi_ctx.dec.crc[5], in vdec_h264_slice_single_decode()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sched.c556 struct ice_vsi_ctx *vsi_ctx; in ice_alloc_lan_q_ctx() local
561 if (!vsi_ctx) in ice_alloc_lan_q_ctx()
613 struct ice_vsi_ctx *vsi_ctx; in ice_alloc_rdma_q_ctx() local
617 if (!vsi_ctx) in ice_alloc_rdma_q_ctx()
1506 struct ice_vsi_ctx *vsi_ctx; in ice_sched_get_free_qparent() local
1515 if (!vsi_ctx) in ice_sched_get_free_qparent()
1846 if (!vsi_ctx) in ice_sched_update_vsi_child_nodes()
1914 if (!vsi_ctx) in ice_sched_cfg_vsi()
2036 if (!vsi_ctx) in ice_sched_rm_vsi_cfg()
3053 if (!vsi_ctx) in ice_sched_save_vsi_bw()
[all …]
H A Dice_switch.c1552 if (!vsi_ctx->alloc_from_pool) in ice_aq_add_vsi()
1555 cmd->vf_id = vsi_ctx->vf_num; in ice_aq_add_vsi()
1562 sizeof(vsi_ctx->info), cd); in ice_aq_add_vsi()
1636 sizeof(vsi_ctx->info), cd); in ice_aq_update_vsi()
1668 return hw->vsi_ctx[vsi_handle]->vsi_num; in ice_get_hw_vsi_num()
1694 hw->vsi_ctx[vsi_handle] = vsi; in ice_save_vsi_ctx()
1732 hw->vsi_ctx[vsi_handle] = NULL; in ice_clear_vsi_ctx()
1768 status = ice_aq_add_vsi(hw, vsi_ctx, cd); in ice_add_vsi()
1777 ice_aq_free_vsi(hw, vsi_ctx, false, cd); in ice_add_vsi()
1780 *tmp_vsi_ctx = *vsi_ctx; in ice_add_vsi()
[all …]
H A Dice_switch.h325 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
328 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
331 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
H A Dice_type.h922 struct ice_vsi_ctx *vsi_ctx[ICE_MAX_VSI]; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c1493 struct i40e_vsi_context *vsi_ctx, in i40e_aq_add_vsi() argument
1509 cmd->vf_id = vsi_ctx->vf_num; in i40e_aq_add_vsi()
1510 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in i40e_aq_add_vsi()
1515 sizeof(vsi_ctx->info), in i40e_aq_add_vsi()
1521 vsi_ctx->seid = le16_to_cpu(resp->seid); in i40e_aq_add_vsi()
1845 struct i40e_vsi_context *vsi_ctx, in i40e_aq_get_vsi_params() argument
1859 cmd->uplink_seid = cpu_to_le16(vsi_ctx->seid); in i40e_aq_get_vsi_params()
1864 sizeof(vsi_ctx->info), NULL); in i40e_aq_get_vsi_params()
1869 vsi_ctx->seid = le16_to_cpu(resp->seid); in i40e_aq_get_vsi_params()
1887 struct i40e_vsi_context *vsi_ctx, in i40e_aq_update_vsi_params() argument
[all …]
H A Di40e_prototype.h123 struct i40e_vsi_context *vsi_ctx,
148 struct i40e_vsi_context *vsi_ctx,
151 struct i40e_vsi_context *vsi_ctx,