stmp_device.h 619 B

1234567891011121314151617181920
  1. /*
  2. * basic functions for devices following the "stmp" style register layout
  3. *
  4. * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. */
  11. #ifndef __STMP_DEVICE_H__
  12. #define __STMP_DEVICE_H__
  13. #define STMP_OFFSET_REG_SET 0x4
  14. #define STMP_OFFSET_REG_CLR 0x8
  15. #define STMP_OFFSET_REG_TOG 0xc
  16. extern int stmp_reset_block(void __iomem *);
  17. #endif /* __STMP_DEVICE_H__ */