Lines Matching refs:fn
344 #define __define_machine_initcall(mach,level,fn,id) \
345 static int __init __machine_initcall_##mach##_##fn(void) { \
346 if (machine_is(mach)) return fn(); \
349 __define_initcall(level,__machine_initcall_##mach##_##fn,id);
351 #define machine_core_initcall(mach,fn) __define_machine_initcall(mach,"1",fn,1)
352 #define machine_core_initcall_sync(mach,fn) __define_machine_initcall(mach,"1s",fn,1s)
353 #define machine_postcore_initcall(mach,fn) __define_machine_initcall(mach,"2",fn,2)
354 #define machine_postcore_initcall_sync(mach,fn) __define_machine_initcall(mach,"2s",fn,2s)
355 #define machine_arch_initcall(mach,fn) __define_machine_initcall(mach,"3",fn,3)
356 #define machine_arch_initcall_sync(mach,fn) __define_machine_initcall(mach,"3s",fn,3s)
357 #define machine_subsys_initcall(mach,fn) __define_machine_initcall(mach,"4",fn,4)
358 #define machine_subsys_initcall_sync(mach,fn) __define_machine_initcall(mach,"4s",fn,4s)
359 #define machine_fs_initcall(mach,fn) __define_machine_initcall(mach,"5",fn,5)
360 #define machine_fs_initcall_sync(mach,fn) __define_machine_initcall(mach,"5s",fn,5s)
361 #define machine_rootfs_initcall(mach,fn) __define_machine_initcall(mach,"rootfs",fn,rootfs)
362 #define machine_device_initcall(mach,fn) __define_machine_initcall(mach,"6",fn,6)
363 #define machine_device_initcall_sync(mach,fn) __define_machine_initcall(mach,"6s",fn,6s)
364 #define machine_late_initcall(mach,fn) __define_machine_initcall(mach,"7",fn,7)
365 #define machine_late_initcall_sync(mach,fn) __define_machine_initcall(mach,"7s",fn,7s)