trio_constants.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright 2012 Tilera Corporation. All Rights Reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation, version 2.
  7. *
  8. * This program is distributed in the hope that it will be useful, but
  9. * WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
  11. * NON INFRINGEMENT. See the GNU General Public License for
  12. * more details.
  13. */
  14. #ifndef __ARCH_TRIO_CONSTANTS_H__
  15. #define __ARCH_TRIO_CONSTANTS_H__
  16. #define TRIO_NUM_ASIDS 16
  17. #define TRIO_NUM_TLBS_PER_ASID 16
  18. #define TRIO_NUM_TPIO_REGIONS 8
  19. #define TRIO_LOG2_NUM_TPIO_REGIONS 3
  20. #define TRIO_NUM_MAP_MEM_REGIONS 16
  21. #define TRIO_LOG2_NUM_MAP_MEM_REGIONS 4
  22. #define TRIO_NUM_MAP_SQ_REGIONS 8
  23. #define TRIO_LOG2_NUM_MAP_SQ_REGIONS 3
  24. #define TRIO_LOG2_NUM_SQ_FIFO_ENTRIES 6
  25. #define TRIO_NUM_PUSH_DMA_RINGS 32
  26. #define TRIO_NUM_PULL_DMA_RINGS 32
  27. #endif /* __ARCH_TRIO_CONSTANTS_H__ */