Searched refs:swapw (Results 1 - 1 of 1) sorted by relevance

/linux-master/drivers/net/ethernet/amd/
H A Dariadne.c70 #define swapw(x) (((x >> 8) & 0x00ff) | ((x << 8) & 0xff00)) macro
136 t->TMD2 = swapw((u_short)-PKT_BUF_SIZE);
152 r->RMD2 = swapw((u_short)-PKT_BUF_SIZE);
192 short pkt_len = swapw(priv->rx_ring[entry]->RMD3);
408 version = swapw(lance->RDP);
410 version |= swapw(lance->RDP) << 16;
468 lance->RDP = swapw(((u_short)-RX_RING_SIZE));
470 lance->RDP = swapw(((u_short)-TX_RING_SIZE));
504 dev->stats.rx_missed_errors = swapw(lance->RDP);
581 priv->tx_ring[entry]->TMD2 = swapw((u_shor
[all...]

Completed in 181 milliseconds