Searched refs:q_ctx (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/drivers/media/v4l2-core/ |
| D | v4l2-mem2mem.c | 126 struct v4l2_m2m_queue_ctx *q_ctx; in v4l2_m2m_get_vq() local 128 q_ctx = get_queue_ctx(m2m_ctx, type); in v4l2_m2m_get_vq() 129 if (!q_ctx) in v4l2_m2m_get_vq() 132 return &q_ctx->q; in v4l2_m2m_get_vq() 136 struct vb2_v4l2_buffer *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx) in v4l2_m2m_next_buf() argument 141 spin_lock_irqsave(&q_ctx->rdy_spinlock, flags); in v4l2_m2m_next_buf() 143 if (list_empty(&q_ctx->rdy_queue)) { in v4l2_m2m_next_buf() 144 spin_unlock_irqrestore(&q_ctx->rdy_spinlock, flags); in v4l2_m2m_next_buf() 148 b = list_first_entry(&q_ctx->rdy_queue, struct v4l2_m2m_buffer, list); in v4l2_m2m_next_buf() 149 spin_unlock_irqrestore(&q_ctx->rdy_spinlock, flags); in v4l2_m2m_next_buf() [all …]
|
| /Linux-v5.15/include/media/ |
| D | v4l2-mem2mem.h | 611 struct vb2_v4l2_buffer *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx); 642 struct vb2_v4l2_buffer *v4l2_m2m_last_buf(struct v4l2_m2m_queue_ctx *q_ctx); 737 struct vb2_v4l2_buffer *v4l2_m2m_buf_remove(struct v4l2_m2m_queue_ctx *q_ctx); 770 void v4l2_m2m_buf_remove_by_buf(struct v4l2_m2m_queue_ctx *q_ctx, 800 v4l2_m2m_buf_remove_by_idx(struct v4l2_m2m_queue_ctx *q_ctx, unsigned int idx);
|
| /Linux-v5.15/drivers/net/ethernet/intel/ice/ |
| D | ice_sched.c | 565 struct ice_q_ctx *q_ctx; in ice_alloc_lan_q_ctx() local 574 sizeof(*q_ctx), in ice_alloc_lan_q_ctx() 585 q_ctx = devm_kcalloc(ice_hw_to_dev(hw), new_numqs, in ice_alloc_lan_q_ctx() 586 sizeof(*q_ctx), GFP_KERNEL); in ice_alloc_lan_q_ctx() 587 if (!q_ctx) in ice_alloc_lan_q_ctx() 589 memcpy(q_ctx, vsi_ctx->lan_q_ctx[tc], in ice_alloc_lan_q_ctx() 590 prev_num * sizeof(*q_ctx)); in ice_alloc_lan_q_ctx() 592 vsi_ctx->lan_q_ctx[tc] = q_ctx; in ice_alloc_lan_q_ctx() 609 struct ice_q_ctx *q_ctx; in ice_alloc_rdma_q_ctx() local 618 sizeof(*q_ctx), in ice_alloc_rdma_q_ctx() [all …]
|
| D | ice_common.c | 4113 struct ice_q_ctx *q_ctx; in ice_get_lan_q_ctx() local 4122 q_ctx = vsi->lan_q_ctx[tc]; in ice_get_lan_q_ctx() 4123 return &q_ctx[q_handle]; in ice_get_lan_q_ctx() 4146 struct ice_q_ctx *q_ctx; in ice_ena_vsi_txq() local 4163 q_ctx = ice_get_lan_q_ctx(hw, vsi_handle, tc, q_handle); in ice_ena_vsi_txq() 4164 if (!q_ctx) { in ice_ena_vsi_txq() 4216 q_ctx->q_handle = q_handle; in ice_ena_vsi_txq() 4217 q_ctx->q_teid = le32_to_cpu(node.node_teid); in ice_ena_vsi_txq() 4222 status = ice_sched_replay_q_bw(pi, q_ctx); in ice_ena_vsi_txq() 4252 struct ice_q_ctx *q_ctx; in ice_dis_vsi_txq() local [all …]
|
| D | ice_sched.h | 112 ice_sched_replay_q_bw(struct ice_port_info *pi, struct ice_q_ctx *q_ctx);
|