18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* Routines to test for presence/absence of hardware registers: 38c2ecf20Sopenharmony_ci * see arch/m68k/mm/hwtest.c. 48c2ecf20Sopenharmony_ci * -- PMM <pmaydell@chiark.greenend.org.uk> 05/1998 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * Removed __init from decls. We might want them in modules, and 78c2ecf20Sopenharmony_ci * the code is tiny anyway. 16/5/98 pb 88c2ecf20Sopenharmony_ci */ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#ifndef __ASM_HWTEST_H 118c2ecf20Sopenharmony_ci#define __ASM_HWTEST_H 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciextern int hwreg_present(volatile void *regp); 148c2ecf20Sopenharmony_ciextern int hwreg_write(volatile void *regp, unsigned short val); 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#endif 17