Searched refs:swapw (Results 1 – 1 of 1) sorted by relevance
70 #define swapw(x) (((x >> 8) & 0x00ff) | ((x << 8) & 0xff00)) macro136 t->TMD2 = swapw((u_short)-PKT_BUF_SIZE); in ariadne_init_ring()152 r->RMD2 = swapw((u_short)-PKT_BUF_SIZE); in ariadne_init_ring()192 short pkt_len = swapw(priv->rx_ring[entry]->RMD3); in ariadne_rx()408 version = swapw(lance->RDP); in ariadne_open()410 version |= swapw(lance->RDP) << 16; in ariadne_open()468 lance->RDP = swapw(((u_short)-RX_RING_SIZE)); in ariadne_open()470 lance->RDP = swapw(((u_short)-TX_RING_SIZE)); in ariadne_open()504 dev->stats.rx_missed_errors = swapw(lance->RDP); in ariadne_close()581 priv->tx_ring[entry]->TMD2 = swapw((u_short)-skb->len); in ariadne_start_xmit()[all …]