Home
last modified time | relevance | path

Searched refs:queue_head (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/mfd/
H A Dpcf50633-adc.c44 int queue_head; member
72 head = adc->queue_head; in trigger_next_adc_job_if_any()
88 head = adc->queue_head; in adc_enqueue_request()
181 head = adc->queue_head; in pcf50633_adc_irq()
190 adc->queue_head = (head + 1) & in pcf50633_adc_irq()
229 head = adc->queue_head; in pcf50633_adc_remove()
/openbmc/qemu/net/
H A Dl2tpv3.c106 int queue_head; member
416 if (s->queue_head + target_count > MAX_L2TPV3_MSGCNT) { in net_l2tpv3_send()
417 target_count = MAX_L2TPV3_MSGCNT - s->queue_head; in net_l2tpv3_send()
426 s->queue_head = 0; in net_l2tpv3_send()
431 msgvec = s->msgvec + s->queue_head; in net_l2tpv3_send()
442 s->queue_head = (s->queue_head + count) % MAX_L2TPV3_MSGCNT; in net_l2tpv3_send()
536 s->queue_head = 0; in net_init_l2tpv3()
/openbmc/linux/drivers/misc/
H A Dibmvmc.c504 hmc->queue_head = 0; in ibmvmc_return_hmc()
950 if (hmc->queue_tail != hmc->queue_head) in ibmvmc_read()
1021 if (hmc->queue_head != hmc->queue_tail) in ibmvmc_poll()
1667 (unsigned int)hmc->queue_head, (unsigned int)hmc_index); in ibmvmc_recv_msg()
1680 hmc->queue_outbound_msgs[hmc->queue_head] = buffer_id; in ibmvmc_recv_msg()
1681 hmc->queue_head++; in ibmvmc_recv_msg()
1682 if (hmc->queue_head == ibmvmc_max_buf_pool_size) in ibmvmc_recv_msg()
1683 hmc->queue_head = 0; in ibmvmc_recv_msg()
1685 if (hmc->queue_head == hmc->queue_tail) in ibmvmc_recv_msg()
H A Dibmvmc.h193 int queue_head, queue_tail; member
/openbmc/linux/drivers/dma/
H A Dfsl-qdma.c490 struct fsl_qdma_queue *queue_head, *queue_temp; in fsl_qdma_alloc_queue_resources() local
497 len = sizeof(*queue_head) * queue_num * block_number; in fsl_qdma_alloc_queue_resources()
498 queue_head = devm_kzalloc(&pdev->dev, len, GFP_KERNEL); in fsl_qdma_alloc_queue_resources()
499 if (!queue_head) in fsl_qdma_alloc_queue_resources()
516 queue_temp = queue_head + i + (j * queue_num); in fsl_qdma_alloc_queue_resources()
539 return queue_head; in fsl_qdma_alloc_queue_resources()
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_queue.h279 static inline void *queue_head(struct rxe_queue *q, enum queue_type type) in queue_head() function
H A Drxe_comp.c155 wqe = queue_head(qp->sq.queue, QUEUE_TYPE_FROM_CLIENT); in get_wqe()
604 while ((wqe = queue_head(q, q->type))) { in flush_send_queue()
H A Drxe_resp.c284 wqe = queue_head(q, QUEUE_TYPE_FROM_CLIENT); in get_srq_wqe()
340 qp->resp.wqe = queue_head(qp->rq.queue, in check_resource()
1489 while ((wqe = queue_head(q, q->type))) { in flush_recv_queue()
H A Drxe_verbs.c1158 cqe = queue_head(cq->queue, QUEUE_TYPE_TO_ULP); in rxe_poll_cq()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dinit.c342 INIT_LIST_HEAD(&rcd->flow_queue.queue_head); in hfi1_create_ctxtdata()
343 INIT_LIST_HEAD(&rcd->rarr_queue.queue_head); in hfi1_create_ctxtdata()
H A Dhfi.h165 struct list_head queue_head; member
H A Dtid_rdma.c476 priv = list_first_entry_or_null(&queue->queue_head, in first_qp()
574 list_add_tail(&priv->tid_wait, &queue->queue_head); in queue_qp_for_tid_wait()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_def.h1484 uint16_t queue_head; member