Searched refs:swapw (Results 1 – 1 of 1) sorted by relevance
75 #define swapw(x) (((x>>8)&0x00ff)|((x<<8)&0xff00)) macro237 version = swapw(lance->RDP); in ariadne_open()239 version |= swapw(lance->RDP)<<16; in ariadne_open()298 lance->RDP = swapw(((u_short)-RX_RING_SIZE)); in ariadne_open()300 lance->RDP = swapw(((u_short)-TX_RING_SIZE)); in ariadne_open()345 t->TMD2 = swapw((u_short)-PKT_BUF_SIZE); in ariadne_init_ring()361 r->RMD2 = swapw((u_short)-PKT_BUF_SIZE); in ariadne_init_ring()381 priv->stats.rx_missed_errors = swapw(lance->RDP); in ariadne_close()628 priv->tx_ring[entry]->TMD2 = swapw((u_short)-skb->len); in ariadne_start_xmit()712 short pkt_len = swapw(priv->rx_ring[entry]->RMD3); in ariadne_rx()[all …]