Lines Matching refs:func
145 void *func; member
188 #define _MK_ISR_ELEMENT_NAME(func, id) __MK_ISR_ELEMENT_NAME(func, id) argument
189 #define __MK_ISR_ELEMENT_NAME(func, id) __isr_table_entry_ ## func ## _irq_ ## id argument
191 #define _MK_IRQ_ELEMENT_NAME(func, id) __MK_ISR_ELEMENT_NAME(func, id) argument
192 #define __MK_IRQ_ELEMENT_NAME(func, id) __irq_table_entry_ ## func ## _irq_ ## id argument
203 #define _Z_ISR_TABLE_ENTRY(irq, func, param, sect) \ argument
206 __used _MK_ISR_ELEMENT_NAME(func, __COUNTER__) = { \
208 .isr = (void (*)(const void *))(void *)(func) \
211 #define Z_ISR_DECLARE_C(irq, flags, func, param, counter) \ argument
212 _Z_ISR_DECLARE_C(irq, flags, func, param, counter)
214 #define _Z_ISR_DECLARE_C(irq, flags, func, param, counter) \ argument
215 _Z_ISR_TABLE_ENTRY(irq, func, param, _MK_ISR_ELEMENT_SECTION(counter)); \
217 __used _MK_ISR_NAME(func, counter) = \
225 #define Z_ISR_DECLARE(irq, flags, func, param) \ argument
227 Z_ISR_DECLARE_C(irq, flags, func, param, __COUNTER__)
233 #define _Z_ISR_DIRECT_TABLE_ENTRY(irq, func, sect) \ argument
237 __used _MK_IRQ_ELEMENT_NAME(func, __COUNTER__) = ((uintptr_t)(func)); \
240 __used _MK_IRQ_ELEMENT_NAME(func, __COUNTER__)(void) { \
241 __asm(ARCH_IRQ_VECTOR_JUMP_CODE(func)); \
245 #define Z_ISR_DECLARE_DIRECT_C(irq, flags, func, counter) \ argument
246 _Z_ISR_DECLARE_DIRECT_C(irq, flags, func, counter)
248 #define _Z_ISR_DECLARE_DIRECT_C(irq, flags, func, counter) \ argument
249 _Z_ISR_DIRECT_TABLE_ENTRY(irq, func, _MK_IRQ_ELEMENT_SECTION(counter)); \
251 __used _MK_ISR_NAME(func, counter) = { \
260 #define Z_ISR_DECLARE_DIRECT(irq, flags, func) \ argument
264 Z_ISR_DECLARE_DIRECT_C(irq, flags, func, __COUNTER__)
273 #define Z_ISR_DECLARE(irq, flags, func, param) \ argument
275 __used _MK_ISR_NAME(func, __COUNTER__) = \
276 {irq, flags, (void *)&func, (const void *)param}
281 #define Z_ISR_DECLARE_DIRECT(irq, flags, func) \ argument
282 Z_ISR_DECLARE(irq, ISR_FLAG_DIRECT | (flags), func, NULL)