Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dsmc91111.h150 #define SMC_LEON_SWAP16(_x_) ({ word _x = (_x_); ((_x << 8) | (_x >> 8)); }) macro
161 #define SMC_inw(a,r) (SMC_LEON_SWAP16((*(volatile word *)((a)->iobase+((r)<<0)))))
171 #define SMC_outw(a,d,r) (*(volatile word *)((a)->iobase+((r)<<0))=SMC_LEON_SWAP16(d))