home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-arm / hardware / ssp.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  622 b   |  29 lines

  1. /*
  2.  *  ssp.h
  3.  *
  4.  *  Copyright (C) 2003 Russell King, All Rights Reserved.
  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 version 2 as
  8.  * published by the Free Software Foundation.
  9.  */
  10. #ifndef SSP_H
  11. #define SSP_H
  12.  
  13. struct ssp_state {
  14.     unsigned int    cr0;
  15.     unsigned int    cr1;
  16. };
  17.  
  18. int ssp_write_word(u16 data);
  19. int ssp_read_word(void);
  20. void ssp_flush(void);
  21. void ssp_enable(void);
  22. void ssp_disable(void);
  23. void ssp_save_state(struct ssp_state *ssp);
  24. void ssp_restore_state(struct ssp_state *ssp);
  25. int ssp_init(void);
  26. void ssp_exit(void);
  27.  
  28. #endif
  29.