Searched refs:vsi_ctx (Results 1 – 8 of 8) sorted by relevance
/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_h264_req_if.c | 90 struct vdec_h264_vsi vsi_ctx; member 151 memcpy(&inst->vsi_ctx.h264_slice_params, slice_param, in get_vdec_decode_parameters() 152 sizeof(inst->vsi_ctx.h264_slice_params)); in get_vdec_decode_parameters() 168 inst->vsi_ctx.pred_buf_dma = inst->pred_buf.dma_addr; in allocate_predication_buf() 176 inst->vsi_ctx.pred_buf_dma = 0; in free_predication_buf() 200 inst->vsi_ctx.mv_buf_dma[i] = mem->dma_addr; in alloc_mv_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() 240 inst->vsi_ctx.dec.resolution_changed = true; in get_pic_info() 243 inst->vsi_ctx.dec.realloc_mv_buf = true; in get_pic_info() [all …]
|
D | vdec_h264_req_multi_if.c | 162 struct vdec_h264_slice_vsi vsi_ctx; member 269 memcpy(&inst->vsi_ctx.h264_slice_params, slice_param, in get_vdec_sig_decode_parameters() 270 sizeof(inst->vsi_ctx.h264_slice_params)); in get_vdec_sig_decode_parameters() 735 inst->vsi_ctx.dec.bs_buf_addr = (u64)bs->dma_addr; in vdec_h264_slice_single_decode() 736 inst->vsi_ctx.dec.bs_buf_size = bs->size; in vdec_h264_slice_single_decode() 737 inst->vsi_ctx.dec.y_fb_dma = y_fb_dma; in vdec_h264_slice_single_decode() 738 inst->vsi_ctx.dec.c_fb_dma = c_fb_dma; in vdec_h264_slice_single_decode() 739 inst->vsi_ctx.dec.vdec_fb_va = (u64)(uintptr_t)fb; in vdec_h264_slice_single_decode() 753 inst->vsi_ctx.dec.nal_info = buf[nal_start_idx]; in vdec_h264_slice_single_decode() 768 inst->vsi_ctx.mv_buf_dma[i] = mem->dma_addr; in vdec_h264_slice_single_decode() [all …]
|
/drivers/net/ethernet/intel/ice/ |
D | ice_sched.c | 570 struct ice_vsi_ctx *vsi_ctx; in ice_alloc_lan_q_ctx() local 574 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_alloc_lan_q_ctx() 575 if (!vsi_ctx) in ice_alloc_lan_q_ctx() 578 if (!vsi_ctx->lan_q_ctx[tc]) { in ice_alloc_lan_q_ctx() 589 vsi_ctx->lan_q_ctx[tc] = q_ctx; in ice_alloc_lan_q_ctx() 590 vsi_ctx->num_lan_q_entries[tc] = new_numqs; in ice_alloc_lan_q_ctx() 594 if (new_numqs > vsi_ctx->num_lan_q_entries[tc]) { in ice_alloc_lan_q_ctx() 595 u16 prev_num = vsi_ctx->num_lan_q_entries[tc]; in ice_alloc_lan_q_ctx() 602 memcpy(q_ctx, vsi_ctx->lan_q_ctx[tc], in ice_alloc_lan_q_ctx() 604 devm_kfree(ice_hw_to_dev(hw), vsi_ctx->lan_q_ctx[tc]); in ice_alloc_lan_q_ctx() [all …]
|
D | ice_switch.c | 1465 ice_aq_add_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_add_vsi() argument 1478 if (!vsi_ctx->alloc_from_pool) in ice_aq_add_vsi() 1479 cmd->vsi_num = cpu_to_le16(vsi_ctx->vsi_num | in ice_aq_add_vsi() 1481 cmd->vf_id = vsi_ctx->vf_num; in ice_aq_add_vsi() 1483 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in ice_aq_add_vsi() 1487 status = ice_aq_send_cmd(hw, &desc, &vsi_ctx->info, in ice_aq_add_vsi() 1488 sizeof(vsi_ctx->info), cd); in ice_aq_add_vsi() 1491 vsi_ctx->vsi_num = le16_to_cpu(res->vsi_num) & ICE_AQ_VSI_NUM_M; in ice_aq_add_vsi() 1492 vsi_ctx->vsis_allocd = le16_to_cpu(res->vsi_used); in ice_aq_add_vsi() 1493 vsi_ctx->vsis_unallocated = le16_to_cpu(res->vsi_free); in ice_aq_add_vsi() [all …]
|
D | ice_switch.h | 338 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 341 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 344 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
|
D | ice_type.h | 858 struct ice_vsi_ctx *vsi_ctx[ICE_MAX_VSI]; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_common.c | 1767 struct i40e_vsi_context *vsi_ctx, in i40e_aq_add_vsi() argument 1781 cmd->uplink_seid = cpu_to_le16(vsi_ctx->uplink_seid); in i40e_aq_add_vsi() 1782 cmd->connection_type = vsi_ctx->connection_type; in i40e_aq_add_vsi() 1783 cmd->vf_id = vsi_ctx->vf_num; in i40e_aq_add_vsi() 1784 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in i40e_aq_add_vsi() 1788 status = i40e_asq_send_command_atomic(hw, &desc, &vsi_ctx->info, in i40e_aq_add_vsi() 1789 sizeof(vsi_ctx->info), in i40e_aq_add_vsi() 1795 vsi_ctx->seid = le16_to_cpu(resp->seid); in i40e_aq_add_vsi() 1796 vsi_ctx->vsi_number = le16_to_cpu(resp->vsi_number); in i40e_aq_add_vsi() 1797 vsi_ctx->vsis_allocated = le16_to_cpu(resp->vsi_used); in i40e_aq_add_vsi() [all …]
|
D | i40e_prototype.h | 122 struct i40e_vsi_context *vsi_ctx, 147 struct i40e_vsi_context *vsi_ctx, 150 struct i40e_vsi_context *vsi_ctx,
|