Home
last modified time | relevance | path

Searched refs:txpos (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/mctp/
Dmctp-serial.c66 unsigned int txpos, rxpos; member
81 if (dev->txpos == dev->txlen) in next_chunk_len()
87 if (needs_escape(dev->txbuf[dev->txpos])) in next_chunk_len()
94 for (i = 1; i + dev->txpos + 1 < dev->txlen; i++) { in next_chunk_len()
95 if (needs_escape(dev->txbuf[dev->txpos + i + 1])) in next_chunk_len()
120 dev->txpos = 0; in mctp_serial_tx_work()
127 if (!dev->txpos) in mctp_serial_tx_work()
130 txlen = write_chunk(dev, buf + dev->txpos, 3 - dev->txpos); in mctp_serial_tx_work()
134 dev->txpos += txlen; in mctp_serial_tx_work()
135 if (dev->txpos == 3) { in mctp_serial_tx_work()
[all …]
/linux-6.1.9/drivers/net/wan/
Dfarsync.c432 int txpos; /* Next Tx buffer to use */ member
798 int len, int txpos) in fst_tx_dma_complete() argument
805 FST_WRB(card, txDescrRing[port->index][txpos].bits, in fst_tx_dma_complete()
940 port->txpos = 0; in fst_issue_cmd()
1019 port->txpos = 0; in fst_tx_config()
1297 while (!(FST_RDB(card, txDescrRing[pi][port->txpos].bits) & in do_bottom_half_tx()
1326 FST_WRW(card, txDescrRing[pi][port->txpos].bcnt, in do_bottom_half_tx()
1334 txpos][0]), in do_bottom_half_tx()
1337 txDescrRing[pi][port->txpos]. in do_bottom_half_tx()
1349 card->dma_txpos = port->txpos; in do_bottom_half_tx()
[all …]