/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_h264_req_if.c | 80 * @vsi_ctx : Local VSI data for this decoding context 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 in get_pic_info() [all...] |
H A D | vdec_h264_req_multi_if.c | 142 * @vsi_ctx: Local VSI data for this decoding context 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 in vdec_h264_slice_single_decode() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A 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 in ice_alloc_lan_q_ctx() 627 struct ice_vsi_ctx *vsi_ctx; ice_alloc_rdma_q_ctx() local 1525 struct ice_vsi_ctx *vsi_ctx; ice_sched_get_free_qparent() local 1844 struct ice_vsi_ctx *vsi_ctx; ice_sched_update_vsi_child_nodes() local 1917 struct ice_vsi_ctx *vsi_ctx; ice_sched_cfg_vsi() local 2039 struct ice_vsi_ctx *vsi_ctx; ice_sched_rm_vsi_cfg() local 3068 struct ice_vsi_ctx *vsi_ctx; ice_sched_save_vsi_bw() local 3933 struct ice_vsi_ctx *vsi_ctx; ice_sched_get_node_by_id_type() local [all...] |
H A 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,
|
H A D | ice_switch.c | 1459 * @vsi_ctx: pointer to a VSI context struct 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 in ice_aq_add_vsi() 1509 ice_aq_free_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, bool keep_vsi_alloc, struct ice_sq_cd *cd) ice_aq_free_vsi() argument 1544 ice_aq_update_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) ice_aq_update_vsi() argument 1686 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) ice_add_vsi() argument 1727 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, bool keep_vsi_alloc, struct ice_sq_cd *cd) ice_free_vsi() argument 1751 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) ice_update_vsi() argument [all...] |
H A D | ice_type.h | 858 struct ice_vsi_ctx *vsi_ctx[ICE_MAX_VSI]; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_sched.c | 544 struct ice_vsi_ctx *vsi_ctx; in ice_alloc_lan_q_ctx() local 547 vsi_ctx = ice_get_vsi_ctx(hw, vsi_handle); in ice_alloc_lan_q_ctx() 548 if (!vsi_ctx) in ice_alloc_lan_q_ctx() 551 if (!vsi_ctx->lan_q_ctx[tc]) { in ice_alloc_lan_q_ctx() 552 vsi_ctx->lan_q_ctx[tc] = devm_kcalloc(ice_hw_to_dev(hw), in ice_alloc_lan_q_ctx() 556 if (!vsi_ctx->lan_q_ctx[tc]) in ice_alloc_lan_q_ctx() 558 vsi_ctx->num_lan_q_entries[tc] = new_numqs; in ice_alloc_lan_q_ctx() 562 if (new_numqs > vsi_ctx->num_lan_q_entries[tc]) { in ice_alloc_lan_q_ctx() 563 u16 prev_num = vsi_ctx->num_lan_q_entries[tc]; in ice_alloc_lan_q_ctx() 569 memcpy(q_ctx, vsi_ctx in ice_alloc_lan_q_ctx() 1339 struct ice_vsi_ctx *vsi_ctx; ice_sched_get_free_qparent() local 1626 struct ice_vsi_ctx *vsi_ctx; ice_sched_update_vsi_child_nodes() local 1687 struct ice_vsi_ctx *vsi_ctx; ice_sched_cfg_vsi() local 1809 struct ice_vsi_ctx *vsi_ctx; ice_sched_rm_vsi_cfg() local [all...] |
H A D | ice_switch.c | 123 * @vsi_ctx: pointer to a VSI context struct 129 ice_aq_add_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, in ice_aq_add_vsi() argument 142 if (!vsi_ctx->alloc_from_pool) in ice_aq_add_vsi() 143 cmd->vsi_num = cpu_to_le16(vsi_ctx->vsi_num | in ice_aq_add_vsi() 145 cmd->vf_id = vsi_ctx->vf_num; in ice_aq_add_vsi() 147 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in ice_aq_add_vsi() 151 status = ice_aq_send_cmd(hw, &desc, &vsi_ctx->info, in ice_aq_add_vsi() 152 sizeof(vsi_ctx->info), cd); in ice_aq_add_vsi() 155 vsi_ctx->vsi_num = le16_to_cpu(res->vsi_num) & ICE_AQ_VSI_NUM_M; in ice_aq_add_vsi() 156 vsi_ctx in ice_aq_add_vsi() 173 ice_aq_free_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, bool keep_vsi_alloc, struct ice_sq_cd *cd) ice_aq_free_vsi() argument 208 ice_aq_update_vsi(struct ice_hw *hw, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) ice_aq_update_vsi() argument 351 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) ice_add_vsi() argument 392 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, bool keep_vsi_alloc, struct ice_sq_cd *cd) ice_free_vsi() argument 416 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, struct ice_sq_cd *cd) ice_update_vsi() argument [all...] |
H A D | ice_switch.h | 197 ice_add_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 200 ice_free_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx, 203 ice_update_vsi(struct ice_hw *hw, u16 vsi_handle, struct ice_vsi_ctx *vsi_ctx,
|
H A D | ice_type.h | 607 struct ice_vsi_ctx *vsi_ctx[ICE_MAX_VSI]; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 1987 * @vsi_ctx: pointer to a vsi context struct 1993 struct i40e_vsi_context *vsi_ctx, in i40e_aq_add_vsi() 2007 cmd->uplink_seid = cpu_to_le16(vsi_ctx->uplink_seid); in i40e_aq_add_vsi() 2008 cmd->connection_type = vsi_ctx->connection_type; in i40e_aq_add_vsi() 2009 cmd->vf_id = vsi_ctx->vf_num; in i40e_aq_add_vsi() 2010 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in i40e_aq_add_vsi() 2014 status = i40e_asq_send_command(hw, &desc, &vsi_ctx->info, in i40e_aq_add_vsi() 2015 sizeof(vsi_ctx->info), cmd_details); in i40e_aq_add_vsi() 2020 vsi_ctx->seid = le16_to_cpu(resp->seid); in i40e_aq_add_vsi() 2021 vsi_ctx in i40e_aq_add_vsi() 1992 i40e_aq_add_vsi(struct i40e_hw *hw, struct i40e_vsi_context *vsi_ctx, struct i40e_asq_cmd_details *cmd_details) i40e_aq_add_vsi() argument 2340 i40e_aq_get_vsi_params(struct i40e_hw *hw, struct i40e_vsi_context *vsi_ctx, struct i40e_asq_cmd_details *cmd_details) i40e_aq_get_vsi_params() argument 2382 i40e_aq_update_vsi_params(struct i40e_hw *hw, struct i40e_vsi_context *vsi_ctx, struct i40e_asq_cmd_details *cmd_details) i40e_aq_update_vsi_params() argument [all...] |
H A D | i40e_prototype.h | 106 struct i40e_vsi_context *vsi_ctx, 131 struct i40e_vsi_context *vsi_ctx, 134 struct i40e_vsi_context *vsi_ctx,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_common.c | 1757 * @vsi_ctx: pointer to a vsi context struct 1763 struct i40e_vsi_context *vsi_ctx, in i40e_aq_add_vsi() 1777 cmd->uplink_seid = cpu_to_le16(vsi_ctx->uplink_seid); in i40e_aq_add_vsi() 1778 cmd->connection_type = vsi_ctx->connection_type; in i40e_aq_add_vsi() 1779 cmd->vf_id = vsi_ctx->vf_num; in i40e_aq_add_vsi() 1780 cmd->vsi_flags = cpu_to_le16(vsi_ctx->flags); in i40e_aq_add_vsi() 1784 status = i40e_asq_send_command_atomic(hw, &desc, &vsi_ctx->info, in i40e_aq_add_vsi() 1785 sizeof(vsi_ctx->info), in i40e_aq_add_vsi() 1791 vsi_ctx->seid = le16_to_cpu(resp->seid); in i40e_aq_add_vsi() 1792 vsi_ctx in i40e_aq_add_vsi() 1762 i40e_aq_add_vsi(struct i40e_hw *hw, struct i40e_vsi_context *vsi_ctx, struct i40e_asq_cmd_details *cmd_details) i40e_aq_add_vsi() argument 2114 i40e_aq_get_vsi_params(struct i40e_hw *hw, struct i40e_vsi_context *vsi_ctx, struct i40e_asq_cmd_details *cmd_details) i40e_aq_get_vsi_params() argument 2156 i40e_aq_update_vsi_params(struct i40e_hw *hw, struct i40e_vsi_context *vsi_ctx, struct i40e_asq_cmd_details *cmd_details) i40e_aq_update_vsi_params() argument [all...] |
H A 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,
|