1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
6 * Purpose: Macros to access device
19 /*--------------------- Export Definitions -------------------------*/
21 /* For memory mapped IO */
23 #define VNSvOutPortW(dwIOAddress, wData) \
24 iowrite16((u16)(wData), dwIOAddress)
26 #define VNSvOutPortD(dwIOAddress, dwData) \
27 iowrite32((u32)(dwData), dwIOAddress)
29 /*--------------------- Export Classes ----------------------------*/
31 /*--------------------- Export Variables --------------------------*/
33 /*--------------------- Export Functions --------------------------*/
35 #endif /* __UPC_H__ */