Searched refs:q_ctx (Results 1 - 6 of 6) sorted by path

/linux-master/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c126 struct v4l2_m2m_queue_ctx *q_ctx; local
128 q_ctx = get_queue_ctx(m2m_ctx, type);
129 if (!q_ctx)
132 return &q_ctx->q;
136 struct vb2_v4l2_buffer *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx) argument
141 spin_lock_irqsave(&q_ctx->rdy_spinlock, flags);
143 if (list_empty(&q_ctx->rdy_queue)) {
144 spin_unlock_irqrestore(&q_ctx->rdy_spinlock, flags);
148 b = list_first_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list);
149 spin_unlock_irqrestore(&q_ctx
154 v4l2_m2m_last_buf(struct v4l2_m2m_queue_ctx *q_ctx) argument
172 v4l2_m2m_buf_remove(struct v4l2_m2m_queue_ctx *q_ctx) argument
191 v4l2_m2m_buf_remove_by_buf(struct v4l2_m2m_queue_ctx *q_ctx, struct vb2_v4l2_buffer *vbuf) argument
206 v4l2_m2m_buf_remove_by_idx(struct v4l2_m2m_queue_ctx *q_ctx, unsigned int idx) argument
876 struct v4l2_m2m_queue_ctx *q_ctx; local
1288 struct v4l2_m2m_queue_ctx *q_ctx; local
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_common.c4574 struct ice_q_ctx *q_ctx; local
4583 q_ctx = vsi->lan_q_ctx[tc];
4584 return &q_ctx[q_handle];
4607 struct ice_q_ctx *q_ctx; local
4624 q_ctx = ice_get_lan_q_ctx(hw, vsi_handle, tc, q_handle);
4625 if (!q_ctx) {
4677 q_ctx->q_handle = q_handle;
4678 q_ctx->q_teid = le32_to_cpu(node.node_teid);
4683 status = ice_sched_replay_q_bw(pi, q_ctx);
4713 struct ice_q_ctx *q_ctx; local
[all...]
H A Dice_lag.c405 struct ice_q_ctx *q_ctx; local
412 q_ctx = ice_get_lan_q_ctx(hw, vsi_num, tc, i);
413 if (!q_ctx) {
418 if (q_ctx->q_teid == ICE_INVAL_TEID) {
423 if (q_ctx->q_handle == ICE_INVAL_Q_HANDLE) {
429 qid = pf->vsi[vsi_num]->txq_map[q_ctx->q_handle];
432 qbuf->queue_info[count].q_teid = cpu_to_le32(q_ctx->q_teid);
H A Dice_sched.c559 struct ice_q_ctx *q_ctx; local
567 q_ctx = devm_kcalloc(ice_hw_to_dev(hw), new_numqs,
568 sizeof(*q_ctx), GFP_KERNEL);
569 if (!q_ctx)
573 q_ctx[idx].q_handle = ICE_INVAL_Q_HANDLE;
574 q_ctx[idx].q_teid = ICE_INVAL_TEID;
577 vsi_ctx->lan_q_ctx[tc] = q_ctx;
585 q_ctx = devm_kcalloc(ice_hw_to_dev(hw), new_numqs,
586 sizeof(*q_ctx), GFP_KERNEL);
587 if (!q_ctx)
616 struct ice_q_ctx *q_ctx; local
3776 ice_sched_save_q_bw(struct ice_q_ctx *q_ctx, enum ice_rl_type rl_type, u32 bw) argument
3810 struct ice_q_ctx *q_ctx; local
4325 ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx) argument
[all...]
H A Dice_sched.h178 int ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx);
/linux-master/include/media/
H A Dv4l2-mem2mem.h635 * @q_ctx: pointer to struct @v4l2_m2m_queue_ctx
637 struct vb2_v4l2_buffer *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx);
666 * @q_ctx: pointer to struct @v4l2_m2m_queue_ctx
668 struct vb2_v4l2_buffer *v4l2_m2m_last_buf(struct v4l2_m2m_queue_ctx *q_ctx);
761 * @q_ctx: pointer to struct @v4l2_m2m_queue_ctx
763 struct vb2_v4l2_buffer *v4l2_m2m_buf_remove(struct v4l2_m2m_queue_ctx *q_ctx);
793 * @q_ctx: pointer to struct @v4l2_m2m_queue_ctx
796 void v4l2_m2m_buf_remove_by_buf(struct v4l2_m2m_queue_ctx *q_ctx,
826 v4l2_m2m_buf_remove_by_idx(struct v4l2_m2m_queue_ctx *q_ctx, unsigned int idx);

Completed in 344 milliseconds