Searched refs:q_ctx (Results 1 – 6 of 6) sorted by relevance
126 struct v4l2_m2m_queue_ctx *q_ctx; in v4l2_m2m_get_vq() local129 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()873 struct v4l2_m2m_queue_ctx *q_ctx; in v4l2_m2m_streamoff() local896 q_ctx->num_rdy = 0; in v4l2_m2m_streamoff()1289 if (!q_ctx) in v4l2_m2m_buf_queue()[all …]
571 struct ice_q_ctx *q_ctx; in ice_alloc_lan_q_ctx() local581 if (!q_ctx) in ice_alloc_lan_q_ctx()589 vsi_ctx->lan_q_ctx[tc] = q_ctx; in ice_alloc_lan_q_ctx()599 if (!q_ctx) in ice_alloc_lan_q_ctx()611 vsi_ctx->lan_q_ctx[tc] = q_ctx; in ice_alloc_lan_q_ctx()628 struct ice_q_ctx *q_ctx; in ice_alloc_rdma_q_ctx() local637 sizeof(*q_ctx), in ice_alloc_rdma_q_ctx()650 if (!q_ctx) in ice_alloc_rdma_q_ctx()655 vsi_ctx->rdma_q_ctx[tc] = q_ctx; in ice_alloc_rdma_q_ctx()3830 struct ice_q_ctx *q_ctx; in ice_sched_set_q_bw_lmt() local[all …]
4592 struct ice_q_ctx *q_ctx; in ice_get_lan_q_ctx() local4601 q_ctx = vsi->lan_q_ctx[tc]; in ice_get_lan_q_ctx()4602 return &q_ctx[q_handle]; in ice_get_lan_q_ctx()4625 struct ice_q_ctx *q_ctx; in ice_ena_vsi_txq() local4643 if (!q_ctx) { in ice_ena_vsi_txq()4695 q_ctx->q_handle = q_handle; in ice_ena_vsi_txq()4730 struct ice_q_ctx *q_ctx; in ice_dis_vsi_txq() local4765 if (!q_ctx) { in ice_dis_vsi_txq()4772 q_ctx->q_handle, q_handles[i]); in ice_dis_vsi_txq()4784 q_ctx->q_handle = ICE_INVAL_Q_HANDLE; in ice_dis_vsi_txq()[all …]
318 struct ice_q_ctx *q_ctx; in ice_lag_qbuf_recfg() local325 q_ctx = ice_get_lan_q_ctx(hw, vsi_num, tc, i); in ice_lag_qbuf_recfg()326 if (!q_ctx) { in ice_lag_qbuf_recfg()331 if (q_ctx->q_teid == ICE_INVAL_TEID) { in ice_lag_qbuf_recfg()336 if (q_ctx->q_handle == ICE_INVAL_Q_HANDLE) { in ice_lag_qbuf_recfg()342 qid = pf->vsi[vsi_num]->txq_map[q_ctx->q_handle]; in ice_lag_qbuf_recfg()345 qbuf->queue_info[count].q_teid = cpu_to_le32(q_ctx->q_teid); in ice_lag_qbuf_recfg()
169 int ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx);
630 struct vb2_v4l2_buffer *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx);661 struct vb2_v4l2_buffer *v4l2_m2m_last_buf(struct v4l2_m2m_queue_ctx *q_ctx);756 struct vb2_v4l2_buffer *v4l2_m2m_buf_remove(struct v4l2_m2m_queue_ctx *q_ctx);789 void v4l2_m2m_buf_remove_by_buf(struct v4l2_m2m_queue_ctx *q_ctx,819 v4l2_m2m_buf_remove_by_idx(struct v4l2_m2m_queue_ctx *q_ctx, unsigned int idx);