PageRenderTime 119ms CodeModel.GetById 83ms RepoModel.GetById 14ms app.codeStats 0ms

/drivers/staging/brcm80211/brcmfmac/sdioh.h

https://bitbucket.org/wisechild/galaxy-nexus
C++ Header | 63 lines | 43 code | 4 blank | 16 comment | 0 complexity | 08f145537c1e4b07da5343c1c1a25785 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
  1. /*
  2. * Copyright (c) 2010 Broadcom Corporation
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for any
  5. * purpose with or without fee is hereby granted, provided that the above
  6. * copyright notice and this permission notice appear in all copies.
  7. *
  8. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  9. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  10. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
  11. * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  12. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  13. * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  14. * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  15. */
  16. #ifndef _SDIOH_H
  17. #define _SDIOH_H
  18. #define SD_SysAddr 0x000
  19. #define SD_BlockSize 0x004
  20. #define SD_BlockCount 0x006
  21. #define SD_Arg0 0x008
  22. #define SD_Arg1 0x00A
  23. #define SD_TransferMode 0x00C
  24. #define SD_Command 0x00E
  25. #define SD_Response0 0x010
  26. #define SD_Response1 0x012
  27. #define SD_Response2 0x014
  28. #define SD_Response3 0x016
  29. #define SD_Response4 0x018
  30. #define SD_Response5 0x01A
  31. #define SD_Response6 0x01C
  32. #define SD_Response7 0x01E
  33. #define SD_BufferDataPort0 0x020
  34. #define SD_BufferDataPort1 0x022
  35. #define SD_PresentState 0x024
  36. #define SD_HostCntrl 0x028
  37. #define SD_PwrCntrl 0x029
  38. #define SD_BlockGapCntrl 0x02A
  39. #define SD_WakeupCntrl 0x02B
  40. #define SD_ClockCntrl 0x02C
  41. #define SD_TimeoutCntrl 0x02E
  42. #define SD_SoftwareReset 0x02F
  43. #define SD_IntrStatus 0x030
  44. #define SD_ErrorIntrStatus 0x032
  45. #define SD_IntrStatusEnable 0x034
  46. #define SD_ErrorIntrStatusEnable 0x036
  47. #define SD_IntrSignalEnable 0x038
  48. #define SD_ErrorIntrSignalEnable 0x03A
  49. #define SD_CMD12ErrorStatus 0x03C
  50. #define SD_Capabilities 0x040
  51. #define SD_Capabilities_Reserved 0x044
  52. #define SD_MaxCurCap 0x048
  53. #define SD_MaxCurCap_Reserved 0x04C
  54. #define SD_ADMA_SysAddr 0x58
  55. #define SD_SlotInterruptStatus 0x0FC
  56. #define SD_HostControllerVersion 0x0FE
  57. /* SD specific registers in PCI config space */
  58. #define SD_SlotInfo 0x40
  59. #endif /* _SDIOH_H */