Home
last modified time | relevance | path

Searched refs:tx_list (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.4/drivers/ps3/
Dps3-vuart.c72 } tx_list; member
486 spin_lock_irqsave(&priv->tx_list.lock, flags); in ps3_vuart_write()
488 if (list_empty(&priv->tx_list.head)) { in ps3_vuart_write()
493 spin_unlock_irqrestore(&priv->tx_list.lock, flags); in ps3_vuart_write()
511 spin_unlock_irqrestore(&priv->tx_list.lock, flags); in ps3_vuart_write()
523 spin_lock_irqsave(&priv->tx_list.lock, flags); in ps3_vuart_write()
524 list_add_tail(&lb->link, &priv->tx_list.head); in ps3_vuart_write()
526 spin_unlock_irqrestore(&priv->tx_list.lock, flags); in ps3_vuart_write()
728 spin_lock_irqsave(&priv->tx_list.lock, flags); in ps3_vuart_handle_interrupt_tx()
730 list_for_each_entry_safe(lb, n, &priv->tx_list.head, link) { in ps3_vuart_handle_interrupt_tx()
[all …]
/Linux-v5.4/sound/soc/intel/common/
Dsst-ipc.c105 list_add_tail(&msg->list, &ipc->tx_list); in ipc_tx_message()
160 while (!list_empty(&ipc->tx_list) && !ipc->pending) { in ipc_tx_msgs()
170 msg = list_first_entry(&ipc->tx_list, struct ipc_message, list); in ipc_tx_msgs()
266 list_for_each_entry_safe(msg, tmp, &ipc->tx_list, list) { in sst_ipc_drop_all()
288 INIT_LIST_HEAD(&ipc->tx_list); in sst_ipc_init()
Dsst-ipc.h56 struct list_head tx_list; member
/Linux-v5.4/drivers/hid/intel-ish-hid/ishtp/
Dclient-buffers.c149 while (!list_empty(&cl->tx_list.list)) { in ishtp_cl_free_tx_ring()
150 tx_buf = list_entry(cl->tx_list.list.next, in ishtp_cl_free_tx_ring()
268 tx_list_empty = list_empty(&cl->tx_list.list); in ishtp_cl_tx_empty()
Dclient.c97 INIT_LIST_HEAD(&cl->tx_list.list); in ishtp_cl_init()
591 have_msg_to_send = !list_empty(&cl->tx_list.list); in ishtp_cl_send()
592 list_add_tail(&cl_msg->list, &cl->tx_list.list); in ishtp_cl_send()
659 if (list_empty(&cl->tx_list.list)) { in ipc_tx_callback()
676 cl_msg = list_entry(cl->tx_list.list.next, struct ishtp_cl_tx_ring, in ipc_tx_callback()
749 if (list_empty(&cl->tx_list.list)) { in ishtp_cl_send_msg_dma()
754 cl_msg = list_entry(cl->tx_list.list.next, struct ishtp_cl_tx_ring, in ishtp_cl_send_msg_dma()
Dclient.h69 struct ishtp_cl_tx_ring tx_list, tx_free_list; member
/Linux-v5.4/drivers/dma/
Dmmp_pdma.c84 struct list_head tx_list; member
351 list_for_each_entry(child, &desc->tx_list, node) { in mmp_pdma_tx_submit()
356 list_splice_tail_init(&desc->tx_list, &chan->chain_pending); in mmp_pdma_tx_submit()
375 INIT_LIST_HEAD(&desc->tx_list); in mmp_pdma_alloc_descriptor()
505 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_memcpy()
521 mmp_pdma_free_desc_list(chan, &first->tx_list); in mmp_pdma_prep_memcpy()
579 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_slave_sg()
601 mmp_pdma_free_desc_list(chan, &first->tx_list); in mmp_pdma_prep_slave_sg()
674 list_add_tail(&new->node, &first->tx_list); in mmp_pdma_prep_dma_cyclic()
688 mmp_pdma_free_desc_list(chan, &first->tx_list); in mmp_pdma_prep_dma_cyclic()
Dtxx9dmac.c182 if (!list_empty(&desc->tx_list)) in txx9dmac_last_child()
183 desc = list_entry(desc->tx_list.prev, typeof(*desc), desc_node); in txx9dmac_last_child()
198 INIT_LIST_HEAD(&desc->tx_list); in txx9dmac_desc_alloc()
247 list_for_each_entry(child, &desc->tx_list, desc_node) in txx9dmac_sync_desc_for_cpu()
269 list_for_each_entry(child, &desc->tx_list, desc_node) in txx9dmac_desc_put()
273 list_splice_init(&desc->tx_list, &dc->free_list); in txx9dmac_desc_put()
412 list_splice_init(&desc->tx_list, &dc->free_list); in txx9dmac_descriptor_complete()
530 list_for_each_entry(child, &bad_desc->tx_list, desc_node) in txx9dmac_handle_error()
572 list_for_each_entry(child, &desc->tx_list, desc_node) in txx9dmac_scan_descriptors()
782 list_add_tail(&desc->desc_node, &first->tx_list); in txx9dmac_prep_dma_memcpy()
[all …]
Dxgene-dma.c240 struct list_head tx_list; member
471 list_splice_tail_init(&desc->tx_list, &chan->ld_pending); in xgene_dma_tx_submit()
498 INIT_LIST_HEAD(&desc->tx_list); in xgene_dma_alloc_descriptor()
866 list_add_tail(&new->node, &first->tx_list); in xgene_dma_prep_xor()
871 list_splice(&first->tx_list, &new->tx_list); in xgene_dma_prep_xor()
879 xgene_dma_free_desc_list(chan, &first->tx_list); in xgene_dma_prep_xor()
924 list_add_tail(&new->node, &first->tx_list); in xgene_dma_prep_pq()
948 list_splice(&first->tx_list, &new->tx_list); in xgene_dma_prep_pq()
956 xgene_dma_free_desc_list(chan, &first->tx_list); in xgene_dma_prep_pq()
Daltera-msgdma.c162 struct list_head tx_list; member
218 INIT_LIST_HEAD(&desc->tx_list); in msgdma_get_descriptor()
235 list_for_each_entry_safe(child, next, &desc->tx_list, node) { in msgdma_free_descriptor()
364 list_add_tail(&new->node, &first->tx_list); in msgdma_prep_memcpy()
438 list_add_tail(&new->node, &first->tx_list); in msgdma_prep_slave_sg()
538 list_for_each_entry_safe(sdesc, next, &desc->tx_list, node) in msgdma_copy_desc_to_fifo()
Dep93xx_dma.c128 struct list_head tx_list; member
246 while (!list_empty(&desc->tx_list)) { in ep93xx_dma_set_active()
247 struct ep93xx_dma_desc *d = list_first_entry(&desc->tx_list, in ep93xx_dma_set_active()
710 list_splice_init(&desc->tx_list, &edmac->free_list); in ep93xx_dma_desc_put()
923 INIT_LIST_HEAD(&desc->tx_list); in ep93xx_dma_alloc_chan_resources()
1009 list_add_tail(&desc->node, &first->tx_list); in ep93xx_dma_prep_dma_memcpy()
1084 list_add_tail(&desc->node, &first->tx_list); in ep93xx_dma_prep_slave_sg()
1165 list_add_tail(&desc->node, &first->tx_list); in ep93xx_dma_prep_dma_cyclic()
Dpch_dma.c87 struct list_head tx_list; member
336 if (list_empty(&desc->tx_list)) { in pdc_dostart()
355 list_splice_init(&desc->tx_list, &pd_chan->free_list); in pdc_chain_complete()
434 INIT_LIST_HEAD(&desc->tx_list); in pdc_alloc_desc()
483 list_splice_init(&desc->tx_list, &pd_chan->free_list); in pdc_desc_put()
630 list_add_tail(&desc->desc_node, &first->tx_list); in pd_prep_slave_sg()
Dtegra20-apb-dma.c169 struct list_head tx_list; member
311 if (!list_empty(&dma_desc->tx_list)) in tegra_dma_desc_put()
312 list_splice_init(&dma_desc->tx_list, &tdc->free_sg_req); in tegra_dma_desc_put()
716 list_splice_tail_init(&dma_desc->tx_list, &tdc->pending_sg_req); in tegra_dma_tx_submit()
1060 INIT_LIST_HEAD(&dma_desc->tx_list); in tegra_dma_prep_slave_sg()
1103 list_add_tail(&sg_req->node, &dma_desc->tx_list); in tegra_dma_prep_slave_sg()
1208 INIT_LIST_HEAD(&dma_desc->tx_list); in tegra_dma_prep_dma_cyclic()
1237 list_add_tail(&sg_req->node, &dma_desc->tx_list); in tegra_dma_prep_dma_cyclic()
Dfsldma.c403 list_splice_tail_init(&desc->tx_list, &chan->ld_pending); in append_ld_queue()
427 list_for_each_entry(child, &desc->tx_list, node) { in fsl_dma_tx_submit()
469 INIT_LIST_HEAD(&desc->tx_list); in fsl_dma_alloc_descriptor()
804 list_add_tail(&new->node, &first->tx_list); in fsl_dma_prep_memcpy()
819 fsldma_free_desc_list_reverse(chan, &first->tx_list); in fsl_dma_prep_memcpy()
Dat_hdmac.c111 INIT_LIST_HEAD(&desc->tx_list); in atc_alloc_descriptor()
176 list_for_each_entry(child, &desc->tx_list, desc_node) in atc_desc_put()
180 list_splice_init(&desc->tx_list, &atchan->free_list); in atc_desc_put()
206 &(*first)->tx_list); in atc_desc_chain()
413 list_for_each_entry(desc, &desc_first->tx_list, desc_node) { in atc_get_bytes_left()
461 list_splice_init(&desc->tx_list, &atchan->free_list); in atc_chain_complete()
573 list_for_each_entry(child, &bad_desc->tx_list, desc_node) in atc_handle_error()
Dtxx9dmac.h230 struct list_head tx_list; member
/Linux-v5.4/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c132 struct sk_buff_head tx_list; member
259 spin_lock_irqsave(&p->tx_list.lock, flags); in octeon_mgmt_clean_tx_buffers()
264 spin_unlock_irqrestore(&p->tx_list.lock, flags); in octeon_mgmt_clean_tx_buffers()
275 skb = __skb_dequeue(&p->tx_list); in octeon_mgmt_clean_tx_buffers()
284 spin_unlock_irqrestore(&p->tx_list.lock, flags); in octeon_mgmt_clean_tx_buffers()
1258 skb_queue_purge(&p->tx_list); in octeon_mgmt_stop()
1289 spin_lock_irqsave(&p->tx_list.lock, flags); in octeon_mgmt_xmit()
1292 spin_unlock_irqrestore(&p->tx_list.lock, flags); in octeon_mgmt_xmit()
1294 spin_lock_irqsave(&p->tx_list.lock, flags); in octeon_mgmt_xmit()
1299 spin_unlock_irqrestore(&p->tx_list.lock, flags); in octeon_mgmt_xmit()
[all …]
/Linux-v5.4/drivers/dma/dw/
Dcore.c91 INIT_LIST_HEAD(&desc->tx_list); in dwc_desc_get()
107 list_for_each_entry_safe(child, _next, &desc->tx_list, desc_node) { in dwc_desc_put()
208 dwc->tx_node_active = &first->tx_list; in dwc_dostart()
258 list_for_each_entry(child, &desc->tx_list, desc_node) in dwc_descriptor_complete()
330 head = &desc->tx_list; in dwc_scan_descriptors()
389 list_for_each_entry(child, &desc->tx_list, desc_node) { in dwc_scan_descriptors()
462 list_for_each_entry(child, &bad_desc->tx_list, desc_node) in dwc_handle_error()
600 list_add_tail(&desc->desc_node, &first->tx_list); in dwc_prep_dma_memcpy()
690 list_add_tail(&desc->desc_node, &first->tx_list); in dwc_prep_slave_sg()
739 list_add_tail(&desc->desc_node, &first->tx_list); in dwc_prep_slave_sg()
/Linux-v5.4/drivers/net/wireless/intersil/p54/
Dp54spi.h89 struct list_head tx_list; member
Dp54spi.c434 struct p54s_tx_info, tx_list); in p54spi_wq_tx()
436 list_del_init(&entry->tx_list); in p54spi_wq_tx()
441 tx_list); in p54spi_wq_tx()
472 list_add_tail(&di->tx_list, &priv->tx_pending); in p54spi_op_tx()
/Linux-v5.4/drivers/dma/xilinx/
Dzynqmp_dma.c182 struct list_head tx_list; member
383 if (!list_empty(&desc->tx_list)) in zynqmp_dma_tx_submit()
384 desc = list_last_entry(&desc->tx_list, in zynqmp_dma_tx_submit()
416 INIT_LIST_HEAD(&desc->tx_list); in zynqmp_dma_get_descriptor()
436 list_for_each_entry_safe(child, next, &sdesc->tx_list, node) { in zynqmp_dma_free_descriptor()
839 list_add_tail(&new->node, &first->tx_list); in zynqmp_dma_prep_memcpy()
/Linux-v5.4/include/linux/platform_data/
Ddma-iop32x.h91 struct list_head tx_list; member
/Linux-v5.4/drivers/dma/sh/
Dshdma-base.c566 LIST_HEAD(tx_list); in shdma_prep_sg()
615 list_add_tail(&new->node, &tx_list); in shdma_prep_sg()
623 list_splice_tail(&tx_list, &schan->ld_free); in shdma_prep_sg()
630 list_for_each_entry(new, &tx_list, node) in shdma_prep_sg()
632 list_splice(&tx_list, &schan->ld_free); in shdma_prep_sg()
/Linux-v5.4/drivers/net/ethernet/ti/
Dtlan.c861 priv->tx_list = priv->rx_list + TLAN_NUM_RX_LISTS; in tlan_init()
1076 tail_list = priv->tx_list + priv->tx_tail; in tlan_start_tx()
1115 (priv->tx_list + (TLAN_NUM_TX_LISTS - 1))->forward in tlan_start_tx()
1118 (priv->tx_list + (priv->tx_tail - 1))->forward in tlan_start_tx()
1250 tlan_print_list(priv->tx_list + i, "TX", i); in tlan_get_stats()
1380 head_list = priv->tx_list + priv->tx_head; in tlan_handle_tx_eof()
1403 head_list = priv->tx_list + priv->tx_head; in tlan_handle_tx_eof()
1414 head_list = priv->tx_list + priv->tx_head; in tlan_handle_tx_eof()
1656 head_list = priv->tx_list + priv->tx_head; in tlan_handle_tx_eoc()
1924 list = priv->tx_list + i; in tlan_reset_lists()
[all …]
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_qp_tx.c1224 qp = container_of(fifo_list, struct siw_qp, tx_list); in siw_run_sq()
1226 qp->tx_list.next = NULL; in siw_run_sq()
1233 llist_for_each_entry(qp, active, tx_list) { in siw_run_sq()
1234 qp->tx_list.next = NULL; in siw_run_sq()
1257 llist_add(&qp->tx_list, &per_cpu(siw_tx_task_g, qp->tx_cpu).active); in siw_sq_start()

12