Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_h264_req_if.c90 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_prediction_buf()
176 inst->vsi_ctx.pred_buf_dma = 0; in free_prediction_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 …]
Dvdec_h264_req_multi_if.c162 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()
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.12.1/drivers/net/ethernet/intel/ice/
Dice_sched.c556 struct ice_vsi_ctx *vsi_ctx; in ice_alloc_lan_q_ctx() local
560 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_alloc_lan_q_ctx()
561 if (!vsi_ctx) in ice_alloc_lan_q_ctx()
564 if (!vsi_ctx->lan_q_ctx[tc]) { in ice_alloc_lan_q_ctx()
575 vsi_ctx->lan_q_ctx[tc] = q_ctx; in ice_alloc_lan_q_ctx()
576 vsi_ctx->num_lan_q_entries[tc] = new_numqs; in ice_alloc_lan_q_ctx()
580 if (new_numqs > vsi_ctx->num_lan_q_entries[tc]) { in ice_alloc_lan_q_ctx()
581 u16 prev_num = vsi_ctx->num_lan_q_entries[tc]; in ice_alloc_lan_q_ctx()
588 memcpy(q_ctx, vsi_ctx->lan_q_ctx[tc], in ice_alloc_lan_q_ctx()
590 devm_kfree(ice_hw_to_dev(hw), vsi_ctx->lan_q_ctx[tc]); in ice_alloc_lan_q_ctx()
[all …]
Dice_switch.c1539 ice_aq_add_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_add_vsi() argument
1552 if (!vsi_ctx->alloc_from_pool) in ice_aq_add_vsi()
1553 cmd->vsi_num = cpu_to_le16(vsi_ctx->vsi_num | in ice_aq_add_vsi()
1555 cmd->vf_id = vsi_ctx->vf_num; in ice_aq_add_vsi()
1557 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in ice_aq_add_vsi()
1561 status = ice_aq_send_cmd(hw, &desc, &vsi_ctx->info, in ice_aq_add_vsi()
1562 sizeof(vsi_ctx->info), cd); in ice_aq_add_vsi()
1565 vsi_ctx->vsi_num = le16_to_cpu(res->vsi_num) & ICE_AQ_VSI_NUM_M; in ice_aq_add_vsi()
1566 vsi_ctx->vsis_allocd = le16_to_cpu(res->vsi_used); in ice_aq_add_vsi()
1567 vsi_ctx->vsis_unallocated = le16_to_cpu(res->vsi_free); in ice_aq_add_vsi()
[all …]
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,
Dice_type.h922 struct ice_vsi_ctx *vsi_ctx[ICE_MAX_VSI]; member
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_common.c1493 struct i40e_vsi_context *vsi_ctx, in i40e_aq_add_vsi() argument
1507 cmd->uplink_seid = cpu_to_le16(vsi_ctx->uplink_seid); in i40e_aq_add_vsi()
1508 cmd->connection_type = vsi_ctx->connection_type; in i40e_aq_add_vsi()
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()
1514 status = i40e_asq_send_command_atomic(hw, &desc, &vsi_ctx->info, 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()
1522 vsi_ctx->vsi_number = le16_to_cpu(resp->vsi_number); in i40e_aq_add_vsi()
1523 vsi_ctx->vsis_allocated = le16_to_cpu(resp->vsi_used); in i40e_aq_add_vsi()
[all …]
Di40e_prototype.h123 struct i40e_vsi_context *vsi_ctx,
148 struct i40e_vsi_context *vsi_ctx,
151 struct i40e_vsi_context *vsi_ctx,