Searched refs:tx_tail (Results 26 - 43 of 43) sorted by relevance

12

/linux-master/drivers/net/ethernet/calxeda/
H A Dxgmac.c363 unsigned int tx_tail; member in struct:xgmac_priv
401 dma_ring_space((p)->tx_head, (p)->tx_tail, DMA_TX_RING_SZ)
769 priv->tx_tail = 0;
868 while (dma_ring_cnt(priv->tx_head, priv->tx_tail, DMA_TX_RING_SZ)) {
869 unsigned int entry = priv->tx_tail;
878 priv->tx_head, priv->tx_tail);
894 priv->tx_tail = dma_ring_incr(entry, DMA_TX_RING_SZ);
897 /* Ensure tx_tail is visible to xgmac_xmit */
924 priv->tx_tail = 0;
/linux-master/drivers/net/ethernet/moxa/
H A Dmoxart_ether.h321 unsigned int tx_tail; member in struct:moxart_mac_priv_t
/linux-master/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c823 ++tx->tx_tail;
1206 p->qp ? p->qp->qp_num : 0, p->tx_head, p->tx_tail);
1214 while ((int) p->tx_tail - (int) p->tx_head < 0) {
1217 p->tx_head - p->tx_tail);
1227 while ((int) p->tx_tail - (int) p->tx_head < 0) {
1228 tx_req = &p->tx_ring[p->tx_tail & (ipoib_sendq_size - 1)];
1232 ++p->tx_tail;
H A Dipoib.h253 unsigned int tx_tail; member in struct:ipoib_cm_tx
384 unsigned int tx_tail; member in struct:ipoib_dev_priv
H A Dipoib_main.c1198 "queue stopped %d, tx_head %u, tx_tail %u, global_tx_head %u, global_tx_tail %u\n",
1199 netif_queue_stopped(dev), priv->tx_head, priv->tx_tail,
1746 /* priv->tx_head, tx_tail and global_tx_tail/head are already 0 */
/linux-master/drivers/slimbus/
H A Dqcom-ngd-ctrl.c175 int tx_tail; member in struct:qcom_slim_ngd_ctrl
535 if ((ctrl->tx_tail + 1) % QCOM_SLIM_NGD_DESC_NUM == ctrl->tx_head) {
539 desc = &ctrl->txdesc[ctrl->tx_tail];
540 desc->base = ctrl->tx_base + ctrl->tx_tail * SLIM_MSGQ_BUF_LEN;
542 ctrl->tx_tail = (ctrl->tx_tail + 1) % QCOM_SLIM_NGD_DESC_NUM;
734 ctrl->tx_tail = 0;
/linux-master/drivers/net/ethernet/amd/
H A Dau1000_eth.c704 aup->tx_tail = aup->tx_head;
866 ptxd = aup->tx_dma_ring[aup->tx_tail];
874 aup->tx_tail = (aup->tx_tail + 1) & (NUM_TX_DMA - 1);
875 ptxd = aup->tx_dma_ring[aup->tx_tail];
/linux-master/drivers/net/can/
H A Dxilinx_can.c217 * @tx_tail: Tx CAN packets successfully sended on the queue
243 unsigned int tx_tail; member in struct:xcan_priv
468 priv->tx_tail = 0;
761 if ((priv->tx_head - priv->tx_tail) == priv->tx_max)
1397 frames_in_fifo = priv->tx_head - priv->tx_tail;
1439 stats->tx_bytes += can_get_echo_skb(ndev, priv->tx_tail %
1441 priv->tx_tail++;
/linux-master/drivers/net/can/usb/etas_es58x/
H A Des58x_core.h239 * @tx_tail: Index of the oldest packet still pending for
240 * completion. @tx_tail & echo_skb_mask represents the beginning
264 u32 tx_tail; member in struct:es58x_priv
291 * @fifo_mask: Bit mask to quickly convert the tx_tail and tx_head
/linux-master/drivers/net/ethernet/cadence/
H A Dmacb_main.c1098 queue->tx_tail, queue->tx_head);
1125 for (tail = queue->tx_tail; tail != queue->tx_head; tail++) {
1185 queue->tx_tail = 0;
1242 for (tail = queue->tx_tail; tail != head && packets < budget; tail++) {
1294 queue->tx_tail = tail;
1296 CIRC_CNT(queue->tx_head, queue->tx_tail,
1718 if (queue->tx_head == queue->tx_tail)
1741 if (queue->tx_head != queue->tx_tail) {
1745 if (macb_tx_desc(queue, queue->tx_tail)->ctrl & MACB_BIT(TX_USED))
2377 if (CIRC_SPACE(queue->tx_head, queue->tx_tail,
[all...]
H A Dmacb.h1218 /* Lock to protect tx_head and tx_tail */
1220 unsigned int tx_head, tx_tail; member in struct:macb_queue
/linux-master/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c1259 u8 chip_tx_tail, tx_tail, offset; local
1269 tx_tail = mcp251xfd_get_tx_tail(tx_ring);
1273 * - tx_tail information is inconsistent
1277 if (chip_tx_tail != tx_tail ||
1281 "ECC Error information inconsistent (addr=0x%04x, nr=%d, tx_tail=0x%08x(%d), chip_tx_tail=%d, offset=%d).\n",
1282 addr, nr, tx_ring->tail, tx_tail, chip_tx_tail,
1288 "Recovering %s ECC Error at address 0x%04x (in TX-RAM, tx_obj=%d, tx_tail=0x%08x(%d), offset=%d).\n",
1291 addr, nr, tx_ring->tail, tx_tail, offset);
H A Dmcp251xfd.h834 u8 *tx_tail)
845 *tx_tail = FIELD_GET(MCP251XFD_REG_FIFOSTA_FIFOCI_MASK, fifo_sta);
/linux-master/drivers/net/ethernet/ti/
H A Dtlan.h192 u32 tx_tail; member in struct:tlan_priv
/linux-master/drivers/net/can/rcar/
H A Drcar_canfd.c536 u32 tx_tail; /* Incremented on xmit done */ member in struct:rcar_canfd_channel
1122 sent = priv->tx_tail % RCANFD_FIFO_DEPTH;
1127 priv->tx_tail++;
1136 if (priv->tx_head - priv->tx_tail <= unsent) {
1556 if (priv->tx_head - priv->tx_tail >= RCANFD_FIFO_DEPTH)
/linux-master/drivers/infiniband/hw/hfi1/
H A Dsdma.h319 u16 tx_tail; member in struct:sdma_engine
H A Dsdma.c2194 sde->tx_tail,
2302 WARN_ON_ONCE(sde->tx_ring[sde->tx_tail & sde->sdma_mask]);
2304 sde->tx_ring[sde->tx_tail++ & sde->sdma_mask] = tx;
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h578 __le16 tx_tail; member in struct:hclge_cfg_tx_queue_pointer_cmd

Completed in 326 milliseconds

12