scb.h 445 B

123456789101112131415161718192021
  1. /*
  2. * arch/blackfin/mach-common/scb-init.c - reprogram system cross bar priority
  3. *
  4. * Copyright 2012 Analog Devices Inc.
  5. *
  6. * Licensed under the GPL-2 or later.
  7. */
  8. #define SCB_SLOT_OFFSET 24
  9. #define SCB_MI_MAX_SLOT 32
  10. struct scb_mi_prio {
  11. unsigned long scb_mi_arbr;
  12. unsigned long scb_mi_arbw;
  13. unsigned char scb_mi_slots;
  14. unsigned char scb_mi_prio[SCB_MI_MAX_SLOT];
  15. };
  16. extern struct scb_mi_prio scb_data[];
  17. extern void init_scb(void);