Searched refs:tx_next (Results 1 – 13 of 13) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | eepro100.c | 199 static int tx_next; /* TX descriptor ring pointer */ variable 518 tx_cur = tx_next; in eepro100_init() 519 tx_next = ((tx_next + 1) % NUM_TX_DESC); in eepro100_init() 524 cfg_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init() 554 tx_cur = tx_next; in eepro100_init() 555 tx_next = ((tx_next + 1) % NUM_TX_DESC); in eepro100_init() 560 ias_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init() 605 tx_cur = tx_next; in eepro100_send() 606 tx_next = (tx_next + 1) % NUM_TX_DESC; in eepro100_send() 615 cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_send() [all …]
|
H A D | ne2000_base.c | 183 dp->tx_next = dp->tx_buf1; in dp83902a_start() 259 start_page = dp->tx_next; in dp83902a_send() 260 if (dp->tx_next == dp->tx_buf1) { in dp83902a_send() 264 dp->tx_next = dp->tx_buf2; in dp83902a_send() 269 dp->tx_next = dp->tx_buf1; in dp83902a_send()
|
H A D | ne2000_base.h | 128 int tx_next; /* First free Tx page */ member
|
/openbmc/linux/drivers/net/ethernet/aeroflex/ |
H A D | greth.c | 324 greth->tx_next = 0; in greth_init_rings() 425 bdp = greth->tx_bd_base + greth->tx_next; in greth_start_xmit() 433 greth->tx_bufs_length[greth->tx_next] = skb->len & GRETH_BD_LEN; in greth_start_xmit() 436 if (greth->tx_next == GRETH_TXBD_NUM_MASK) { in greth_start_xmit() 440 greth->tx_next = NEXT_TX(greth->tx_next); in greth_start_xmit() 454 static inline u16 greth_num_free_bds(u16 tx_last, u16 tx_next) in greth_num_free_bds() argument 456 if (tx_next < tx_last) in greth_num_free_bds() 457 return (tx_last - tx_next) - 1; in greth_num_free_bds() 459 return GRETH_TXBD_NUM - (tx_next - tx_last) - 1; in greth_num_free_bds() 476 if (greth_num_free_bds(tx_last, greth->tx_next) < nr_frags + 1) { in greth_start_xmit_gbit() [all …]
|
H A D | greth.h | 109 u16 tx_next; member
|
/openbmc/linux/drivers/net/can/ |
H A D | at91_can.c | 132 unsigned int tx_next; member 265 return (priv->tx_next & get_next_mb_mask(priv)) + get_mb_tx_first(priv); in get_tx_next_mb() 270 return (priv->tx_next >> get_next_prio_shift(priv)) & 0xf; in get_tx_next_prio() 348 priv->tx_next = priv->tx_echo = 0; in at91_setup_mailboxes() 492 priv->tx_next++; in at91_start_xmit() 495 (priv->tx_next & get_next_mask(priv)) == 0) in at91_start_xmit() 831 for (/* nix */; (priv->tx_next - priv->tx_echo) > 0; priv->tx_echo++) { in at91_irq_tx() 862 if ((priv->tx_next & get_next_mask(priv)) != 0 || in at91_irq_tx()
|
/openbmc/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_cldma.h | 79 struct cldma_request *tx_next; member
|
H A D | t7xx_hif_cldma.c | 70 queue->tx_next = NULL; in md_cd_queue_struct_reset() 312 req = list_prev_entry_circular(queue->tx_next, &queue->tr_ring->gpd_ring, entry); in t7xx_cldma_txq_empty_hndl() 517 queue->tx_next = req; in t7xx_cldma_q_reset() 950 tx_req = queue->tx_next; in t7xx_cldma_send_skb() 956 queue->tx_next = list_next_entry_circular(tx_req, gpd_ring, entry); in t7xx_cldma_send_skb() 1124 t7xx_cldma_hw_set_start_addr(hw_info, qno_t, md_ctrl->txq[qno_t].tx_next->gpd_addr, in t7xx_cldma_resume_early()
|
/openbmc/linux/drivers/net/ethernet/actions/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/cavium/octeon/ |
H A 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()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | sdma.c | 2435 struct sdma_txreq *tx, *tx_next; in sdma_send_txlist() local 2443 list_for_each_entry_safe(tx, tx_next, tx_list, list) { in sdma_send_txlist() 2476 list_for_each_entry_safe(tx, tx_next, tx_list, list) { in sdma_send_txlist()
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.h | 2228 u16 tx_next; /* debug only */ member
|
H A 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()
|