Searched refs:tx_next (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/aeroflex/ |
D | greth.c | 323 greth->tx_next = 0; in greth_init_rings() 424 bdp = greth->tx_bd_base + greth->tx_next; in greth_start_xmit() 432 greth->tx_bufs_length[greth->tx_next] = skb->len & GRETH_BD_LEN; in greth_start_xmit() 435 if (greth->tx_next == GRETH_TXBD_NUM_MASK) { in greth_start_xmit() 439 greth->tx_next = NEXT_TX(greth->tx_next); in greth_start_xmit() 453 static inline u16 greth_num_free_bds(u16 tx_last, u16 tx_next) in greth_num_free_bds() argument 455 if (tx_next < tx_last) in greth_num_free_bds() 456 return (tx_last - tx_next) - 1; in greth_num_free_bds() 458 return GRETH_TXBD_NUM - (tx_next - tx_last) - 1; in greth_num_free_bds() 475 if (greth_num_free_bds(tx_last, greth->tx_next) < nr_frags + 1) { in greth_start_xmit_gbit() [all …]
|
D | greth.h | 109 u16 tx_next; member
|
/linux-5.19.10/drivers/net/can/ |
D | at91_can.c | 131 unsigned int tx_next; member 264 return (priv->tx_next & get_next_mb_mask(priv)) + get_mb_tx_first(priv); in get_tx_next_mb() 269 return (priv->tx_next >> get_next_prio_shift(priv)) & 0xf; in get_tx_next_prio() 347 priv->tx_next = priv->tx_echo = 0; in at91_setup_mailboxes() 491 priv->tx_next++; in at91_start_xmit() 494 (priv->tx_next & get_next_mask(priv)) == 0) in at91_start_xmit() 830 for (/* nix */; (priv->tx_next - priv->tx_echo) > 0; priv->tx_echo++) { in at91_irq_tx() 861 if ((priv->tx_next & get_next_mask(priv)) != 0 || in at91_irq_tx()
|
/linux-5.19.10/drivers/net/wwan/t7xx/ |
D | t7xx_hif_cldma.h | 79 struct cldma_request *tx_next; member
|
D | t7xx_hif_cldma.c | 70 queue->tx_next = NULL; in md_cd_queue_struct_reset() 311 req = list_prev_entry_circular(queue->tx_next, &queue->tr_ring->gpd_ring, entry); in t7xx_cldma_txq_empty_hndl() 516 queue->tx_next = req; in t7xx_cldma_q_reset() 949 tx_req = queue->tx_next; in t7xx_cldma_send_skb() 955 queue->tx_next = list_next_entry_circular(tx_req, gpd_ring, entry); in t7xx_cldma_send_skb() 1116 t7xx_cldma_hw_set_start_addr(hw_info, qno_t, md_ctrl->txq[qno_t].tx_next->gpd_addr, in t7xx_cldma_resume_early()
|
/linux-5.19.10/drivers/net/ethernet/actions/ |
D | owl-emac.c | 699 unsigned int tx_next; in owl_emac_tx_complete() local 722 tx_next = ring->tail; in owl_emac_tx_complete() 724 while ((tx_next = owl_emac_ring_get_next(ring, tx_next)) != ring->head) { in owl_emac_tx_complete() 725 status = READ_ONCE(ring->descs[tx_next].status); in owl_emac_tx_complete()
|
/linux-5.19.10/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 127 unsigned int tx_next; member 988 p->tx_next = 0; in octeon_mgmt_open() 1309 p->tx_ring[p->tx_next] = re.d64; in octeon_mgmt_xmit() 1310 p->tx_next = (p->tx_next + 1) % OCTEON_MGMT_TX_RING_SIZE; in octeon_mgmt_xmit()
|
/linux-5.19.10/drivers/infiniband/hw/hfi1/ |
D | sdma.c | 2437 struct sdma_txreq *tx, *tx_next; in sdma_send_txlist() local 2445 list_for_each_entry_safe(tx, tx_next, tx_list, list) { in sdma_send_txlist() 2478 list_for_each_entry_safe(tx, tx_next, tx_list, list) { in sdma_send_txlist()
|
/linux-5.19.10/drivers/net/ethernet/marvell/ |
D | sky2.h | 2228 u16 tx_next; /* debug only */ member
|
D | sky2.c | 2025 sky2->tx_next = RING_NEXT(idx, sky2->tx_ring_size); in sky2_tx_complete() 4429 for (idx = sky2->tx_next; idx != sky2->tx_prod && idx < sky2->tx_ring_size; in sky2_debug_show()
|