Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * basic functions for devices following the "stmp" style register layout
0004  *
0005  * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.
0006  */
0007 
0008 #ifndef __STMP_DEVICE_H__
0009 #define __STMP_DEVICE_H__
0010 
0011 #define STMP_OFFSET_REG_SET 0x4
0012 #define STMP_OFFSET_REG_CLR 0x8
0013 #define STMP_OFFSET_REG_TOG 0xc
0014 
0015 extern int stmp_reset_block(void __iomem *);
0016 #endif /* __STMP_DEVICE_H__ */