Home
last modified time | relevance | path

Searched refs:q_ctx (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c126 struct v4l2_m2m_queue_ctx *q_ctx; in v4l2_m2m_get_vq() local
129 if (!q_ctx) in v4l2_m2m_get_vq()
132 return &q_ctx->q; in v4l2_m2m_get_vq()
143 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_next_buf()
184 q_ctx->num_rdy--; in v4l2_m2m_buf_remove()
200 q_ctx->num_rdy--; in v4l2_m2m_buf_remove_by_buf()
217 q_ctx->num_rdy--; in v4l2_m2m_buf_remove_by_idx()
876 struct v4l2_m2m_queue_ctx *q_ctx; in v4l2_m2m_streamoff() local
899 q_ctx->num_rdy = 0; in v4l2_m2m_streamoff()
1292 if (!q_ctx) in v4l2_m2m_buf_queue()
[all …]
/linux-6.15/drivers/net/ethernet/intel/ice/
H A Dice_sched.c557 struct ice_q_ctx *q_ctx; in ice_alloc_lan_q_ctx() local
567 if (!q_ctx) in ice_alloc_lan_q_ctx()
575 vsi_ctx->lan_q_ctx[tc] = q_ctx; in ice_alloc_lan_q_ctx()
585 if (!q_ctx) in ice_alloc_lan_q_ctx()
597 vsi_ctx->lan_q_ctx[tc] = q_ctx; in ice_alloc_lan_q_ctx()
614 struct ice_q_ctx *q_ctx; in ice_alloc_rdma_q_ctx() local
623 sizeof(*q_ctx), in ice_alloc_rdma_q_ctx()
636 if (!q_ctx) in ice_alloc_rdma_q_ctx()
641 vsi_ctx->rdma_q_ctx[tc] = q_ctx; in ice_alloc_rdma_q_ctx()
3808 struct ice_q_ctx *q_ctx; in ice_sched_set_q_bw_lmt() local
[all …]
H A Dice_common.c4572 struct ice_q_ctx *q_ctx; in ice_get_lan_q_ctx() local
4581 q_ctx = vsi->lan_q_ctx[tc]; in ice_get_lan_q_ctx()
4582 return &q_ctx[q_handle]; in ice_get_lan_q_ctx()
4605 struct ice_q_ctx *q_ctx; in ice_ena_vsi_txq() local
4623 if (!q_ctx) { in ice_ena_vsi_txq()
4675 q_ctx->q_handle = q_handle; in ice_ena_vsi_txq()
4711 struct ice_q_ctx *q_ctx; in ice_dis_vsi_txq() local
4740 if (!q_ctx) { in ice_dis_vsi_txq()
4747 q_ctx->q_handle, q_handles[i]); in ice_dis_vsi_txq()
4759 q_ctx->q_handle = ICE_INVAL_Q_HANDLE; in ice_dis_vsi_txq()
[all …]
H A Dice_lag.c405 struct ice_q_ctx *q_ctx; in ice_lag_qbuf_recfg() local
412 q_ctx = ice_get_lan_q_ctx(hw, vsi_num, tc, i); in ice_lag_qbuf_recfg()
413 if (!q_ctx) { in ice_lag_qbuf_recfg()
418 if (q_ctx->q_teid == ICE_INVAL_TEID) { in ice_lag_qbuf_recfg()
423 if (q_ctx->q_handle == ICE_INVAL_Q_HANDLE) { in ice_lag_qbuf_recfg()
429 qid = pf->vsi[vsi_num]->txq_map[q_ctx->q_handle]; in ice_lag_qbuf_recfg()
432 qbuf->queue_info[count].q_teid = cpu_to_le32(q_ctx->q_teid); in ice_lag_qbuf_recfg()
H A Dice_sched.h178 int ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx);
/linux-6.15/include/media/
H A Dv4l2-mem2mem.h637 struct vb2_v4l2_buffer *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx);
668 struct vb2_v4l2_buffer *v4l2_m2m_last_buf(struct v4l2_m2m_queue_ctx *q_ctx);
763 struct vb2_v4l2_buffer *v4l2_m2m_buf_remove(struct v4l2_m2m_queue_ctx *q_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);