Home
last modified time | relevance | path

Searched refs:tx_next (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/net/
H A Deepro100.c202 static int tx_next; /* TX descriptor ring pointer */ variable
521 tx_cur = tx_next; in eepro100_init()
522 tx_next = ((tx_next + 1) % NUM_TX_DESC); in eepro100_init()
527 cfg_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init()
557 tx_cur = tx_next; in eepro100_init()
558 tx_next = ((tx_next + 1) % NUM_TX_DESC); in eepro100_init()
563 ias_cmd->link = cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_init()
608 tx_cur = tx_next; in eepro100_send()
609 tx_next = (tx_next + 1) % NUM_TX_DESC; in eepro100_send()
618 cpu_to_le32 (phys_to_bus ((u32) & tx_ring[tx_next])); in eepro100_send()
[all …]
H A Dne2000_base.c182 dp->tx_next = dp->tx_buf1; in dp83902a_start()
258 start_page = dp->tx_next; in dp83902a_send()
259 if (dp->tx_next == dp->tx_buf1) { in dp83902a_send()
263 dp->tx_next = dp->tx_buf2; in dp83902a_send()
268 dp->tx_next = dp->tx_buf1; in dp83902a_send()
H A Dne2000_base.h128 int tx_next; /* First free Tx page */ member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aeroflex/
H A Dgreth.c324 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 Dgreth.h109 u16 tx_next; member
/OK3568_Linux_fs/kernel/drivers/net/can/
H A Dat91_can.c132 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()
497 priv->tx_next++; in at91_start_xmit()
500 (priv->tx_next & get_next_mask(priv)) == 0) in at91_start_xmit()
839 for (/* nix */; (priv->tx_next - priv->tx_echo) > 0; priv->tx_echo++) { in at91_irq_tx()
870 if ((priv->tx_next & get_next_mask(priv)) != 0 || in at91_irq_tx()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aurora/
H A Dnb8800.c423 next = priv->tx_next; in nb8800_xmit()
461 priv->tx_next = next; in nb8800_xmit()
490 unsigned int limit = priv->tx_next; in nb8800_tx_done()
815 priv->tx_next = 0; in nb8800_dma_reset()
885 priv->tx_done == priv->tx_next, in nb8800_dma_stop()
H A Dnb8800.h272 u32 tx_next; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/octeon/
H A Docteon_mgmt.c127 unsigned int tx_next; member
991 p->tx_next = 0; in octeon_mgmt_open()
1312 p->tx_ring[p->tx_next] = re.d64; in octeon_mgmt_xmit()
1313 p->tx_next = (p->tx_next + 1) % OCTEON_MGMT_TX_RING_SIZE; in octeon_mgmt_xmit()
/OK3568_Linux_fs/external/dpdk/pcie/e1000/
H A Digb_rxtx.c1318 uint16_t tx_next; /* First segment of the next packet. */ in igb_tx_done_cleanup() local
1359 tx_next = sw_ring[tx_last].next_id; in igb_tx_done_cleanup()
1375 } while (tx_id != tx_next); in igb_tx_done_cleanup()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dsdma.c2479 struct sdma_txreq *tx, *tx_next; in sdma_send_txlist() local
2487 list_for_each_entry_safe(tx, tx_next, tx_list, list) { in sdma_send_txlist()
2520 list_for_each_entry_safe(tx, tx_next, tx_list, list) { in sdma_send_txlist()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/
H A Dsky2.h2228 u16 tx_next; /* debug only */ member
H A Dsky2.c2024 sky2->tx_next = RING_NEXT(idx, sky2->tx_ring_size); in sky2_tx_complete()
4562 for (idx = sky2->tx_next; idx != sky2->tx_prod && idx < sky2->tx_ring_size; in sky2_debug_show()