/arch/um/include/shared/ |
D | init.h | 71 #define __uml_initcall(fn) \ argument 72 static initcall_t __uml_initcall_##fn __uml_init_call = fn 74 #define __uml_exitcall(fn) \ argument 75 static exitcall_t __uml_exitcall_##fn __uml_exit_call = fn 79 #define __uml_postsetup(fn) \ argument 80 static initcall_t __uml_postsetup_##fn __uml_postsetup_call = fn 89 #define __uml_setup(str, fn, help...) \ argument 90 __non_empty_string(fn ##_setup, str); \ 91 __uml_help(fn, help); \ 92 static char __uml_setup_str_##fn[] __initdata = str; \ [all …]
|
/arch/powerpc/include/asm/ |
D | machdep.h | 362 #define __define_machine_initcall(mach, fn, id) \ argument 363 static int __init __machine_initcall_##mach##_##fn(void) { \ 364 if (machine_is(mach)) return fn(); \ 367 __define_initcall(__machine_initcall_##mach##_##fn, id); 369 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument 370 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument 371 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument 372 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument 373 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument 374 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument [all …]
|
/arch/arm/include/asm/ |
D | glue.h | 19 #define ____glue(name,fn) name##fn argument 21 #define ____glue(name,fn) name/**/fn argument 23 #define __glue(name,fn) ____glue(name,fn) argument
|
D | setup.h | 21 #define __tagtable(tag, fn) \ argument 22 static const struct tagtable __tagtable_##fn __tag = { tag, fn }
|
/arch/arm/kernel/ |
D | psci.c | 87 u32 fn, power_state; in psci_cpu_suspend() local 89 fn = psci_function_id[PSCI_FN_CPU_SUSPEND]; in psci_cpu_suspend() 91 err = invoke_psci_fn(fn, power_state, entry_point, 0); in psci_cpu_suspend() 98 u32 fn, power_state; in psci_cpu_off() local 100 fn = psci_function_id[PSCI_FN_CPU_OFF]; in psci_cpu_off() 102 err = invoke_psci_fn(fn, power_state, 0, 0); in psci_cpu_off() 109 u32 fn; in psci_cpu_on() local 111 fn = psci_function_id[PSCI_FN_CPU_ON]; in psci_cpu_on() 112 err = invoke_psci_fn(fn, cpuid, entry_point, 0); in psci_cpu_on() 119 u32 fn; in psci_migrate() local [all …]
|
D | suspend.c | 21 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() 36 ret = __cpu_suspend(arg, fn, __mpidr); in cpu_suspend() 46 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in cpu_suspend() 49 return __cpu_suspend(arg, fn, __mpidr); in cpu_suspend()
|
/arch/arm/mach-omap2/ |
D | soc.h | 538 #define omap_initcall(level, fn) \ argument 539 static int __init __used __##fn(void) \ 543 return fn(); \ 545 level(__##fn); 547 #define omap_early_initcall(fn) omap_initcall(early_initcall, fn) argument 548 #define omap_core_initcall(fn) omap_initcall(core_initcall, fn) argument 549 #define omap_postcore_initcall(fn) omap_initcall(postcore_initcall, fn) argument 550 #define omap_arch_initcall(fn) omap_initcall(arch_initcall, fn) argument 551 #define omap_subsys_initcall(fn) omap_initcall(subsys_initcall, fn) argument 552 #define omap_device_initcall(fn) omap_initcall(device_initcall, fn) argument [all …]
|
D | voltage.c | 354 int (*fn)(struct voltagedomain *voltdm, in voltdm_for_each_pwrdm() 360 if (!fn) in voltdm_for_each_pwrdm() 364 ret = (*fn)(voltdm, pwrdm); in voltdm_for_each_pwrdm() 379 int voltdm_for_each(int (*fn)(struct voltagedomain *voltdm, void *user), in voltdm_for_each() 385 if (!fn) in voltdm_for_each() 389 ret = (*fn)(temp_voltdm, user); in voltdm_for_each()
|
/arch/x86/include/asm/crypto/ |
D | glue_helper.h | 20 #define GLUE_FUNC_CAST(fn) ((common_glue_func_t)(fn)) argument 21 #define GLUE_CBC_FUNC_CAST(fn) ((common_glue_cbc_func_t)(fn)) argument 22 #define GLUE_CTR_FUNC_CAST(fn) ((common_glue_ctr_func_t)(fn)) argument 23 #define GLUE_XTS_FUNC_CAST(fn) ((common_glue_xts_func_t)(fn)) argument 118 extern int glue_cbc_encrypt_128bit(const common_glue_func_t fn, 143 le128 *iv, common_glue_func_t fn);
|
/arch/mips/include/asm/ |
D | traps.h | 32 #define nmi_notifier(fn, pri) \ argument 34 static struct notifier_block fn##_nb = { \ 35 .notifier_call = fn, \ 39 register_nmi_notifier(&fn##_nb); \
|
D | cop2.h | 62 #define cu2_notifier(fn, pri) \ argument 64 static struct notifier_block fn##_nb = { \ 65 .notifier_call = fn, \ 69 register_cu2_notifier(&fn##_nb); \
|
D | cpu-info.h | 113 #define proc_cpuinfo_notifier(fn, pri) \ argument 115 static struct notifier_block fn##_nb = { \ 116 .notifier_call = fn, \ 120 register_proc_cpuinfo_notifier(&fn##_nb); \
|
/arch/mips/pci/ |
D | ops-bridge.c | 49 int fn = PCI_FUNC(devfn); in pci_conf0_read_config() local 54 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_read_config() 65 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; in pci_conf0_read_config() 91 addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; in pci_conf0_read_config() 110 int fn = PCI_FUNC(devfn); in pci_conf1_read_config() local 116 addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; in pci_conf1_read_config() 128 addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; in pci_conf1_read_config() 155 addr = &bridge->b_type1_cfg.c[(fn << 8) | where]; in pci_conf1_read_config() 182 int fn = PCI_FUNC(devfn); in pci_conf0_write_config() local 187 addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; in pci_conf0_write_config() [all …]
|
/arch/arm64/kernel/ |
D | psci.c | 127 u32 fn, power_state; in psci_cpu_suspend() local 129 fn = psci_function_id[PSCI_FN_CPU_SUSPEND]; in psci_cpu_suspend() 131 err = invoke_psci_fn(fn, power_state, entry_point, 0); in psci_cpu_suspend() 138 u32 fn, power_state; in psci_cpu_off() local 140 fn = psci_function_id[PSCI_FN_CPU_OFF]; in psci_cpu_off() 142 err = invoke_psci_fn(fn, power_state, 0, 0); in psci_cpu_off() 149 u32 fn; in psci_cpu_on() local 151 fn = psci_function_id[PSCI_FN_CPU_ON]; in psci_cpu_on() 152 err = invoke_psci_fn(fn, cpuid, entry_point, 0); in psci_cpu_on() 159 u32 fn; in psci_migrate() local [all …]
|
D | suspend.c | 14 extern int __cpu_suspend_enter(unsigned long arg, int (*fn)(unsigned long)); 82 int __cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) in __cpu_suspend() 108 ret = __cpu_suspend_enter(arg, fn); in __cpu_suspend()
|
/arch/powerpc/platforms/cell/ |
D | celleb_pci.c | 102 int devno, int fn) in get_fake_config_start() argument 109 return private->fake_config[devno][fn]; in get_fake_config_start() 114 int devno, int fn) in get_resource_start() argument 121 return private->res[devno][fn]; in get_resource_start() 167 unsigned int fn = devfn & 0x7; in celleb_fake_pci_read_config() local 173 config = get_fake_config_start(hose, devno, fn); in celleb_fake_pci_read_config() 195 unsigned int fn = devfn & 0x7; in celleb_fake_pci_write_config() local 200 config = get_fake_config_start(hose, devno, fn); in celleb_fake_pci_write_config() 213 res = get_resource_start(hose, devno, fn); in celleb_fake_pci_write_config() 242 unsigned int devno, unsigned int fn, in celleb_setup_pci_base_addrs() argument [all …]
|
/arch/x86/include/asm/ |
D | nmi.h | 48 #define register_nmi_handler(t, fn, fg, n, init...) \ argument 50 static struct nmiaction init fn##_na = { \ 51 .handler = (fn), \ 55 __register_nmi_handler((t), &fn##_na); \
|
D | pci_64.h | 20 extern int (*pci_config_read)(int seg, int bus, int dev, int fn, 22 extern int (*pci_config_write)(int seg, int bus, int dev, int fn,
|
/arch/powerpc/crypto/ |
D | sha1-powerpc-asm.S | 102 #define STEPUP4(t, fn) \ argument 103 STEP##fn##_UPDATE(t); \ 104 STEP##fn##_UPDATE((t)+1); \ 105 STEP##fn##_UPDATE((t)+2); \ 106 STEP##fn##_UPDATE((t)+3) 108 #define STEPUP20(t, fn) \ argument 109 STEPUP4(t, fn); \ 110 STEPUP4((t)+4, fn); \ 111 STEPUP4((t)+8, fn); \ 112 STEPUP4((t)+12, fn); \ [all …]
|
/arch/s390/pci/ |
D | pci_insn.c | 47 static inline u8 __rpcit(u64 fn, u64 addr, u64 range, u8 *status) in __rpcit() argument 57 : [cc] "=d" (cc), [fn] "+d" (fn) in __rpcit() 60 *status = fn >> 24 & 0xff; in __rpcit() 64 int zpci_refresh_trans(u64 fn, u64 addr, u64 range) in zpci_refresh_trans() argument 69 cc = __rpcit(fn, addr, range, &status); in zpci_refresh_trans()
|
/arch/arm/mach-shmobile/ |
D | platsmp.c | 22 void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg) in shmobile_smp_hook() argument 28 shmobile_smp_fn[cpu] = fn; in shmobile_smp_hook()
|
/arch/arm/plat-samsung/ |
D | pm-check.c | 50 static void s3c_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg) in s3c_pm_run_res() argument 54 s3c_pm_run_res(ptr->child, fn, arg); in s3c_pm_run_res() 61 arg = (fn)(ptr, arg); in s3c_pm_run_res() 68 static void s3c_pm_run_sysram(run_fn_t fn, u32 *arg) in s3c_pm_run_sysram() argument 70 s3c_pm_run_res(&iomem_resource, fn, arg); in s3c_pm_run_sysram()
|
/arch/x86/kvm/ |
D | mmu_audit.c | 38 inspect_spte_fn fn, int level) in __mmu_spte_walk() argument 45 fn(vcpu, ent + i, level); in __mmu_spte_walk() 52 __mmu_spte_walk(vcpu, child, fn, level - 1); in __mmu_spte_walk() 57 static void mmu_spte_walk(struct kvm_vcpu *vcpu, inspect_spte_fn fn) in mmu_spte_walk() argument 69 __mmu_spte_walk(vcpu, sp, fn, PT64_ROOT_LEVEL); in mmu_spte_walk() 79 __mmu_spte_walk(vcpu, sp, fn, 2); in mmu_spte_walk() 88 static void walk_all_active_sps(struct kvm *kvm, sp_handler fn) in walk_all_active_sps() argument 93 fn(kvm, sp); in walk_all_active_sps()
|
/arch/x86/pci/ |
D | direct.c | 98 int dev, fn; in pci_conf2_read() local 107 fn = PCI_FUNC(devfn); in pci_conf2_read() 114 outb((u8)(0xF0 | (fn << 1)), 0xCF8); in pci_conf2_read() 140 int dev, fn; in pci_conf2_write() local 147 fn = PCI_FUNC(devfn); in pci_conf2_write() 154 outb((u8)(0xF0 | (fn << 1)), 0xCF8); in pci_conf2_write()
|
/arch/x86/xen/ |
D | multicalls.c | 47 void (*fn)(void *); member 123 (*cb->fn)(cb->data); in xen_mc_flush() 193 void xen_mc_callback(void (*fn)(void *), void *data) in xen_mc_callback() 203 trace_xen_mc_callback(fn, data); in xen_mc_callback() 206 cb->fn = fn; in xen_mc_callback()
|