Lines Matching +full:last +full:- +full:interrupt +full:- +full:source
1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc.
3 * Redistribution and use in source and binary forms, with or without
5 * * Redistributions of source code must retain the above copyright
37 #include <linux/interrupt.h>
50 /* For 2-element tables related to cache-inhibited and cache-enabled mappings */
57 * Only PPC needs to flush the cache currently - on ARM the mapping in dpaa_flush()
92 static inline u8 dpaa_cyc_diff(u8 ringsize, u8 first, u8 last) in dpaa_cyc_diff() argument
94 /* 'first' is included, 'last' is excluded */ in dpaa_cyc_diff()
95 if (first <= last) in dpaa_cyc_diff()
96 return last - first; in dpaa_cyc_diff()
97 return ringsize + last - first; in dpaa_cyc_diff()
121 return -EINVAL; in dpaa_set_portal_irq_affinity()
124 if (cpu == -1 || !cpu_online(cpu)) in dpaa_set_portal_irq_affinity()