/* SPDX-License-Identifier: GPL-2.0-only */ /* * iohelper.h * helper for define functions to access ISDN hardware * supported are memory mapped IO * indirect port IO (one port for address, one for data) * * Author Karsten Keil <[email protected]> * * Copyright 2009 by Karsten Keil <[email protected]> */ #ifndef _IOHELPER_H #define _IOHELPER_H read_reg_func; write_reg_func; fifo_func; struct _ioport { … }; #define IOFUNC_IO(name, hws, ap) … #define IOFUNC_IND(name, hws, ap) … #define IOFUNC_MEMIO(name, hws, typ, adr) … #define ASSIGN_FUNC(typ, name, dest) … #define ASSIGN_FUNC_IPAC(typ, target) … #endif