Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_if.c91 struct vdec_h264_vsi vsi_ctx; member
152 memcpy(&inst->vsi_ctx.h264_slice_params, slice_param, in get_vdec_decode_parameters()
153 sizeof(inst->vsi_ctx.h264_slice_params)); in get_vdec_decode_parameters()
169 inst->vsi_ctx.pred_buf_dma = inst->pred_buf.dma_addr; in allocate_predication_buf()
179 inst->vsi_ctx.pred_buf_dma = 0; in free_predication_buf()
203 inst->vsi_ctx.mv_buf_dma[i] = mem->dma_addr; in alloc_mv_buf()
215 inst->vsi_ctx.mv_buf_dma[i] = 0; in free_mv_buf()
231 inst->vsi_ctx.dec.cap_num_planes = in get_pic_info()
243 inst->vsi_ctx.dec.resolution_changed = true; in get_pic_info()
246 inst->vsi_ctx.dec.realloc_mv_buf = true; in get_pic_info()
[all …]
Dvdec_h264_req_multi_if.c163 struct vdec_h264_slice_vsi vsi_ctx; member
270 memcpy(&inst->vsi_ctx.h264_slice_params, slice_param, in get_vdec_sig_decode_parameters()
271 sizeof(inst->vsi_ctx.h264_slice_params)); in get_vdec_sig_decode_parameters()
740 inst->vsi_ctx.dec.bs_buf_addr = (u64)bs->dma_addr; in vdec_h264_slice_single_decode()
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()
744 inst->vsi_ctx.dec.vdec_fb_va = (u64)(uintptr_t)fb; in vdec_h264_slice_single_decode()
758 inst->vsi_ctx.dec.nal_info = buf[nal_start_idx]; in vdec_h264_slice_single_decode()
773 inst->vsi_ctx.mv_buf_dma[i] = mem->dma_addr; in vdec_h264_slice_single_decode()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_sched.c564 struct ice_vsi_ctx *vsi_ctx; in ice_alloc_lan_q_ctx() local
567 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_alloc_lan_q_ctx()
568 if (!vsi_ctx) in ice_alloc_lan_q_ctx()
571 if (!vsi_ctx->lan_q_ctx[tc]) { in ice_alloc_lan_q_ctx()
572 vsi_ctx->lan_q_ctx[tc] = devm_kcalloc(ice_hw_to_dev(hw), in ice_alloc_lan_q_ctx()
576 if (!vsi_ctx->lan_q_ctx[tc]) in ice_alloc_lan_q_ctx()
578 vsi_ctx->num_lan_q_entries[tc] = new_numqs; in ice_alloc_lan_q_ctx()
582 if (new_numqs > vsi_ctx->num_lan_q_entries[tc]) { in ice_alloc_lan_q_ctx()
583 u16 prev_num = vsi_ctx->num_lan_q_entries[tc]; in ice_alloc_lan_q_ctx()
589 memcpy(q_ctx, vsi_ctx->lan_q_ctx[tc], in ice_alloc_lan_q_ctx()
[all …]
Dice_switch.c1474 ice_aq_add_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_add_vsi() argument
1487 if (!vsi_ctx->alloc_from_pool) in ice_aq_add_vsi()
1488 cmd->vsi_num = cpu_to_le16(vsi_ctx->vsi_num | in ice_aq_add_vsi()
1490 cmd->vf_id = vsi_ctx->vf_num; in ice_aq_add_vsi()
1492 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in ice_aq_add_vsi()
1496 status = ice_aq_send_cmd(hw, &desc, &vsi_ctx->info, in ice_aq_add_vsi()
1497 sizeof(vsi_ctx->info), cd); in ice_aq_add_vsi()
1500 vsi_ctx->vsi_num = le16_to_cpu(res->vsi_num) & ICE_AQ_VSI_NUM_M; in ice_aq_add_vsi()
1501 vsi_ctx->vsis_allocd = le16_to_cpu(res->vsi_used); in ice_aq_add_vsi()
1502 vsi_ctx->vsis_unallocated = le16_to_cpu(res->vsi_free); in ice_aq_add_vsi()
[all …]
Dice_switch.h323 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
326 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
329 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
Dice_type.h846 struct ice_vsi_ctx *vsi_ctx[ICE_MAX_VSI]; member
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_common.c1883 struct i40e_vsi_context *vsi_ctx, in i40e_aq_add_vsi() argument
1897 cmd->uplink_seid = cpu_to_le16(vsi_ctx->uplink_seid); in i40e_aq_add_vsi()
1898 cmd->connection_type = vsi_ctx->connection_type; in i40e_aq_add_vsi()
1899 cmd->vf_id = vsi_ctx->vf_num; in i40e_aq_add_vsi()
1900 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in i40e_aq_add_vsi()
1904 status = i40e_asq_send_command_atomic(hw, &desc, &vsi_ctx->info, in i40e_aq_add_vsi()
1905 sizeof(vsi_ctx->info), in i40e_aq_add_vsi()
1911 vsi_ctx->seid = le16_to_cpu(resp->seid); in i40e_aq_add_vsi()
1912 vsi_ctx->vsi_number = le16_to_cpu(resp->vsi_number); in i40e_aq_add_vsi()
1913 vsi_ctx->vsis_allocated = le16_to_cpu(resp->vsi_used); in i40e_aq_add_vsi()
[all …]
Di40e_prototype.h125 struct i40e_vsi_context *vsi_ctx,
150 struct i40e_vsi_context *vsi_ctx,
153 struct i40e_vsi_context *vsi_ctx,