Home
last modified time | relevance | path

Searched refs:rxpos (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/mctp/
H A Dmctp-serial.c66 unsigned int txpos, rxpos; member
298 switch (dev->rxpos) { in mctp_serial_push_header()
301 dev->rxpos++; in mctp_serial_push_header()
307 dev->rxpos++; in mctp_serial_push_header()
318 dev->rxpos = 0; in mctp_serial_push_header()
328 switch (dev->rxpos) { in mctp_serial_push_trailer()
331 dev->rxpos++; in mctp_serial_push_trailer()
335 dev->rxpos++; in mctp_serial_push_trailer()
343 dev->rxpos = 0; in mctp_serial_push_trailer()
368 dev->rxbuf[dev->rxpos] = c; in mctp_serial_push()
[all …]
/openbmc/qemu/hw/net/
H A Dxilinx_axienet.c383 uint32_t rxpos; member
683 size_t ret = stream_push(s->tx_data_dev, (void *)s->rxmem + s->rxpos, in axienet_eth_rx_notify()
686 s->rxpos += ret; in axienet_eth_rx_notify()
841 s->rxpos = 0; in eth_rx()
850 return s->rxpos; in eth_rx()
/openbmc/linux/drivers/net/wan/
H A Dfarsync.c431 int rxpos; /* Next Rx buffer to use */ member
993 port->rxpos = 0; in fst_rx_config()
1158 port->rxpos = rxp; in fst_recover_rx_error()
1176 rxp = port->rxpos; in fst_intr_rx()
1200 port->rxpos = rxp; in fst_intr_rx()
1226 port->rxpos = rxp; in fst_intr_rx()
1265 if (rxp != port->rxpos) { in fst_intr_rx()
1267 dbg(DBG_ASS, "rxp = %d rxpos = %d\n", rxp, port->rxpos); in fst_intr_rx()
1270 port->rxpos = rxp; in fst_intr_rx()
1390 while (!(FST_RDB(card, rxDescrRing[pi][port->rxpos].bits) in do_bottom_half_rx()