1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0)
3 * Copyright 2008-2016 Freescale Semiconductor Inc.
14 /* For 2-element tables related to cache-inhibited and cache-enabled mappings */
15 #define DPAA_PORTAL_CE 0
16 #define DPAA_PORTAL_CI 1
18 #define DPAA_ASSERT(x) RTE_ASSERT(x)
20 /* This is the interface from the platform-agnostic driver code to (de)register
21 * interrupt handlers. We simply create/destroy corresponding structs.
23 int qbman_request_irq(int irq, irqreturn_t (*isr)(int irq, void *arg),
24 unsigned long flags, const char *name, void *arg);
25 int qbman_free_irq(int irq, void *arg);
27 void qbman_invoke_irq(int irq);
29 #endif /* __DPAA_SYS_H */