^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /* Routines to test for presence/absence of hardware registers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * see arch/m68k/mm/hwtest.c.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * -- PMM <pmaydell@chiark.greenend.org.uk> 05/1998
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Removed __init from decls. We might want them in modules, and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * the code is tiny anyway. 16/5/98 pb
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #ifndef __ASM_HWTEST_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define __ASM_HWTEST_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) extern int hwreg_present(volatile void *regp);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) extern int hwreg_write(volatile void *regp, unsigned short val);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #endif