/linux-master/drivers/net/ethernet/silan/ |
H A D | sc92031.c | 280 unsigned tx_head; member in struct:sc92031_priv 410 while (priv->tx_head - priv->tx_tail > 0) { 414 priv->tx_head = priv->tx_tail = 0; 657 while (priv->tx_head - priv->tx_tail > 0) { 953 BUG_ON(priv->tx_head - priv->tx_tail >= NUM_TX_DESC); 955 entry = priv->tx_head++ % NUM_TX_DESC; 979 if (priv->tx_head - priv->tx_tail >= NUM_TX_DESC) 1010 priv->tx_head = priv->tx_tail = 0;
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | trace_tx.h | 371 __field(u16, tx_head) 378 __entry->tx_head = sde->tx_head; 384 "[%s] SDE(%u) sn %llu hwhead %u swhead %u next_descq_idx %u tx_head %u tx_tail %u", 391 __entry->tx_head, 407 __field(u16, tx_head) 414 __entry->tx_head = sde->tx_head; 419 "[%s] SDE(%u) hwhead %u swhead %u next_descq_idx %u tx_head %u tx_tail %u", 425 __entry->tx_head, [all...] |
H A D | vnic_sdma.c | 259 list_add_tail(&vnic_sdma->stx.list, &work->tx_head);
|
H A D | qp.c | 126 flush_list_head(&iowait_get_ib_work(&priv->s_iowait)->tx_head); 127 flush_list_head(&iowait_get_tid_work(&priv->s_iowait)->tx_head); 460 list_add_tail(&stx->list, &wait->tx_head);
|
/linux-master/drivers/net/ethernet/dec/tulip/ |
H A D | de2104x.c | 96 (((CP)->tx_tail <= (CP)->tx_head) ? \ 97 (CP)->tx_tail + (DE_TX_RING_SIZE - 1) - (CP)->tx_head : \ 98 (CP)->tx_tail - (CP)->tx_head - 1) 292 unsigned tx_head; member in struct:de_private 506 de->rx_tail, de->tx_head, de->tx_tail); 541 unsigned tx_head = de->tx_head; local 544 while (tx_tail != tx_head) { 622 entry = de->tx_head; 644 de->tx_head [all...] |
/linux-master/drivers/net/ethernet/amd/ |
H A D | au1000_eth.c | 703 aup->tx_head = (aup->tx_dma_ring[0]->buff_stat & 0xC) >> 2; 704 aup->tx_tail = aup->tx_head; 967 skb->data, aup->tx_head); 969 ptxd = aup->tx_dma_ring[aup->tx_head]; 986 pDB = aup->tx_db_inuse[aup->tx_head]; 1002 aup->tx_head = (aup->tx_head + 1) & (NUM_TX_DMA - 1);
|
/linux-master/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ib.c | 650 tx_req = &priv->tx_ring[priv->tx_head & (ipoib_sendq_size - 1)]; 662 /* increase the tx_head after send success, but use it for queue state */ 677 rc = post_send(priv, priv->tx_head & (ipoib_sendq_size - 1), 690 rc = priv->tx_head; 691 ++priv->tx_head; 820 while (priv->tx_head != priv->tx_tail || recvs_pending(dev)) { 824 priv->tx_head - priv->tx_tail, 831 while ((int)priv->tx_tail - (int)priv->tx_head < 0) {
|
H A D | ipoib_cm.c | 741 tx->tx_head, skb->len, tx->qp->qp_num); 750 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)]; 778 rc = post_send(priv, tx, tx->tx_head & (ipoib_sendq_size - 1), tx_req); 789 ++tx->tx_head; 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) {
|
H A D | ipoib.h | 252 unsigned int tx_head; member in struct:ipoib_cm_tx 383 unsigned int tx_head; member in struct:ipoib_dev_priv
|
/linux-master/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 1098 queue->tx_tail, queue->tx_head); 1125 for (tail = queue->tx_tail; tail != queue->tx_head; tail++) { 1184 queue->tx_head = 0; 1241 head = queue->tx_head; 1296 CIRC_CNT(queue->tx_head, queue->tx_tail, 1718 if (queue->tx_head == queue->tx_tail) 1723 head_idx = macb_adj_dma_desc_idx(bp, macb_tx_ring_wrap(bp, queue->tx_head)); 1741 if (queue->tx_head != queue->tx_tail) { 2035 unsigned int len, entry, i, tx_head = queue->tx_head; local [all...] |
/linux-master/drivers/net/ethernet/calxeda/ |
H A D | xgmac.c | 362 unsigned int tx_head; member in struct:xgmac_priv 401 dma_ring_space((p)->tx_head, (p)->tx_tail, DMA_TX_RING_SZ) 770 priv->tx_head = 0; 868 while (dma_ring_cnt(priv->tx_head, priv->tx_tail, DMA_TX_RING_SZ)) { 878 priv->tx_head, priv->tx_tail); 925 priv->tx_head = 0; 1091 entry = priv->tx_head; 1136 priv->tx_head = dma_ring_incr(entry, DMA_TX_RING_SZ); 1138 /* Ensure tx_head update is visible to tx completion */ 1150 entry = priv->tx_head; [all...] |
/linux-master/drivers/net/can/rcar/ |
H A D | rcar_can.c | 97 u32 tx_head; member in struct:rcar_can_priv 379 if (priv->tx_head - priv->tx_tail <= unsent) 613 can_put_echo_skb(skb, ndev, priv->tx_head % RCAR_CAN_FIFO_DEPTH, 0); 614 priv->tx_head++; 621 if (priv->tx_head - priv->tx_tail >= RCAR_CAN_FIFO_DEPTH)
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | tlan.c | 1061 dev->name, priv->tx_head, priv->tx_tail); 1357 priv->tx_head, priv->tx_tail); 1358 head_list = priv->tx_list + priv->tx_head; 1380 CIRC_INC(priv->tx_head, TLAN_NUM_TX_LISTS); 1381 head_list = priv->tx_list + priv->tx_head; 1391 priv->tx_head, priv->tx_tail); 1392 head_list = priv->tx_list + priv->tx_head; 1394 + sizeof(struct tlan_list)*priv->tx_head; 1633 priv->tx_head, priv->tx_tail); 1634 head_list = priv->tx_list + priv->tx_head; [all...] |
H A D | tlan.h | 190 u32 tx_head; member in struct:tlan_priv
|
/linux-master/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 116 (((CP)->tx_tail <= (CP)->tx_head) ? \ 117 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \ 118 (CP)->tx_tail - (CP)->tx_head - 1) 341 unsigned tx_head ____cacheline_aligned; 650 unsigned tx_head = cp->tx_head; local 654 while (tx_tail != tx_head) { 751 entry = cp->tx_head; 867 cp->tx_head = NEXT_TX(entry); 966 cp->tx_head [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | ldc.c | 123 unsigned long tx_head; member in struct:ldc_channel 227 if (t == lp->tx_head) 247 return lp->tx_head; 529 &lp->tx_head, 926 &lp->tx_head, 931 orig_state, lp->chan_state, lp->tx_head, lp->tx_tail); 1339 &lp->tx_head, 1346 lp->tx_acked = lp->tx_head; 1495 lp->tx_head, lp->tx_tail, lp->tx_num_entries, 1506 hv_err = sun4v_ldc_tx_get_state(lp->id, &lp->tx_head, [all...] |
/linux-master/drivers/net/ethernet/moxa/ |
H A D | moxart_ether.h | 315 unsigned int tx_head; member in struct:moxart_mac_priv_t
|
/linux-master/drivers/net/can/mscan/ |
H A D | mscan.h | 283 struct list_head tx_head; member in struct:mscan_priv
|
/linux-master/drivers/net/can/ |
H A D | xilinx_can.c | 216 * @tx_head: Tx CAN packets ready to send on the queue 242 unsigned int tx_head; member in struct:xcan_priv 467 priv->tx_head = 0; 695 can_put_echo_skb(skb, ndev, priv->tx_head % priv->tx_max, 0); 699 priv->tx_head++; 761 if ((priv->tx_head - priv->tx_tail) == priv->tx_max) 1397 frames_in_fifo = priv->tx_head - priv->tx_tail;
|
/linux-master/drivers/net/can/usb/etas_es58x/ |
H A D | es58x_core.h | 242 * @tx_head: Index of the next packet to be sent to the 243 * device. @tx_head & echo_skb_mask represents the end of the 265 u32 tx_head; member in struct:es58x_priv 291 * @fifo_mask: Bit mask to quickly convert the tx_tail and tx_head
|
H A D | es58x_fd.c | 362 tx_can_msg->packet_idx = (u8)priv->tx_head;
|
H A D | es581_4.c | 377 put_unaligned_le32(priv->tx_head, &tx_can_msg->packet_idx);
|
/linux-master/drivers/slimbus/ |
H A D | qcom-ngd-ctrl.c | 176 int tx_head; 535 if ((ctrl->tx_tail + 1) % QCOM_SLIM_NGD_DESC_NUM == ctrl->tx_head) { 562 ctrl->tx_head = (ctrl->tx_head + 1) % QCOM_SLIM_NGD_DESC_NUM; 735 ctrl->tx_head = 0; 177 int tx_head; member in struct:qcom_slim_ngd_ctrl
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 932 struct i40e_tx_desc *tx_head; local 941 tx_head = I40E_TX_DESC(tx_ring, i40e_get_head(tx_ring)); 955 if (tx_head == tx_desc) 3784 struct i40e_tx_buffer *tx_head = &xdp_ring->tx_bi[index]; local 3785 struct i40e_tx_buffer *tx_bi = tx_head; 3795 tx_head->bytecount = xdp_get_frame_len(xdpf); 3796 tx_head->gso_segs = 1; 3797 tx_head->xdpf = xdpf; 3838 tx_head->next_to_watch = tx_desc; 3852 if (tx_bi == tx_head) [all...] |
/linux-master/drivers/net/ethernet/google/gve/ |
H A D | gve_tx_dqo.c | 1244 u16 tx_head = le16_to_cpu(compl_desc->tx_head); local 1246 atomic_set_release(&tx->dqo_compl.hw_tx_head, tx_head);
|