fn 155 arch/alpha/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 305 arch/arc/include/asm/pgtable.h #define PTE_BIT_FUNC(fn, op) \ fn 306 arch/arc/include/asm/pgtable.h static inline pte_t pte_##fn(pte_t pte) { pte_val(pte) op; return pte; } fn 158 arch/arc/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 121 arch/arm/common/bL_switcher.c extern void call_with_stack(void (*fn)(void *), void *arg, void *sp); fn 87 arch/arm/crypto/aes-neonbs-glue.c void (*fn)(u8 out[], u8 const in[], u8 const rk[], fn 105 arch/arm/crypto/aes-neonbs-glue.c fn(walk.dst.virt.addr, walk.src.virt.addr, ctx->rk, fn 330 arch/arm/crypto/aes-neonbs-glue.c void (*fn)(u8 out[], u8 const in[], u8 const rk[], fn 371 arch/arm/crypto/aes-neonbs-glue.c fn(walk.dst.virt.addr, walk.src.virt.addr, ctx->key.rk, fn 77 arch/arm/include/asm/bug.h void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int, fn 81 arch/arm/include/asm/bug.h void hook_ifault_code(int nr, int (*fn)(unsigned long, unsigned int, fn 16 arch/arm/include/asm/glue.h #define ____glue(name,fn) name##fn fn 18 arch/arm/include/asm/glue.h #define ____glue(name,fn) name/**/fn fn 20 arch/arm/include/asm/glue.h #define __glue(name,fn) ____glue(name,fn) fn 150 arch/arm/include/asm/io.h extern void __readwrite_bug(const char *fn); fn 223 arch/arm/include/asm/pgtable-3level.h #define PMD_BIT_FUNC(fn,op) \ fn 224 arch/arm/include/asm/pgtable-3level.h static inline pmd_t pmd_##fn(pmd_t pmd) { pmd_val(pmd) op; return pmd; } fn 18 arch/arm/include/asm/setup.h #define __tagtable(tag, fn) \ fn 19 arch/arm/include/asm/setup.h static const struct tagtable __tagtable_##fn __tag = { tag, fn } fn 29 arch/arm/include/asm/stacktrace.h int (*fn)(struct stackframe *, void *), void *data); fn 24 arch/arm/include/asm/system_misc.h harden_branch_predictor_fn_t fn = per_cpu(harden_branch_predictor_fn, fn 26 arch/arm/include/asm/system_misc.h if (fn) fn 27 arch/arm/include/asm/system_misc.h fn(); fn 16 arch/arm/include/asm/traps.h int (*fn)(struct pt_regs *regs, unsigned int instr); fn 901 arch/arm/kernel/hw_breakpoint.c .fn = debug_reg_trap, fn 162 arch/arm/kernel/kgdb.c .fn = kgdb_brk_fn fn 170 arch/arm/kernel/kgdb.c .fn = kgdb_compiled_brk_fn fn 218 arch/arm/kernel/ptrace.c .fn = break_trap, fn 226 arch/arm/kernel/ptrace.c .fn = break_trap, fn 234 arch/arm/kernel/ptrace.c .fn = break_trap, fn 5 arch/arm/kernel/reboot.h extern void call_with_stack(void (*fn)(void *), void *arg, void *sp); fn 229 arch/arm/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 259 arch/arm/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 507 arch/arm/kernel/smp.c void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int)) fn 510 arch/arm/kernel/smp.c __smp_cross_call = fn; fn 51 arch/arm/kernel/stacktrace.c int (*fn)(struct stackframe *, void *), void *data) fn 56 arch/arm/kernel/stacktrace.c if (fn(frame, data)) fn 20 arch/arm/kernel/suspend.c int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) fn 35 arch/arm/kernel/suspend.c ret = __cpu_suspend(arg, fn, __mpidr); fn 46 arch/arm/kernel/suspend.c int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) fn 49 arch/arm/kernel/suspend.c return __cpu_suspend(arg, fn, __mpidr); fn 234 arch/arm/kernel/swp_emulate.c .fn = swp_handler fn 249 arch/arm/kernel/tcm.c .fn = tcm_handler fn 424 arch/arm/kernel/traps.c int (*fn)(struct pt_regs *regs, unsigned int instr) = NULL; fn 430 arch/arm/kernel/traps.c fn = hook->fn; fn 433 arch/arm/kernel/traps.c return fn ? fn(regs, instr) : 1; fn 701 arch/arm/kernel/traps.c .fn = get_tp_trap, fn 737 arch/arm/kernel/traps.c void __readwrite_bug(const char *fn) fn 739 arch/arm/kernel/traps.c pr_err("%s called, but not implemented\n", fn); fn 18 arch/arm/mach-davinci/pdata-quirks.c void (*fn)(void); fn 195 arch/arm/mach-davinci/pdata-quirks.c if (quirks->fn) fn 196 arch/arm/mach-davinci/pdata-quirks.c quirks->fn(); fn 16 arch/arm/mach-highbank/core.h extern void highbank_smc1(int fn, int arg); fn 32 arch/arm/mach-iop32x/cp6.c .fn = cp6_trap, fn 135 arch/arm/mach-omap1/lcd_dma.c unsigned long en, fn; fn 183 arch/arm/mach-omap1/lcd_dma.c fn = lcd_dma.yres; fn 198 arch/arm/mach-omap1/lcd_dma.c fn = lcd_dma.xres; fn 213 arch/arm/mach-omap1/lcd_dma.c fn = lcd_dma.yres; fn 228 arch/arm/mach-omap1/lcd_dma.c fn = lcd_dma.xres; fn 251 arch/arm/mach-omap1/lcd_dma.c omap_writew(fn, OMAP1610_DMA_LCD_SRC_FN_B1); fn 544 arch/arm/mach-omap2/clockdomain.c int clkdm_for_each(int (*fn)(struct clockdomain *clkdm, void *user), fn 550 arch/arm/mach-omap2/clockdomain.c if (!fn) fn 554 arch/arm/mach-omap2/clockdomain.c ret = (*fn)(clkdm, user); fn 189 arch/arm/mach-omap2/clockdomain.h int clkdm_for_each(int (*fn)(struct clockdomain *clkdm, void *user), fn 258 arch/arm/mach-omap2/common.h extern void omap_smc1(u32 fn, u32 arg); fn 3049 arch/arm/mach-omap2/omap_hwmod.c int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), fn 3055 arch/arm/mach-omap2/omap_hwmod.c if (!fn) fn 3059 arch/arm/mach-omap2/omap_hwmod.c ret = (*fn)(temp_oh, data); fn 4001 arch/arm/mach-omap2/omap_hwmod.c int (*fn)(struct omap_hwmod *oh, fn 4008 arch/arm/mach-omap2/omap_hwmod.c if (!classname || !fn) fn 4018 arch/arm/mach-omap2/omap_hwmod.c ret = (*fn)(temp_oh, user); fn 615 arch/arm/mach-omap2/omap_hwmod.h int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), fn 653 arch/arm/mach-omap2/omap_hwmod.h int (*fn)(struct omap_hwmod *oh, fn 41 arch/arm/mach-omap2/pdata-quirks.c void (*fn)(void); fn 605 arch/arm/mach-omap2/pdata-quirks.c if (quirks->fn) fn 606 arch/arm/mach-omap2/pdata-quirks.c quirks->fn(); fn 141 arch/arm/mach-omap2/pm33xx-core.c static int am33xx_suspend(unsigned int state, int (*fn)(unsigned long), fn 147 arch/arm/mach-omap2/pm33xx-core.c ret = cpu_suspend(args, fn); fn 164 arch/arm/mach-omap2/pm33xx-core.c static int am43xx_suspend(unsigned int state, int (*fn)(unsigned long), fn 171 arch/arm/mach-omap2/pm33xx-core.c ret = cpu_suspend(args, fn); fn 437 arch/arm/mach-omap2/powerdomain.c int pwrdm_for_each(int (*fn)(struct powerdomain *pwrdm, void *user), fn 443 arch/arm/mach-omap2/powerdomain.c if (!fn) fn 447 arch/arm/mach-omap2/powerdomain.c ret = (*fn)(temp_pwrdm, user); fn 209 arch/arm/mach-omap2/powerdomain.h int pwrdm_for_each(int (*fn)(struct powerdomain *pwrdm, void *user), fn 211 arch/arm/mach-omap2/powerdomain.h int pwrdm_for_each_nolock(int (*fn)(struct powerdomain *pwrdm, void *user), fn 468 arch/arm/mach-omap2/soc.h #define omap_initcall(level, fn) \ fn 469 arch/arm/mach-omap2/soc.h static int __init __used __##fn(void) \ fn 473 arch/arm/mach-omap2/soc.h return fn(); \ fn 475 arch/arm/mach-omap2/soc.h level(__##fn); fn 477 arch/arm/mach-omap2/soc.h #define omap_early_initcall(fn) omap_initcall(early_initcall, fn) fn 478 arch/arm/mach-omap2/soc.h #define omap_core_initcall(fn) omap_initcall(core_initcall, fn) fn 479 arch/arm/mach-omap2/soc.h #define omap_postcore_initcall(fn) omap_initcall(postcore_initcall, fn) fn 480 arch/arm/mach-omap2/soc.h #define omap_arch_initcall(fn) omap_initcall(arch_initcall, fn) fn 481 arch/arm/mach-omap2/soc.h #define omap_subsys_initcall(fn) omap_initcall(subsys_initcall, fn) fn 482 arch/arm/mach-omap2/soc.h #define omap_device_initcall(fn) omap_initcall(device_initcall, fn) fn 483 arch/arm/mach-omap2/soc.h #define omap_late_initcall(fn) omap_initcall(late_initcall, fn) fn 484 arch/arm/mach-omap2/soc.h #define omap_late_initcall_sync(fn) omap_initcall(late_initcall_sync, fn) fn 14 arch/arm/mach-pxa/generic.h extern void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, fn 144 arch/arm/mach-pxa/irq.c int (*fn)(struct irq_data *, unsigned int)) fn 165 arch/arm/mach-pxa/irq.c pxa_internal_irq_chip.irq_set_wake = fn; fn 168 arch/arm/mach-pxa/irq.c void __init pxa_init_irq(int irq_nr, int (*fn)(struct irq_data *, unsigned int)) fn 174 arch/arm/mach-pxa/irq.c pxa_init_irq_common(NULL, irq_nr, fn); fn 233 arch/arm/mach-pxa/irq.c void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)) fn 268 arch/arm/mach-pxa/irq.c pxa_init_irq_common(node, pxa_internal_irq_nr, fn); fn 58 arch/arm/mach-pxa/mfp-pxa2xx.c int fn = MFP_AF(c); fn 61 arch/arm/mach-pxa/mfp-pxa2xx.c if (fn > 3) fn 66 arch/arm/mach-pxa/mfp-pxa2xx.c gafr = (gafr & ~(0x3 << shft)) | (fn << shft); fn 45 arch/arm/mach-pxa/pxa3xx.c extern void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)); fn 72 arch/arm/mach-pxa/pxa3xx.c void (*fn)(unsigned int) = (void __force *)(sram + 0x8000); fn 85 arch/arm/mach-pxa/pxa3xx.c fn(pwrmode); fn 328 arch/arm/mach-pxa/pxa3xx.c static void __init pxa_init_ext_wakeup_irq(int (*fn)(struct irq_data *, fn 339 arch/arm/mach-pxa/pxa3xx.c pxa_ext_wakeup_chip.irq_set_wake = fn; fn 57 arch/arm/mach-rpc/ecard.c void (*fn)(struct ecard_request *); fn 280 arch/arm/mach-rpc/ecard.c req->fn(req); fn 316 arch/arm/mach-rpc/ecard.c req.fn = ecard_task_readbytes; fn 1096 arch/arm/mach-rpc/ecard.c req.fn = ecard_task_reset; fn 15 arch/arm/mach-shmobile/common.h extern void shmobile_smp_hook(unsigned int cpu, unsigned long fn, fn 79 arch/arm/mach-shmobile/platsmp-apmu.c static int __maybe_unused apmu_wrap(int cpu, int (*fn)(void __iomem *p, int cpu)) fn 83 arch/arm/mach-shmobile/platsmp-apmu.c return p ? fn(p, apmu_cpus[cpu].bit) : -EINVAL; fn 208 arch/arm/mach-shmobile/platsmp-apmu.c static void apmu_parse_dt(void (*fn)(struct resource *res, int cpu, int bit)) fn 244 arch/arm/mach-shmobile/platsmp-apmu.c fn(&res, index, bit); fn 19 arch/arm/mach-shmobile/platsmp.c void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg) fn 25 arch/arm/mach-shmobile/platsmp.c shmobile_smp_fn[cpu] = fn; fn 499 arch/arm/mm/fault.c int (*fn)(unsigned long addr, unsigned int fsr, struct pt_regs *regs); fn 513 arch/arm/mm/fault.c hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int, struct pt_regs *), fn 519 arch/arm/mm/fault.c fsr_info[nr].fn = fn; fn 533 arch/arm/mm/fault.c if (!inf->fn(addr, fsr & ~FSR_LNX_PF, regs)) fn 546 arch/arm/mm/fault.c hook_ifault_code(int nr, int (*fn)(unsigned long, unsigned int, struct pt_regs *), fn 552 arch/arm/mm/fault.c ifsr_info[nr].fn = fn; fn 563 arch/arm/mm/fault.c if (!inf->fn(addr, ifsr | FSR_LNX_PF, regs)) fn 590 arch/arm/mm/fault.c fsr_info[FSR_FS_AEA].fn = early_abort_handler; fn 592 arch/arm/mm/fault.c fsr_info[FSR_FS_AEA].fn = do_bad; fn 46 arch/arm/plat-samsung/pm-check.c static void s3c_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg) fn 50 arch/arm/plat-samsung/pm-check.c s3c_pm_run_res(ptr->child, fn, arg); fn 57 arch/arm/plat-samsung/pm-check.c arg = (fn)(ptr, arg); fn 64 arch/arm/plat-samsung/pm-check.c static void s3c_pm_run_sysram(run_fn_t fn, u32 *arg) fn 66 arch/arm/plat-samsung/pm-check.c s3c_pm_run_res(&iomem_resource, fn, arg); fn 87 arch/arm/probes/kprobes/actions-arm.c [fn] "r" (asi->insn_fn) fn 114 arch/arm/probes/kprobes/actions-arm.c : "1" (rnv), "r" (rmv), [fn] "r" (asi->insn_fn) fn 146 arch/arm/probes/kprobes/actions-arm.c : "r" (rtv), "0" (rnv), "r" (rmv), [fn] "r" (asi->insn_fn) fn 178 arch/arm/probes/kprobes/actions-arm.c "1" (cpsr), [fn] "r" (asi->insn_fn) fn 208 arch/arm/probes/kprobes/actions-arm.c "1" (cpsr), [fn] "r" (asi->insn_fn) fn 238 arch/arm/probes/kprobes/actions-arm.c "1" (cpsr), [fn] "r" (asi->insn_fn) fn 259 arch/arm/probes/kprobes/actions-arm.c : "0" (rdv), "r" (rmv), [fn] "r" (asi->insn_fn) fn 288 arch/arm/probes/kprobes/actions-arm.c "2" (cpsr), [fn] "r" (asi->insn_fn) fn 100 arch/arm/probes/kprobes/actions-common.c : [regs] "=r" (rregs), [fn] "=r" (rfn) fn 174 arch/arm/probes/kprobes/actions-thumb.c : "0" (rt1v), "1" (rt2v), "2" (rnv), [fn] "r" (asi->insn_fn) fn 199 arch/arm/probes/kprobes/actions-thumb.c : "0" (rtv), "1" (rnv), "r" (rmv), [fn] "r" (asi->insn_fn) fn 229 arch/arm/probes/kprobes/actions-thumb.c "1" (cpsr), [fn] "r" (asi->insn_fn) fn 250 arch/arm/probes/kprobes/actions-thumb.c : "0" (rdv), "r" (rnv), [fn] "r" (asi->insn_fn) fn 270 arch/arm/probes/kprobes/actions-thumb.c : "0" (rdv), "r" (rnv), [fn] "r" (asi->insn_fn) fn 296 arch/arm/probes/kprobes/actions-thumb.c [fn] "r" (asi->insn_fn) fn 456 arch/arm/probes/kprobes/actions-thumb.c [fn] "r" (asi->insn_fn) fn 500 arch/arm/probes/kprobes/actions-thumb.c : "0" (rdnv), "r" (rmv), "1" (cpsr), [fn] "r" (asi->insn_fn) fn 533 arch/arm/probes/kprobes/actions-thumb.c : [regs] "r" (regs), [fn] "r" (asi->insn_fn) fn 567 arch/arm/probes/kprobes/actions-thumb.c : [regs] "r" (regs), [fn] "r" (asi->insn_fn) fn 586 arch/arm/probes/kprobes/actions-thumb.c : [regs] "r" (regs), [fn] "r" (asi->insn_fn) fn 514 arch/arm/probes/kprobes/core.c .fn = kprobe_trap_handler, fn 522 arch/arm/probes/kprobes/core.c .fn = kprobe_trap_handler, fn 532 arch/arm/probes/kprobes/core.c .fn = kprobe_trap_handler, fn 503 arch/arm/probes/kprobes/test-core.c static int benchmark(void(*fn)(void)) fn 510 arch/arm/probes/kprobes/test-core.c fn(); fn 518 arch/arm/probes/kprobes/test-core.c static int kprobe_benchmark(void(*fn)(void), unsigned offset) fn 521 arch/arm/probes/kprobes/test-core.c .addr = (kprobe_opcode_t *)((uintptr_t)fn + offset), fn 531 arch/arm/probes/kprobes/test-core.c ret = benchmark(fn); fn 538 arch/arm/probes/kprobes/test-core.c void (*fn)(void); fn 569 arch/arm/probes/kprobes/test-core.c for (b = list; b->fn; ++b) { fn 570 arch/arm/probes/kprobes/test-core.c ret = kprobe_benchmark(b->fn, b->offset); fn 597 arch/arm/probes/kprobes/test-core.c int (*fn)(const struct decode_header *, void *), fn 609 arch/arm/probes/kprobes/test-core.c result = fn(h, args); fn 209 arch/arm/probes/uprobes/core.c .fn = uprobe_trap_handler, fn 217 arch/arm/probes/uprobes/core.c .fn = uprobe_trap_handler, fn 373 arch/arm/vfp/vfp.h u32 (* const fn)(int dd, int dn, int dm, u32 fpscr); fn 1170 arch/arm/vfp/vfpdouble.c if (!fop->fn) fn 1187 arch/arm/vfp/vfpdouble.c except = fop->fn(dest, dn, dm, fpscr); fn 1209 arch/arm/vfp/vfpsingle.c if (!fop->fn) fn 1227 arch/arm/vfp/vfpsingle.c except = fop->fn(dest, sn, m, fpscr); fn 98 arch/arm64/crypto/aes-neonbs-glue.c void (*fn)(u8 out[], u8 const in[], u8 const rk[], fn 116 arch/arm64/crypto/aes-neonbs-glue.c fn(walk.dst.virt.addr, walk.src.virt.addr, ctx->rk, fn 318 arch/arm64/crypto/aes-neonbs-glue.c void (*fn)(u8 out[], u8 const in[], u8 const rk[], fn 375 arch/arm64/crypto/aes-neonbs-glue.c fn(out, in, ctx->key.rk, ctx->key.rounds, blocks, fn 78 arch/arm64/include/asm/debug-monitors.h int (*fn)(struct pt_regs *regs, unsigned int esr); fn 89 arch/arm64/include/asm/debug-monitors.h int (*fn)(struct pt_regs *regs, unsigned int esr); fn 481 arch/arm64/include/asm/kvm_mmu.h if (cpus_have_const_cap(ARM64_HARDEN_BRANCH_PREDICTOR) && data->fn) { fn 84 arch/arm64/include/asm/mmu.h bp_hardening_cb_t fn; fn 109 arch/arm64/include/asm/mmu.h if (d->fn) fn 110 arch/arm64/include/asm/mmu.h d->fn(); fn 66 arch/arm64/include/asm/stacktrace.h int (*fn)(struct stackframe *, void *), void *data); fn 40 arch/arm64/include/asm/suspend.h extern int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)); fn 28 arch/arm64/include/asm/system_misc.h void hook_debug_fault_code(int nr, int (*fn)(unsigned long, unsigned int, fn 22 arch/arm64/include/asm/traps.h int (*fn)(struct pt_regs *regs, u32 instr); fn 448 arch/arm64/kernel/armv8_deprecated.c .fn = swp_handler fn 528 arch/arm64/kernel/armv8_deprecated.c .fn = cp15barrier_handler, fn 535 arch/arm64/kernel/armv8_deprecated.c .fn = cp15barrier_handler, fn 600 arch/arm64/kernel/armv8_deprecated.c .fn = a32_setend_handler, fn 608 arch/arm64/kernel/armv8_deprecated.c .fn = t16_setend_handler, fn 132 arch/arm64/kernel/cpu_errata.c static void install_bp_hardening_cb(bp_hardening_cb_t fn, fn 144 arch/arm64/kernel/cpu_errata.c __this_cpu_write(bp_hardening_data.fn, fn); fn 150 arch/arm64/kernel/cpu_errata.c if (per_cpu(bp_hardening_data.fn, cpu) == fn) { fn 163 arch/arm64/kernel/cpu_errata.c __this_cpu_write(bp_hardening_data.fn, fn); fn 170 arch/arm64/kernel/cpu_errata.c static void install_bp_hardening_cb(bp_hardening_cb_t fn, fn 174 arch/arm64/kernel/cpu_errata.c __this_cpu_write(bp_hardening_data.fn, fn); fn 1197 arch/arm64/kernel/cpufeature.c .fn = ssbs_emulation_handler, fn 2214 arch/arm64/kernel/cpufeature.c .fn = emulate_mrs, fn 215 arch/arm64/kernel/debug-monitors.c retval = hook->fn(regs, esr); fn 304 arch/arm64/kernel/debug-monitors.c int (*fn)(struct pt_regs *regs, unsigned int esr) = NULL; fn 316 arch/arm64/kernel/debug-monitors.c fn = hook->fn; fn 319 arch/arm64/kernel/debug-monitors.c return fn ? fn(regs, esr) : DBG_HOOK_ERROR; fn 261 arch/arm64/kernel/kgdb.c .fn = kgdb_brk_fn, fn 266 arch/arm64/kernel/kgdb.c .fn = kgdb_compiled_brk_fn, fn 271 arch/arm64/kernel/kgdb.c .fn = kgdb_step_brk_fn fn 427 arch/arm64/kernel/probes/kprobes.c .fn = kprobe_single_step_handler, fn 439 arch/arm64/kernel/probes/kprobes.c .fn = kprobe_breakpoint_handler, fn 192 arch/arm64/kernel/probes/uprobes.c .fn = uprobe_breakpoint_handler, fn 197 arch/arm64/kernel/probes/uprobes.c .fn = uprobe_single_step_handler, fn 532 arch/arm64/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 238 arch/arm64/kernel/signal32.c current->restart_block.fn = do_no_restart_syscall; fn 269 arch/arm64/kernel/signal32.c current->restart_block.fn = do_no_restart_syscall; fn 758 arch/arm64/kernel/smp.c void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int)) fn 760 arch/arm64/kernel/smp.c __smp_cross_call = fn; fn 118 arch/arm64/kernel/stacktrace.c int (*fn)(struct stackframe *, void *), void *data) fn 123 arch/arm64/kernel/stacktrace.c if (fn(frame, data)) fn 86 arch/arm64/kernel/suspend.c int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) fn 108 arch/arm64/kernel/suspend.c ret = fn(arg); fn 309 arch/arm64/kernel/traps.c int (*fn)(struct pt_regs *regs, u32 instr) = NULL; fn 343 arch/arm64/kernel/traps.c fn = hook->fn; fn 347 arch/arm64/kernel/traps.c return fn ? fn(regs, instr) : 1; fn 977 arch/arm64/kernel/traps.c .fn = bug_handler, fn 1021 arch/arm64/kernel/traps.c .fn = kasan_handler, fn 121 arch/arm64/kvm/trace.h TP_PROTO(const char *fn, int reg, bool is_write, u64 write_value), fn 122 arch/arm64/kvm/trace.h TP_ARGS(fn, reg, is_write, write_value), fn 125 arch/arm64/kvm/trace.h __field(const char *, fn) fn 132 arch/arm64/kvm/trace.h __entry->fn = fn; fn 138 arch/arm64/kvm/trace.h TP_printk("%s %s reg %d (0x%08llx)", __entry->fn, __entry->is_write?"write to":"read from", __entry->reg, __entry->write_value) fn 43 arch/arm64/mm/fault.c int (*fn)(unsigned long addr, unsigned int esr, fn 744 arch/arm64/mm/fault.c if (!inf->fn(addr, esr, regs)) fn 814 arch/arm64/mm/fault.c int (*fn)(unsigned long, unsigned int, struct pt_regs *), fn 819 arch/arm64/mm/fault.c debug_fault_info[nr].fn = fn; fn 917 arch/arm64/mm/fault.c if (inf->fn(addr_if_watchpoint, esr, regs)) { fn 68 arch/c6x/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 85 arch/csky/include/asm/processor.h extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); fn 34 arch/csky/include/asm/thread_info.h .fn = do_no_restart_syscall, \ fn 72 arch/csky/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 18 arch/csky/mm/dma-mapping.c void (*fn)(unsigned long start, unsigned long end)) fn 34 arch/csky/mm/dma-mapping.c fn((unsigned long)start + offset, fn 39 arch/csky/mm/dma-mapping.c fn((unsigned long)start + offset, fn 83 arch/h8300/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 231 arch/hexagon/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 159 arch/ia64/include/asm/mca.h extern int ia64_reg_MCA_extension(int (*fn)(void *, struct ia64_sal_os_state *)); fn 834 arch/ia64/kernel/mca.c ia64_reg_MCA_extension(int (*fn)(void *, struct ia64_sal_os_state *)) fn 839 arch/ia64/kernel/mca.c ia64_mca_ucmc_extension = fn; fn 586 arch/ia64/kernel/ptrace.c syncfunc_t fn = arg; fn 593 arch/ia64/kernel/ptrace.c fn(info->task, info->sw, pt->ar_bspstore, urbs_end); fn 50 arch/ia64/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 703 arch/m68k/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 741 arch/m68k/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 92 arch/microblaze/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 83 arch/mips/cavium-octeon/smp.c void (*fn)(void) = octeon_message_functions[i]; fn 85 arch/mips/cavium-octeon/smp.c if (fn) fn 86 arch/mips/cavium-octeon/smp.c fn(); fn 68 arch/mips/fw/cfe/cfe_api.c int cfe_cpu_start(int cpu, void (*fn) (void), long sp, long gp, long a1) fn 82 arch/mips/fw/cfe/cfe_api.c xiocb.plist.xiocb_cpuctl.start_addr = (long) fn; fn 62 arch/mips/include/asm/cop2.h #define cu2_notifier(fn, pri) \ fn 64 arch/mips/include/asm/cop2.h static struct notifier_block fn##_nb = { \ fn 65 arch/mips/include/asm/cop2.h .notifier_call = fn, \ fn 69 arch/mips/include/asm/cop2.h register_cu2_notifier(&fn##_nb); \ fn 127 arch/mips/include/asm/cpu-info.h #define proc_cpuinfo_notifier(fn, pri) \ fn 129 arch/mips/include/asm/cpu-info.h static struct notifier_block fn##_nb = { \ fn 130 arch/mips/include/asm/cpu-info.h .notifier_call = fn, \ fn 134 arch/mips/include/asm/cpu-info.h register_proc_cpuinfo_notifier(&fn##_nb); \ fn 85 arch/mips/include/asm/fw/cfe/cfe_api.h int cfe_cpu_start(int cpu, void (*fn) (void), long sp, long gp, long a1); fn 32 arch/mips/include/asm/mach-pic32/pic32.h void pic32_syskey_unlock_debug(const char *fn, const ulong ln); fn 53 arch/mips/include/asm/netlogic/xlp-hal/iomap.h #define XLP_HDR_OFFSET(node, bus, dev, fn) \ fn 54 arch/mips/include/asm/netlogic/xlp-hal/iomap.h XLP_IO_PCI_OFFSET(bus, XLP_IO_DEV(node, dev), fn) fn 358 arch/mips/include/asm/netlogic/xlr/fmn.h void (*fn)(int, int, int, int, struct nlm_fmn_msg *, void *), fn 626 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint32_t fn:3; fn 628 arch/mips/include/asm/octeon/cvmx-pci-defs.h uint32_t fn:3; fn 28 arch/mips/include/asm/traps.h #define nmi_notifier(fn, pri) \ fn 30 arch/mips/include/asm/traps.h static struct notifier_block fn##_nb = { \ fn 31 arch/mips/include/asm/traps.h .notifier_call = fn, \ fn 35 arch/mips/include/asm/traps.h register_nmi_notifier(&fn##_nb); \ fn 523 arch/mips/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 93 arch/mips/kernel/signal_o32.c current->restart_block.fn = do_no_restart_syscall; fn 1752 arch/mips/kvm/emulate.c static enum emulation_result kvm_mips_guest_cache_op(int (*fn)(unsigned long), fn 1764 arch/mips/kvm/emulate.c err = fn(addr); fn 99 arch/mips/pci/pci-xtalk-bridge.c int fn = PCI_FUNC(devfn); fn 104 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; fn 113 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; fn 117 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; fn 136 arch/mips/pci/pci-xtalk-bridge.c int fn = PCI_FUNC(devfn); fn 142 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; fn 151 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type1_cfg.c[(fn << 8) | (where & ~3)]; fn 155 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; fn 182 arch/mips/pci/pci-xtalk-bridge.c int fn = PCI_FUNC(devfn); fn 187 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[PCI_VENDOR_ID]; fn 196 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; fn 200 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; fn 221 arch/mips/pci/pci-xtalk-bridge.c int fn = PCI_FUNC(devfn); fn 228 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type1_cfg.c[(fn << 8) | PCI_VENDOR_ID]; fn 237 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; fn 241 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; fn 435 arch/mips/pci/pci-xtalk-bridge.c struct fwnode_handle *fn; fn 442 arch/mips/pci/pci-xtalk-bridge.c fn = irq_domain_alloc_named_fwnode("BRIDGE"); fn 443 arch/mips/pci/pci-xtalk-bridge.c if (!fn) fn 445 arch/mips/pci/pci-xtalk-bridge.c domain = irq_domain_create_hierarchy(parent, 0, 8, fn, fn 447 arch/mips/pci/pci-xtalk-bridge.c irq_domain_free_fwnode(fn); fn 229 arch/mips/pci/pcie-octeon.c int dev, int fn, int reg) fn 249 arch/mips/pci/pcie-octeon.c pcie_addr.config.func = fn; fn 266 arch/mips/pci/pcie-octeon.c int fn, int reg) fn 269 arch/mips/pci/pcie-octeon.c __cvmx_pcie_build_config_addr(pcie_port, bus, dev, fn, reg); fn 288 arch/mips/pci/pcie-octeon.c int fn, int reg) fn 291 arch/mips/pci/pcie-octeon.c __cvmx_pcie_build_config_addr(pcie_port, bus, dev, fn, reg); fn 310 arch/mips/pci/pcie-octeon.c int fn, int reg) fn 313 arch/mips/pci/pcie-octeon.c __cvmx_pcie_build_config_addr(pcie_port, bus, dev, fn, reg); fn 330 arch/mips/pci/pcie-octeon.c static void cvmx_pcie_config_write8(int pcie_port, int bus, int dev, int fn, fn 334 arch/mips/pci/pcie-octeon.c __cvmx_pcie_build_config_addr(pcie_port, bus, dev, fn, reg); fn 349 arch/mips/pci/pcie-octeon.c static void cvmx_pcie_config_write16(int pcie_port, int bus, int dev, int fn, fn 353 arch/mips/pci/pcie-octeon.c __cvmx_pcie_build_config_addr(pcie_port, bus, dev, fn, reg); fn 368 arch/mips/pci/pcie-octeon.c static void cvmx_pcie_config_write32(int pcie_port, int bus, int dev, int fn, fn 372 arch/mips/pci/pcie-octeon.c __cvmx_pcie_build_config_addr(pcie_port, bus, dev, fn, reg); fn 281 arch/mips/sgi-ip27/ip27-irq.c struct fwnode_handle *fn; fn 299 arch/mips/sgi-ip27/ip27-irq.c fn = irq_domain_alloc_named_fwnode("HUB"); fn 300 arch/mips/sgi-ip27/ip27-irq.c WARN_ON(fn == NULL); fn 301 arch/mips/sgi-ip27/ip27-irq.c if (!fn) fn 303 arch/mips/sgi-ip27/ip27-irq.c domain = irq_domain_create_linear(fn, IP27_HUB_IRQ_COUNT, fn 271 arch/nds32/include/asm/pgtable.h #define PTE_BIT_FUNC(fn,op) \ fn 272 arch/nds32/include/asm/pgtable.h static inline pte_t pte_##fn(pte_t pte) { pte_val(pte) op; return pte; } fn 97 arch/nds32/include/asm/processor.h extern int kernel_thread(int (*fn) (void *), void *arg, unsigned long flags); fn 14 arch/nds32/kernel/dma.c void (*fn)(unsigned long start, unsigned long end)) fn 37 arch/nds32/kernel/dma.c fn(start, start + len); fn 41 arch/nds32/kernel/dma.c fn(start, start + size); fn 142 arch/nds32/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 46 arch/nios2/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 45 arch/openrisc/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 200 arch/openrisc/kernel/smp.c void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int)) fn 202 arch/openrisc/kernel/smp.c smp_cross_call = fn; fn 62 arch/parisc/kernel/drivers.c int (*fn)(struct device *, void *); fn 69 arch/parisc/kernel/drivers.c if (recurse_data->fn(dev, recurse_data->obj)) fn 85 arch/parisc/kernel/drivers.c static int for_each_padev(int (*fn)(struct device *, void *), void * data) fn 89 arch/parisc/kernel/drivers.c .fn = fn, fn 741 arch/parisc/kernel/drivers.c .fn = check_parent, fn 1710 arch/parisc/kernel/firmware.c long real32_call(unsigned long fn, ...) fn 1718 arch/parisc/kernel/firmware.c va_start(args, fn); fn 1735 arch/parisc/kernel/firmware.c return real32_call_asm(&real_stack.sp, &real_stack.arg0, fn); fn 1761 arch/parisc/kernel/firmware.c long real64_call(unsigned long fn, ...) fn 1769 arch/parisc/kernel/firmware.c va_start(args, fn); fn 1786 arch/parisc/kernel/firmware.c return real64_call_asm(&real64_stack.sp, &real64_stack.arg0, fn); fn 101 arch/parisc/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 66 arch/powerpc/include/asm/bitops.h #define DEFINE_BITOP(fn, op, prefix) \ fn 67 arch/powerpc/include/asm/bitops.h static __inline__ void fn(unsigned long mask, \ fn 111 arch/powerpc/include/asm/bitops.h #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ fn 112 arch/powerpc/include/asm/bitops.h static __inline__ unsigned long fn( \ fn 289 arch/powerpc/include/asm/eeh.h eeh_pe_traverse_func fn, void *flag); fn 291 arch/powerpc/include/asm/eeh.h eeh_edev_traverse_func fn, void *flag); fn 6 arch/powerpc/include/asm/kasan.h #define _GLOBAL_KASAN(fn) _GLOBAL(__##fn) fn 7 arch/powerpc/include/asm/kasan.h #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(__##fn) fn 8 arch/powerpc/include/asm/kasan.h #define EXPORT_SYMBOL_KASAN(fn) EXPORT_SYMBOL(__##fn) fn 10 arch/powerpc/include/asm/kasan.h #define _GLOBAL_KASAN(fn) _GLOBAL(fn) fn 11 arch/powerpc/include/asm/kasan.h #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(fn) fn 12 arch/powerpc/include/asm/kasan.h #define EXPORT_SYMBOL_KASAN(fn) fn 275 arch/powerpc/include/asm/machdep.h #define __define_machine_initcall(mach, fn, id) \ fn 276 arch/powerpc/include/asm/machdep.h static int __init __machine_initcall_##mach##_##fn(void) { \ fn 277 arch/powerpc/include/asm/machdep.h if (machine_is(mach)) return fn(); \ fn 280 arch/powerpc/include/asm/machdep.h __define_initcall(__machine_initcall_##mach##_##fn, id); fn 282 arch/powerpc/include/asm/machdep.h #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) fn 283 arch/powerpc/include/asm/machdep.h #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) fn 284 arch/powerpc/include/asm/machdep.h #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) fn 285 arch/powerpc/include/asm/machdep.h #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) fn 286 arch/powerpc/include/asm/machdep.h #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) fn 287 arch/powerpc/include/asm/machdep.h #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) fn 288 arch/powerpc/include/asm/machdep.h #define machine_arch_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 3s) fn 289 arch/powerpc/include/asm/machdep.h #define machine_subsys_initcall(mach, fn) __define_machine_initcall(mach, fn, 4) fn 290 arch/powerpc/include/asm/machdep.h #define machine_subsys_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 4s) fn 291 arch/powerpc/include/asm/machdep.h #define machine_fs_initcall(mach, fn) __define_machine_initcall(mach, fn, 5) fn 292 arch/powerpc/include/asm/machdep.h #define machine_fs_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 5s) fn 293 arch/powerpc/include/asm/machdep.h #define machine_rootfs_initcall(mach, fn) __define_machine_initcall(mach, fn, rootfs) fn 294 arch/powerpc/include/asm/machdep.h #define machine_device_initcall(mach, fn) __define_machine_initcall(mach, fn, 6) fn 295 arch/powerpc/include/asm/machdep.h #define machine_device_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 6s) fn 296 arch/powerpc/include/asm/machdep.h #define machine_late_initcall(mach, fn) __define_machine_initcall(mach, fn, 7) fn 297 arch/powerpc/include/asm/machdep.h #define machine_late_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 7s) fn 27 arch/powerpc/include/asm/mpic_timer.h struct mpic_timer *mpic_request_timer(irq_handler_t fn, void *dev, fn 34 arch/powerpc/include/asm/mpic_timer.h struct mpic_timer *mpic_request_timer(irq_handler_t fn, void *dev, fn 33 arch/powerpc/include/asm/ppc-pci.h void *(*fn)(struct device_node *, void *), fn 36 arch/powerpc/include/asm/ppc-pci.h void *(*fn)(struct pci_dn *, void *), fn 55 arch/powerpc/include/asm/smp.h extern int smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us); fn 56 arch/powerpc/include/asm/smp.h extern int smp_send_safe_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us); fn 167 arch/powerpc/include/asm/spu_priv1.h int (*enumerate_spus)(int (*fn)(void *data)); fn 178 arch/powerpc/include/asm/spu_priv1.h spu_enumerate_spus (int (*fn)(void *data)) fn 180 arch/powerpc/include/asm/spu_priv1.h return spu_management_ops->enumerate_spus(fn); fn 1889 arch/powerpc/kernel/eeh.c uint32_t domain, bus, dev, fn; fn 1900 arch/powerpc/kernel/eeh.c ret = sscanf(buf, "%x:%x:%x.%x", &domain, &bus, &dev, &fn); fn 1906 arch/powerpc/kernel/eeh.c pdev = pci_get_domain_bus_and_slot(domain, bus, (dev << 3) | fn); fn 1919 arch/powerpc/kernel/eeh.c domain, bus, dev, fn, ret); fn 2030 arch/powerpc/kernel/eeh.c uint32_t domain, bus, dev, fn; fn 2040 arch/powerpc/kernel/eeh.c ret = sscanf(buf, "%x:%x:%x.%x", &domain, &bus, &dev, &fn); fn 2046 arch/powerpc/kernel/eeh.c pdev = pci_get_domain_bus_and_slot(domain, bus, (dev << 3) | fn); fn 297 arch/powerpc/kernel/eeh_driver.c new_result = fn(edev, pdev, driver); fn 212 arch/powerpc/kernel/eeh_pe.c eeh_pe_traverse_func fn, void *flag) fn 218 arch/powerpc/kernel/eeh_pe.c ret = fn(pe, flag); fn 235 arch/powerpc/kernel/eeh_pe.c eeh_edev_traverse_func fn, void *flag) fn 249 arch/powerpc/kernel/eeh_pe.c fn(edev, flag); fn 397 arch/powerpc/kernel/pci_dn.c void *(*fn)(struct device_node *, void *), fn 413 arch/powerpc/kernel/pci_dn.c if (fn) { fn 414 arch/powerpc/kernel/pci_dn.c ret = fn(dn, data); fn 464 arch/powerpc/kernel/pci_dn.c void *(*fn)(struct pci_dn *, void *), fn 473 arch/powerpc/kernel/pci_dn.c ret = fn(pdn, data); fn 1160 arch/powerpc/kernel/signal_32.c current->restart_block.fn = do_no_restart_syscall; fn 1467 arch/powerpc/kernel/signal_32.c current->restart_block.fn = do_no_restart_syscall; fn 716 arch/powerpc/kernel/signal_64.c current->restart_block.fn = do_no_restart_syscall; fn 413 arch/powerpc/kernel/smp.c void (*fn)(struct pt_regs *) = NULL; fn 426 arch/powerpc/kernel/smp.c fn = READ_ONCE(nmi_ipi_function); fn 427 arch/powerpc/kernel/smp.c WARN_ON_ONCE(!fn); fn 432 arch/powerpc/kernel/smp.c if (fn) fn 433 arch/powerpc/kernel/smp.c fn(regs); fn 462 arch/powerpc/kernel/smp.c static int __smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), fn 482 arch/powerpc/kernel/smp.c nmi_ipi_function = fn; fn 527 arch/powerpc/kernel/smp.c int smp_send_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us) fn 529 arch/powerpc/kernel/smp.c return __smp_send_nmi_ipi(cpu, fn, delay_us, false); fn 532 arch/powerpc/kernel/smp.c int smp_send_safe_nmi_ipi(int cpu, void (*fn)(struct pt_regs *), u64 delay_us) fn 534 arch/powerpc/kernel/smp.c return __smp_send_nmi_ipi(cpu, fn, delay_us, true); fn 263 arch/powerpc/platforms/cell/spu_manage.c static int __init of_enumerate_spus(int (*fn)(void *data)) fn 271 arch/powerpc/platforms/cell/spu_manage.c ret = fn(node); fn 381 arch/powerpc/platforms/ps3/spu.c static int __init ps3_enumerate_spus(int (*fn)(void *data)) fn 408 arch/powerpc/platforms/ps3/spu.c result = fn((void*)(unsigned long)resource_id); fn 358 arch/powerpc/sysdev/mpic_timer.c struct mpic_timer *mpic_request_timer(irq_handler_t fn, void *dev, fn 374 arch/powerpc/sysdev/mpic_timer.c ret = request_irq(allocated_timer->irq, fn, fn 83 arch/riscv/kernel/perf_callchain.c struct pt_regs *regs, bool (*fn)(unsigned long, void *), void *arg); fn 101 arch/riscv/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 23 arch/riscv/kernel/stacktrace.c bool (*fn)(unsigned long, void *), void *arg) fn 47 arch/riscv/kernel/stacktrace.c if (unlikely(!__kernel_text_address(pc) || fn(pc, arg))) fn 67 arch/riscv/kernel/stacktrace.c struct pt_regs *regs, bool (*fn)(unsigned long, void *), void *arg) fn 90 arch/riscv/kernel/stacktrace.c if (__kernel_text_address(pc) && unlikely(fn(pc, arg))) fn 46 arch/s390/include/asm/appldata.h unsigned short fn, void *buffer, fn 54 arch/s390/include/asm/appldata.h parm_list->function = fn; fn 130 arch/s390/include/asm/ipl.h extern void store_status(void (*fn)(void *), void *data); fn 130 arch/s390/include/asm/pci_insn.h int zpci_refresh_trans(u64 fn, u64 addr, u64 range); fn 96 arch/s390/include/asm/stacktrace.h #define CALL_ON_STACK(fn, stack, nr, args...) \ fn 110 arch/s390/include/asm/stacktrace.h [_fn] "X" (fn) : CALL_CLOBBER_##nr); \ fn 92 arch/s390/kernel/compat_signal.c current->restart_block.fn = do_no_restart_syscall; fn 80 arch/s390/kernel/ipl.c void (*fn) (struct shutdown_trigger *trigger); fn 488 arch/s390/kernel/ipl.c .fn = ipl_run, fn 1086 arch/s390/kernel/ipl.c .fn = reipl_run, fn 1269 arch/s390/kernel/ipl.c .fn = dump_run, fn 1287 arch/s390/kernel/ipl.c .fn = dump_reipl_run, fn 1424 arch/s390/kernel/ipl.c on_reboot_trigger.action->fn(&on_reboot_trigger); fn 1450 arch/s390/kernel/ipl.c on_panic_trigger.action->fn(&on_panic_trigger); fn 1480 arch/s390/kernel/ipl.c on_restart_trigger.action->fn(&on_restart_trigger); fn 1513 arch/s390/kernel/ipl.c on_halt_trigger.action->fn(&on_halt_trigger); fn 1539 arch/s390/kernel/ipl.c on_poff_trigger.action->fn(&on_poff_trigger); fn 143 arch/s390/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 64 arch/s390/pci/pci_insn.c static inline u8 __rpcit(u64 fn, u64 addr, u64 range, u8 *status) fn 74 arch/s390/pci/pci_insn.c : [cc] "=d" (cc), [fn] "+d" (fn) fn 77 arch/s390/pci/pci_insn.c *status = fn >> 24 & 0xff; fn 81 arch/s390/pci/pci_insn.c int zpci_refresh_trans(u64 fn, u64 addr, u64 range) fn 86 arch/s390/pci/pci_insn.c cc = __rpcit(fn, addr, range, &status); fn 352 arch/sh/include/asm/pgtable_32.h #define PTE_BIT_FUNC(h,fn,op) \ fn 353 arch/sh/include/asm/pgtable_32.h static inline pte_t pte_##fn(pte_t pte) { pte.pte_##h op; return pte; } fn 161 arch/sh/kernel/signal_32.c current->restart_block.fn = do_no_restart_syscall; fn 191 arch/sh/kernel/signal_32.c current->restart_block.fn = do_no_restart_syscall; fn 260 arch/sh/kernel/signal_64.c current->restart_block.fn = do_no_restart_syscall; fn 294 arch/sh/kernel/signal_64.c current->restart_block.fn = do_no_restart_syscall; fn 97 arch/sparc/kernel/signal32.c current->restart_block.fn = do_no_restart_syscall; fn 186 arch/sparc/kernel/signal32.c current->restart_block.fn = do_no_restart_syscall; fn 86 arch/sparc/kernel/signal_32.c current->restart_block.fn = do_no_restart_syscall; fn 266 arch/sparc/kernel/signal_64.c current->restart_block.fn = do_no_restart_syscall; fn 46 arch/um/drivers/chan_user.h #define __channel_help(fn, prefix) \ fn 47 arch/um/drivers/chan_user.h __uml_help(fn, prefix "[0-9]*=<channel description>\n" \ fn 71 arch/um/include/shared/init.h #define __uml_exitcall(fn) \ fn 72 arch/um/include/shared/init.h static exitcall_t __uml_exitcall_##fn __uml_exit_call = fn fn 76 arch/um/include/shared/init.h #define __uml_postsetup(fn) \ fn 77 arch/um/include/shared/init.h static initcall_t __uml_postsetup_##fn __uml_postsetup_call = fn fn 86 arch/um/include/shared/init.h #define __uml_setup(str, fn, help...) \ fn 87 arch/um/include/shared/init.h __non_empty_string(fn ##_setup, str); \ fn 88 arch/um/include/shared/init.h __uml_help(fn, help); \ fn 89 arch/um/include/shared/init.h static char __uml_setup_str_##fn[] __initdata = str; \ fn 90 arch/um/include/shared/init.h static struct uml_param __uml_setup_##fn __uml_init_setup = { __uml_setup_str_##fn, fn } fn 92 arch/um/include/shared/init.h #define __uml_setup(str, fn, help...) \ fn 96 arch/um/include/shared/init.h #define __uml_help(fn, help...) \ fn 97 arch/um/include/shared/init.h __non_empty_string(fn ##__help, help); \ fn 98 arch/um/include/shared/init.h static char __uml_help_str_##fn[] __initdata = help; \ fn 99 arch/um/include/shared/init.h static const char *__uml_help_##fn __uml_setup_help = __uml_help_str_##fn fn 112 arch/um/include/shared/init.h #define __define_initcall(level,fn) \ fn 113 arch/um/include/shared/init.h static initcall_t __initcall_##fn __used \ fn 114 arch/um/include/shared/init.h __attribute__((__section__(".initcall" level ".init"))) = fn fn 119 arch/um/include/shared/init.h #define __initcall(fn) __define_initcall("1", fn) fn 121 arch/um/include/shared/init.h #define __exitcall(fn) static exitcall_t __exitcall_##fn __exit_call = fn fn 120 arch/um/kernel/process.c int (*fn)(void *), n; fn 127 arch/um/kernel/process.c fn = current->thread.request.u.thread.proc; fn 133 arch/um/kernel/process.c n = fn(arg); fn 182 arch/unicore32/include/asm/pgtable.h #define PTE_BIT_FUNC(fn, op) \ fn 183 arch/unicore32/include/asm/pgtable.h static inline pte_t pte_##fn(pte_t pte) { pte_val(pte) op; return pte; } fn 26 arch/unicore32/include/asm/stacktrace.h int (*fn)(struct stackframe *, void *), void *data); fn 105 arch/unicore32/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 56 arch/unicore32/kernel/stacktrace.c int (*fn)(struct stackframe *, void *), void *data) fn 61 arch/unicore32/kernel/stacktrace.c if (fn(frame, data)) fn 464 arch/unicore32/mm/alignment.c unsigned int fn = COLS_FN_BITS(instr); fn 468 arch/unicore32/mm/alignment.c switch (fn) { fn 484 arch/unicore32/mm/alignment.c switch (fn) { fn 398 arch/unicore32/mm/fault.c int (*fn) (unsigned long addr, unsigned int fsr, struct pt_regs *regs); fn 441 arch/unicore32/mm/fault.c int (*fn) (unsigned long, unsigned int, struct pt_regs *), fn 447 arch/unicore32/mm/fault.c fsr_info[nr].fn = fn; fn 461 arch/unicore32/mm/fault.c if (!inf->fn(addr, fsr & ~FSR_LNX_PF, regs)) fn 476 arch/unicore32/mm/fault.c if (!inf->fn(addr, ifsr | FSR_LNX_PF, regs)) fn 36 arch/unicore32/mm/mm.h extern void hook_fault_code(int nr, int (*fn) fn 72 arch/x86/crypto/blowfish_glue.c void (*fn)(struct bf_ctx *, u8 *, const u8 *), fn 104 arch/x86/crypto/blowfish_glue.c fn(ctx, wdst, wsrc); fn 55 arch/x86/crypto/cast5_avx_glue.c void (*fn)(struct cast5_ctx *ctx, u8 *dst, const u8 *src); fn 68 arch/x86/crypto/cast5_avx_glue.c fn = (enc) ? cast5_ecb_enc_16way : cast5_ecb_dec_16way; fn 70 arch/x86/crypto/cast5_avx_glue.c fn(ctx, wdst, wsrc); fn 81 arch/x86/crypto/cast5_avx_glue.c fn = (enc) ? __cast5_encrypt : __cast5_decrypt; fn 85 arch/x86/crypto/cast5_avx_glue.c fn(ctx, wdst, wsrc); fn 66 arch/x86/crypto/glue_helper.c int glue_cbc_encrypt_req_128bit(const common_glue_func_t fn, fn 84 arch/x86/crypto/glue_helper.c fn(ctx, (u8 *)dst, (u8 *)dst); fn 358 arch/x86/crypto/glue_helper.c common_glue_func_t fn) fn 369 arch/x86/crypto/glue_helper.c fn(ctx, (u8 *)dst, (u8 *)dst); fn 80 arch/x86/ia32/ia32_signal.c current->restart_block.fn = do_no_restart_syscall; fn 21 arch/x86/include/asm/crypto/glue_helper.h #define GLUE_FUNC_CAST(fn) ((common_glue_func_t)(fn)) fn 22 arch/x86/include/asm/crypto/glue_helper.h #define GLUE_CBC_FUNC_CAST(fn) ((common_glue_cbc_func_t)(fn)) fn 23 arch/x86/include/asm/crypto/glue_helper.h #define GLUE_CTR_FUNC_CAST(fn) ((common_glue_ctr_func_t)(fn)) fn 24 arch/x86/include/asm/crypto/glue_helper.h #define GLUE_XTS_FUNC_CAST(fn) ((common_glue_xts_func_t)(fn)) fn 105 arch/x86/include/asm/crypto/glue_helper.h extern int glue_cbc_encrypt_req_128bit(const common_glue_func_t fn, fn 120 arch/x86/include/asm/crypto/glue_helper.h le128 *iv, common_glue_func_t fn); fn 48 arch/x86/include/asm/nmi.h #define register_nmi_handler(t, fn, fg, n, init...) \ fn 50 arch/x86/include/asm/nmi.h static struct nmiaction init fn##_na = { \ fn 51 arch/x86/include/asm/nmi.h .handler = (fn), \ fn 55 arch/x86/include/asm/nmi.h __register_nmi_handler((t), &fn##_na); \ fn 21 arch/x86/include/asm/pci_64.h extern int (*pci_config_read)(int seg, int bus, int dev, int fn, fn 23 arch/x86/include/asm/pci_64.h extern int (*pci_config_write)(int seg, int bus, int dev, int fn, fn 2305 arch/x86/kernel/apic/io_apic.c struct fwnode_handle *fn; fn 2322 arch/x86/kernel/apic/io_apic.c fn = of_node_to_fwnode(cfg->dev); fn 2324 arch/x86/kernel/apic/io_apic.c fn = irq_domain_alloc_named_id_fwnode(name, ioapic); fn 2325 arch/x86/kernel/apic/io_apic.c if (!fn) fn 2329 arch/x86/kernel/apic/io_apic.c ip->irqdomain = irq_domain_create_linear(fn, hwirqs, cfg->ops, fn 2334 arch/x86/kernel/apic/io_apic.c irq_domain_free_fwnode(fn); fn 255 arch/x86/kernel/apic/msi.c struct fwnode_handle *fn; fn 260 arch/x86/kernel/apic/msi.c fn = irq_domain_alloc_named_fwnode("PCI-MSI"); fn 261 arch/x86/kernel/apic/msi.c if (fn) { fn 263 arch/x86/kernel/apic/msi.c pci_msi_create_irq_domain(fn, &pci_msi_domain_info, fn 265 arch/x86/kernel/apic/msi.c irq_domain_free_fwnode(fn); fn 296 arch/x86/kernel/apic/msi.c struct fwnode_handle *fn; fn 299 arch/x86/kernel/apic/msi.c fn = irq_domain_alloc_named_id_fwnode(name, id); fn 300 arch/x86/kernel/apic/msi.c if (!fn) fn 302 arch/x86/kernel/apic/msi.c d = pci_msi_create_irq_domain(fn, &pci_msi_ir_domain_info, parent); fn 303 arch/x86/kernel/apic/msi.c irq_domain_free_fwnode(fn); fn 356 arch/x86/kernel/apic/msi.c struct fwnode_handle *fn; fn 362 arch/x86/kernel/apic/msi.c fn = irq_domain_alloc_named_fwnode("DMAR-MSI"); fn 363 arch/x86/kernel/apic/msi.c if (fn) { fn 364 arch/x86/kernel/apic/msi.c dmar_domain = msi_create_irq_domain(fn, &dmar_msi_domain_info, fn 366 arch/x86/kernel/apic/msi.c irq_domain_free_fwnode(fn); fn 462 arch/x86/kernel/apic/msi.c struct fwnode_handle *fn; fn 483 arch/x86/kernel/apic/msi.c fn = irq_domain_alloc_named_id_fwnode(hpet_msi_controller.name, fn 485 arch/x86/kernel/apic/msi.c if (!fn) { fn 490 arch/x86/kernel/apic/msi.c d = msi_create_irq_domain(fn, domain_info, parent); fn 491 arch/x86/kernel/apic/msi.c irq_domain_free_fwnode(fn); fn 699 arch/x86/kernel/apic/vector.c struct fwnode_handle *fn; fn 701 arch/x86/kernel/apic/vector.c fn = irq_domain_alloc_named_fwnode("VECTOR"); fn 702 arch/x86/kernel/apic/vector.c BUG_ON(!fn); fn 703 arch/x86/kernel/apic/vector.c x86_vector_domain = irq_domain_create_tree(fn, &x86_vector_domain_ops, fn 706 arch/x86/kernel/apic/vector.c irq_domain_free_fwnode(fn); fn 624 arch/x86/kernel/apm_32.c static int on_cpu0(long (*fn)(void *), struct apm_bios_call *call) fn 631 arch/x86/kernel/apm_32.c ret = fn(call); fn 635 arch/x86/kernel/apm_32.c ret = work_on_cpu(0, fn, call); fn 107 arch/x86/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 5692 arch/x86/kvm/mmu.c slot_level_handler fn, int start_level, int end_level, fn 5701 arch/x86/kvm/mmu.c flush |= fn(kvm, iterator.rmap); fn 5725 arch/x86/kvm/mmu.c slot_level_handler fn, int start_level, int end_level, fn 5728 arch/x86/kvm/mmu.c return slot_handle_level_range(kvm, memslot, fn, start_level, fn 5736 arch/x86/kvm/mmu.c slot_level_handler fn, bool lock_flush_tlb) fn 5738 arch/x86/kvm/mmu.c return slot_handle_level(kvm, memslot, fn, PT_PAGE_TABLE_LEVEL, fn 5744 arch/x86/kvm/mmu.c slot_level_handler fn, bool lock_flush_tlb) fn 5746 arch/x86/kvm/mmu.c return slot_handle_level(kvm, memslot, fn, PT_PAGE_TABLE_LEVEL + 1, fn 5752 arch/x86/kvm/mmu.c slot_level_handler fn, bool lock_flush_tlb) fn 5754 arch/x86/kvm/mmu.c return slot_handle_level(kvm, memslot, fn, PT_PAGE_TABLE_LEVEL, fn 35 arch/x86/kvm/mmu_audit.c inspect_spte_fn fn, int level) fn 42 arch/x86/kvm/mmu_audit.c fn(vcpu, ent + i, level); fn 49 arch/x86/kvm/mmu_audit.c __mmu_spte_walk(vcpu, child, fn, level - 1); fn 54 arch/x86/kvm/mmu_audit.c static void mmu_spte_walk(struct kvm_vcpu *vcpu, inspect_spte_fn fn) fn 66 arch/x86/kvm/mmu_audit.c __mmu_spte_walk(vcpu, sp, fn, vcpu->arch.mmu->root_level); fn 76 arch/x86/kvm/mmu_audit.c __mmu_spte_walk(vcpu, sp, fn, 2); fn 85 arch/x86/kvm/mmu_audit.c static void walk_all_active_sps(struct kvm *kvm, sp_handler fn) fn 90 arch/x86/kvm/mmu_audit.c fn(kvm, sp); fn 3428 arch/x86/kvm/vmx/vmx.c gfn_t fn; fn 3433 arch/x86/kvm/vmx/vmx.c fn = to_kvm_vmx(kvm)->tss_addr >> PAGE_SHIFT; fn 3434 arch/x86/kvm/vmx/vmx.c r = kvm_clear_guest_page(kvm, fn, 0, PAGE_SIZE); fn 3438 arch/x86/kvm/vmx/vmx.c r = kvm_write_guest_page(kvm, fn++, &data, fn 3442 arch/x86/kvm/vmx/vmx.c r = kvm_clear_guest_page(kvm, fn++, 0, PAGE_SIZE); fn 3445 arch/x86/kvm/vmx/vmx.c r = kvm_clear_guest_page(kvm, fn, 0, PAGE_SIZE); fn 3449 arch/x86/kvm/vmx/vmx.c r = kvm_write_guest_page(kvm, fn, &data, fn 99 arch/x86/pci/direct.c int dev, fn; fn 108 arch/x86/pci/direct.c fn = PCI_FUNC(devfn); fn 115 arch/x86/pci/direct.c outb((u8)(0xF0 | (fn << 1)), 0xCF8); fn 141 arch/x86/pci/direct.c int dev, fn; fn 148 arch/x86/pci/direct.c fn = PCI_FUNC(devfn); fn 155 arch/x86/pci/direct.c outb((u8)(0xF0 | (fn << 1)), 0xCF8); fn 159 arch/x86/platform/uv/uv_irq.c struct fwnode_handle *fn; fn 165 arch/x86/platform/uv/uv_irq.c fn = irq_domain_alloc_named_fwnode("UV-CORE"); fn 166 arch/x86/platform/uv/uv_irq.c if (!fn) fn 169 arch/x86/platform/uv/uv_irq.c uv_domain = irq_domain_create_tree(fn, &uv_domain_ops, NULL); fn 170 arch/x86/platform/uv/uv_irq.c irq_domain_free_fwnode(fn); fn 503 arch/x86/power/cpu.c pm_cpu_match_t fn; fn 505 arch/x86/power/cpu.c fn = (pm_cpu_match_t)m->driver_data; fn 506 arch/x86/power/cpu.c ret = fn(m); fn 160 arch/x86/um/signal.c current->restart_block.fn = do_no_restart_syscall; fn 48 arch/x86/xen/multicalls.c void (*fn)(void *); fn 131 arch/x86/xen/multicalls.c (*cb->fn)(cb->data); fn 199 arch/x86/xen/multicalls.c void xen_mc_callback(void (*fn)(void *), void *data) fn 209 arch/x86/xen/multicalls.c trace_xen_mc_callback(fn, data); fn 212 arch/x86/xen/multicalls.c cb->fn = fn; fn 55 arch/x86/xen/multicalls.h void xen_mc_callback(void (*fn)(void *), void *data); fn 33 arch/xtensa/include/asm/stacktrace.h int (*fn)(struct stackframe *frame, void *data), fn 26 arch/xtensa/kernel/pci-dma.c void (*fn)(unsigned long, unsigned long)) fn 33 arch/xtensa/kernel/pci-dma.c fn((unsigned long)phys_to_virt(paddr), size); fn 39 arch/xtensa/kernel/pci-dma.c fn((unsigned long)vaddr + off, sz); fn 96 arch/xtensa/kernel/setup.c #define __tagtable(tag, fn) static tagtable_t __tagtable_##fn \ fn 97 arch/xtensa/kernel/setup.c __attribute__((used, section(".taglist"))) = { tag, fn } fn 247 arch/xtensa/kernel/signal.c current->restart_block.fn = do_no_restart_syscall; fn 169 arch/xtensa/kernel/stacktrace.c int (*fn)(struct stackframe *frame, void *data), fn 194 arch/xtensa/kernel/stacktrace.c if (fn(&frame, data)) fn 210 block/blk-mq-tag.c busy_iter_fn *fn; fn 232 block/blk-mq-tag.c return iter_data->fn(hctx, rq, iter_data->data, reserved); fn 251 block/blk-mq-tag.c busy_iter_fn *fn, void *data, bool reserved) fn 255 block/blk-mq-tag.c .fn = fn, fn 265 block/blk-mq-tag.c busy_tag_iter_fn *fn; fn 286 block/blk-mq-tag.c return iter_data->fn(rq, iter_data->data, reserved); fn 305 block/blk-mq-tag.c busy_tag_iter_fn *fn, void *data, bool reserved) fn 309 block/blk-mq-tag.c .fn = fn, fn 329 block/blk-mq-tag.c busy_tag_iter_fn *fn, void *priv) fn 332 block/blk-mq-tag.c bt_tags_for_each(tags, &tags->breserved_tags, fn, priv, true); fn 333 block/blk-mq-tag.c bt_tags_for_each(tags, &tags->bitmap_tags, fn, priv, false); fn 347 block/blk-mq-tag.c busy_tag_iter_fn *fn, void *priv) fn 353 block/blk-mq-tag.c blk_mq_all_tag_busy_iter(tagset->tags[i], fn, priv); fn 403 block/blk-mq-tag.c void blk_mq_queue_tag_busy_iter(struct request_queue *q, busy_iter_fn *fn, fn 430 block/blk-mq-tag.c bt_for_each(hctx, &tags->breserved_tags, fn, priv, true); fn 431 block/blk-mq-tag.c bt_for_each(hctx, &tags->bitmap_tags, fn, priv, false); fn 36 block/blk-mq-tag.h void blk_mq_queue_tag_busy_iter(struct request_queue *q, busy_iter_fn *fn, fn 33 block/sed-opal.c int (*fn)(struct opal_dev *dev, void *data); fn 382 block/sed-opal.c int error = step->fn(dev, step->data); fn 386 block/sed-opal.c stepIndex, step->fn, error, fn 30 block/t10-pi.c csum_fn *fn, enum t10_dif_type type) fn 37 block/t10-pi.c pi->guard_tag = fn(iter->data_buf, iter->interval); fn 54 block/t10-pi.c csum_fn *fn, enum t10_dif_type type) fn 83 block/t10-pi.c csum = fn(iter->data_buf, iter->interval); fn 59 crypto/cipher.c static void cipher_crypt_unaligned(void (*fn)(struct crypto_tfm *, u8 *, fn 70 crypto/cipher.c fn(tfm, tmp, tmp); fn 48 crypto/ctr.c void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = fn 58 crypto/ctr.c fn(crypto_cipher_tfm(tfm), dst, ctrblk); fn 74 crypto/ctr.c void (*fn)(struct crypto_tfm *, u8 *, const u8 *) = fn 86 crypto/ctr.c fn(crypto_cipher_tfm(tfm), keystream, ctrblk); fn 17 crypto/ecb.c void (*fn)(struct crypto_tfm *, u8 *, const u8 *)) fn 31 crypto/ecb.c fn(crypto_cipher_tfm(cipher), dst, src); fn 268 drivers/acpi/pci_root.c int dev, fn; fn 313 drivers/acpi/pci_root.c fn = adr & 0xffff; fn 315 drivers/acpi/pci_root.c pdev = pci_get_slot(pbus, PCI_DEVFN(dev, fn)); fn 474 drivers/acpi/sysfs.c int (*fn)(void *, struct acpi_data_attr *); fn 494 drivers/acpi/sysfs.c return acpi_data_objs[i].fn(th, data_attr); fn 337 drivers/amba/bus.c #define SETFN(fn) if (drv->fn) drv->drv.fn = amba_##fn fn 142 drivers/base/attribute_container.c int (*fn)(struct attribute_container *, fn 170 drivers/base/attribute_container.c if (fn) fn 171 drivers/base/attribute_container.c fn(cont, dev, &ic->classdev); fn 207 drivers/base/attribute_container.c void (*fn)(struct attribute_container *, fn 228 drivers/base/attribute_container.c if (fn) fn 229 drivers/base/attribute_container.c fn(cont, dev, &ic->classdev); fn 251 drivers/base/attribute_container.c int (*fn)(struct attribute_container *, fn 266 drivers/base/attribute_container.c fn(cont, dev, NULL); fn 272 drivers/base/attribute_container.c fn(cont, dev, &ic->classdev); fn 292 drivers/base/attribute_container.c int (*fn)(struct attribute_container *, fn 300 drivers/base/attribute_container.c fn(cont, dev); fn 292 drivers/base/bus.c void *data, int (*fn)(struct device *, void *)) fn 304 drivers/base/bus.c error = fn(dev, data); fn 418 drivers/base/bus.c void *data, int (*fn)(struct device_driver *, void *)) fn 430 drivers/base/bus.c error = fn(drv, data); fn 352 drivers/base/class.c void *data, int (*fn)(struct device *, void *)) fn 368 drivers/base/class.c error = fn(dev, data); fn 2497 drivers/base/core.c int (*fn)(struct device *dev, void *data)) fn 2508 drivers/base/core.c error = fn(child, data); fn 2527 drivers/base/core.c int (*fn)(struct device *dev, void *data)) fn 2538 drivers/base/core.c error = fn(child, data); fn 3404 drivers/base/core.c struct fwnode_handle *fn = dev->fwnode; fn 3406 drivers/base/core.c if (fwnode_is_primary(fn)) fn 3407 drivers/base/core.c fn = fn->secondary; fn 3409 drivers/base/core.c if (fn) { fn 3411 drivers/base/core.c fwnode->secondary = fn; fn 178 drivers/base/devres.c void (*fn)(struct device *, void *, void *), fn 185 drivers/base/devres.c if (!fn) fn 197 drivers/base/devres.c fn(dev, dr->data, data); fn 42 drivers/base/driver.c void *data, int (*fn)(struct device *, void *)) fn 54 drivers/base/driver.c error = fn(dev, data); fn 2062 drivers/base/power/main.c void __suspend_report_result(const char *function, void *fn, int ret) fn 2065 drivers/base/power/main.c pr_err("%s(): %pS returns %d\n", function, fn, ret); fn 2089 drivers/base/power/main.c void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *)) fn 2093 drivers/base/power/main.c if (!fn) fn 2098 drivers/base/power/main.c fn(dev, data); fn 201 drivers/block/aoe/aoe.h int (*fn) (int); fn 1239 drivers/block/aoe/aoecmd.c more = k->fn(k->id); fn 1720 drivers/block/aoe/aoecmd.c kts[i].fn = ktio; fn 206 drivers/block/aoe/aoenet.c kts.fn = tx; fn 790 drivers/block/drbd/drbd_int.h const char *fn, const unsigned int line); fn 5061 drivers/block/drbd/drbd_receiver.c int (*fn)(struct drbd_connection *, struct packet_info *); fn 5111 drivers/block/drbd/drbd_receiver.c if (unlikely(pi.cmd >= ARRAY_SIZE(drbd_cmd_handler) || !cmd->fn)) { fn 5139 drivers/block/drbd/drbd_receiver.c update_receiver_timing_details(connection, cmd->fn); fn 5140 drivers/block/drbd/drbd_receiver.c err = cmd->fn(connection, &pi); fn 5960 drivers/block/drbd/drbd_receiver.c int (*fn)(struct drbd_connection *connection, struct packet_info *); fn 6099 drivers/block/drbd/drbd_receiver.c if (pi.cmd >= ARRAY_SIZE(ack_receiver_tbl) || !cmd->fn) { fn 6114 drivers/block/drbd/drbd_receiver.c err = cmd->fn(connection, &pi); fn 6116 drivers/block/drbd/drbd_receiver.c drbd_err(connection, "%ps failed\n", cmd->fn); fn 1996 drivers/block/drbd/drbd_worker.c const char *fn, const unsigned int line) fn 2003 drivers/block/drbd/drbd_worker.c td->caller_fn = fn; fn 4390 drivers/block/floppy.c void (*fn) (int *ints, int param, int param2); fn 4439 drivers/block/floppy.c if (config_params[i].fn) fn 4440 drivers/block/floppy.c config_params[i].fn(ints, param, fn 143 drivers/bus/mips_cdmm.c void *fn; fn 157 drivers/bus/mips_cdmm.c void (*fn)(struct mips_cdmm_device *) = work->fn; fn 159 drivers/bus/mips_cdmm.c fn(work->dev); fn 173 drivers/bus/mips_cdmm.c int (*fn)(struct mips_cdmm_device *) = work->fn; fn 175 drivers/bus/mips_cdmm.c return fn(work->dev); fn 196 drivers/bus/mips_cdmm.c .fn = cdrv->_name, \ fn 210 drivers/char/ipmi/ipmi_watchdog.c action_fn fn = (action_fn) kp->arg; fn 220 drivers/char/ipmi/ipmi_watchdog.c rv = fn(s, NULL); fn 234 drivers/char/ipmi/ipmi_watchdog.c action_fn fn = (action_fn) kp->arg; fn 237 drivers/char/ipmi/ipmi_watchdog.c rv = fn(NULL, buffer); fn 152 drivers/char/ppdev.c size_t (*fn)(struct parport *, void *, size_t, int); fn 159 drivers/char/ppdev.c fn = pport->ops->epp_read_addr; fn 161 drivers/char/ppdev.c fn = pport->ops->epp_read_data; fn 162 drivers/char/ppdev.c bytes_read = (*fn)(pport, kbuffer, need, flags); fn 646 drivers/char/sonypi.c static u8 sonypi_call2(u8 dev, u8 fn) fn 653 drivers/char/sonypi.c outb(fn, sonypi_device.ioport1); fn 658 drivers/char/sonypi.c static u8 sonypi_call3(u8 dev, u8 fn, u8 v) fn 665 drivers/char/sonypi.c outb(fn, sonypi_device.ioport1); fn 674 drivers/char/sonypi.c static u8 sonypi_read(u8 fn) fn 680 drivers/char/sonypi.c v1 = sonypi_call2(0x8f, fn); fn 681 drivers/char/sonypi.c v2 = sonypi_call2(0x8f, fn); fn 690 drivers/char/sonypi.c static void sonypi_set(u8 fn, u8 v) fn 692 drivers/char/sonypi.c wait_on_command(0, sonypi_call3(0x90, fn, v), ITERATIONS_SHORT); fn 73 drivers/char/toshiba.c module_param_named(fn, tosh_fn, int, 0); fn 74 drivers/char/toshiba.c MODULE_PARM_DESC(fn, "User specified Fn key detection port"); fn 568 drivers/clk/ti/clk.c int omap2_clk_for_each(int (*fn)(struct clk_hw_omap *hw)) fn 574 drivers/clk/ti/clk.c ret = (*fn)(hw); fn 312 drivers/clk/ti/clock.h int omap2_clk_for_each(int (*fn)(struct clk_hw_omap *hw)); fn 414 drivers/crypto/chelsio/chtls/chtls.h static inline void process_cpl_msg(void (*fn)(struct sock *, struct sk_buff *), fn 424 drivers/crypto/chelsio/chtls/chtls.h BLOG_SKB_CB(skb)->backlog_rcv = fn; fn 427 drivers/crypto/chelsio/chtls/chtls.h fn(sk, skb); fn 439 drivers/crypto/chelsio/chtls/chtls.h static inline void __chtls_sock_put(const char *fn, struct chtls_sock *csk) fn 444 drivers/crypto/chelsio/chtls/chtls.h static inline void __chtls_sock_get(const char *fn, fn 2043 drivers/crypto/chelsio/chtls/chtls_cm.c void (*fn)(struct sock *sk, struct sk_buff *skb); fn 2056 drivers/crypto/chelsio/chtls/chtls_cm.c fn = chtls_peer_close; fn 2059 drivers/crypto/chelsio/chtls/chtls_cm.c fn = chtls_close_con_rpl; fn 2062 drivers/crypto/chelsio/chtls/chtls_cm.c fn = chtls_abort_req_rss; fn 2065 drivers/crypto/chelsio/chtls/chtls_cm.c fn = chtls_abort_rpl_rss; fn 2071 drivers/crypto/chelsio/chtls/chtls_cm.c process_cpl_msg(fn, sk, skb); fn 344 drivers/crypto/hisilicon/zip/zip_crypto.c void (*fn)(struct hisi_qp *, void *)) fn 349 drivers/crypto/hisilicon/zip/zip_crypto.c ctx->qp_ctx[i].qp->req_cb = fn; fn 2824 drivers/dma/amba-pl08x.c pl08x->slave.filter.fn = pl08x_filter_fn; fn 501 drivers/dma/dmaengine.c dma_filter_fn fn, void *fn_param) fn 525 drivers/dma/dmaengine.c if (fn && !fn(chan, fn_param)) { fn 538 drivers/dma/dmaengine.c dma_filter_fn fn, void *fn_param) fn 540 drivers/dma/dmaengine.c struct dma_chan *chan = private_candidate(mask, device, fn, fn_param); fn 637 drivers/dma/dmaengine.c dma_filter_fn fn, void *fn_param, fn 650 drivers/dma/dmaengine.c chan = find_candidate(device, mask, fn, fn_param); fn 725 drivers/dma/dmaengine.c chan = find_candidate(d, &mask, d->filter.fn, map->param); fn 259 drivers/dma/mcf-edma.c mcf_edma->dma_dev.filter.fn = mcf_edma_filter_fn; fn 1405 drivers/dma/pxa_dma.c pdev->slave.filter.fn = pxad_filter_fn; fn 1304 drivers/dma/s3c24xx-dma.c s3cdma->slave.filter.fn = s3c24xx_dma_filter; fn 921 drivers/dma/sa11x0-dma.c d->slave.filter.fn = sa11x0_dma_filter_fn; fn 2451 drivers/dma/ti/edma.c ecc->dma_slave.filter.fn = edma_filter_fn; fn 69 drivers/dma/ti/omap-dma.c uint16_t fn; fn 80 drivers/dma/ti/omap-dma.c uint32_t fn; /* number of frames (16-bit) */ fn 257 drivers/dma/ti/omap-dma.c t2_desc->fn = sg->fn & 0xffff; fn 523 drivers/dma/ti/omap-dma.c omap_dma_chan_write(c, CFN, sg->fn); fn 714 drivers/dma/ti/omap-dma.c return sg->en * sg->fn; fn 1032 drivers/dma/ti/omap-dma.c osg->fn = sg_dma_len(sgent) / frame_bytes; fn 1118 drivers/dma/ti/omap-dma.c d->sg[0].fn = buf_len / period_len; fn 1189 drivers/dma/ti/omap-dma.c d->sg[0].fn = 1; fn 1244 drivers/dma/ti/omap-dma.c sg->fn = xt->numf; fn 1571 drivers/dma/ti/omap-dma.c od->ddev.filter.fn = omap_dma_filter_fn; fn 626 drivers/edac/edac_pci_sysfs.c static inline void edac_pci_dev_parity_iterator(pci_parity_check_fn_t fn) fn 631 drivers/edac/edac_pci_sysfs.c fn(dev); fn 52 drivers/firmware/arm_scmi/bus.c scmi_prot_init_fn_t fn = idr_find(&scmi_protocols, protocol_id); fn 54 drivers/firmware/arm_scmi/bus.c if (unlikely(!fn)) fn 56 drivers/firmware/arm_scmi/bus.c return fn(handle); fn 174 drivers/firmware/arm_scmi/bus.c int scmi_protocol_register(int protocol_id, scmi_prot_init_fn_t fn) fn 179 drivers/firmware/arm_scmi/bus.c ret = idr_alloc(&scmi_protocols, fn, protocol_id, protocol_id + 1, fn 85 drivers/firmware/arm_sdei.c static inline int sdei_do_cross_call(void *fn, struct sdei_event * event) fn 90 drivers/firmware/arm_sdei.c on_each_cpu(fn, &arg, true); fn 82 drivers/firmware/efi/dev-path-parser.c devfn = PCI_DEVFN(node->pci.dev, node->pci.fn); fn 133 drivers/firmware/efi/memattr.c efi_memattr_perm_setter fn) fn 176 drivers/firmware/efi/memattr.c ret = fn(mm, &md); fn 160 drivers/firmware/psci/psci.c u32 fn; fn 162 drivers/firmware/psci/psci.c fn = psci_function_id[PSCI_FN_CPU_SUSPEND]; fn 163 drivers/firmware/psci/psci.c err = invoke_psci_fn(fn, state, entry_point, 0); fn 170 drivers/firmware/psci/psci.c u32 fn; fn 172 drivers/firmware/psci/psci.c fn = psci_function_id[PSCI_FN_CPU_OFF]; fn 173 drivers/firmware/psci/psci.c err = invoke_psci_fn(fn, state, 0, 0); fn 180 drivers/firmware/psci/psci.c u32 fn; fn 182 drivers/firmware/psci/psci.c fn = psci_function_id[PSCI_FN_CPU_ON]; fn 183 drivers/firmware/psci/psci.c err = invoke_psci_fn(fn, cpuid, entry_point, 0); fn 190 drivers/firmware/psci/psci.c u32 fn; fn 192 drivers/firmware/psci/psci.c fn = psci_function_id[PSCI_FN_MIGRATE]; fn 193 drivers/firmware/psci/psci.c err = invoke_psci_fn(fn, cpuid, 0, 0); fn 104 drivers/gpio/gpio-wm831x.c int ret, fn; fn 120 drivers/gpio/gpio-wm831x.c fn = 0; fn 122 drivers/gpio/gpio-wm831x.c fn = 1; fn 126 drivers/gpio/gpio-wm831x.c return wm831x_set_bits(wm831x, reg, WM831X_GPN_FN_MASK, fn); fn 133 drivers/gpio/gpio-wm8994.c static const char *wm8994_gpio_fn(u16 fn) fn 135 drivers/gpio/gpio-wm8994.c switch (fn) { fn 910 drivers/gpu/drm/drm_ioc32.c drm_ioctl_compat_t *fn; fn 913 drivers/gpu/drm/drm_ioc32.c #define DRM_IOCTL32_DEF(n, f) [DRM_IOCTL_NR(n##32)] = {.fn = f, .name = #n} fn 974 drivers/gpu/drm/drm_ioc32.c drm_ioctl_compat_t *fn; fn 984 drivers/gpu/drm/drm_ioc32.c fn = drm_compat_ioctls[nr].fn; fn 985 drivers/gpu/drm/drm_ioc32.c if (!fn) fn 993 drivers/gpu/drm/drm_ioc32.c ret = (*fn)(filp, cmd, arg); fn 222 drivers/gpu/drm/i915/display/intel_overlay.c alloc_request(struct intel_overlay *overlay, void (*fn)(struct intel_overlay *)) fn 227 drivers/gpu/drm/i915/display/intel_overlay.c overlay->flip_complete = fn; fn 458 drivers/gpu/drm/i915/gem/i915_gem_context.c void (*fn)(struct intel_context *ce, void *data), fn 465 drivers/gpu/drm/i915/gem/i915_gem_context.c fn(ce, data); fn 2017 drivers/gpu/drm/i915/gem/i915_gem_context.c static int (* const fn[])(struct i915_gem_context *dst, fn 2037 drivers/gpu/drm/i915/gem/i915_gem_context.c BUILD_BUG_ON(GENMASK(BITS_PER_TYPE(local.flags) - 1, ARRAY_SIZE(fn)) != fn 2054 drivers/gpu/drm/i915/gem/i915_gem_context.c for (bit = 0; bit < ARRAY_SIZE(fn); bit++) { fn 2058 drivers/gpu/drm/i915/gem/i915_gem_context.c err = fn[bit](dst, src); fn 17 drivers/gpu/drm/i915/gt/selftest_engine.c typeof(*tests) *fn; fn 19 drivers/gpu/drm/i915/gt/selftest_engine.c for (fn = tests; *fn; fn++) { fn 22 drivers/gpu/drm/i915/gt/selftest_engine.c err = (*fn)(gt); fn 1183 drivers/gpu/drm/i915/gt/selftest_hangcheck.c int (*fn)(void *), fn 1280 drivers/gpu/drm/i915/gt/selftest_hangcheck.c tsk = kthread_run(fn, &arg, "igt/evict_vma"); fn 939 drivers/gpu/drm/i915/gt/selftest_workarounds.c bool (*fn)(struct intel_engine_cs *engine, fn 964 drivers/gpu/drm/i915/gt/selftest_workarounds.c if (!fn(engine, a[i], b[i], wa->reg)) fn 81 drivers/gpu/drm/i915/i915_ioc32.c drm_ioctl_compat_t *fn = NULL; fn 88 drivers/gpu/drm/i915/i915_ioc32.c fn = i915_compat_ioctls[nr - DRM_COMMAND_BASE]; fn 90 drivers/gpu/drm/i915/i915_ioc32.c if (fn != NULL) fn 91 drivers/gpu/drm/i915/i915_ioc32.c ret = (*fn) (filp, cmd, arg); fn 118 drivers/gpu/drm/i915/i915_sw_fence.c i915_sw_fence_notify_t fn; fn 120 drivers/gpu/drm/i915/i915_sw_fence.c fn = (i915_sw_fence_notify_t)(fence->flags & I915_SW_FENCE_MASK); fn 121 drivers/gpu/drm/i915/i915_sw_fence.c return fn(fence, state); fn 215 drivers/gpu/drm/i915/i915_sw_fence.c i915_sw_fence_notify_t fn, fn 219 drivers/gpu/drm/i915/i915_sw_fence.c BUG_ON(!fn || (unsigned long)fn & ~I915_SW_FENCE_MASK); fn 227 drivers/gpu/drm/i915/i915_sw_fence.c fence->flags = (unsigned long)fn; fn 42 drivers/gpu/drm/i915/i915_sw_fence.h i915_sw_fence_notify_t fn, fn 46 drivers/gpu/drm/i915/i915_sw_fence.h #define i915_sw_fence_init(fence, fn) \ fn 50 drivers/gpu/drm/i915/i915_sw_fence.h __i915_sw_fence_init((fence), (fn), #fence, &__key); \ fn 53 drivers/gpu/drm/i915/i915_sw_fence.h #define i915_sw_fence_init(fence, fn) \ fn 54 drivers/gpu/drm/i915/i915_sw_fence.h __i915_sw_fence_init((fence), (fn), NULL, NULL) fn 152 drivers/gpu/drm/mga/mga_ioc32.c drm_ioctl_compat_t *fn; fn 155 drivers/gpu/drm/mga/mga_ioc32.c #define DRM_IOCTL32_DEF(n, f)[DRM_##n] = {.fn = f, .name = #n} fn 174 drivers/gpu/drm/mga/mga_ioc32.c drm_ioctl_compat_t *fn = NULL; fn 183 drivers/gpu/drm/mga/mga_ioc32.c fn = mga_compat_ioctls[nr - DRM_COMMAND_BASE].fn; fn 184 drivers/gpu/drm/mga/mga_ioc32.c if (!fn) fn 192 drivers/gpu/drm/mga/mga_ioc32.c ret = (*fn) (filp, cmd, arg); fn 54 drivers/gpu/drm/nouveau/nouveau_ioc32.c drm_ioctl_compat_t *fn = NULL; fn 62 drivers/gpu/drm/nouveau/nouveau_ioc32.c fn = nouveau_compat_ioctls[nr - DRM_COMMAND_BASE]; fn 64 drivers/gpu/drm/nouveau/nouveau_ioc32.c if (fn != NULL) fn 65 drivers/gpu/drm/nouveau/nouveau_ioc32.c ret = (*fn)(filp, cmd, arg); fn 543 drivers/gpu/drm/nouveau/nouveau_svm.c int fi, fn, pi, fill; fn 595 drivers/gpu/drm/nouveau/nouveau_svm.c for (fi = 0; fn = fi + 1, fi < buffer->fault_nr; fi = fn) { fn 643 drivers/gpu/drm/nouveau/nouveau_svm.c for (fn = fi, pi = 0;;) { fn 648 drivers/gpu/drm/nouveau/nouveau_svm.c if (buffer->fault[fn]->access != 0 /* READ. */ && fn 649 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn]->access != 3 /* PREFETCH. */) { fn 664 drivers/gpu/drm/nouveau/nouveau_svm.c while (++fn < buffer->fault_nr && fn 665 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn]->svmm == svmm && fn 666 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn ]->addr == fn 667 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn - 1]->addr); fn 672 drivers/gpu/drm/nouveau/nouveau_svm.c if (fn >= buffer->fault_nr || fn 673 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn]->svmm != svmm || fn 674 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn]->addr >= limit) fn 678 drivers/gpu/drm/nouveau/nouveau_svm.c fill = (buffer->fault[fn ]->addr - fn 679 drivers/gpu/drm/nouveau/nouveau_svm.c buffer->fault[fn - 1]->addr) >> PAGE_SHIFT; fn 686 drivers/gpu/drm/nouveau/nouveau_svm.c args.i.p.addr + args.i.p.size, fn - fi); fn 721 drivers/gpu/drm/nouveau/nouveau_svm.c while (fi < fn) { fn 326 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h #define VMM_XO(m,v,o,d,c,b,fn,f,a...) do { \ fn 329 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h VMM_##fn((m), (m)->base + _pteo, _data, (c), b); \ fn 184 drivers/gpu/drm/r128/r128_ioc32.c drm_ioctl_compat_t *fn = NULL; fn 191 drivers/gpu/drm/r128/r128_ioc32.c fn = r128_compat_ioctls[nr - DRM_COMMAND_BASE]; fn 193 drivers/gpu/drm/r128/r128_ioc32.c if (fn != NULL) fn 194 drivers/gpu/drm/r128/r128_ioc32.c ret = (*fn) (filp, cmd, arg); fn 34 drivers/gpu/host1x/debug.c o->fn(o->ctx, o->buf, len, false); fn 46 drivers/gpu/host1x/debug.c o->fn(o->ctx, o->buf, len, true); fn 116 drivers/gpu/host1x/debug.c .fn = write_to_seqfile, fn 128 drivers/gpu/host1x/debug.c .fn = write_to_seqfile, fn 205 drivers/gpu/host1x/debug.c .fn = write_to_printk fn 214 drivers/gpu/host1x/debug.c .fn = write_to_printk fn 16 drivers/gpu/host1x/debug.h void (*fn)(void *ctx, const char *str, size_t len, bool cont); fn 806 drivers/hwmon/dme1737.c int fn = sensor_attr_2->nr; fn 809 drivers/hwmon/dme1737.c switch (fn) { fn 824 drivers/hwmon/dme1737.c dev_dbg(dev, "Unknown function %d.\n", fn); fn 837 drivers/hwmon/dme1737.c int fn = sensor_attr_2->nr; fn 846 drivers/hwmon/dme1737.c switch (fn) { fn 858 drivers/hwmon/dme1737.c dev_dbg(dev, "Unknown function %d.\n", fn); fn 884 drivers/hwmon/dme1737.c int fn = sensor_attr_2->nr; fn 887 drivers/hwmon/dme1737.c switch (fn) { fn 908 drivers/hwmon/dme1737.c dev_dbg(dev, "Unknown function %d.\n", fn); fn 921 drivers/hwmon/dme1737.c int fn = sensor_attr_2->nr; fn 930 drivers/hwmon/dme1737.c switch (fn) { fn 947 drivers/hwmon/dme1737.c dev_dbg(dev, "Unknown function %d.\n", fn); fn 972 drivers/hwmon/dme1737.c int fn = sensor_attr_2->nr; fn 975 drivers/hwmon/dme1737.c switch (fn) { fn 1000 drivers/hwmon/dme1737.c dev_dbg(dev, "Unknown function %d.\n", fn); fn 1013 drivers/hwmon/dme1737.c int fn = sensor_attr_2->nr; fn 1024 drivers/hwmon/dme1737.c switch (fn) { fn 1062 drivers/hwmon/dme1737.c dev_dbg(dev, "Unknown function %d.\n", fn); fn 1087 drivers/hwmon/dme1737.c int fn = sensor_attr_2->nr; fn 1090 drivers/hwmon/dme1737.c switch (fn) { fn 1114 drivers/hwmon/dme1737.c dev_dbg(dev, "Unknown function %d.\n", fn); fn 1127 drivers/hwmon/dme1737.c int fn = sensor_attr_2->nr; fn 1136 drivers/hwmon/dme1737.c switch (fn) { fn 1174 drivers/hwmon/dme1737.c dev_dbg(dev, "Unknown function %d.\n", fn); fn 1203 drivers/hwmon/dme1737.c int fn = sensor_attr_2->nr; fn 1206 drivers/hwmon/dme1737.c switch (fn) { fn 1250 drivers/hwmon/dme1737.c dev_dbg(dev, "Unknown function %d.\n", fn); fn 1266 drivers/hwmon/dme1737.c int fn = sensor_attr_2->nr; fn 1275 drivers/hwmon/dme1737.c switch (fn) { fn 1450 drivers/hwmon/dme1737.c dev_dbg(dev, "Unknown function %d.\n", fn); fn 347 drivers/hwmon/vt1211.c int fn = sensor_attr_2->nr; fn 350 drivers/hwmon/vt1211.c switch (fn) { fn 365 drivers/hwmon/vt1211.c dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); fn 378 drivers/hwmon/vt1211.c int fn = sensor_attr_2->nr; fn 387 drivers/hwmon/vt1211.c switch (fn) { fn 397 drivers/hwmon/vt1211.c dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); fn 421 drivers/hwmon/vt1211.c int fn = sensor_attr_2->nr; fn 424 drivers/hwmon/vt1211.c switch (fn) { fn 439 drivers/hwmon/vt1211.c dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); fn 452 drivers/hwmon/vt1211.c int fn = sensor_attr_2->nr; fn 461 drivers/hwmon/vt1211.c switch (fn) { fn 473 drivers/hwmon/vt1211.c dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); fn 497 drivers/hwmon/vt1211.c int fn = sensor_attr_2->nr; fn 500 drivers/hwmon/vt1211.c switch (fn) { fn 515 drivers/hwmon/vt1211.c dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); fn 528 drivers/hwmon/vt1211.c int fn = sensor_attr_2->nr; fn 545 drivers/hwmon/vt1211.c switch (fn) { fn 578 drivers/hwmon/vt1211.c dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); fn 603 drivers/hwmon/vt1211.c int fn = sensor_attr_2->nr; fn 606 drivers/hwmon/vt1211.c switch (fn) { fn 621 drivers/hwmon/vt1211.c dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); fn 634 drivers/hwmon/vt1211.c int fn = sensor_attr_2->nr; fn 645 drivers/hwmon/vt1211.c switch (fn) { fn 718 drivers/hwmon/vt1211.c dev_dbg(dev, "Unknown attr fetch (%d)\n", fn); fn 1985 drivers/hwmon/w83795.c static int w83795_handle_files(struct device *dev, int (*fn)(struct device *, fn 1997 drivers/hwmon/w83795.c err = fn(dev, &w83795_in[i][j].dev_attr); fn 2009 drivers/hwmon/w83795.c err = fn(dev, &w83795_fan[i][j].dev_attr); fn 2019 drivers/hwmon/w83795.c err = fn(dev, &w83795_tss[i].dev_attr); fn 2025 drivers/hwmon/w83795.c err = fn(dev, &sda_single_files[i].dev_attr); fn 2032 drivers/hwmon/w83795.c err = fn(dev, &sda_beep_files[i].dev_attr); fn 2040 drivers/hwmon/w83795.c err = fn(dev, &w83795_pwm[i][j].dev_attr); fn 2052 drivers/hwmon/w83795.c err = fn(dev, &w83795_temp[i][j].dev_attr); fn 2065 drivers/hwmon/w83795.c err = fn(dev, &w83795_dts[i][j].dev_attr); fn 48 drivers/hwtracing/coresight/coresight-priv.h coresight_read_fn fn = func; \ fn 51 drivers/hwtracing/coresight/coresight-priv.h if (fn) \ fn 52 drivers/hwtracing/coresight/coresight-priv.h val = (u64)fn(_dev->parent, lo_off); \ fn 575 drivers/hwtracing/intel_th/msu.c unsigned long (*fn)(void *, void *, size_t)) fn 624 drivers/hwtracing/intel_th/msu.c remaining = fn(data, src, tocopy); fn 1681 drivers/i2c/i2c-core-base.c int i2c_for_each_dev(void *data, int (*fn)(struct device *dev, void *data)) fn 1686 drivers/i2c/i2c-core-base.c res = bus_for_each_dev(&i2c_bus_type, NULL, data, fn); fn 1546 drivers/infiniband/ulp/srpt/ib_srpt.c static int srp_tmr_to_tcm(int fn) fn 1548 drivers/infiniband/ulp/srpt/ib_srpt.c switch (fn) { fn 2350 drivers/input/input.c int (*fn)(struct input_handle *, void *)) fn 2358 drivers/input/input.c retval = fn(handle, data); fn 208 drivers/input/rmi4/rmi_2d_sensor.c int rmi_2d_sensor_configure_input(struct rmi_function *fn, fn 211 drivers/input/rmi4/rmi_2d_sensor.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 61 drivers/input/rmi4/rmi_2d_sensor.h struct rmi_function *fn; fn 84 drivers/input/rmi4/rmi_2d_sensor.h int rmi_2d_sensor_configure_input(struct rmi_function *fn, fn 131 drivers/input/rmi4/rmi_bus.c struct rmi_function *fn = to_rmi_function(dev); fn 133 drivers/input/rmi4/rmi_bus.c kfree(fn); fn 149 drivers/input/rmi4/rmi_bus.c struct rmi_function *fn = to_rmi_function(dev); fn 151 drivers/input/rmi4/rmi_bus.c return fn->fd.function_number == handler->func; fn 155 drivers/input/rmi4/rmi_bus.c static void rmi_function_of_probe(struct rmi_function *fn) fn 158 drivers/input/rmi4/rmi_bus.c struct device_node *node = fn->rmi_dev->xport->dev->of_node; fn 161 drivers/input/rmi4/rmi_bus.c fn->fd.function_number); fn 162 drivers/input/rmi4/rmi_bus.c fn->dev.of_node = of_get_child_by_name(node, of_name); fn 165 drivers/input/rmi4/rmi_bus.c static inline void rmi_function_of_probe(struct rmi_function *fn) fn 173 drivers/input/rmi4/rmi_bus.c static int rmi_create_function_irq(struct rmi_function *fn, fn 176 drivers/input/rmi4/rmi_bus.c struct rmi_driver_data *drvdata = dev_get_drvdata(&fn->rmi_dev->dev); fn 179 drivers/input/rmi4/rmi_bus.c for (i = 0; i < fn->num_of_irqs; i++) { fn 180 drivers/input/rmi4/rmi_bus.c set_bit(fn->irq_pos + i, fn->irq_mask); fn 182 drivers/input/rmi4/rmi_bus.c fn->irq[i] = irq_create_mapping(drvdata->irqdomain, fn 183 drivers/input/rmi4/rmi_bus.c fn->irq_pos + i); fn 185 drivers/input/rmi4/rmi_bus.c irq_set_chip_data(fn->irq[i], fn); fn 186 drivers/input/rmi4/rmi_bus.c irq_set_chip_and_handler(fn->irq[i], &rmi_irq_chip, fn 188 drivers/input/rmi4/rmi_bus.c irq_set_nested_thread(fn->irq[i], 1); fn 190 drivers/input/rmi4/rmi_bus.c error = devm_request_threaded_irq(&fn->dev, fn->irq[i], NULL, fn 192 drivers/input/rmi4/rmi_bus.c dev_name(&fn->dev), fn); fn 194 drivers/input/rmi4/rmi_bus.c dev_err(&fn->dev, "Error %d registering IRQ\n", error); fn 204 drivers/input/rmi4/rmi_bus.c struct rmi_function *fn = to_rmi_function(dev); fn 209 drivers/input/rmi4/rmi_bus.c rmi_function_of_probe(fn); fn 212 drivers/input/rmi4/rmi_bus.c error = handler->probe(fn); fn 217 drivers/input/rmi4/rmi_bus.c if (fn->num_of_irqs && handler->attention) { fn 218 drivers/input/rmi4/rmi_bus.c error = rmi_create_function_irq(fn, handler); fn 228 drivers/input/rmi4/rmi_bus.c struct rmi_function *fn = to_rmi_function(dev); fn 233 drivers/input/rmi4/rmi_bus.c handler->remove(fn); fn 238 drivers/input/rmi4/rmi_bus.c int rmi_register_function(struct rmi_function *fn) fn 240 drivers/input/rmi4/rmi_bus.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 243 drivers/input/rmi4/rmi_bus.c device_initialize(&fn->dev); fn 245 drivers/input/rmi4/rmi_bus.c dev_set_name(&fn->dev, "%s.fn%02x", fn 246 drivers/input/rmi4/rmi_bus.c dev_name(&rmi_dev->dev), fn->fd.function_number); fn 248 drivers/input/rmi4/rmi_bus.c fn->dev.parent = &rmi_dev->dev; fn 249 drivers/input/rmi4/rmi_bus.c fn->dev.type = &rmi_function_type; fn 250 drivers/input/rmi4/rmi_bus.c fn->dev.bus = &rmi_bus_type; fn 252 drivers/input/rmi4/rmi_bus.c error = device_add(&fn->dev); fn 256 drivers/input/rmi4/rmi_bus.c dev_name(&fn->dev)); fn 261 drivers/input/rmi4/rmi_bus.c fn->fd.function_number); fn 266 drivers/input/rmi4/rmi_bus.c put_device(&fn->dev); fn 270 drivers/input/rmi4/rmi_bus.c void rmi_unregister_function(struct rmi_function *fn) fn 274 drivers/input/rmi4/rmi_bus.c rmi_dbg(RMI_DEBUG_CORE, &fn->dev, "Unregistering F%02X.\n", fn 275 drivers/input/rmi4/rmi_bus.c fn->fd.function_number); fn 277 drivers/input/rmi4/rmi_bus.c device_del(&fn->dev); fn 278 drivers/input/rmi4/rmi_bus.c of_node_put(fn->dev.of_node); fn 279 drivers/input/rmi4/rmi_bus.c put_device(&fn->dev); fn 281 drivers/input/rmi4/rmi_bus.c for (i = 0; i < fn->num_of_irqs; i++) fn 282 drivers/input/rmi4/rmi_bus.c irq_dispose_mapping(fn->irq[i]); fn 80 drivers/input/rmi4/rmi_bus.h int (*probe)(struct rmi_function *fn); fn 81 drivers/input/rmi4/rmi_bus.h void (*remove)(struct rmi_function *fn); fn 82 drivers/input/rmi4/rmi_bus.h int (*config)(struct rmi_function *fn); fn 83 drivers/input/rmi4/rmi_bus.h int (*reset)(struct rmi_function *fn); fn 85 drivers/input/rmi4/rmi_bus.h int (*suspend)(struct rmi_function *fn); fn 86 drivers/input/rmi4/rmi_bus.h int (*resume)(struct rmi_function *fn); fn 37 drivers/input/rmi4/rmi_driver.c struct rmi_function *fn, *tmp; fn 43 drivers/input/rmi4/rmi_driver.c list_for_each_entry_safe_reverse(fn, tmp, fn 45 drivers/input/rmi4/rmi_driver.c list_del(&fn->node); fn 46 drivers/input/rmi4/rmi_driver.c rmi_unregister_function(fn); fn 60 drivers/input/rmi4/rmi_driver.c static int reset_one_function(struct rmi_function *fn) fn 65 drivers/input/rmi4/rmi_driver.c if (!fn || !fn->dev.driver) fn 68 drivers/input/rmi4/rmi_driver.c fh = to_rmi_function_handler(fn->dev.driver); fn 70 drivers/input/rmi4/rmi_driver.c retval = fh->reset(fn); fn 72 drivers/input/rmi4/rmi_driver.c dev_err(&fn->dev, "Reset failed with code %d.\n", fn 79 drivers/input/rmi4/rmi_driver.c static int configure_one_function(struct rmi_function *fn) fn 84 drivers/input/rmi4/rmi_driver.c if (!fn || !fn->dev.driver) fn 87 drivers/input/rmi4/rmi_driver.c fh = to_rmi_function_handler(fn->dev.driver); fn 89 drivers/input/rmi4/rmi_driver.c retval = fh->config(fn); fn 91 drivers/input/rmi4/rmi_driver.c dev_err(&fn->dev, "Config failed with code %d.\n", fn 256 drivers/input/rmi4/rmi_driver.c static int suspend_one_function(struct rmi_function *fn) fn 261 drivers/input/rmi4/rmi_driver.c if (!fn || !fn->dev.driver) fn 264 drivers/input/rmi4/rmi_driver.c fh = to_rmi_function_handler(fn->dev.driver); fn 266 drivers/input/rmi4/rmi_driver.c retval = fh->suspend(fn); fn 268 drivers/input/rmi4/rmi_driver.c dev_err(&fn->dev, "Suspend failed with code %d.\n", fn 290 drivers/input/rmi4/rmi_driver.c static int resume_one_function(struct rmi_function *fn) fn 295 drivers/input/rmi4/rmi_driver.c if (!fn || !fn->dev.driver) fn 298 drivers/input/rmi4/rmi_driver.c fh = to_rmi_function_handler(fn->dev.driver); fn 300 drivers/input/rmi4/rmi_driver.c retval = fh->resume(fn); fn 302 drivers/input/rmi4/rmi_driver.c dev_err(&fn->dev, "Resume failed with code %d.\n", fn 834 drivers/input/rmi4/rmi_driver.c struct rmi_function *fn; fn 841 drivers/input/rmi4/rmi_driver.c fn = kzalloc(sizeof(struct rmi_function) + fn 844 drivers/input/rmi4/rmi_driver.c if (!fn) { fn 850 drivers/input/rmi4/rmi_driver.c INIT_LIST_HEAD(&fn->node); fn 851 drivers/input/rmi4/rmi_driver.c rmi_driver_copy_pdt_to_fd(pdt, &fn->fd); fn 853 drivers/input/rmi4/rmi_driver.c fn->rmi_dev = rmi_dev; fn 855 drivers/input/rmi4/rmi_driver.c fn->num_of_irqs = pdt->interrupt_source_count; fn 856 drivers/input/rmi4/rmi_driver.c fn->irq_pos = *current_irq_count; fn 857 drivers/input/rmi4/rmi_driver.c *current_irq_count += fn->num_of_irqs; fn 859 drivers/input/rmi4/rmi_driver.c for (i = 0; i < fn->num_of_irqs; i++) fn 860 drivers/input/rmi4/rmi_driver.c set_bit(fn->irq_pos + i, fn->irq_mask); fn 862 drivers/input/rmi4/rmi_driver.c error = rmi_register_function(fn); fn 867 drivers/input/rmi4/rmi_driver.c data->f01_container = fn; fn 869 drivers/input/rmi4/rmi_driver.c data->f34_container = fn; fn 871 drivers/input/rmi4/rmi_driver.c list_add_tail(&fn->node, &data->function_list); fn 103 drivers/input/rmi4/rmi_driver.h const char *rmi_f01_get_product_ID(struct rmi_function *fn); fn 106 drivers/input/rmi4/rmi_driver.h int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, fn 108 drivers/input/rmi4/rmi_driver.h void rmi_f03_commit_buttons(struct rmi_function *fn); fn 110 drivers/input/rmi4/rmi_driver.h static inline int rmi_f03_overwrite_button(struct rmi_function *fn, fn 115 drivers/input/rmi4/rmi_driver.h static inline void rmi_f03_commit_buttons(struct rmi_function *fn) {} fn 254 drivers/input/rmi4/rmi_f01.c const char *rmi_f01_get_product_ID(struct rmi_function *fn) fn 256 drivers/input/rmi4/rmi_f01.c struct f01_data *f01 = dev_get_drvdata(&fn->dev); fn 382 drivers/input/rmi4/rmi_f01.c static int rmi_f01_probe(struct rmi_function *fn) fn 384 drivers/input/rmi4/rmi_f01.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 389 drivers/input/rmi4/rmi_f01.c u16 ctrl_base_addr = fn->fd.control_base_addr; fn 393 drivers/input/rmi4/rmi_f01.c if (fn->dev.of_node) { fn 394 drivers/input/rmi4/rmi_f01.c error = rmi_f01_of_probe(&fn->dev, pdata); fn 399 drivers/input/rmi4/rmi_f01.c f01 = devm_kzalloc(&fn->dev, sizeof(struct f01_data), GFP_KERNEL); fn 410 drivers/input/rmi4/rmi_f01.c error = rmi_read(rmi_dev, fn->fd.control_base_addr, fn 413 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, "Failed to read F01 control: %d\n", error); fn 435 drivers/input/rmi4/rmi_f01.c dev_warn(&fn->dev, fn 442 drivers/input/rmi4/rmi_f01.c error = rmi_write(rmi_dev, fn->fd.control_base_addr, fn 445 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, "Failed to write F01 control: %d\n", error); fn 450 drivers/input/rmi4/rmi_f01.c error = rmi_read(rmi_dev, fn->fd.data_base_addr + 1, &temp); fn 452 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, "Failed to read Interrupt Status.\n"); fn 456 drivers/input/rmi4/rmi_f01.c error = rmi_f01_read_properties(rmi_dev, fn->fd.query_base_addr, fn 459 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, "Failed to read F01 properties.\n"); fn 463 drivers/input/rmi4/rmi_f01.c dev_info(&fn->dev, "found RMI device, manufacturer: %s, product: %s, fw id: %d\n", fn 482 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 491 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 507 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 516 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 537 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 546 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 554 drivers/input/rmi4/rmi_f01.c error = rmi_read(rmi_dev, fn->fd.data_base_addr, &device_status); fn 556 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 562 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 568 drivers/input/rmi4/rmi_f01.c dev_set_drvdata(&fn->dev, f01); fn 570 drivers/input/rmi4/rmi_f01.c error = sysfs_create_group(&fn->rmi_dev->dev.kobj, &rmi_f01_attr_group); fn 572 drivers/input/rmi4/rmi_f01.c dev_warn(&fn->dev, "Failed to create sysfs group: %d\n", error); fn 577 drivers/input/rmi4/rmi_f01.c static void rmi_f01_remove(struct rmi_function *fn) fn 580 drivers/input/rmi4/rmi_f01.c sysfs_remove_group(&fn->rmi_dev->dev.kobj, &rmi_f01_attr_group); fn 583 drivers/input/rmi4/rmi_f01.c static int rmi_f01_config(struct rmi_function *fn) fn 585 drivers/input/rmi4/rmi_f01.c struct f01_data *f01 = dev_get_drvdata(&fn->dev); fn 588 drivers/input/rmi4/rmi_f01.c error = rmi_write(fn->rmi_dev, fn->fd.control_base_addr, fn 591 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 597 drivers/input/rmi4/rmi_f01.c error = rmi_write(fn->rmi_dev, f01->doze_interval_addr, fn 600 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 605 drivers/input/rmi4/rmi_f01.c error = rmi_write_block(fn->rmi_dev, fn 610 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 618 drivers/input/rmi4/rmi_f01.c error = rmi_write(fn->rmi_dev, f01->doze_holdoff_addr, fn 621 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 630 drivers/input/rmi4/rmi_f01.c static int rmi_f01_suspend(struct rmi_function *fn) fn 632 drivers/input/rmi4/rmi_f01.c struct f01_data *f01 = dev_get_drvdata(&fn->dev); fn 640 drivers/input/rmi4/rmi_f01.c if (device_may_wakeup(fn->rmi_dev->xport->dev)) fn 645 drivers/input/rmi4/rmi_f01.c error = rmi_write(fn->rmi_dev, fn->fd.control_base_addr, fn 648 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, "Failed to write sleep mode: %d.\n", error); fn 659 drivers/input/rmi4/rmi_f01.c static int rmi_f01_resume(struct rmi_function *fn) fn 661 drivers/input/rmi4/rmi_f01.c struct f01_data *f01 = dev_get_drvdata(&fn->dev); fn 670 drivers/input/rmi4/rmi_f01.c error = rmi_write(fn->rmi_dev, fn->fd.control_base_addr, fn 673 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 683 drivers/input/rmi4/rmi_f01.c struct rmi_function *fn = ctx; fn 684 drivers/input/rmi4/rmi_f01.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 688 drivers/input/rmi4/rmi_f01.c error = rmi_read(rmi_dev, fn->fd.data_base_addr, &device_status); fn 690 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, fn 696 drivers/input/rmi4/rmi_f01.c dev_warn(&fn->dev, fn 700 drivers/input/rmi4/rmi_f01.c dev_warn(&fn->dev, "Device reset detected.\n"); fn 703 drivers/input/rmi4/rmi_f01.c dev_err(&fn->dev, "Device reset failed: %d\n", error); fn 29 drivers/input/rmi4/rmi_f03.c struct rmi_function *fn; fn 40 drivers/input/rmi4/rmi_f03.c int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, fn 43 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = dev_get_drvdata(&fn->dev); fn 59 drivers/input/rmi4/rmi_f03.c void rmi_f03_commit_buttons(struct rmi_function *fn) fn 61 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = dev_get_drvdata(&fn->dev); fn 79 drivers/input/rmi4/rmi_f03.c rmi_dbg(RMI_DEBUG_FN, &f03->fn->dev, fn 83 drivers/input/rmi4/rmi_f03.c error = rmi_write(f03->fn->rmi_dev, f03->fn->fd.data_base_addr, val); fn 85 drivers/input/rmi4/rmi_f03.c dev_err(&f03->fn->dev, fn 96 drivers/input/rmi4/rmi_f03.c struct rmi_function *fn = f03->fn; fn 97 drivers/input/rmi4/rmi_f03.c struct device *dev = &fn->dev; fn 104 drivers/input/rmi4/rmi_f03.c error = rmi_read(fn->rmi_dev, fn->fd.query_base_addr, &query1); fn 124 drivers/input/rmi4/rmi_f03.c error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr + 1, fn 142 drivers/input/rmi4/rmi_f03.c struct rmi_function *fn = f03->fn; fn 144 drivers/input/rmi4/rmi_f03.c const u16 data_addr = fn->fd.data_base_addr + RMI_F03_OB_OFFSET; fn 153 drivers/input/rmi4/rmi_f03.c error = rmi_read_block(fn->rmi_dev, data_addr, &obs, ob_len); fn 155 drivers/input/rmi4/rmi_f03.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, fn 159 drivers/input/rmi4/rmi_f03.c return fn->rmi_dev->driver->set_irq_bits(fn->rmi_dev, fn->irq_mask); fn 165 drivers/input/rmi4/rmi_f03.c struct rmi_function *fn = f03->fn; fn 167 drivers/input/rmi4/rmi_f03.c fn->rmi_dev->driver->clear_irq_bits(fn->rmi_dev, fn->irq_mask); fn 186 drivers/input/rmi4/rmi_f03.c dev_name(&f03->fn->dev)); fn 187 drivers/input/rmi4/rmi_f03.c serio->dev.parent = &f03->fn->dev; fn 192 drivers/input/rmi4/rmi_f03.c serio->name, dev_name(&f03->fn->dev)); fn 198 drivers/input/rmi4/rmi_f03.c static int rmi_f03_probe(struct rmi_function *fn) fn 200 drivers/input/rmi4/rmi_f03.c struct device *dev = &fn->dev; fn 208 drivers/input/rmi4/rmi_f03.c f03->fn = fn; fn 222 drivers/input/rmi4/rmi_f03.c static int rmi_f03_config(struct rmi_function *fn) fn 224 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = dev_get_drvdata(&fn->dev); fn 238 drivers/input/rmi4/rmi_f03.c fn->rmi_dev->driver->set_irq_bits(fn->rmi_dev, fn->irq_mask); fn 246 drivers/input/rmi4/rmi_f03.c struct rmi_function *fn = ctx; fn 247 drivers/input/rmi4/rmi_f03.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 249 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = dev_get_drvdata(&fn->dev); fn 250 drivers/input/rmi4/rmi_f03.c const u16 data_addr = fn->fd.data_base_addr + RMI_F03_OB_OFFSET; fn 262 drivers/input/rmi4/rmi_f03.c dev_warn(&fn->dev, "F03 interrupted, but data is missing!\n"); fn 272 drivers/input/rmi4/rmi_f03.c error = rmi_read_block(fn->rmi_dev, data_addr, &obs, ob_len); fn 274 drivers/input/rmi4/rmi_f03.c dev_err(&fn->dev, fn 295 drivers/input/rmi4/rmi_f03.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, fn 307 drivers/input/rmi4/rmi_f03.c static void rmi_f03_remove(struct rmi_function *fn) fn 309 drivers/input/rmi4/rmi_f03.c struct f03_data *f03 = dev_get_drvdata(&fn->dev); fn 670 drivers/input/rmi4/rmi_f11.c sensor->data_pkt = devm_kzalloc(&sensor->fn->dev, sensor->pkt_size, fn 728 drivers/input/rmi4/rmi_f11.c static int f11_read_control_regs(struct rmi_function *fn, fn 730 drivers/input/rmi4/rmi_f11.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 737 drivers/input/rmi4/rmi_f11.c dev_err(&fn->dev, "Failed to read ctrl0, code: %d.\n", error); fn 744 drivers/input/rmi4/rmi_f11.c static int f11_write_control_regs(struct rmi_function *fn, fn 749 drivers/input/rmi4/rmi_f11.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 1035 drivers/input/rmi4/rmi_f11.c static int rmi_f11_initialize(struct rmi_function *fn) fn 1037 drivers/input/rmi4/rmi_f11.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 1052 drivers/input/rmi4/rmi_f11.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "Initializing F11 values.\n"); fn 1059 drivers/input/rmi4/rmi_f11.c f11 = devm_kzalloc(&fn->dev, sizeof(struct f11_data) + mask_size * 2, fn 1064 drivers/input/rmi4/rmi_f11.c if (fn->dev.of_node) { fn 1065 drivers/input/rmi4/rmi_f11.c rc = rmi_2d_sensor_of_probe(&fn->dev, &f11->sensor_pdata); fn 1079 drivers/input/rmi4/rmi_f11.c set_bit(fn->irq_pos, f11->abs_mask); fn 1080 drivers/input/rmi4/rmi_f11.c set_bit(fn->irq_pos + 1, f11->rel_mask); fn 1082 drivers/input/rmi4/rmi_f11.c query_base_addr = fn->fd.query_base_addr; fn 1083 drivers/input/rmi4/rmi_f11.c control_base_addr = fn->fd.control_base_addr; fn 1097 drivers/input/rmi4/rmi_f11.c sensor->fn = fn; fn 1105 drivers/input/rmi4/rmi_f11.c rc = f11_read_control_regs(fn, &f11->dev_controls, fn 1108 drivers/input/rmi4/rmi_f11.c dev_err(&fn->dev, fn 1177 drivers/input/rmi4/rmi_f11.c sensor->tracking_pos = devm_kcalloc(&fn->dev, fn 1180 drivers/input/rmi4/rmi_f11.c sensor->tracking_slots = devm_kcalloc(&fn->dev, fn 1182 drivers/input/rmi4/rmi_f11.c sensor->objs = devm_kcalloc(&fn->dev, fn 1226 drivers/input/rmi4/rmi_f11.c rc = f11_write_control_regs(fn, &f11->sens_query, fn 1227 drivers/input/rmi4/rmi_f11.c &f11->dev_controls, fn->fd.control_base_addr); fn 1229 drivers/input/rmi4/rmi_f11.c dev_warn(&fn->dev, "Failed to write control registers\n"); fn 1233 drivers/input/rmi4/rmi_f11.c dev_set_drvdata(&fn->dev, f11); fn 1238 drivers/input/rmi4/rmi_f11.c static int rmi_f11_config(struct rmi_function *fn) fn 1240 drivers/input/rmi4/rmi_f11.c struct f11_data *f11 = dev_get_drvdata(&fn->dev); fn 1241 drivers/input/rmi4/rmi_f11.c struct rmi_driver *drv = fn->rmi_dev->driver; fn 1246 drivers/input/rmi4/rmi_f11.c drv->clear_irq_bits(fn->rmi_dev, f11->abs_mask); fn 1248 drivers/input/rmi4/rmi_f11.c drv->set_irq_bits(fn->rmi_dev, f11->abs_mask); fn 1251 drivers/input/rmi4/rmi_f11.c drv->clear_irq_bits(fn->rmi_dev, f11->rel_mask); fn 1253 drivers/input/rmi4/rmi_f11.c drv->set_irq_bits(fn->rmi_dev, f11->rel_mask); fn 1255 drivers/input/rmi4/rmi_f11.c rc = f11_write_control_regs(fn, &f11->sens_query, fn 1256 drivers/input/rmi4/rmi_f11.c &f11->dev_controls, fn->fd.query_base_addr); fn 1265 drivers/input/rmi4/rmi_f11.c struct rmi_function *fn = ctx; fn 1266 drivers/input/rmi4/rmi_f11.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 1268 drivers/input/rmi4/rmi_f11.c struct f11_data *f11 = dev_get_drvdata(&fn->dev); fn 1269 drivers/input/rmi4/rmi_f11.c u16 data_base_addr = fn->fd.data_base_addr; fn 1299 drivers/input/rmi4/rmi_f11.c static int rmi_f11_resume(struct rmi_function *fn) fn 1301 drivers/input/rmi4/rmi_f11.c struct f11_data *f11 = dev_get_drvdata(&fn->dev); fn 1304 drivers/input/rmi4/rmi_f11.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "Resuming...\n"); fn 1310 drivers/input/rmi4/rmi_f11.c error = rmi_write(fn->rmi_dev, fn->fd.command_base_addr, fn 1313 drivers/input/rmi4/rmi_f11.c dev_err(&fn->dev, fn 1322 drivers/input/rmi4/rmi_f11.c static int rmi_f11_probe(struct rmi_function *fn) fn 1327 drivers/input/rmi4/rmi_f11.c error = rmi_f11_initialize(fn); fn 1331 drivers/input/rmi4/rmi_f11.c f11 = dev_get_drvdata(&fn->dev); fn 1332 drivers/input/rmi4/rmi_f11.c error = rmi_2d_sensor_configure_input(fn, &f11->sensor); fn 67 drivers/input/rmi4/rmi_f12.c struct rmi_function *fn = sensor->fn; fn 68 drivers/input/rmi4/rmi_f12.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 79 drivers/input/rmi4/rmi_f12.c dev_err(&fn->dev, fn 87 drivers/input/rmi4/rmi_f12.c dev_err(&fn->dev, fn 93 drivers/input/rmi4/rmi_f12.c ret = rmi_read_block(rmi_dev, fn->fd.control_base_addr + offset, buf, fn 105 drivers/input/rmi4/rmi_f12.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: max_x: %d max_y: %d\n", __func__, fn 116 drivers/input/rmi4/rmi_f12.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, fn 138 drivers/input/rmi4/rmi_f12.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: x_mm: %d y_mm: %d\n", __func__, fn 201 drivers/input/rmi4/rmi_f12.c struct rmi_function *fn = ctx; fn 202 drivers/input/rmi4/rmi_f12.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 204 drivers/input/rmi4/rmi_f12.c struct f12_data *f12 = dev_get_drvdata(&fn->dev); fn 221 drivers/input/rmi4/rmi_f12.c dev_err(&fn->dev, "Failed to read object data. Code: %d.\n", fn 236 drivers/input/rmi4/rmi_f12.c static int rmi_f12_write_control_regs(struct rmi_function *fn) fn 240 drivers/input/rmi4/rmi_f12.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 241 drivers/input/rmi4/rmi_f12.c struct f12_data *f12 = dev_get_drvdata(&fn->dev); fn 262 drivers/input/rmi4/rmi_f12.c ret = rmi_read_block(rmi_dev, fn->fd.control_base_addr fn 283 drivers/input/rmi4/rmi_f12.c fn->fd.control_base_addr + control_offset, fn 294 drivers/input/rmi4/rmi_f12.c static int rmi_f12_config(struct rmi_function *fn) fn 296 drivers/input/rmi4/rmi_f12.c struct rmi_driver *drv = fn->rmi_dev->driver; fn 297 drivers/input/rmi4/rmi_f12.c struct f12_data *f12 = dev_get_drvdata(&fn->dev); fn 304 drivers/input/rmi4/rmi_f12.c drv->clear_irq_bits(fn->rmi_dev, f12->abs_mask); fn 306 drivers/input/rmi4/rmi_f12.c drv->set_irq_bits(fn->rmi_dev, f12->abs_mask); fn 308 drivers/input/rmi4/rmi_f12.c drv->clear_irq_bits(fn->rmi_dev, f12->rel_mask); fn 310 drivers/input/rmi4/rmi_f12.c ret = rmi_f12_write_control_regs(fn); fn 312 drivers/input/rmi4/rmi_f12.c dev_warn(&fn->dev, fn 318 drivers/input/rmi4/rmi_f12.c static int rmi_f12_probe(struct rmi_function *fn) fn 322 drivers/input/rmi4/rmi_f12.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 324 drivers/input/rmi4/rmi_f12.c u16 query_addr = fn->fd.query_base_addr; fn 332 drivers/input/rmi4/rmi_f12.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s\n", __func__); fn 336 drivers/input/rmi4/rmi_f12.c ret = rmi_read(fn->rmi_dev, query_addr, &buf); fn 338 drivers/input/rmi4/rmi_f12.c dev_err(&fn->dev, "Failed to read general info register: %d\n", fn 345 drivers/input/rmi4/rmi_f12.c dev_err(&fn->dev, fn 350 drivers/input/rmi4/rmi_f12.c f12 = devm_kzalloc(&fn->dev, sizeof(struct f12_data) + mask_size * 2, fn 360 drivers/input/rmi4/rmi_f12.c set_bit(fn->irq_pos, f12->abs_mask); fn 361 drivers/input/rmi4/rmi_f12.c set_bit(fn->irq_pos + 1, f12->rel_mask); fn 365 drivers/input/rmi4/rmi_f12.c if (fn->dev.of_node) { fn 366 drivers/input/rmi4/rmi_f12.c ret = rmi_2d_sensor_of_probe(&fn->dev, &f12->sensor_pdata); fn 376 drivers/input/rmi4/rmi_f12.c dev_err(&fn->dev, fn 386 drivers/input/rmi4/rmi_f12.c dev_err(&fn->dev, fn 396 drivers/input/rmi4/rmi_f12.c dev_err(&fn->dev, fn 404 drivers/input/rmi4/rmi_f12.c sensor->fn = fn; fn 405 drivers/input/rmi4/rmi_f12.c f12->data_addr = fn->fd.data_base_addr; fn 419 drivers/input/rmi4/rmi_f12.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: data packet size: %d\n", __func__, fn 421 drivers/input/rmi4/rmi_f12.c sensor->data_pkt = devm_kzalloc(&fn->dev, sensor->pkt_size, GFP_KERNEL); fn 425 drivers/input/rmi4/rmi_f12.c dev_set_drvdata(&fn->dev, f12); fn 524 drivers/input/rmi4/rmi_f12.c sensor->tracking_pos = devm_kcalloc(&fn->dev, fn 527 drivers/input/rmi4/rmi_f12.c sensor->tracking_slots = devm_kcalloc(&fn->dev, fn 529 drivers/input/rmi4/rmi_f12.c sensor->objs = devm_kcalloc(&fn->dev, fn 536 drivers/input/rmi4/rmi_f12.c ret = rmi_2d_sensor_configure_input(fn, sensor); fn 84 drivers/input/rmi4/rmi_f30.c static int rmi_f30_read_control_parameters(struct rmi_function *fn, fn 89 drivers/input/rmi4/rmi_f30.c error = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr, fn 92 drivers/input/rmi4/rmi_f30.c dev_err(&fn->dev, fn 94 drivers/input/rmi4/rmi_f30.c __func__, fn->fd.control_base_addr, error); fn 101 drivers/input/rmi4/rmi_f30.c static void rmi_f30_report_button(struct rmi_function *fn, fn 114 drivers/input/rmi4/rmi_f30.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, fn 124 drivers/input/rmi4/rmi_f30.c struct rmi_function *fn = ctx; fn 125 drivers/input/rmi4/rmi_f30.c struct f30_data *f30 = dev_get_drvdata(&fn->dev); fn 126 drivers/input/rmi4/rmi_f30.c struct rmi_driver_data *drvdata = dev_get_drvdata(&fn->rmi_dev->dev); fn 133 drivers/input/rmi4/rmi_f30.c dev_warn(&fn->dev, fn 142 drivers/input/rmi4/rmi_f30.c error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr, fn 145 drivers/input/rmi4/rmi_f30.c dev_err(&fn->dev, fn 155 drivers/input/rmi4/rmi_f30.c rmi_f30_report_button(fn, f30, i); fn 163 drivers/input/rmi4/rmi_f30.c static int rmi_f30_config(struct rmi_function *fn) fn 165 drivers/input/rmi4/rmi_f30.c struct f30_data *f30 = dev_get_drvdata(&fn->dev); fn 166 drivers/input/rmi4/rmi_f30.c struct rmi_driver *drv = fn->rmi_dev->driver; fn 168 drivers/input/rmi4/rmi_f30.c rmi_get_platform_data(fn->rmi_dev); fn 177 drivers/input/rmi4/rmi_f30.c f30->f03 = rmi_find_function(fn->rmi_dev, 0x03); fn 182 drivers/input/rmi4/rmi_f30.c drv->clear_irq_bits(fn->rmi_dev, fn->irq_mask); fn 185 drivers/input/rmi4/rmi_f30.c error = rmi_write_block(fn->rmi_dev, fn->fd.control_base_addr, fn 188 drivers/input/rmi4/rmi_f30.c dev_err(&fn->dev, fn 190 drivers/input/rmi4/rmi_f30.c __func__, fn->fd.control_base_addr, error); fn 194 drivers/input/rmi4/rmi_f30.c drv->set_irq_bits(fn->rmi_dev, fn->irq_mask); fn 223 drivers/input/rmi4/rmi_f30.c static int rmi_f30_map_gpios(struct rmi_function *fn, fn 227 drivers/input/rmi4/rmi_f30.c rmi_get_platform_data(fn->rmi_dev); fn 235 drivers/input/rmi4/rmi_f30.c f30->gpioled_key_map = devm_kcalloc(&fn->dev, fn 240 drivers/input/rmi4/rmi_f30.c dev_err(&fn->dev, "Failed to allocate gpioled map memory.\n"); fn 273 drivers/input/rmi4/rmi_f30.c static int rmi_f30_initialize(struct rmi_function *fn, struct f30_data *f30) fn 276 drivers/input/rmi4/rmi_f30.c int control_address = fn->fd.control_base_addr; fn 280 drivers/input/rmi4/rmi_f30.c error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr, fn 283 drivers/input/rmi4/rmi_f30.c dev_err(&fn->dev, "Failed to read query register\n"); fn 349 drivers/input/rmi4/rmi_f30.c error = rmi_f30_read_control_parameters(fn, f30); fn 351 drivers/input/rmi4/rmi_f30.c dev_err(&fn->dev, fn 358 drivers/input/rmi4/rmi_f30.c error = rmi_f30_map_gpios(fn, f30); fn 366 drivers/input/rmi4/rmi_f30.c static int rmi_f30_probe(struct rmi_function *fn) fn 368 drivers/input/rmi4/rmi_f30.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 379 drivers/input/rmi4/rmi_f30.c dev_info(&fn->dev, "F30: no input device found, ignoring\n"); fn 383 drivers/input/rmi4/rmi_f30.c f30 = devm_kzalloc(&fn->dev, sizeof(*f30), GFP_KERNEL); fn 389 drivers/input/rmi4/rmi_f30.c error = rmi_f30_initialize(fn, f30); fn 393 drivers/input/rmi4/rmi_f30.c dev_set_drvdata(&fn->dev, f30); fn 18 drivers/input/rmi4/rmi_f34.c struct rmi_function *fn = f34->fn; fn 19 drivers/input/rmi4/rmi_f34.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 23 drivers/input/rmi4/rmi_f34.c ret = rmi_read_block(rmi_dev, fn->fd.query_base_addr, fn 26 drivers/input/rmi4/rmi_f34.c dev_err(&fn->dev, "%s: Reading bootloader ID failed: %d\n", fn 31 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: writing bootloader id '%c%c'\n", fn 35 drivers/input/rmi4/rmi_f34.c fn->fd.data_base_addr + F34_BLOCK_DATA_OFFSET, fn 38 drivers/input/rmi4/rmi_f34.c dev_err(&fn->dev, "Failed to write bootloader ID: %d\n", ret); fn 48 drivers/input/rmi4/rmi_f34.c struct rmi_function *fn = f34->fn; fn 49 drivers/input/rmi4/rmi_f34.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 62 drivers/input/rmi4/rmi_f34.c dev_err(&f34->fn->dev, fn 72 drivers/input/rmi4/rmi_f34.c dev_err(&f34->fn->dev, fn 83 drivers/input/rmi4/rmi_f34.c dev_err(&f34->fn->dev, fn 90 drivers/input/rmi4/rmi_f34.c dev_err(&f34->fn->dev, fn 102 drivers/input/rmi4/rmi_f34.c struct rmi_function *fn = ctx; fn 103 drivers/input/rmi4/rmi_f34.c struct f34_data *f34 = dev_get_drvdata(&fn->dev); fn 108 drivers/input/rmi4/rmi_f34.c ret = rmi_read(f34->fn->rmi_dev, f34->v5.ctrl_address, fn 110 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: status: %#02x, ret: %d\n", fn 116 drivers/input/rmi4/rmi_f34.c ret = rmi_read_block(f34->fn->rmi_dev, fn 117 drivers/input/rmi4/rmi_f34.c f34->fn->fd.data_base_addr + fn 120 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: status: %#02x, ret: %d\n", fn 133 drivers/input/rmi4/rmi_f34.c struct rmi_function *fn = f34->fn; fn 134 drivers/input/rmi4/rmi_f34.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 135 drivers/input/rmi4/rmi_f34.c u16 address = fn->fd.data_base_addr + F34_BLOCK_DATA_OFFSET; fn 140 drivers/input/rmi4/rmi_f34.c ret = rmi_write_block(rmi_dev, fn->fd.data_base_addr, fn 143 drivers/input/rmi4/rmi_f34.c dev_err(&fn->dev, "Failed to write initial zeros: %d\n", ret); fn 151 drivers/input/rmi4/rmi_f34.c dev_err(&fn->dev, fn 158 drivers/input/rmi4/rmi_f34.c dev_err(&fn->dev, fn 164 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "wrote block %d of %d\n", fn 197 drivers/input/rmi4/rmi_f34.c struct rmi_function *fn = f34->fn; fn 206 drivers/input/rmi4/rmi_f34.c dev_info(&fn->dev, "Erasing firmware...\n"); fn 212 drivers/input/rmi4/rmi_f34.c dev_info(&fn->dev, "Writing firmware (%d bytes)...\n", fn 225 drivers/input/rmi4/rmi_f34.c dev_info(&fn->dev, "Erasing config...\n"); fn 232 drivers/input/rmi4/rmi_f34.c dev_info(&fn->dev, "Writing config (%d bytes)...\n", fn 254 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 260 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 267 drivers/input/rmi4/rmi_f34.c dev_err(&f34->fn->dev, fn 276 drivers/input/rmi4/rmi_f34.c dev_err(&f34->fn->dev, fn 285 drivers/input/rmi4/rmi_f34.c dev_err(&f34->fn->dev, "Bad firmware image: no config data\n"); fn 290 drivers/input/rmi4/rmi_f34.c dev_info(&f34->fn->dev, "Firmware image OK\n"); fn 301 drivers/input/rmi4/rmi_f34.c static int rmi_f34_status(struct rmi_function *fn) fn 303 drivers/input/rmi4/rmi_f34.c struct f34_data *f34 = dev_get_drvdata(&fn->dev); fn 317 drivers/input/rmi4/rmi_f34.c struct rmi_function *fn = data->f34_container; fn 320 drivers/input/rmi4/rmi_f34.c if (fn) { fn 321 drivers/input/rmi4/rmi_f34.c f34 = dev_get_drvdata(&fn->dev); fn 343 drivers/input/rmi4/rmi_f34.c struct rmi_function *fn = data->f34_container; fn 346 drivers/input/rmi4/rmi_f34.c if (fn) { fn 347 drivers/input/rmi4/rmi_f34.c f34 = dev_get_drvdata(&fn->dev); fn 423 drivers/input/rmi4/rmi_f34.c dev_err(&f34->fn->dev, fn 426 drivers/input/rmi4/rmi_f34.c dev_info(&f34->fn->dev, "Firmware update complete\n"); fn 520 drivers/input/rmi4/rmi_f34.c static int rmi_f34_probe(struct rmi_function *fn) fn 525 drivers/input/rmi4/rmi_f34.c u8 version = fn->fd.function_version; fn 528 drivers/input/rmi4/rmi_f34.c f34 = devm_kzalloc(&fn->dev, sizeof(struct f34_data), GFP_KERNEL); fn 532 drivers/input/rmi4/rmi_f34.c f34->fn = fn; fn 533 drivers/input/rmi4/rmi_f34.c dev_set_drvdata(&fn->dev, f34); fn 541 drivers/input/rmi4/rmi_f34.c ret = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr, fn 544 drivers/input/rmi4/rmi_f34.c dev_err(&fn->dev, "%s: Failed to query properties\n", fn 558 drivers/input/rmi4/rmi_f34.c f34->v5.ctrl_address = fn->fd.data_base_addr + F34_BLOCK_DATA_OFFSET + fn 562 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "Bootloader ID: %s\n", fn 564 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "Block size: %d\n", fn 566 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "FW blocks: %d\n", fn 568 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "CFG blocks: %d\n", fn 572 drivers/input/rmi4/rmi_f34.c ret = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr, fn 575 drivers/input/rmi4/rmi_f34.c dev_err(&fn->dev, "Failed to read F34 config ID\n"); fn 584 drivers/input/rmi4/rmi_f34.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "Configuration ID: %s\n", fn 292 drivers/input/rmi4/rmi_f34.h struct rmi_function *fn; fn 27 drivers/input/rmi4/rmi_f34v7.c ret = rmi_read_block(f34->fn->rmi_dev, fn 28 drivers/input/rmi4/rmi_f34v7.c f34->fn->fd.data_base_addr + f34->v7.off.flash_status, fn 32 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 41 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: status=%d, command=0x%02x\n", fn 45 drivers/input/rmi4/rmi_f34v7.c ret = rmi_read_block(f34->fn->rmi_dev, fn 46 drivers/input/rmi4/rmi_f34v7.c f34->fn->fd.data_base_addr + f34->v7.off.flash_cmd, fn 50 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to read flash command\n", fn 67 drivers/input/rmi4/rmi_f34v7.c dev_warn(&f34->fn->dev, "%s: Timed out waiting for idle status\n", fn 82 drivers/input/rmi4/rmi_f34v7.c base = f34->fn->fd.data_base_addr; fn 124 drivers/input/rmi4/rmi_f34v7.c ret = rmi_write_block(f34->fn->rmi_dev, fn 128 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, fn 143 drivers/input/rmi4/rmi_f34v7.c base = f34->fn->fd.data_base_addr; fn 169 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Invalid command 0x%02x\n", fn 194 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, "%s: writing cmd %02X\n", fn 197 drivers/input/rmi4/rmi_f34v7.c ret = rmi_write_block(f34->fn->rmi_dev, fn 201 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to write flash command\n", fn 215 drivers/input/rmi4/rmi_f34v7.c base = f34->fn->fd.data_base_addr; fn 259 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Invalid command 0x%02x\n", fn 264 drivers/input/rmi4/rmi_f34v7.c ret = rmi_write_block(f34->fn->rmi_dev, fn 268 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to write partition ID\n", fn 284 drivers/input/rmi4/rmi_f34v7.c base = f34->fn->fd.data_base_addr; fn 292 drivers/input/rmi4/rmi_f34v7.c ret = rmi_write_block(f34->fn->rmi_dev, fn 296 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to write block number\n", fn 303 drivers/input/rmi4/rmi_f34v7.c ret = rmi_write_block(f34->fn->rmi_dev, fn 307 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to write transfer length\n", fn 316 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to write command\n", fn 332 drivers/input/rmi4/rmi_f34v7.c ret = rmi_read_block(f34->fn->rmi_dev, fn 337 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to read block data\n", fn 361 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 368 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 375 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 382 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 388 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 395 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 401 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 407 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 413 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 429 drivers/input/rmi4/rmi_f34v7.c base = f34->fn->fd.query_base_addr; fn 431 drivers/input/rmi4/rmi_f34v7.c ret = rmi_read_block(f34->fn->rmi_dev, fn 436 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, fn 443 drivers/input/rmi4/rmi_f34v7.c ret = rmi_read_block(f34->fn->rmi_dev, fn 448 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to read queries 1 to 7\n", fn 456 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, "Bootloader V%d.%d\n", fn 472 drivers/input/rmi4/rmi_f34v7.c base = f34->fn->fd.query_base_addr; fn 474 drivers/input/rmi4/rmi_f34v7.c ret = rmi_read_block(f34->fn->rmi_dev, fn 479 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, fn 486 drivers/input/rmi4/rmi_f34v7.c ret = rmi_read_block(f34->fn->rmi_dev, fn 491 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to read queries 1 to 7\n", fn 504 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, "%s: f34->v7.block_size = %d\n", fn 521 drivers/input/rmi4/rmi_f34v7.c ret = rmi_read_block(f34->fn->rmi_dev, fn 522 drivers/input/rmi4/rmi_f34v7.c f34->fn->fd.control_base_addr, fn 535 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, "Configuration ID: %s\n", fn 543 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, "%s: Supported partitions: %*ph\n", fn 550 drivers/input/rmi4/rmi_f34v7.c f34->v7.read_config_buf = devm_kzalloc(&f34->fn->dev, fn 563 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to read partition table\n", fn 582 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, fn 599 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "UI config size mismatch\n"); fn 614 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "Display config size mismatch\n"); fn 629 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "Guest code size mismatch\n"); fn 644 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "Bootloader config size mismatch\n"); fn 655 drivers/input/rmi4/rmi_f34v7.c dev_info(&f34->fn->dev, "Erasing config...\n"); fn 688 drivers/input/rmi4/rmi_f34v7.c dev_info(&f34->fn->dev, "Erasing guest code...\n"); fn 707 drivers/input/rmi4/rmi_f34v7.c dev_info(&f34->fn->dev, "Erasing firmware...\n"); fn 752 drivers/input/rmi4/rmi_f34v7.c base = f34->fn->fd.data_base_addr; fn 758 drivers/input/rmi4/rmi_f34v7.c ret = rmi_write_block(f34->fn->rmi_dev, fn 762 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to write block number\n", fn 774 drivers/input/rmi4/rmi_f34v7.c ret = rmi_write_block(f34->fn->rmi_dev, fn 778 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, fn 794 drivers/input/rmi4/rmi_f34v7.c ret = rmi_read_block(f34->fn->rmi_dev, fn 799 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, fn 824 drivers/input/rmi4/rmi_f34v7.c base = f34->fn->fd.data_base_addr; fn 830 drivers/input/rmi4/rmi_f34v7.c ret = rmi_write_block(f34->fn->rmi_dev, fn 834 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to write block number\n", fn 850 drivers/input/rmi4/rmi_f34v7.c ret = rmi_write_block(f34->fn->rmi_dev, fn 854 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, fn 864 drivers/input/rmi4/rmi_f34v7.c ret = rmi_write_block(f34->fn->rmi_dev, fn 868 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, fn 933 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Flash config size mismatch\n", fn 944 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 966 drivers/input/rmi4/rmi_f34v7.c devm_kfree(&f34->fn->dev, f34->v7.read_config_buf); fn 967 drivers/input/rmi4/rmi_f34v7.c f34->v7.read_config_buf = devm_kzalloc(&f34->fn->dev, fn 1088 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, "%s: f34->v7.img.checksum=%X\n", fn 1107 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 1160 drivers/input/rmi4/rmi_f34v7.c rmi_dbg(RMI_DEBUG_FN, &f34->fn->dev, fn 1169 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "Unsupported image file format %02X\n", fn 1175 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: No flash config in fw image\n", fn 1192 drivers/input/rmi4/rmi_f34v7.c f34->fn->rmi_dev->driver->set_irq_bits(f34->fn->rmi_dev, fn 1193 drivers/input/rmi4/rmi_f34v7.c f34->fn->irq_mask); fn 1240 drivers/input/rmi4/rmi_f34v7.c dev_info(&f34->fn->dev, "%s: Partition table programmed\n", fn 1244 drivers/input/rmi4/rmi_f34v7.c dev_info(&f34->fn->dev, "Writing firmware (%d bytes)...\n", fn 1251 drivers/input/rmi4/rmi_f34v7.c dev_info(&f34->fn->dev, "Writing config (%d bytes)...\n", fn 1260 drivers/input/rmi4/rmi_f34v7.c dev_info(&f34->fn->dev, "Writing display config...\n"); fn 1269 drivers/input/rmi4/rmi_f34v7.c dev_info(&f34->fn->dev, "Writing guest code...\n"); fn 1285 drivers/input/rmi4/rmi_f34v7.c f34->fn->rmi_dev->driver->set_irq_bits(f34->fn->rmi_dev, f34->fn->irq_mask); fn 1311 drivers/input/rmi4/rmi_f34v7.c f34->fn->rmi_dev->driver->set_irq_bits(f34->fn->rmi_dev, f34->fn->irq_mask); fn 1321 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Partition table mismatch\n", fn 1327 drivers/input/rmi4/rmi_f34v7.c dev_info(&f34->fn->dev, "Firmware image OK\n"); fn 1334 drivers/input/rmi4/rmi_f34v7.c dev_info(&f34->fn->dev, "%s: Device in bootloader mode\n", fn 1351 drivers/input/rmi4/rmi_f34v7.c ret = rmi_read_block(f34->fn->rmi_dev, fn 1352 drivers/input/rmi4/rmi_f34v7.c f34->fn->fd.query_base_addr + V7_BOOTLOADER_ID_OFFSET, fn 1356 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Failed to read bootloader ID\n", fn 1368 drivers/input/rmi4/rmi_f34v7.c dev_err(&f34->fn->dev, "%s: Unrecognized bootloader version\n", fn 90 drivers/input/rmi4/rmi_f54.c struct rmi_function *fn; fn 170 drivers/input/rmi4/rmi_f54.c static int rmi_f54_request_report(struct rmi_function *fn, u8 report_type) fn 172 drivers/input/rmi4/rmi_f54.c struct f54_data *f54 = dev_get_drvdata(&fn->dev); fn 173 drivers/input/rmi4/rmi_f54.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 178 drivers/input/rmi4/rmi_f54.c error = rmi_write(rmi_dev, f54->fn->fd.data_base_addr, fn 194 drivers/input/rmi4/rmi_f54.c error = rmi_write(rmi_dev, fn->fd.command_base_addr, F54_GET_REPORT); fn 213 drivers/input/rmi4/rmi_f54.c struct rmi_device *rmi_dev = f54->fn->rmi_dev; fn 312 drivers/input/rmi4/rmi_f54.c ret = rmi_f54_request_report(f54->fn, reptype); fn 314 drivers/input/rmi4/rmi_f54.c dev_err(&f54->fn->dev, "Error requesting F54 report\n"); fn 326 drivers/input/rmi4/rmi_f54.c dev_err(&f54->fn->dev, "Timed out\n"); fn 335 drivers/input/rmi4/rmi_f54.c dev_err(&f54->fn->dev, "Error acquiring frame ptr\n"); fn 377 drivers/input/rmi4/rmi_f54.c "rmi4:%s", dev_name(&f54->fn->dev)); fn 400 drivers/input/rmi4/rmi_f54.c struct rmi_device *rmi_dev = f54->fn->rmi_dev; fn 517 drivers/input/rmi4/rmi_f54.c struct rmi_function *fn = f54->fn; fn 528 drivers/input/rmi4/rmi_f54.c dev_err(&fn->dev, "Bad report size, report type=%d\n", fn 542 drivers/input/rmi4/rmi_f54.c error = rmi_read(fn->rmi_dev, f54->fn->fd.command_base_addr, fn 545 drivers/input/rmi4/rmi_f54.c dev_err(&fn->dev, "Failed to read back command\n"); fn 550 drivers/input/rmi4/rmi_f54.c dev_err(&fn->dev, "Get report command timed out\n"); fn 557 drivers/input/rmi4/rmi_f54.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "Get report command completed, reading data\n"); fn 563 drivers/input/rmi4/rmi_f54.c error = rmi_write_block(fn->rmi_dev, fn 564 drivers/input/rmi4/rmi_f54.c fn->fd.data_base_addr + F54_FIFO_OFFSET, fn 567 drivers/input/rmi4/rmi_f54.c dev_err(&fn->dev, "Failed to set fifo start offset\n"); fn 571 drivers/input/rmi4/rmi_f54.c error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr + fn 575 drivers/input/rmi4/rmi_f54.c dev_err(&fn->dev, "%s: read [%d bytes] returned %d\n", fn 600 drivers/input/rmi4/rmi_f54.c static int rmi_f54_config(struct rmi_function *fn) fn 602 drivers/input/rmi4/rmi_f54.c struct rmi_driver *drv = fn->rmi_dev->driver; fn 604 drivers/input/rmi4/rmi_f54.c drv->clear_irq_bits(fn->rmi_dev, fn->irq_mask); fn 609 drivers/input/rmi4/rmi_f54.c static int rmi_f54_detect(struct rmi_function *fn) fn 615 drivers/input/rmi4/rmi_f54.c f54 = dev_get_drvdata(&fn->dev); fn 617 drivers/input/rmi4/rmi_f54.c error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr, fn 620 drivers/input/rmi4/rmi_f54.c dev_err(&fn->dev, "%s: Failed to query F54 properties\n", fn 631 drivers/input/rmi4/rmi_f54.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "F54 num_rx_electrodes: %d\n", fn 633 drivers/input/rmi4/rmi_f54.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "F54 num_tx_electrodes: %d\n", fn 635 drivers/input/rmi4/rmi_f54.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "F54 capabilities: 0x%x\n", fn 637 drivers/input/rmi4/rmi_f54.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "F54 clock rate: 0x%x\n", fn 639 drivers/input/rmi4/rmi_f54.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "F54 family: 0x%x\n", fn 647 drivers/input/rmi4/rmi_f54.c static int rmi_f54_probe(struct rmi_function *fn) fn 653 drivers/input/rmi4/rmi_f54.c f54 = devm_kzalloc(&fn->dev, sizeof(struct f54_data), GFP_KERNEL); fn 657 drivers/input/rmi4/rmi_f54.c f54->fn = fn; fn 658 drivers/input/rmi4/rmi_f54.c dev_set_drvdata(&fn->dev, f54); fn 660 drivers/input/rmi4/rmi_f54.c ret = rmi_f54_detect(fn); fn 669 drivers/input/rmi4/rmi_f54.c f54->report_data = devm_kzalloc(&fn->dev, fn 686 drivers/input/rmi4/rmi_f54.c ret = v4l2_device_register(&fn->dev, &f54->v4l2); fn 688 drivers/input/rmi4/rmi_f54.c dev_err(&fn->dev, "Unable to register video dev.\n"); fn 697 drivers/input/rmi4/rmi_f54.c f54->queue.dev = &fn->dev; fn 712 drivers/input/rmi4/rmi_f54.c dev_err(&fn->dev, "Unable to register video subdevice."); fn 727 drivers/input/rmi4/rmi_f54.c static void rmi_f54_remove(struct rmi_function *fn) fn 729 drivers/input/rmi4/rmi_f54.c struct f54_data *f54 = dev_get_drvdata(&fn->dev); fn 27 drivers/input/rmi4/rmi_f55.c struct rmi_function *fn; fn 36 drivers/input/rmi4/rmi_f55.c static int rmi_f55_detect(struct rmi_function *fn) fn 38 drivers/input/rmi4/rmi_f55.c struct rmi_device *rmi_dev = fn->rmi_dev; fn 43 drivers/input/rmi4/rmi_f55.c f55 = dev_get_drvdata(&fn->dev); fn 45 drivers/input/rmi4/rmi_f55.c error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr, fn 48 drivers/input/rmi4/rmi_f55.c dev_err(&fn->dev, "%s: Failed to query F55 properties\n", fn 73 drivers/input/rmi4/rmi_f55.c error = rmi_read_block(fn->rmi_dev, fn 74 drivers/input/rmi4/rmi_f55.c fn->fd.control_base_addr + 1, fn 86 drivers/input/rmi4/rmi_f55.c error = rmi_read_block(fn->rmi_dev, fn 87 drivers/input/rmi4/rmi_f55.c fn->fd.control_base_addr + 2, fn 100 drivers/input/rmi4/rmi_f55.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "F55 num_rx_electrodes: %d (raw %d)\n", fn 102 drivers/input/rmi4/rmi_f55.c rmi_dbg(RMI_DEBUG_FN, &fn->dev, "F55 num_tx_electrodes: %d (raw %d)\n", fn 108 drivers/input/rmi4/rmi_f55.c static int rmi_f55_probe(struct rmi_function *fn) fn 112 drivers/input/rmi4/rmi_f55.c f55 = devm_kzalloc(&fn->dev, sizeof(struct f55_data), GFP_KERNEL); fn 116 drivers/input/rmi4/rmi_f55.c f55->fn = fn; fn 117 drivers/input/rmi4/rmi_f55.c dev_set_drvdata(&fn->dev, f55); fn 119 drivers/input/rmi4/rmi_f55.c return rmi_f55_detect(fn); fn 2770 drivers/input/touchscreen/atmel_mxt_ts.c static int mxt_load_fw(struct device *dev, const char *fn) fn 2780 drivers/input/touchscreen/atmel_mxt_ts.c ret = request_firmware(&fw, fn, dev); fn 2782 drivers/input/touchscreen/atmel_mxt_ts.c dev_err(dev, "Unable to open firmware %s\n", fn); fn 4572 drivers/iommu/amd_iommu.c struct fwnode_handle *fn; fn 4574 drivers/iommu/amd_iommu.c fn = irq_domain_alloc_named_id_fwnode("AMD-IR", iommu->index); fn 4575 drivers/iommu/amd_iommu.c if (!fn) fn 4577 drivers/iommu/amd_iommu.c iommu->ir_domain = irq_domain_create_tree(fn, &amd_ir_domain_ops, iommu); fn 4578 drivers/iommu/amd_iommu.c irq_domain_free_fwnode(fn); fn 2977 drivers/iommu/amd_iommu_init.c unsigned int bus, dev, fn; fn 2981 drivers/iommu/amd_iommu_init.c ret = sscanf(str, "[%d]=%x:%x.%x", &id, &bus, &dev, &fn); fn 2994 drivers/iommu/amd_iommu_init.c devid = ((bus & 0xff) << 8) | ((dev & 0x1f) << 3) | (fn & 0x7); fn 3007 drivers/iommu/amd_iommu_init.c unsigned int bus, dev, fn; fn 3011 drivers/iommu/amd_iommu_init.c ret = sscanf(str, "[%d]=%x:%x.%x", &id, &bus, &dev, &fn); fn 3024 drivers/iommu/amd_iommu_init.c devid = ((bus & 0xff) << 8) | ((dev & 0x1f) << 3) | (fn & 0x7); fn 3037 drivers/iommu/amd_iommu_init.c u32 bus, dev, fn; fn 3042 drivers/iommu/amd_iommu_init.c ret = sscanf(str, "[%x:%x.%x]=%s", &bus, &dev, &fn, acpiid); fn 3061 drivers/iommu/amd_iommu_init.c ((bus & 0xff) << 8) | ((dev & 0x1f) << 3) | (fn & 0x7); fn 142 drivers/iommu/hyperv-iommu.c struct fwnode_handle *fn; fn 149 drivers/iommu/hyperv-iommu.c fn = irq_domain_alloc_named_id_fwnode("HYPERV-IR", 0); fn 150 drivers/iommu/hyperv-iommu.c if (!fn) fn 155 drivers/iommu/hyperv-iommu.c 0, IOAPIC_REMAPPING_ENTRY, fn, fn 158 drivers/iommu/hyperv-iommu.c irq_domain_free_fwnode(fn); fn 390 drivers/iommu/intel-iommu.c int for_each_device_domain(int (*fn)(struct device_domain_info *info, fn 399 drivers/iommu/intel-iommu.c ret = fn(info, data); fn 532 drivers/iommu/intel_irq_remapping.c struct fwnode_handle *fn; fn 557 drivers/iommu/intel_irq_remapping.c fn = irq_domain_alloc_named_id_fwnode("INTEL-IR", iommu->seq_id); fn 558 drivers/iommu/intel_irq_remapping.c if (!fn) fn 564 drivers/iommu/intel_irq_remapping.c fn, &intel_ir_domain_ops, fn 566 drivers/iommu/intel_irq_remapping.c irq_domain_free_fwnode(fn); fn 832 drivers/iommu/iommu.c int (*fn)(struct device *, void *)) fn 838 drivers/iommu/iommu.c ret = fn(device->dev, data); fn 847 drivers/iommu/iommu.c int (*fn)(struct device *, void *)) fn 852 drivers/iommu/iommu.c ret = __iommu_group_for_each_dev(group, data, fn); fn 635 drivers/iommu/omap-iommu.c int (*fn)(struct omap_iommu *, u32, u32, u32); fn 644 drivers/iommu/omap-iommu.c fn = iopgd_alloc_super; fn 647 drivers/iommu/omap-iommu.c fn = iopgd_alloc_section; fn 650 drivers/iommu/omap-iommu.c fn = iopte_alloc_large; fn 653 drivers/iommu/omap-iommu.c fn = iopte_alloc_page; fn 656 drivers/iommu/omap-iommu.c fn = NULL; fn 660 drivers/iommu/omap-iommu.c if (WARN_ON(!fn)) fn 666 drivers/iommu/omap-iommu.c err = fn(obj, e->da, e->pa, prot); fn 765 drivers/irqchip/irq-gic-v3.c static int gic_iterate_rdists(int (*fn)(struct redist_region *, void __iomem *)) fn 784 drivers/irqchip/irq-gic-v3.c ret = fn(gic_data.redist_regions + i, ptr); fn 902 drivers/md/bcache/bcache.h #define kobj_attribute_write(n, fn) \ fn 903 drivers/md/bcache/bcache.h static struct kobj_attribute ksysfs_##n = __ATTR(n, 0200, NULL, fn) fn 1171 drivers/md/bcache/bset.c struct btree_keys *b, ptr_filter_fn fn) fn 1177 drivers/md/bcache/bset.c } while (ret && fn(b, ret)); fn 332 drivers/md/bcache/bset.h ptr_filter_fn fn); fn 122 drivers/md/bcache/btree.c #define btree(fn, key, b, op, ...) \ fn 129 drivers/md/bcache/btree.c _r = bch_btree_ ## fn(_child, op, ##__VA_ARGS__); \ fn 142 drivers/md/bcache/btree.c #define btree_root(fn, c, op, ...) \ fn 151 drivers/md/bcache/btree.c _r = bch_btree_ ## fn(_b, op, ##__VA_ARGS__); \ fn 2387 drivers/md/bcache/btree.c btree_map_nodes_fn *fn, int flags) fn 2400 drivers/md/bcache/btree.c op, from, fn, flags); fn 2409 drivers/md/bcache/btree.c ret = fn(op, b); fn 2415 drivers/md/bcache/btree.c struct bkey *from, btree_map_nodes_fn *fn, int flags) fn 2417 drivers/md/bcache/btree.c return btree_root(map_nodes_recurse, c, op, from, fn, flags); fn 2421 drivers/md/bcache/btree.c struct bkey *from, btree_map_keys_fn *fn, fn 2432 drivers/md/bcache/btree.c ? fn(op, b, k) fn 2433 drivers/md/bcache/btree.c : btree(map_keys_recurse, k, b, op, from, fn, flags); fn 2441 drivers/md/bcache/btree.c ret = fn(op, b, &KEY(KEY_INODE(&b->key), fn 2448 drivers/md/bcache/btree.c struct bkey *from, btree_map_keys_fn *fn, int flags) fn 2450 drivers/md/bcache/btree.c return btree_root(map_keys_recurse, c, op, from, fn, flags); fn 299 drivers/md/bcache/btree.h struct bkey *from, btree_map_nodes_fn *fn, int flags); fn 302 drivers/md/bcache/btree.h struct bkey *from, btree_map_nodes_fn *fn) fn 304 drivers/md/bcache/btree.h return __bch_btree_map_nodes(op, c, from, fn, MAP_ALL_NODES); fn 310 drivers/md/bcache/btree.h btree_map_nodes_fn *fn) fn 312 drivers/md/bcache/btree.h return __bch_btree_map_nodes(op, c, from, fn, MAP_LEAF_NODES); fn 318 drivers/md/bcache/btree.h struct bkey *from, btree_map_keys_fn *fn, int flags); fn 24 drivers/md/bcache/closure.c if (cl->fn && !(flags & CLOSURE_DESTRUCTOR)) { fn 30 drivers/md/bcache/closure.c closure_fn *destructor = cl->fn; fn 179 drivers/md/bcache/closure.c cl, (void *) cl->ip, cl->fn, cl->parent, fn 149 drivers/md/bcache/closure.h closure_fn *fn; fn 227 drivers/md/bcache/closure.h static inline void set_closure_fn(struct closure *cl, closure_fn *fn, fn 231 drivers/md/bcache/closure.h cl->fn = fn; fn 244 drivers/md/bcache/closure.h BUILD_BUG_ON(offsetof(struct closure, fn) fn 250 drivers/md/bcache/closure.h cl->fn(cl); fn 370 drivers/md/bcache/closure.h static inline void closure_call(struct closure *cl, closure_fn fn, fn 375 drivers/md/bcache/closure.h continue_at_nobarrier(cl, fn, wq); fn 15 drivers/md/bcache/sysfs.h #define SHOW(fn) \ fn 16 drivers/md/bcache/sysfs.h static ssize_t fn ## _show(struct kobject *kobj, struct attribute *attr,\ fn 19 drivers/md/bcache/sysfs.h #define STORE(fn) \ fn 20 drivers/md/bcache/sysfs.h static ssize_t fn ## _store(struct kobject *kobj, struct attribute *attr,\ fn 23 drivers/md/bcache/sysfs.h #define SHOW_LOCKED(fn) \ fn 24 drivers/md/bcache/sysfs.h SHOW(fn) \ fn 28 drivers/md/bcache/sysfs.h ret = __ ## fn ## _show(kobj, attr, buf); \ fn 33 drivers/md/bcache/sysfs.h #define STORE_LOCKED(fn) \ fn 34 drivers/md/bcache/sysfs.h STORE(fn) \ fn 38 drivers/md/bcache/sysfs.h ret = __ ## fn ## _store(kobj, attr, buf, size); \ fn 561 drivers/md/dm-bufio.c .notify.fn = dmio_complete, fn 1150 drivers/md/dm-cache-metadata.c load_discard_fn fn, void *context) fn 1171 drivers/md/dm-cache-metadata.c r = fn(context, cmd->discard_block_size, to_dblock(b), fn 1188 drivers/md/dm-cache-metadata.c r = fn(context, cmd->discard_block_size, to_dblock(b), false); fn 1198 drivers/md/dm-cache-metadata.c load_discard_fn fn, void *context) fn 1203 drivers/md/dm-cache-metadata.c r = __load_discards(cmd, fn, context); fn 1273 drivers/md/dm-cache-metadata.c load_mapping_fn fn; fn 1325 drivers/md/dm-cache-metadata.c load_mapping_fn fn, void *context) fn 1351 drivers/md/dm-cache-metadata.c r = fn(context, oblock, to_cblock(cb), dirty, fn 1367 drivers/md/dm-cache-metadata.c load_mapping_fn fn, void *context) fn 1393 drivers/md/dm-cache-metadata.c r = fn(context, oblock, to_cblock(cb), dirty, fn 1406 drivers/md/dm-cache-metadata.c load_mapping_fn fn, void *context) fn 1446 drivers/md/dm-cache-metadata.c fn, context); fn 1450 drivers/md/dm-cache-metadata.c fn, context); fn 1495 drivers/md/dm-cache-metadata.c load_mapping_fn fn, void *context) fn 1500 drivers/md/dm-cache-metadata.c r = __load_mappings(cmd, policy, fn, context); fn 82 drivers/md/dm-cache-metadata.h load_discard_fn fn, void *context); fn 95 drivers/md/dm-cache-metadata.h load_mapping_fn fn, fn 126 drivers/md/dm-cache-target.c void (*fn)(struct work_struct *)) fn 128 drivers/md/dm-cache-target.c INIT_WORK(&k->ws, fn); fn 3423 drivers/md/dm-cache-target.c iterate_devices_callout_fn fn, void *data) fn 3428 drivers/md/dm-cache-target.c r = fn(ti, cache->cache_dev, 0, get_dev_size(cache->cache_dev), data); fn 3430 drivers/md/dm-cache-target.c r = fn(ti, cache->origin_dev, 0, ti->len, data); fn 2116 drivers/md/dm-clone-target.c iterate_devices_callout_fn fn, void *data) fn 2123 drivers/md/dm-clone-target.c ret = fn(ti, source_dev, 0, ti->len, data); fn 2125 drivers/md/dm-clone-target.c ret = fn(ti, dest_dev, 0, ti->len, data); fn 2940 drivers/md/dm-crypt.c iterate_devices_callout_fn fn, void *data) fn 2944 drivers/md/dm-crypt.c return fn(ti, cc->dev, cc->start, ti->len, data); fn 333 drivers/md/dm-delay.c iterate_devices_callout_fn fn, void *data) fn 338 drivers/md/dm-delay.c ret = fn(ti, dc->read.dev, dc->read.start, ti->len, data); fn 341 drivers/md/dm-delay.c ret = fn(ti, dc->write.dev, dc->write.start, ti->len, data); fn 344 drivers/md/dm-delay.c ret = fn(ti, dc->flush.dev, dc->flush.start, ti->len, data); fn 479 drivers/md/dm-dust.c static int dust_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, fn 484 drivers/md/dm-dust.c return fn(ti, dd->dev, dd->start, ti->len, data); fn 1344 drivers/md/dm-era-target.c static int in_worker0(struct era *era, int (*fn)(struct era_metadata *)) fn 1347 drivers/md/dm-era-target.c rpc.fn0 = fn; fn 1354 drivers/md/dm-era-target.c int (*fn)(struct era_metadata *, void *), void *arg) fn 1358 drivers/md/dm-era-target.c rpc.fn1 = fn; fn 1668 drivers/md/dm-era-target.c iterate_devices_callout_fn fn, void *data) fn 1671 drivers/md/dm-era-target.c return fn(ti, era->origin_dev, 0, get_dev_size(era->origin_dev), data); fn 481 drivers/md/dm-flakey.c static int flakey_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) fn 485 drivers/md/dm-flakey.c return fn(ti, fc->dev, fc->start, ti->len, data); fn 483 drivers/md/dm-integrity.c io_req.notify.fn = NULL; fn 961 drivers/md/dm-integrity.c io_req.notify.fn = complete_journal_io; fn 964 drivers/md/dm-integrity.c io_req.notify.fn = NULL; fn 1054 drivers/md/dm-integrity.c unsigned n_sectors, sector_t target, io_notify_fn fn, void *data) fn 1064 drivers/md/dm-integrity.c fn(-1UL, data); fn 1078 drivers/md/dm-integrity.c io_req.notify.fn = fn; fn 1088 drivers/md/dm-integrity.c fn(-1UL, data); fn 2419 drivers/md/dm-integrity.c io_req.notify.fn = NULL; fn 2986 drivers/md/dm-integrity.c iterate_devices_callout_fn fn, void *data) fn 2991 drivers/md/dm-integrity.c return fn(ti, ic->dev, ic->start + ic->initial_sectors + ic->metadata_run, ti->len, data); fn 2993 drivers/md/dm-integrity.c return fn(ti, ic->dev, 0, ti->len, data); fn 117 drivers/md/dm-io.c io_notify_fn fn = io->callback; fn 125 drivers/md/dm-io.c fn(error_bits, context); fn 468 drivers/md/dm-io.c struct dpages *dp, io_notify_fn fn, void *context) fn 474 drivers/md/dm-io.c fn(1, context); fn 482 drivers/md/dm-io.c io->callback = fn; fn 547 drivers/md/dm-io.c if (!io_req->notify.fn) fn 553 drivers/md/dm-io.c io_req->bi_op_flags, &dp, io_req->notify.fn, fn 1669 drivers/md/dm-ioctl.c ioctl_fn fn; fn 1699 drivers/md/dm-ioctl.c return _ioctls[cmd].fn; fn 1848 drivers/md/dm-ioctl.c ioctl_fn fn = NULL; fn 1875 drivers/md/dm-ioctl.c fn = lookup_ioctl(cmd, &ioctl_flags); fn 1876 drivers/md/dm-ioctl.c if (!fn) { fn 1895 drivers/md/dm-ioctl.c r = fn(file, param, input_param_size); fn 370 drivers/md/dm-kcopyd.c dm_kcopyd_notify_fn fn; fn 492 drivers/md/dm-kcopyd.c dm_kcopyd_notify_fn fn = job->fn; fn 505 drivers/md/dm-kcopyd.c fn(read_err, write_err, context); fn 559 drivers/md/dm-kcopyd.c .notify.fn = complete_io, fn 608 drivers/md/dm-kcopyd.c int (*fn) (struct kcopyd_job *)) fn 615 drivers/md/dm-kcopyd.c r = fn(job); fn 738 drivers/md/dm-kcopyd.c sub_job->fn = segment_complete; fn 776 drivers/md/dm-kcopyd.c unsigned int flags, dm_kcopyd_notify_fn fn, void *context) fn 840 drivers/md/dm-kcopyd.c job->fn = fn; fn 856 drivers/md/dm-kcopyd.c unsigned flags, dm_kcopyd_notify_fn fn, void *context) fn 858 drivers/md/dm-kcopyd.c dm_kcopyd_copy(kc, NULL, num_dests, dests, flags, fn, context); fn 863 drivers/md/dm-kcopyd.c dm_kcopyd_notify_fn fn, void *context) fn 871 drivers/md/dm-kcopyd.c job->fn = fn; fn 158 drivers/md/dm-linear.c iterate_devices_callout_fn fn, void *data) fn 162 drivers/md/dm-linear.c return fn(ti, lc->dev, lc->start, ti->len, data); fn 856 drivers/md/dm-log-writes.c iterate_devices_callout_fn fn, fn 861 drivers/md/dm-log-writes.c return fn(ti, lc->dev, 0, ti->len, data); fn 460 drivers/md/dm-log.c lc->io_req.notify.fn = NULL; fn 1898 drivers/md/dm-mpath.c iterate_devices_callout_fn fn, void *data) fn 1907 drivers/md/dm-mpath.c ret = fn(ti, p->path.dev, ti->begin, ti->len, data); fn 3721 drivers/md/dm-raid.c iterate_devices_callout_fn fn, void *data) fn 3729 drivers/md/dm-raid.c r = fn(ti, fn 542 drivers/md/dm-raid1.c .notify.fn = read_callback, fn 656 drivers/md/dm-raid1.c .notify.fn = write_callback, fn 1442 drivers/md/dm-raid1.c iterate_devices_callout_fn fn, void *data) fn 1449 drivers/md/dm-raid1.c ret = fn(ti, ms->mirror[i].dev, fn 243 drivers/md/dm-snap-persistent.c .notify.fn = NULL, fn 2371 drivers/md/dm-snap.c iterate_devices_callout_fn fn, void *data) fn 2376 drivers/md/dm-snap.c r = fn(ti, snap->origin, 0, ti->len, data); fn 2379 drivers/md/dm-snap.c r = fn(ti, snap->cow, 0, get_dev_size(snap->cow->bdev), data); fn 2715 drivers/md/dm-snap.c iterate_devices_callout_fn fn, void *data) fn 2719 drivers/md/dm-snap.c return fn(ti, o->dev, 0, ti->len, data); fn 462 drivers/md/dm-stripe.c iterate_devices_callout_fn fn, void *data) fn 469 drivers/md/dm-stripe.c ret = fn(ti, sc->stripe[i].dev, fn 534 drivers/md/dm-switch.c iterate_devices_callout_fn fn, void *data) fn 541 drivers/md/dm-switch.c r = fn(ti, sctx->path_list[path_nr].dmdev, fn 1320 drivers/md/dm-table.c void (*fn)(void *), void *context) fn 1323 drivers/md/dm-table.c t->event_fn = fn; fn 2056 drivers/md/dm-thin-metadata.c dm_sm_threshold_fn fn, fn 2062 drivers/md/dm-thin-metadata.c r = dm_sm_register_threshold_callback(pmd->metadata_sm, threshold, fn, context); fn 2069 drivers/md/dm-thin-metadata.c dm_pool_pre_commit_fn fn, fn 2073 drivers/md/dm-thin-metadata.c pmd->pre_commit_fn = fn; fn 219 drivers/md/dm-thin-metadata.h dm_sm_threshold_fn fn, fn 237 drivers/md/dm-thin-metadata.h dm_pool_pre_commit_fn fn, fn 475 drivers/md/dm-thin.c void (*fn)(void *, struct dm_bio_prison_cell *), fn 479 drivers/md/dm-thin.c dm_cell_visit_release(pool->prison, fn, context, cell); fn 1229 drivers/md/dm-thin.c process_mapping_fn *fn) fn 1241 drivers/md/dm-thin.c (*fn)(m); fn 1260 drivers/md/dm-thin.c bio_end_io_t *fn) fn 1263 drivers/md/dm-thin.c bio->bi_end_io = fn; fn 2472 drivers/md/dm-thin.c void (*fn)(struct work_struct *)) fn 2474 drivers/md/dm-thin.c INIT_WORK_ONSTACK(&pw->worker, fn); fn 2507 drivers/md/dm-thin.c static void noflush_work(struct thin_c *tc, void (*fn)(struct work_struct *)) fn 2512 drivers/md/dm-thin.c pool_work_wait(&w.pw, tc->pool, fn); fn 4054 drivers/md/dm-thin.c iterate_devices_callout_fn fn, void *data) fn 4058 drivers/md/dm-thin.c return fn(ti, pt->data_dev, 0, ti->len, data); fn 4469 drivers/md/dm-thin.c iterate_devices_callout_fn fn, void *data) fn 4485 drivers/md/dm-thin.c return fn(ti, tc->pool_dev, 0, pool->sectors_per_block * blocks, data); fn 163 drivers/md/dm-unstripe.c iterate_devices_callout_fn fn, void *data) fn 167 drivers/md/dm-unstripe.c return fn(ti, uc->dev, uc->physical_start, ti->len, data); fn 760 drivers/md/dm-verity-target.c iterate_devices_callout_fn fn, void *data) fn 764 drivers/md/dm-verity-target.c return fn(ti, v->data_dev, v->data_start, ti->len, data); fn 486 drivers/md/dm-writecache.c req.notify.fn = writecache_notify_io; fn 527 drivers/md/dm-writecache.c req.notify.fn = NULL; fn 894 drivers/md/dm-writecache.c req.notify.fn = NULL; fn 1308 drivers/md/dm-writecache.c iterate_devices_callout_fn fn, void *data) fn 1312 drivers/md/dm-writecache.c return fn(ti, wc->dev, 0, ti->len, data); fn 959 drivers/md/dm-zoned-target.c iterate_devices_callout_fn fn, void *data) fn 965 drivers/md/dm-zoned-target.c return fn(ti, dmz->ddev, 0, capacity, data); fn 3054 drivers/md/dm.c static int dm_call_pr(struct block_device *bdev, iterate_devices_callout_fn fn, fn 3075 drivers/md/dm.c ret = ti->type->iterate_devices(ti, fn, data); fn 53 drivers/md/dm.h void (*fn)(void *), void *context); fn 75 drivers/md/dm.h bool dm_table_supports_dax(struct dm_table *t, iterate_devices_callout_fn fn, fn 111 drivers/md/persistent-data/dm-array.c void (*fn)(void *, const void *)) fn 116 drivers/md/persistent-data/dm-array.c fn(info->value_type.context, element_at(info, ab, i)); fn 699 drivers/md/persistent-data/dm-array.c value_fn fn, void *context, unsigned base, unsigned new_nr) fn 709 drivers/md/persistent-data/dm-array.c r = fn(base + i, element_at(info, ab, i), context); fn 722 drivers/md/persistent-data/dm-array.c uint32_t size, value_fn fn, void *context) fn 742 drivers/md/persistent-data/dm-array.c r = populate_ablock_with_values(info, ab, fn, context, fn 851 drivers/md/persistent-data/dm-array.c int (*fn)(void *context, uint64_t key, void *leaf); fn 874 drivers/md/persistent-data/dm-array.c r = wi->fn(wi->context, keys[0] * max_entries + i, fn 886 drivers/md/persistent-data/dm-array.c int (*fn)(void *, uint64_t key, void *leaf), fn 892 drivers/md/persistent-data/dm-array.c wi.fn = fn; fn 131 drivers/md/persistent-data/dm-array.h uint32_t size, value_fn fn, void *context); fn 180 drivers/md/persistent-data/dm-array.h int (*fn)(void *context, uint64_t key, void *leaf), fn 43 drivers/md/persistent-data/dm-bitset.c bit_value_fn fn; fn 57 drivers/md/persistent-data/dm-bitset.c r = p->fn(index * 64 + bit, &bv, p->context); fn 73 drivers/md/persistent-data/dm-bitset.c uint32_t size, bit_value_fn fn, void *context) fn 76 drivers/md/persistent-data/dm-bitset.c p.fn = fn; fn 109 drivers/md/persistent-data/dm-bitset.h uint32_t size, bit_value_fn fn, void *context); fn 950 drivers/md/persistent-data/dm-btree.c int (*fn)(void *context, uint64_t *keys, void *leaf), fn 968 drivers/md/persistent-data/dm-btree.c r = walk_node(info, value64(n, i), fn, context); fn 973 drivers/md/persistent-data/dm-btree.c r = fn(context, &keys, value_ptr(n, i)); fn 985 drivers/md/persistent-data/dm-btree.c int (*fn)(void *context, uint64_t *keys, void *leaf), fn 989 drivers/md/persistent-data/dm-btree.c return walk_node(info, root, fn, context); fn 176 drivers/md/persistent-data/dm-btree.h int (*fn)(void *context, uint64_t *keys, void *leaf), fn 28 drivers/md/persistent-data/dm-space-map-metadata.c dm_sm_threshold_fn fn; fn 39 drivers/md/persistent-data/dm-space-map-metadata.c dm_sm_threshold_fn fn, void *context) fn 43 drivers/md/persistent-data/dm-space-map-metadata.c t->fn = fn; fn 61 drivers/md/persistent-data/dm-space-map-metadata.c t->fn(t->context); fn 514 drivers/md/persistent-data/dm-space-map-metadata.c dm_sm_threshold_fn fn, fn 519 drivers/md/persistent-data/dm-space-map-metadata.c set_threshold(&smm->threshold, threshold, fn, context); fn 71 drivers/md/persistent-data/dm-space-map.h dm_sm_threshold_fn fn, fn 147 drivers/md/persistent-data/dm-space-map.h dm_sm_threshold_fn fn, fn 151 drivers/md/persistent-data/dm-space-map.h return sm->register_threshold_callback(sm, threshold, fn, context); fn 410 drivers/media/mc/mc-device.c .fn = (long (*)(struct media_device *, void *))func, \ fn 423 drivers/media/mc/mc-device.c long (*fn)(struct media_device *dev, void *arg); fn 468 drivers/media/mc/mc-device.c ret = info->fn(dev, karg); fn 126 drivers/media/pci/cx18/cx18-dvb.c const char *fn = FWFILE; fn 129 drivers/media/pci/cx18/cx18-dvb.c ret = request_firmware(fw, fn, &cx->pci_dev->dev); fn 131 drivers/media/pci/cx18/cx18-dvb.c CX18_ERR("Unable to open firmware file %s\n", fn); fn 136 drivers/media/pci/cx18/cx18-dvb.c fn, (unsigned long) sz); fn 87 drivers/media/pci/cx18/cx18-firmware.c static int load_cpu_fw_direct(const char *fn, u8 __iomem *mem, struct cx18 *cx) fn 95 drivers/media/pci/cx18/cx18-firmware.c if (request_firmware(&fw, fn, &cx->pci_dev->dev)) { fn 96 drivers/media/pci/cx18/cx18-firmware.c CX18_ERR("Unable to open firmware %s\n", fn); fn 119 drivers/media/pci/cx18/cx18-firmware.c CX18_INFO("loaded %s firmware (%zu bytes)\n", fn, fw->size); fn 126 drivers/media/pci/cx18/cx18-firmware.c static int load_apu_fw_direct(const char *fn, u8 __iomem *dst, struct cx18 *cx, fn 139 drivers/media/pci/cx18/cx18-firmware.c if (request_firmware(&fw, fn, &cx->pci_dev->dev)) { fn 140 drivers/media/pci/cx18/cx18-firmware.c CX18_ERR("unable to open firmware %s\n", fn); fn 192 drivers/media/pci/cx18/cx18-firmware.c fn, apu_version, fw->size); fn 40 drivers/media/pci/ivtv/ivtv-firmware.c static int load_fw_direct(const char *fn, volatile u8 __iomem *mem, struct ivtv *itv, long size) fn 46 drivers/media/pci/ivtv/ivtv-firmware.c if (retries && request_firmware(&fw, fn, &itv->pdev->dev) == 0) { fn 56 drivers/media/pci/ivtv/ivtv-firmware.c IVTV_INFO("Retry: file loaded was not %s (expected size %ld, got %zu)\n", fn, size, fw->size); fn 67 drivers/media/pci/ivtv/ivtv-firmware.c IVTV_INFO("Loaded %s firmware (%zu bytes)\n", fn, fw->size); fn 71 drivers/media/pci/ivtv/ivtv-firmware.c IVTV_ERR("Unable to open firmware %s (must be %ld bytes)\n", fn, size); fn 49 drivers/misc/cxl/hcalls.c #define _CXL_LOOP_HCALL(call, rc, retbuf, fn, ...) \ fn 56 drivers/misc/cxl/hcalls.c rc = call(fn, retbuf, __VA_ARGS__, token); \ fn 69 drivers/misc/cxl/hcalls.c "%#x after %u msec\n", fn, total_delay); \ fn 84 drivers/misc/enclosure.c int enclosure_for_each_device(int (*fn)(struct enclosure_device *, void *), fn 92 drivers/misc/enclosure.c error = fn(edev, data); fn 127 drivers/misc/ocxl/afu_irq.c rc = ocxl_link_irq_alloc(ctx->afu->fn->link, &irq->hw_irq, fn 144 drivers/misc/ocxl/afu_irq.c ocxl_link_free_irq(ctx->afu->fn->link, irq->hw_irq); fn 164 drivers/misc/ocxl/afu_irq.c ocxl_link_free_irq(ctx->afu->fn->link, irq->hw_irq); fn 74 drivers/misc/ocxl/config.c static void read_pasid(struct pci_dev *dev, struct ocxl_fn_config *fn) fn 86 drivers/misc/ocxl/config.c fn->max_pasid_log = -1; fn 90 drivers/misc/ocxl/config.c fn->max_pasid_log = EXTRACT_BITS(val, 8, 12); fn 94 drivers/misc/ocxl/config.c dev_dbg(&dev->dev, " Max PASID log = %d\n", fn->max_pasid_log); fn 97 drivers/misc/ocxl/config.c static int read_dvsec_tl(struct pci_dev *dev, struct ocxl_fn_config *fn) fn 110 drivers/misc/ocxl/config.c fn->dvsec_tl_pos = pos; fn 114 drivers/misc/ocxl/config.c static int read_dvsec_function(struct pci_dev *dev, struct ocxl_fn_config *fn) fn 124 drivers/misc/ocxl/config.c fn->dvsec_function_pos = pos; fn 129 drivers/misc/ocxl/config.c fn->max_afu_index = -1; fn 133 drivers/misc/ocxl/config.c fn->max_afu_index = EXTRACT_BITS(val, 24, 29); fn 137 drivers/misc/ocxl/config.c dev_dbg(&dev->dev, " Max AFU index = %d\n", fn->max_afu_index); fn 141 drivers/misc/ocxl/config.c static int read_dvsec_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn) fn 145 drivers/misc/ocxl/config.c if (fn->max_afu_index < 0) { fn 146 drivers/misc/ocxl/config.c fn->dvsec_afu_info_pos = -1; fn 155 drivers/misc/ocxl/config.c fn->dvsec_afu_info_pos = pos; fn 189 drivers/misc/ocxl/config.c static int validate_function(struct pci_dev *dev, struct ocxl_fn_config *fn) fn 191 drivers/misc/ocxl/config.c if (fn->max_pasid_log == -1 && fn->max_afu_index >= 0) { fn 197 drivers/misc/ocxl/config.c if (fn->max_afu_index > OCXL_MAX_AFU_PER_FUNCTION) { fn 200 drivers/misc/ocxl/config.c fn->max_afu_index, OCXL_MAX_AFU_PER_FUNCTION); fn 206 drivers/misc/ocxl/config.c int ocxl_config_read_function(struct pci_dev *dev, struct ocxl_fn_config *fn) fn 210 drivers/misc/ocxl/config.c read_pasid(dev, fn); fn 212 drivers/misc/ocxl/config.c rc = read_dvsec_tl(dev, fn); fn 220 drivers/misc/ocxl/config.c rc = read_dvsec_function(dev, fn); fn 227 drivers/misc/ocxl/config.c rc = read_dvsec_afu_info(dev, fn); fn 241 drivers/misc/ocxl/config.c rc = validate_function(dev, fn); fn 246 drivers/misc/ocxl/config.c static int read_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn, fn 251 drivers/misc/ocxl/config.c int pos = fn->dvsec_afu_info_pos; fn 284 drivers/misc/ocxl/config.c static int read_template_version(struct pci_dev *dev, struct ocxl_fn_config *fn, fn 291 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_VERSION, &val32); fn 303 drivers/misc/ocxl/config.c struct ocxl_fn_config *fn, int afu_idx) fn 310 drivers/misc/ocxl/config.c fn->dvsec_afu_info_pos + OCXL_DVSEC_AFU_INFO_AFU_IDX, fn 313 drivers/misc/ocxl/config.c rc = read_template_version(dev, fn, &len, &templ_version); fn 344 drivers/misc/ocxl/config.c static int read_afu_name(struct pci_dev *dev, struct ocxl_fn_config *fn, fn 352 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_NAME + i, &val); fn 362 drivers/misc/ocxl/config.c static int read_afu_mmio(struct pci_dev *dev, struct ocxl_fn_config *fn, fn 371 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_MMIO_GLOBAL, &val); fn 377 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_MMIO_GLOBAL + 4, &val); fn 382 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_MMIO_GLOBAL_SZ, &val); fn 390 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_MMIO_PP, &val); fn 396 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_MMIO_PP + 4, &val); fn 401 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_MMIO_PP_SZ, &val); fn 487 drivers/misc/ocxl/config.c struct ocxl_fn_config *fn, fn 512 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_ALL_MEM_SZ, &val32); fn 532 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_LPC_MEM_START, &val32); fn 538 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_LPC_MEM_START + 4, &val32); fn 544 drivers/misc/ocxl/config.c rc = read_template_version(dev, fn, &templ_len, &templ_version); fn 549 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, fn 555 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, fn 574 drivers/misc/ocxl/config.c int ocxl_config_read_afu(struct pci_dev *dev, struct ocxl_fn_config *fn, fn 587 drivers/misc/ocxl/config.c fn->dvsec_afu_info_pos + OCXL_DVSEC_AFU_INFO_AFU_IDX, fn 590 drivers/misc/ocxl/config.c rc = read_afu_name(dev, fn, afu); fn 594 drivers/misc/ocxl/config.c rc = read_afu_info(dev, fn, OCXL_DVSEC_TEMPL_AFU_VERSION, &val32); fn 603 drivers/misc/ocxl/config.c rc = read_afu_mmio(dev, fn, afu); fn 607 drivers/misc/ocxl/config.c rc = read_afu_lpc_memory_info(dev, fn, afu); fn 84 drivers/misc/ocxl/context.c rc = ocxl_link_add_pe(ctx->afu->fn->link, ctx->pasid, pidr, ctx->tidr, fn 225 drivers/misc/ocxl/context.c dev = to_pci_dev(ctx->afu->fn->dev.parent); fn 249 drivers/misc/ocxl/context.c rc = ocxl_link_remove_pe(ctx->afu->fn->link, ctx->pasid); fn 6 drivers/misc/ocxl/core.c static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) fn 8 drivers/misc/ocxl/core.c return (get_device(&fn->dev) == NULL) ? NULL : fn; fn 11 drivers/misc/ocxl/core.c static void ocxl_fn_put(struct ocxl_fn *fn) fn 13 drivers/misc/ocxl/core.c put_device(&fn->dev); fn 16 drivers/misc/ocxl/core.c static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) fn 28 drivers/misc/ocxl/core.c afu->fn = fn; fn 29 drivers/misc/ocxl/core.c ocxl_fn_get(fn); fn 38 drivers/misc/ocxl/core.c ocxl_fn_put(afu->fn); fn 56 drivers/misc/ocxl/core.c struct ocxl_fn *fn = afu->fn; fn 58 drivers/misc/ocxl/core.c struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); fn 65 drivers/misc/ocxl/core.c fn->actag_enabled / fn->actag_supported; fn 66 drivers/misc/ocxl/core.c actag_offset = ocxl_actag_afu_alloc(fn, actag_count); fn 72 drivers/misc/ocxl/core.c afu->actag_base = fn->actag_base + actag_offset; fn 84 drivers/misc/ocxl/core.c struct ocxl_fn *fn = afu->fn; fn 87 drivers/misc/ocxl/core.c start_offset = afu->actag_base - fn->actag_base; fn 89 drivers/misc/ocxl/core.c ocxl_actag_afu_free(afu->fn, start_offset, size); fn 94 drivers/misc/ocxl/core.c struct ocxl_fn *fn = afu->fn; fn 96 drivers/misc/ocxl/core.c struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); fn 103 drivers/misc/ocxl/core.c pasid_offset = ocxl_pasid_afu_alloc(fn, pasid_count); fn 109 drivers/misc/ocxl/core.c afu->pasid_base = fn->pasid_base + pasid_offset; fn 123 drivers/misc/ocxl/core.c struct ocxl_fn *fn = afu->fn; fn 126 drivers/misc/ocxl/core.c start_offset = afu->pasid_base - fn->pasid_base; fn 128 drivers/misc/ocxl/core.c ocxl_pasid_afu_free(afu->fn, start_offset, size); fn 131 drivers/misc/ocxl/core.c static int reserve_fn_bar(struct ocxl_fn *fn, int bar) fn 133 drivers/misc/ocxl/core.c struct pci_dev *dev = to_pci_dev(fn->dev.parent); fn 140 drivers/misc/ocxl/core.c if (fn->bar_used[idx]++ == 0) { fn 148 drivers/misc/ocxl/core.c static void release_fn_bar(struct ocxl_fn *fn, int bar) fn 150 drivers/misc/ocxl/core.c struct pci_dev *dev = to_pci_dev(fn->dev.parent); fn 157 drivers/misc/ocxl/core.c if (--fn->bar_used[idx] == 0) fn 159 drivers/misc/ocxl/core.c WARN_ON(fn->bar_used[idx] < 0); fn 165 drivers/misc/ocxl/core.c struct pci_dev *pci_dev = to_pci_dev(afu->fn->dev.parent); fn 167 drivers/misc/ocxl/core.c rc = reserve_fn_bar(afu->fn, afu->config.global_mmio_bar); fn 171 drivers/misc/ocxl/core.c rc = reserve_fn_bar(afu->fn, afu->config.pp_mmio_bar); fn 173 drivers/misc/ocxl/core.c release_fn_bar(afu->fn, afu->config.global_mmio_bar); fn 187 drivers/misc/ocxl/core.c release_fn_bar(afu->fn, afu->config.pp_mmio_bar); fn 188 drivers/misc/ocxl/core.c release_fn_bar(afu->fn, afu->config.global_mmio_bar); fn 209 drivers/misc/ocxl/core.c release_fn_bar(afu->fn, afu->config.pp_mmio_bar); fn 210 drivers/misc/ocxl/core.c release_fn_bar(afu->fn, afu->config.global_mmio_bar); fn 217 drivers/misc/ocxl/core.c rc = ocxl_config_read_afu(dev, &afu->fn->config, &afu->config, afu_idx); fn 258 drivers/misc/ocxl/core.c struct pci_dev *dev = to_pci_dev(afu->fn->dev.parent); fn 263 drivers/misc/ocxl/core.c static int init_afu(struct pci_dev *dev, struct ocxl_fn *fn, u8 afu_idx) fn 268 drivers/misc/ocxl/core.c afu = alloc_afu(fn); fn 285 drivers/misc/ocxl/core.c list_add_tail(&afu->list, &fn->afu_list); fn 301 drivers/misc/ocxl/core.c struct ocxl_fn *fn; fn 303 drivers/misc/ocxl/core.c fn = kzalloc(sizeof(struct ocxl_fn), GFP_KERNEL); fn 304 drivers/misc/ocxl/core.c if (!fn) fn 307 drivers/misc/ocxl/core.c INIT_LIST_HEAD(&fn->afu_list); fn 308 drivers/misc/ocxl/core.c INIT_LIST_HEAD(&fn->pasid_list); fn 309 drivers/misc/ocxl/core.c INIT_LIST_HEAD(&fn->actag_list); fn 311 drivers/misc/ocxl/core.c return fn; fn 314 drivers/misc/ocxl/core.c static void free_function(struct ocxl_fn *fn) fn 316 drivers/misc/ocxl/core.c WARN_ON(!list_empty(&fn->afu_list)); fn 317 drivers/misc/ocxl/core.c WARN_ON(!list_empty(&fn->pasid_list)); fn 318 drivers/misc/ocxl/core.c kfree(fn); fn 323 drivers/misc/ocxl/core.c struct ocxl_fn *fn = container_of(dev, struct ocxl_fn, dev); fn 325 drivers/misc/ocxl/core.c free_function(fn); fn 328 drivers/misc/ocxl/core.c static int set_function_device(struct ocxl_fn *fn, struct pci_dev *dev) fn 332 drivers/misc/ocxl/core.c fn->dev.parent = &dev->dev; fn 333 drivers/misc/ocxl/core.c fn->dev.release = free_function_dev; fn 334 drivers/misc/ocxl/core.c rc = dev_set_name(&fn->dev, "ocxlfn.%s", dev_name(&dev->dev)); fn 340 drivers/misc/ocxl/core.c static int assign_function_actag(struct ocxl_fn *fn) fn 342 drivers/misc/ocxl/core.c struct pci_dev *dev = to_pci_dev(fn->dev.parent); fn 350 drivers/misc/ocxl/core.c fn->actag_base = base; fn 351 drivers/misc/ocxl/core.c fn->actag_enabled = enabled; fn 352 drivers/misc/ocxl/core.c fn->actag_supported = supported; fn 354 drivers/misc/ocxl/core.c ocxl_config_set_actag(dev, fn->config.dvsec_function_pos, fn 355 drivers/misc/ocxl/core.c fn->actag_base, fn->actag_enabled); fn 356 drivers/misc/ocxl/core.c dev_dbg(&fn->dev, "actag range starting at %d, enabled %d\n", fn 357 drivers/misc/ocxl/core.c fn->actag_base, fn->actag_enabled); fn 361 drivers/misc/ocxl/core.c static int set_function_pasid(struct ocxl_fn *fn) fn 363 drivers/misc/ocxl/core.c struct pci_dev *dev = to_pci_dev(fn->dev.parent); fn 367 drivers/misc/ocxl/core.c if (fn->config.max_pasid_log < 0) fn 374 drivers/misc/ocxl/core.c desired_count = 1 << fn->config.max_pasid_log; fn 377 drivers/misc/ocxl/core.c dev_err(&fn->dev, fn 383 drivers/misc/ocxl/core.c fn->pasid_base = 0; fn 387 drivers/misc/ocxl/core.c static int configure_function(struct ocxl_fn *fn, struct pci_dev *dev) fn 418 drivers/misc/ocxl/core.c rc = ocxl_config_read_function(dev, &fn->config); fn 422 drivers/misc/ocxl/core.c rc = set_function_device(fn, dev); fn 426 drivers/misc/ocxl/core.c rc = assign_function_actag(fn); fn 430 drivers/misc/ocxl/core.c rc = set_function_pasid(fn); fn 434 drivers/misc/ocxl/core.c rc = ocxl_link_setup(dev, 0, &fn->link); fn 438 drivers/misc/ocxl/core.c rc = ocxl_config_set_TL(dev, fn->config.dvsec_tl_pos); fn 440 drivers/misc/ocxl/core.c ocxl_link_release(dev, fn->link); fn 446 drivers/misc/ocxl/core.c static void deconfigure_function(struct ocxl_fn *fn) fn 448 drivers/misc/ocxl/core.c struct pci_dev *dev = to_pci_dev(fn->dev.parent); fn 450 drivers/misc/ocxl/core.c ocxl_link_release(dev, fn->link); fn 456 drivers/misc/ocxl/core.c struct ocxl_fn *fn; fn 459 drivers/misc/ocxl/core.c fn = alloc_function(); fn 460 drivers/misc/ocxl/core.c if (!fn) fn 463 drivers/misc/ocxl/core.c rc = configure_function(fn, dev); fn 465 drivers/misc/ocxl/core.c free_function(fn); fn 469 drivers/misc/ocxl/core.c rc = device_register(&fn->dev); fn 471 drivers/misc/ocxl/core.c deconfigure_function(fn); fn 472 drivers/misc/ocxl/core.c put_device(&fn->dev); fn 475 drivers/misc/ocxl/core.c return fn; fn 484 drivers/misc/ocxl/core.c struct ocxl_fn *fn; fn 491 drivers/misc/ocxl/core.c fn = init_function(dev); fn 492 drivers/misc/ocxl/core.c if (IS_ERR(fn)) { fn 494 drivers/misc/ocxl/core.c PTR_ERR(fn)); fn 495 drivers/misc/ocxl/core.c return fn; fn 498 drivers/misc/ocxl/core.c for (afu = 0; afu <= fn->config.max_afu_index; afu++) { fn 499 drivers/misc/ocxl/core.c rc = ocxl_config_check_afu_index(dev, &fn->config, afu); fn 501 drivers/misc/ocxl/core.c rc = init_afu(dev, fn, afu); fn 511 drivers/misc/ocxl/core.c return fn; fn 515 drivers/misc/ocxl/core.c struct list_head *ocxl_function_afu_list(struct ocxl_fn *fn) fn 517 drivers/misc/ocxl/core.c return &fn->afu_list; fn 521 drivers/misc/ocxl/core.c struct ocxl_afu *ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx) fn 525 drivers/misc/ocxl/core.c list_for_each_entry(afu, &fn->afu_list, list) { fn 534 drivers/misc/ocxl/core.c const struct ocxl_fn_config *ocxl_function_config(struct ocxl_fn *fn) fn 536 drivers/misc/ocxl/core.c return &fn->config; fn 540 drivers/misc/ocxl/core.c void ocxl_function_close(struct ocxl_fn *fn) fn 544 drivers/misc/ocxl/core.c list_for_each_entry_safe(afu, tmp, &fn->afu_list, list) { fn 548 drivers/misc/ocxl/core.c deconfigure_function(fn); fn 549 drivers/misc/ocxl/core.c device_unregister(&fn->dev); fn 140 drivers/misc/ocxl/file.c int rc = ocxl_link_update_pe(ctx->afu->fn->link, fn 517 drivers/misc/ocxl/file.c struct ocxl_fn *fn = afu->fn; fn 518 drivers/misc/ocxl/file.c struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); fn 530 drivers/misc/ocxl/file.c info->dev.parent = &fn->dev; fn 39 drivers/misc/ocxl/ocxl_internal.h struct ocxl_fn *fn; fn 105 drivers/misc/ocxl/ocxl_internal.h int ocxl_pasid_afu_alloc(struct ocxl_fn *fn, u32 size); fn 106 drivers/misc/ocxl/ocxl_internal.h void ocxl_pasid_afu_free(struct ocxl_fn *fn, u32 start, u32 size); fn 107 drivers/misc/ocxl/ocxl_internal.h int ocxl_actag_afu_alloc(struct ocxl_fn *fn, u32 size); fn 108 drivers/misc/ocxl/ocxl_internal.h void ocxl_actag_afu_free(struct ocxl_fn *fn, u32 start, u32 size); fn 122 drivers/misc/ocxl/ocxl_internal.h struct ocxl_fn_config *fn, int afu_idx); fn 81 drivers/misc/ocxl/pasid.c int ocxl_pasid_afu_alloc(struct ocxl_fn *fn, u32 size) fn 85 drivers/misc/ocxl/pasid.c if (fn->config.max_pasid_log < 0) fn 87 drivers/misc/ocxl/pasid.c max_pasid = 1 << fn->config.max_pasid_log; fn 88 drivers/misc/ocxl/pasid.c return range_alloc(&fn->pasid_list, size, max_pasid, "afu pasid"); fn 91 drivers/misc/ocxl/pasid.c void ocxl_pasid_afu_free(struct ocxl_fn *fn, u32 start, u32 size) fn 93 drivers/misc/ocxl/pasid.c return range_free(&fn->pasid_list, start, size, "afu pasid"); fn 96 drivers/misc/ocxl/pasid.c int ocxl_actag_afu_alloc(struct ocxl_fn *fn, u32 size) fn 100 drivers/misc/ocxl/pasid.c max_actag = fn->actag_enabled; fn 101 drivers/misc/ocxl/pasid.c return range_alloc(&fn->actag_list, size, max_actag, "afu actag"); fn 104 drivers/misc/ocxl/pasid.c void ocxl_actag_afu_free(struct ocxl_fn *fn, u32 start, u32 size) fn 106 drivers/misc/ocxl/pasid.c return range_free(&fn->actag_list, start, size, "afu actag"); fn 21 drivers/misc/ocxl/pci.c struct ocxl_fn *fn; fn 24 drivers/misc/ocxl/pci.c fn = ocxl_function_open(dev); fn 25 drivers/misc/ocxl/pci.c if (IS_ERR(fn)) fn 26 drivers/misc/ocxl/pci.c return PTR_ERR(fn); fn 28 drivers/misc/ocxl/pci.c pci_set_drvdata(dev, fn); fn 30 drivers/misc/ocxl/pci.c afu_list = ocxl_function_afu_list(fn); fn 46 drivers/misc/ocxl/pci.c struct ocxl_fn *fn; fn 50 drivers/misc/ocxl/pci.c fn = pci_get_drvdata(dev); fn 51 drivers/misc/ocxl/pci.c afu_list = ocxl_function_afu_list(fn); fn 57 drivers/misc/ocxl/pci.c ocxl_function_close(fn); fn 60 drivers/mmc/core/sdio.c static int sdio_init_func(struct mmc_card *card, unsigned int fn) fn 65 drivers/mmc/core/sdio.c if (WARN_ON(fn > SDIO_MAX_FUNCS)) fn 72 drivers/mmc/core/sdio.c func->num = fn; fn 88 drivers/mmc/core/sdio.c card->sdio_func[fn - 1] = func; fn 242 drivers/mmc/core/sdio_cis.c unsigned char x, fn; fn 245 drivers/mmc/core/sdio_cis.c fn = func->num; fn 247 drivers/mmc/core/sdio_cis.c fn = 0; fn 250 drivers/mmc/core/sdio_cis.c SDIO_FBR_BASE(fn) + SDIO_FBR_CIS + i, 0, &x); fn 62 drivers/mmc/core/sdio_ops.c static int mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn, fn 68 drivers/mmc/core/sdio_ops.c if (fn > 7) fn 77 drivers/mmc/core/sdio_ops.c cmd.arg |= fn << 28; fn 108 drivers/mmc/core/sdio_ops.c int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, fn 111 drivers/mmc/core/sdio_ops.c return mmc_io_rw_direct_host(card->host, write, fn, addr, in, out); fn 114 drivers/mmc/core/sdio_ops.c int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn, fn 136 drivers/mmc/core/sdio_ops.c cmd.arg |= fn << 28; fn 19 drivers/mmc/core/sdio_ops.h int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, fn 21 drivers/mmc/core/sdio_ops.h int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn, fn 110 drivers/mmc/host/sdhci-acpi.c unsigned int fn, u32 *result) fn 115 drivers/mmc/host/sdhci-acpi.c obj = acpi_evaluate_dsm(ACPI_HANDLE(dev), &intel_dsm_guid, 0, fn, NULL); fn 128 drivers/mmc/host/sdhci-acpi.c __func__, fn, obj->type, obj->buffer.length); fn 138 drivers/mmc/host/sdhci-acpi.c unsigned int fn, u32 *result) fn 140 drivers/mmc/host/sdhci-acpi.c if (fn > 31 || !(intel_host->dsm_fns & (1 << fn))) fn 143 drivers/mmc/host/sdhci-acpi.c return __intel_dsm(intel_host, dev, fn, result); fn 172 drivers/mmc/host/sdhci-acpi.c unsigned int fn; fn 182 drivers/mmc/host/sdhci-acpi.c fn = INTEL_DSM_V33_SWITCH; fn 185 drivers/mmc/host/sdhci-acpi.c fn = INTEL_DSM_V18_SWITCH; fn 191 drivers/mmc/host/sdhci-acpi.c err = intel_dsm(intel_host, dev, fn, &result); fn 193 drivers/mmc/host/sdhci-acpi.c mmc_hostname(mmc), __func__, fn, err, result); fn 522 drivers/mmc/host/sdhci-pci-core.c unsigned int fn, u32 *result) fn 528 drivers/mmc/host/sdhci-pci-core.c obj = acpi_evaluate_dsm(ACPI_HANDLE(dev), &intel_dsm_guid, 0, fn, NULL); fn 548 drivers/mmc/host/sdhci-pci-core.c unsigned int fn, u32 *result) fn 550 drivers/mmc/host/sdhci-pci-core.c if (fn > 31 || !(intel_host->dsm_fns & (1 << fn))) fn 553 drivers/mmc/host/sdhci-pci-core.c return __intel_dsm(intel_host, dev, fn, result); fn 684 drivers/mmc/host/sdhci-pci-core.c unsigned int fn; fn 694 drivers/mmc/host/sdhci-pci-core.c fn = INTEL_DSM_V33_SWITCH; fn 697 drivers/mmc/host/sdhci-pci-core.c fn = INTEL_DSM_V18_SWITCH; fn 703 drivers/mmc/host/sdhci-pci-core.c err = intel_dsm(intel_host, dev, fn, &result); fn 705 drivers/mmc/host/sdhci-pci-core.c mmc_hostname(mmc), __func__, fn, err, result); fn 331 drivers/mmc/host/vub300.c } fn[8]; fn 533 drivers/mmc/host/vub300.c u8 r = vub300->fn[func].offload_point + vub300->fn[func].offload_count; fn 534 drivers/mmc/host/vub300.c memcpy(&vub300->fn[func].reg[MAXREGMASK & r], register_access, fn 536 drivers/mmc/host/vub300.c vub300->fn[func].offload_count += 1; fn 1077 drivers/mmc/host/vub300.c int fn = 0x7 & (cmd->arg >> 28); fn 1080 drivers/mmc/host/vub300.c vub300->cmnd.head.block_size[0] = (vub300->fbs[fn] >> 8) & 0xFF; fn 1081 drivers/mmc/host/vub300.c vub300->cmnd.head.block_size[1] = (vub300->fbs[fn] >> 0) & 0xFF; fn 1098 drivers/mmc/host/vub300.c int fn = 0x7 & (cmd->arg >> 28); fn 1126 drivers/mmc/host/vub300.c if (vub300->datasize < vub300->fbs[fn]) { fn 1802 drivers/mmc/host/vub300.c int first = MAXREGMASK & vub300->fn[Function].offload_point; fn 1803 drivers/mmc/host/vub300.c struct offload_registers_access *rf = &vub300->fn[Function].reg[first]; fn 1814 drivers/mmc/host/vub300.c vub300->fn[Function].offload_point += 1; fn 1815 drivers/mmc/host/vub300.c vub300->fn[Function].offload_count -= 1; fn 1820 drivers/mmc/host/vub300.c u8 register_count = vub300->fn[Function].offload_count - 1; fn 1821 drivers/mmc/host/vub300.c u32 register_point = vub300->fn[Function].offload_point + 1; fn 1825 drivers/mmc/host/vub300.c &vub300->fn[Function].reg[point]; fn 1836 drivers/mmc/host/vub300.c vub300->fn[Function].offload_point += delta; fn 1837 drivers/mmc/host/vub300.c vub300->fn[Function].offload_count -= delta; fn 1892 drivers/mmc/host/vub300.c else if (vub300->fn[func].offload_count == 0) fn 2191 drivers/mmc/host/vub300.c for (i = 0; i < ARRAY_SIZE(vub300->fn); i++) { fn 2192 drivers/mmc/host/vub300.c vub300->fn[i].offload_point = 0; fn 2193 drivers/mmc/host/vub300.c vub300->fn[i].offload_count = 0; fn 11239 drivers/net/ethernet/broadcom/tg3.c irq_handler_t fn; fn 11264 drivers/net/ethernet/broadcom/tg3.c fn = tg3_msi; fn 11266 drivers/net/ethernet/broadcom/tg3.c fn = tg3_msi_1shot; fn 11269 drivers/net/ethernet/broadcom/tg3.c fn = tg3_interrupt; fn 11271 drivers/net/ethernet/broadcom/tg3.c fn = tg3_interrupt_tagged; fn 11275 drivers/net/ethernet/broadcom/tg3.c return request_irq(tnapi->irq_vec, fn, flags, name, tnapi); fn 1452 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c mbox_cmd.fn = NULL; fn 1492 drivers/net/ethernet/cavium/liquidio/cn23xx_pf_device.c mbox_cmd.fn = (octeon_mbox_callback_t)cn23xx_get_vf_stats_callback; fn 384 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c mbox_cmd.fn = NULL; fn 433 drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c mbox_cmd.fn = (octeon_mbox_callback_t)octeon_pfvf_hs_callback; fn 1069 drivers/net/ethernet/cavium/liquidio/octeon_device.c octeon_dispatch_fn_t fn = NULL; fn 1087 drivers/net/ethernet/cavium/liquidio/octeon_device.c fn = octeon_dev->dispatch.dlist[idx].dispatch_fn; fn 1093 drivers/net/ethernet/cavium/liquidio/octeon_device.c fn = ((struct octeon_dispatch *) fn 1101 drivers/net/ethernet/cavium/liquidio/octeon_device.c return fn; fn 1125 drivers/net/ethernet/cavium/liquidio/octeon_device.c octeon_dispatch_fn_t fn, void *fn_arg) fn 1137 drivers/net/ethernet/cavium/liquidio/octeon_device.c oct->dispatch.dlist[idx].dispatch_fn = fn; fn 1163 drivers/net/ethernet/cavium/liquidio/octeon_device.c dispatch->dispatch_fn = fn; fn 1175 drivers/net/ethernet/cavium/liquidio/octeon_device.c if (pfn == fn && fn 393 drivers/net/ethernet/cavium/liquidio/octeon_droq.h octeon_dispatch_fn_t fn, void *fn_arg); fn 371 drivers/net/ethernet/cavium/liquidio/octeon_iq.h void (*fn)(void *)); fn 308 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c if (mbox_cmd.fn) fn 309 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c mbox_cmd.fn(mbox->oct_dev, &mbox_cmd, fn 327 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c if (mbox_cmd.fn) fn 328 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.c mbox_cmd.fn(mbox->oct_dev, &mbox_cmd, mbox_cmd.fn_arg); fn 68 drivers/net/ethernet/cavium/liquidio/octeon_mailbox.h octeon_mbox_callback_t fn; fn 349 drivers/net/ethernet/cavium/liquidio/request_manager.c void (*fn)(void *)) fn 357 drivers/net/ethernet/cavium/liquidio/request_manager.c reqtype_free_fn[oct->octeon_id][reqtype] = fn; fn 71 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_TEST(ie,fn) CRA(0x2,ie&1,0x00+fn) /* Mode & Test Register */ fn 72 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_TOP_BOTTOM(ie,fn) CRA(0x2,ie&1,0x10+fn) /* FIFO Buffer Top & Bottom */ fn 73 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_TAIL(ie,fn) CRA(0x2,ie&1,0x20+fn) /* FIFO Write Pointer */ fn 74 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_HEAD(ie,fn) CRA(0x2,ie&1,0x30+fn) /* FIFO Read Pointer */ fn 75 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_HIGH_LOW_WM(ie,fn) CRA(0x2,ie&1,0x40+fn) /* Flow Control Water Marks */ fn 76 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_CT_THRHLD(ie,fn) CRA(0x2,ie&1,0x50+fn) /* Cut Through Threshold */ fn 77 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_FIFO_DROP_CNT(ie,fn) CRA(0x2,ie&1,0x60+fn) /* Drop & CRC Error Counter */ fn 78 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_DEBUG_BUF_CNT(ie,fn) CRA(0x2,ie&1,0x70+fn) /* Input Side Debug Counter */ fn 79 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_BUCKI(fn) CRA(0x2,2,0x20+fn) /* Input Side Debug Counter */ fn 80 drivers/net/ethernet/chelsio/cxgb/vsc7326_reg.h #define REG_BUCKE(fn) CRA(0x2,3,0x20+fn) /* Input Side Debug Counter */ fn 1632 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int t4_eeprom_ptov(unsigned int phys_addr, unsigned int fn, unsigned int sz); fn 2717 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int t4_eeprom_ptov(unsigned int phys_addr, unsigned int fn, unsigned int sz) fn 2719 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c fn *= sz; fn 2722 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (phys_addr < 1024 + fn) fn 2723 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c return 31744 - fn + phys_addr - 1024; fn 2725 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c return phys_addr - 1024 - fn; fn 927 drivers/net/ethernet/dec/tulip/de4x5.c static int de4x5_suspect_state(struct net_device *dev, int timeout, int prev_state, int (*fn)(struct net_device *, int), int (*asfn)(struct net_device *)); fn 928 drivers/net/ethernet/dec/tulip/de4x5.c static int dc21040_state(struct net_device *dev, int csr13, int csr14, int csr15, int timeout, int next_state, int suspect_state, int (*fn)(struct net_device *, int)); fn 1034 drivers/net/ethernet/dec/tulip/de4x5.c int (*fn)(struct net_device *); fn 2462 drivers/net/ethernet/dec/tulip/de4x5.c int (*fn)(struct net_device *, int)) fn 2477 drivers/net/ethernet/dec/tulip/de4x5.c linkBad = fn(dev, timeout); fn 2500 drivers/net/ethernet/dec/tulip/de4x5.c int (*fn)(struct net_device *, int), fn 2518 drivers/net/ethernet/dec/tulip/de4x5.c linkBad = fn(dev, timeout); fn 4312 drivers/net/ethernet/dec/tulip/de4x5.c lp->infoleaf_fn = infoleaf_array[i].fn; fn 523 drivers/net/ethernet/mellanox/mlx5/core/lag.c unsigned int fn = PCI_FUNC(dev->pdev->devfn); fn 525 drivers/net/ethernet/mellanox/mlx5/core/lag.c if (fn >= MLX5_MAX_PORTS) fn 529 drivers/net/ethernet/mellanox/mlx5/core/lag.c ldev->pf[fn].dev = dev; fn 530 drivers/net/ethernet/mellanox/mlx5/core/lag.c ldev->pf[fn].netdev = netdev; fn 531 drivers/net/ethernet/mellanox/mlx5/core/lag.c ldev->tracker.netdev_state[fn].link_up = 0; fn 532 drivers/net/ethernet/mellanox/mlx5/core/lag.c ldev->tracker.netdev_state[fn].tx_enabled = 0; fn 2383 drivers/net/ethernet/qlogic/qed/qed_l2.c int i, fn; fn 2425 drivers/net/ethernet/qlogic/qed/qed_l2.c for_each_hwfn(cdev, fn) { fn 2427 drivers/net/ethernet/qlogic/qed/qed_l2.c if (rss[fn].rss_ind_table[i] != fn 2428 drivers/net/ethernet/qlogic/qed/qed_l2.c rss[fn].rss_ind_table[0]) fn 2436 drivers/net/ethernet/qlogic/qed/qed_l2.c rss[fn].rss_table_size_log = 6; fn 25 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c int (*fn) (struct qlcnic_bc_trans *, struct qlcnic_cmd_args *); fn 30 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c int (*fn) (struct qlcnic_bc_trans *, struct qlcnic_cmd_args *); fn 1499 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c qlcnic_pf_bc_cmd_hdlr[cmd_op].fn(trans, cmd); fn 1507 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c qlcnic_pf_fw_cmd_hdlr[i].fn(trans, cmd); fn 1720 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c int (*fn)(struct stmmac_priv *priv); fn 1725 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_mac_loopback, fn 1729 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_phy_loopback, fn 1733 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_mmc, fn 1737 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_eee, fn 1741 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_hfilt, fn 1745 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_pfilt, fn 1749 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_mcfilt, fn 1753 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_ucfilt, fn 1757 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_flowctrl, fn 1761 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_rss, fn 1765 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_vlanfilt, fn 1769 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_dvlanfilt, fn 1773 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_rxp, fn 1777 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_desc_sai, fn 1781 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_desc_sar, fn 1785 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_reg_sai, fn 1789 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_reg_sar, fn 1793 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_vlanoff, fn 1797 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_svlanoff, fn 1801 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_l3filt_da, fn 1805 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_l3filt_sa, fn 1809 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_l4filt_da_tcp, fn 1813 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_l4filt_sa_tcp, fn 1817 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_l4filt_da_udp, fn 1821 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_l4filt_sa_udp, fn 1825 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_arpoffload, fn 1829 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_jumbo, fn 1833 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_mjumbo, fn 1837 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c .fn = stmmac_test_sph, fn 1899 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ret = stmmac_selftests[i].fn(priv); fn 514 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c int (*fn)(struct stmmac_priv *priv, struct flow_cls_offload *cls, fn 517 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c { .fn = tc_add_basic_flow }, fn 518 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c { .fn = tc_add_ip4_flow }, fn 519 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c { .fn = tc_add_ports_flow }, fn 540 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c ret = tc_flow_parsers[i].fn(priv, cls, entry); fn 1622 drivers/net/ethernet/ti/netcp_core.c notify_cfg.fn = netcp_tx_notify; fn 1642 drivers/net/ethernet/ti/netcp_core.c notify_cfg.fn = netcp_rx_notify; fn 16 drivers/net/usb/asix_common.c int (*fn)(struct usbnet *, u8, u8, u16, u16, void *, u16); fn 21 drivers/net/usb/asix_common.c fn = usbnet_read_cmd; fn 23 drivers/net/usb/asix_common.c fn = usbnet_read_cmd_nopm; fn 25 drivers/net/usb/asix_common.c ret = fn(dev, cmd, USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, fn 39 drivers/net/usb/asix_common.c int (*fn)(struct usbnet *, u8, u8, u16, u16, const void *, u16); fn 44 drivers/net/usb/asix_common.c fn = usbnet_write_cmd; fn 46 drivers/net/usb/asix_common.c fn = usbnet_write_cmd_nopm; fn 48 drivers/net/usb/asix_common.c ret = fn(dev, cmd, USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, fn 191 drivers/net/usb/ax88179_178a.c int (*fn)(struct usbnet *, u8, u8, u16, u16, void *, u16); fn 196 drivers/net/usb/ax88179_178a.c fn = usbnet_read_cmd; fn 198 drivers/net/usb/ax88179_178a.c fn = usbnet_read_cmd_nopm; fn 200 drivers/net/usb/ax88179_178a.c ret = fn(dev, cmd, USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, fn 214 drivers/net/usb/ax88179_178a.c int (*fn)(struct usbnet *, u8, u8, u16, u16, const void *, u16); fn 219 drivers/net/usb/ax88179_178a.c fn = usbnet_write_cmd; fn 221 drivers/net/usb/ax88179_178a.c fn = usbnet_write_cmd_nopm; fn 223 drivers/net/usb/ax88179_178a.c ret = fn(dev, cmd, USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, fn 81 drivers/net/usb/smsc75xx.c int (*fn)(struct usbnet *, u8, u8, u16, u16, void *, u16); fn 86 drivers/net/usb/smsc75xx.c fn = usbnet_read_cmd; fn 88 drivers/net/usb/smsc75xx.c fn = usbnet_read_cmd_nopm; fn 90 drivers/net/usb/smsc75xx.c ret = fn(dev, USB_VENDOR_REQUEST_READ_REGISTER, USB_DIR_IN fn 110 drivers/net/usb/smsc75xx.c int (*fn)(struct usbnet *, u8, u8, u16, u16, const void *, u16); fn 115 drivers/net/usb/smsc75xx.c fn = usbnet_write_cmd; fn 117 drivers/net/usb/smsc75xx.c fn = usbnet_write_cmd_nopm; fn 122 drivers/net/usb/smsc75xx.c ret = fn(dev, USB_VENDOR_REQUEST_WRITE_REGISTER, USB_DIR_OUT fn 78 drivers/net/usb/smsc95xx.c int (*fn)(struct usbnet *, u8, u8, u16, u16, void *, u16); fn 83 drivers/net/usb/smsc95xx.c fn = usbnet_read_cmd; fn 85 drivers/net/usb/smsc95xx.c fn = usbnet_read_cmd_nopm; fn 87 drivers/net/usb/smsc95xx.c ret = fn(dev, USB_VENDOR_REQUEST_READ_REGISTER, USB_DIR_IN fn 107 drivers/net/usb/smsc95xx.c int (*fn)(struct usbnet *, u8, u8, u16, u16, const void *, u16); fn 112 drivers/net/usb/smsc95xx.c fn = usbnet_write_cmd; fn 114 drivers/net/usb/smsc95xx.c fn = usbnet_write_cmd_nopm; fn 119 drivers/net/usb/smsc95xx.c ret = fn(dev, USB_VENDOR_REQUEST_WRITE_REGISTER, USB_DIR_OUT fn 864 drivers/net/wireless/ath/ath10k/qmi.c .fn = ath10k_qmi_fw_ready_ind, fn 871 drivers/net/wireless/ath/ath10k/qmi.c .fn = ath10k_qmi_msa_ready_ind, fn 50 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.c int brcmf_debugfs_add_entry(struct brcmf_pub *drvr, const char *fn, fn 56 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.c e = debugfs_create_devm_seqfile(drvr->bus_if->dev, fn, fn 119 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h int brcmf_debugfs_add_entry(struct brcmf_pub *drvr, const char *fn, fn 129 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h int brcmf_debugfs_add_entry(struct brcmf_pub *drvr, const char *fn, fn 681 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c bool (*fn)(struct sk_buff *, void *), fn 694 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c if (fn == NULL || fn(skb, &ifidx)) { fn 825 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c bool (*fn)(struct sk_buff *, void *), fn 841 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skb = brcmu_pktq_pdeq_match(txq, prec, fn, &ifidx); fn 848 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c skb = brcmu_pktq_pdeq_match(txq, prec, fn, &ifidx); fn 190 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c brcms_debugfs_add_entry(struct brcms_pub *drvr, const char *fn, fn 204 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c debugfs_create_file(fn, 0444, dentry, entry, &brcms_debugfs_def_ops); fn 213 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c #define __brcms_fn(fn) \ fn 214 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c void __brcms_ ##fn(struct device *dev, const char *fmt, ...) \ fn 223 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c dev_ ##fn(dev, "%pV", &vaf); \ fn 224 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c trace_brcms_ ##fn(&vaf); \ fn 1473 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c t->fn(t->arg); fn 1488 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c void (*fn) (void *arg), fn 1499 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c t->fn = fn; fn 39 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.h void (*fn) (void *); /* function called upon expiration */ fn 104 drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.h void (*fn) (void *arg), void *arg, fn 60 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c void (*fn)(struct brcms_phy *pi), fn 64 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c brcms_init_timer(physhim->wl, (void (*)(void *))fn, fn 134 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.h void (*fn)(struct brcms_phy *pi), fn 142 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c bool (*fn)(struct sk_buff *, void *), void *arg) fn 149 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c if (fn == NULL || (*fn) (p, arg)) { fn 159 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c bool (*fn)(struct sk_buff *, void *), void *arg) fn 163 drivers/net/wireless/broadcom/brcm80211/brcmutil/utils.c brcmu_pktq_pflush(pq, prec, dir, fn, arg); fn 123 drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h bool (*fn)(struct sk_buff *, void *), void *arg); fn 161 drivers/net/wireless/broadcom/brcm80211/include/brcmu_utils.h bool (*fn)(struct sk_buff *, void *), void *arg); fn 111 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c if (!w->fn || w->fn(notif_wait, pkt, w->fn_data)) { fn 140 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c bool (*fn)(struct iwl_notif_wait_data *notif_wait, fn 147 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.c wait_entry->fn = fn; fn 101 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.h bool (*fn)(struct iwl_notif_wait_data *notif_data, fn 136 drivers/net/wireless/intel/iwlwifi/fw/notif-wait.h bool (*fn)(struct iwl_notif_wait_data *notif_data, fn 66 drivers/net/wireless/intel/iwlwifi/iwl-debug.c #define __iwl_fn(fn) \ fn 67 drivers/net/wireless/intel/iwlwifi/iwl-debug.c void __iwl_ ##fn(struct device *dev, const char *fmt, ...) \ fn 76 drivers/net/wireless/intel/iwlwifi/iwl-debug.c dev_ ##fn(dev, "%pV", &vaf); \ fn 77 drivers/net/wireless/intel/iwlwifi/iwl-debug.c trace_iwlwifi_ ##fn(&vaf); \ fn 232 drivers/net/wireless/intel/iwlwifi/mvm/ops.c void (*fn)(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb); fn 236 drivers/net/wireless/intel/iwlwifi/mvm/ops.c { .cmd_id = _cmd_id, .fn = _fn, .context = _context } fn 238 drivers/net/wireless/intel/iwlwifi/mvm/ops.c { .cmd_id = WIDE_ID(_grp, _cmd), .fn = _fn, .context = _context } fn 911 drivers/net/wireless/intel/iwlwifi/mvm/ops.c void (*fn)(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb); fn 947 drivers/net/wireless/intel/iwlwifi/mvm/ops.c entry->fn(mvm, &entry->rxb); fn 1012 drivers/net/wireless/intel/iwlwifi/mvm/ops.c rx_h->fn(mvm, rxb); fn 1024 drivers/net/wireless/intel/iwlwifi/mvm/ops.c entry->fn = rx_h->fn; fn 20 drivers/net/wireless/quantenna/qtnfmac/debug.c int (*fn)(struct seq_file *seq, void *data)) fn 22 drivers/net/wireless/quantenna/qtnfmac/debug.c debugfs_create_devm_seqfile(bus->dev, name, bus->dbg_dir, fn); fn 17 drivers/net/wireless/quantenna/qtnfmac/debug.h int (*fn)(struct seq_file *seq, void *data)); fn 31 drivers/net/wireless/quantenna/qtnfmac/debug.h int (*fn)(struct seq_file *seq, void *data)) fn 1110 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c ipc_int.fn = qtnf_pcie_pearl_ipc_gen_ep_int; fn 1161 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c ipc_int.fn = qtnf_topaz_ipc_gen_ep_int; fn 36 drivers/net/wireless/quantenna/qtnfmac/shm_ipc.c ipc->rx_callback.fn(ipc->rx_callback.arg, fn 43 drivers/net/wireless/quantenna/qtnfmac/shm_ipc.c ipc->interrupt.fn(ipc->interrupt.arg); fn 149 drivers/net/wireless/quantenna/qtnfmac/shm_ipc.c ipc->interrupt.fn(ipc->interrupt.arg); fn 17 drivers/net/wireless/quantenna/qtnfmac/shm_ipc.h void (*fn)(void *arg); fn 22 drivers/net/wireless/quantenna/qtnfmac/shm_ipc.h void (*fn)(void *arg, const u8 __iomem *buf, size_t len); fn 790 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c bool (*fn)(struct queue_entry *entry, fn 822 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c if (fn(&queue->entries[i], data)) fn 827 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c if (fn(&queue->entries[i], data)) fn 832 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c if (fn(&queue->entries[i], data)) fn 584 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h bool (*fn)(struct queue_entry *entry, fn 230 drivers/of/fdt.c char *fn; fn 232 drivers/of/fdt.c np->full_name = fn = ((char *)np) + sizeof(*np); fn 234 drivers/of/fdt.c memcpy(fn, pathp, l); fn 339 drivers/parisc/superio.c int fn; fn 340 drivers/parisc/superio.c fn = PCI_FUNC(pcidev->devfn); fn 343 drivers/parisc/superio.c if (expected_device[fn] != pcidev->device) { fn 608 drivers/parport/ieee1284.c size_t (*fn) (struct parport *, const void *, size_t, int); fn 622 drivers/parport/ieee1284.c fn = port->ops->compat_write_data; fn 628 drivers/parport/ieee1284.c fn = port->ops->epp_write_addr; fn 630 drivers/parport/ieee1284.c fn = port->ops->epp_write_data; fn 637 drivers/parport/ieee1284.c fn = parport_ieee1284_epp_write_addr; fn 639 drivers/parport/ieee1284.c fn = parport_ieee1284_epp_write_data; fn 646 drivers/parport/ieee1284.c fn = port->ops->ecp_write_addr; fn 648 drivers/parport/ieee1284.c fn = port->ops->ecp_write_data; fn 658 drivers/parport/ieee1284.c fn = parport_ieee1284_ecp_write_addr; fn 660 drivers/parport/ieee1284.c fn = parport_ieee1284_ecp_write_data; fn 670 drivers/parport/ieee1284.c retval = (*fn) (port, buffer, len, 0); fn 702 drivers/parport/ieee1284.c size_t (*fn) (struct parport *, void *, size_t, int); fn 719 drivers/parport/ieee1284.c fn = port->ops->byte_read_data; fn 728 drivers/parport/ieee1284.c fn = port->ops->nibble_read_data; fn 733 drivers/parport/ieee1284.c fn = port->ops->byte_read_data; fn 739 drivers/parport/ieee1284.c fn = port->ops->epp_read_addr; fn 741 drivers/parport/ieee1284.c fn = port->ops->epp_read_data; fn 748 drivers/parport/ieee1284.c fn = parport_ieee1284_epp_read_addr; fn 750 drivers/parport/ieee1284.c fn = parport_ieee1284_epp_read_data; fn 756 drivers/parport/ieee1284.c fn = port->ops->ecp_read_data; fn 762 drivers/parport/ieee1284.c fn = parport_ieee1284_ecp_read_data; fn 771 drivers/parport/ieee1284.c return (*fn) (port, buffer, len, 0); fn 190 drivers/pci/controller/pci-ftpci100.c unsigned int fn, int config, int size, fn 194 drivers/pci/controller/pci-ftpci100.c PCI_CONF_DEVICE(PCI_SLOT(fn)) | fn 195 drivers/pci/controller/pci-ftpci100.c PCI_CONF_FUNCTION(PCI_FUNC(fn)) | fn 210 drivers/pci/controller/pci-ftpci100.c static int faraday_pci_read_config(struct pci_bus *bus, unsigned int fn, fn 217 drivers/pci/controller/pci-ftpci100.c PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value); fn 219 drivers/pci/controller/pci-ftpci100.c return faraday_raw_pci_read_config(p, bus->number, fn, config, size, value); fn 223 drivers/pci/controller/pci-ftpci100.c unsigned int fn, int config, int size, fn 229 drivers/pci/controller/pci-ftpci100.c PCI_CONF_DEVICE(PCI_SLOT(fn)) | fn 230 drivers/pci/controller/pci-ftpci100.c PCI_CONF_FUNCTION(PCI_FUNC(fn)) | fn 252 drivers/pci/controller/pci-ftpci100.c static int faraday_pci_write_config(struct pci_bus *bus, unsigned int fn, fn 259 drivers/pci/controller/pci-ftpci100.c PCI_SLOT(fn), PCI_FUNC(fn), config, size, value); fn 261 drivers/pci/controller/pci-ftpci100.c return faraday_raw_pci_write_config(p, bus->number, fn, config, size, fn 407 drivers/pci/controller/pci-v3-semi.c static int v3_pci_read_config(struct pci_bus *bus, unsigned int fn, fn 415 drivers/pci/controller/pci-v3-semi.c PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value); fn 416 drivers/pci/controller/pci-v3-semi.c ret = pci_generic_config_read(bus, fn, config, size, value); fn 421 drivers/pci/controller/pci-v3-semi.c static int v3_pci_write_config(struct pci_bus *bus, unsigned int fn, fn 429 drivers/pci/controller/pci-v3-semi.c PCI_SLOT(fn), PCI_FUNC(fn), config, size, value); fn 430 drivers/pci/controller/pci-v3-semi.c ret = pci_generic_config_write(bus, fn, config, size, value); fn 49 drivers/pci/controller/pcie-cadence-ep.c static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, fn 55 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_fn_writew(pcie, fn, PCI_DEVICE_ID, hdr->deviceid); fn 56 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_fn_writeb(pcie, fn, PCI_REVISION_ID, hdr->revid); fn 57 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_fn_writeb(pcie, fn, PCI_CLASS_PROG, hdr->progif_code); fn 58 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_fn_writew(pcie, fn, PCI_CLASS_DEVICE, fn 60 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_fn_writeb(pcie, fn, PCI_CACHE_LINE_SIZE, fn 62 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_fn_writew(pcie, fn, PCI_SUBSYSTEM_ID, hdr->subsys_id); fn 63 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_fn_writeb(pcie, fn, PCI_INTERRUPT_PIN, hdr->interrupt_pin); fn 69 drivers/pci/controller/pcie-cadence-ep.c if (fn == 0) { fn 80 drivers/pci/controller/pcie-cadence-ep.c static int cdns_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, fn 124 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar), fn 126 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar), fn 130 drivers/pci/controller/pcie-cadence-ep.c reg = CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn); fn 133 drivers/pci/controller/pcie-cadence-ep.c reg = CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn); fn 147 drivers/pci/controller/pcie-cadence-ep.c static void cdns_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, fn 156 drivers/pci/controller/pcie-cadence-ep.c reg = CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn); fn 159 drivers/pci/controller/pcie-cadence-ep.c reg = CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn); fn 170 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar), 0); fn 171 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_writel(pcie, CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar), 0); fn 174 drivers/pci/controller/pcie-cadence-ep.c static int cdns_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, phys_addr_t addr, fn 188 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_set_outbound_region(pcie, fn, r, false, addr, pci_addr, size); fn 196 drivers/pci/controller/pcie-cadence-ep.c static void cdns_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, fn 216 drivers/pci/controller/pcie-cadence-ep.c static int cdns_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 mmc) fn 227 drivers/pci/controller/pcie-cadence-ep.c flags = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSI_FLAGS); fn 231 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_fn_writew(pcie, fn, cap + PCI_MSI_FLAGS, flags); fn 236 drivers/pci/controller/pcie-cadence-ep.c static int cdns_pcie_ep_get_msi(struct pci_epc *epc, u8 fn) fn 244 drivers/pci/controller/pcie-cadence-ep.c flags = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSI_FLAGS); fn 257 drivers/pci/controller/pcie-cadence-ep.c static void cdns_pcie_ep_assert_intx(struct cdns_pcie_ep *ep, u8 fn, fn 269 drivers/pci/controller/pcie-cadence-ep.c ep->irq_pci_fn != fn)) { fn 271 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_set_outbound_region_for_normal_msg(pcie, fn, 0, fn 274 drivers/pci/controller/pcie-cadence-ep.c ep->irq_pci_fn = fn; fn 285 drivers/pci/controller/pcie-cadence-ep.c status = cdns_pcie_ep_fn_readw(pcie, fn, PCI_STATUS); fn 288 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_fn_writew(pcie, fn, PCI_STATUS, status); fn 297 drivers/pci/controller/pcie-cadence-ep.c static int cdns_pcie_ep_send_legacy_irq(struct cdns_pcie_ep *ep, u8 fn, u8 intx) fn 301 drivers/pci/controller/pcie-cadence-ep.c cmd = cdns_pcie_ep_fn_readw(&ep->pcie, fn, PCI_COMMAND); fn 305 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_assert_intx(ep, fn, intx, true); fn 311 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_ep_assert_intx(ep, fn, intx, false); fn 315 drivers/pci/controller/pcie-cadence-ep.c static int cdns_pcie_ep_send_msi_irq(struct cdns_pcie_ep *ep, u8 fn, fn 325 drivers/pci/controller/pcie-cadence-ep.c flags = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSI_FLAGS); fn 337 drivers/pci/controller/pcie-cadence-ep.c data = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_MSI_DATA_64); fn 341 drivers/pci/controller/pcie-cadence-ep.c pci_addr = cdns_pcie_ep_fn_readl(pcie, fn, cap + PCI_MSI_ADDRESS_HI); fn 343 drivers/pci/controller/pcie-cadence-ep.c pci_addr |= cdns_pcie_ep_fn_readl(pcie, fn, cap + PCI_MSI_ADDRESS_LO); fn 348 drivers/pci/controller/pcie-cadence-ep.c ep->irq_pci_fn != fn)) { fn 350 drivers/pci/controller/pcie-cadence-ep.c cdns_pcie_set_outbound_region(pcie, fn, 0, fn 356 drivers/pci/controller/pcie-cadence-ep.c ep->irq_pci_fn = fn; fn 363 drivers/pci/controller/pcie-cadence-ep.c static int cdns_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, fn 371 drivers/pci/controller/pcie-cadence-ep.c return cdns_pcie_ep_send_legacy_irq(ep, fn, 0); fn 374 drivers/pci/controller/pcie-cadence-ep.c return cdns_pcie_ep_send_msi_irq(ep, fn, interrupt_num); fn 10 drivers/pci/controller/pcie-cadence.c void cdns_pcie_set_outbound_region(struct cdns_pcie *pcie, u8 fn, fn 69 drivers/pci/controller/pcie-cadence.c desc0 |= CDNS_PCIE_AT_OB_REGION_DESC0_DEVFN(fn); fn 85 drivers/pci/controller/pcie-cadence.c void cdns_pcie_set_outbound_region_for_normal_msg(struct cdns_pcie *pcie, u8 fn, fn 99 drivers/pci/controller/pcie-cadence.c desc0 |= CDNS_PCIE_AT_OB_REGION_DESC0_DEVFN(fn); fn 44 drivers/pci/controller/pcie-cadence.h #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn) \ fn 45 drivers/pci/controller/pcie-cadence.h (CDNS_PCIE_LM_BASE + 0x0240 + (fn) * 0x0008) fn 46 drivers/pci/controller/pcie-cadence.h #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn) \ fn 47 drivers/pci/controller/pcie-cadence.h (CDNS_PCIE_LM_BASE + 0x0244 + (fn) * 0x0008) fn 94 drivers/pci/controller/pcie-cadence.h #define CDNS_PCIE_EP_FUNC_BASE(fn) (((fn) << 12) & GENMASK(19, 12)) fn 179 drivers/pci/controller/pcie-cadence.h #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar) \ fn 180 drivers/pci/controller/pcie-cadence.h (CDNS_PCIE_AT_BASE + 0x0840 + (fn) * 0x0040 + (bar) * 0x0008) fn 181 drivers/pci/controller/pcie-cadence.h #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar) \ fn 182 drivers/pci/controller/pcie-cadence.h (CDNS_PCIE_AT_BASE + 0x0844 + (fn) * 0x0040 + (bar) * 0x0008) fn 276 drivers/pci/controller/pcie-cadence.h static inline void cdns_pcie_ep_fn_writeb(struct cdns_pcie *pcie, u8 fn, fn 279 drivers/pci/controller/pcie-cadence.h writeb(value, pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg); fn 282 drivers/pci/controller/pcie-cadence.h static inline void cdns_pcie_ep_fn_writew(struct cdns_pcie *pcie, u8 fn, fn 285 drivers/pci/controller/pcie-cadence.h writew(value, pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg); fn 288 drivers/pci/controller/pcie-cadence.h static inline void cdns_pcie_ep_fn_writel(struct cdns_pcie *pcie, u8 fn, fn 291 drivers/pci/controller/pcie-cadence.h writel(value, pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg); fn 294 drivers/pci/controller/pcie-cadence.h static inline u8 cdns_pcie_ep_fn_readb(struct cdns_pcie *pcie, u8 fn, u32 reg) fn 296 drivers/pci/controller/pcie-cadence.h return readb(pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg); fn 299 drivers/pci/controller/pcie-cadence.h static inline u16 cdns_pcie_ep_fn_readw(struct cdns_pcie *pcie, u8 fn, u32 reg) fn 301 drivers/pci/controller/pcie-cadence.h return readw(pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg); fn 304 drivers/pci/controller/pcie-cadence.h static inline u32 cdns_pcie_ep_fn_readl(struct cdns_pcie *pcie, u8 fn, u32 reg) fn 306 drivers/pci/controller/pcie-cadence.h return readl(pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg); fn 309 drivers/pci/controller/pcie-cadence.h void cdns_pcie_set_outbound_region(struct cdns_pcie *pcie, u8 fn, fn 313 drivers/pci/controller/pcie-cadence.h void cdns_pcie_set_outbound_region_for_normal_msg(struct cdns_pcie *pcie, u8 fn, fn 463 drivers/pci/controller/pcie-iproc.c unsigned int fn, fn 472 drivers/pci/controller/pcie-iproc.c (fn << CFG_ADDR_FUNC_NUM_SHIFT) | fn 578 drivers/pci/controller/pcie-iproc.c unsigned int fn = PCI_FUNC(devfn); fn 593 drivers/pci/controller/pcie-iproc.c cfg_data_p = iproc_pcie_map_ep_cfg_reg(pcie, busno, slot, fn, where); fn 635 drivers/pci/controller/pcie-iproc.c unsigned fn = PCI_FUNC(devfn); fn 640 drivers/pci/controller/pcie-iproc.c if (slot > 0 || fn > 0) fn 652 drivers/pci/controller/pcie-iproc.c return iproc_pcie_map_ep_cfg_reg(pcie, busno, slot, fn, where); fn 69 drivers/pci/controller/pcie-rockchip-ep.c static void rockchip_pcie_prog_ep_ob_atu(struct rockchip_pcie *rockchip, u8 fn, fn 87 drivers/pci/controller/pcie-rockchip-ep.c desc0 = ROCKCHIP_PCIE_AT_OB_REGION_DESC0_DEVFN(fn) | type; fn 124 drivers/pci/controller/pcie-rockchip-ep.c static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, fn 131 drivers/pci/controller/pcie-rockchip-ep.c if (fn == 0) { fn 140 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + PCI_VENDOR_ID); fn 147 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + PCI_REVISION_ID); fn 149 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 152 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 155 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 161 drivers/pci/controller/pcie-rockchip-ep.c static int rockchip_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, fn 204 drivers/pci/controller/pcie-rockchip-ep.c reg = ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG0(fn); fn 207 drivers/pci/controller/pcie-rockchip-ep.c reg = ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG1(fn); fn 222 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar)); fn 224 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar)); fn 229 drivers/pci/controller/pcie-rockchip-ep.c static void rockchip_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, fn 238 drivers/pci/controller/pcie-rockchip-ep.c reg = ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG0(fn); fn 241 drivers/pci/controller/pcie-rockchip-ep.c reg = ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG1(fn); fn 253 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar)); fn 255 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar)); fn 258 drivers/pci/controller/pcie-rockchip-ep.c static int rockchip_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, fn 277 drivers/pci/controller/pcie-rockchip-ep.c rockchip_pcie_prog_ep_ob_atu(pcie, fn, r, AXI_WRAPPER_MEM_WRITE, addr, fn 286 drivers/pci/controller/pcie-rockchip-ep.c static void rockchip_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, fn 310 drivers/pci/controller/pcie-rockchip-ep.c static int rockchip_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, fn 318 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 326 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 331 drivers/pci/controller/pcie-rockchip-ep.c static int rockchip_pcie_ep_get_msi(struct pci_epc *epc, u8 fn) fn 338 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 347 drivers/pci/controller/pcie-rockchip-ep.c static void rockchip_pcie_ep_assert_intx(struct rockchip_pcie_ep *ep, u8 fn, fn 357 drivers/pci/controller/pcie-rockchip-ep.c ep->irq_pci_fn != fn)) { fn 358 drivers/pci/controller/pcie-rockchip-ep.c rockchip_pcie_prog_ep_ob_atu(rockchip, fn, r, fn 362 drivers/pci/controller/pcie-rockchip-ep.c ep->irq_pci_fn = fn; fn 375 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 382 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 392 drivers/pci/controller/pcie-rockchip-ep.c static int rockchip_pcie_ep_send_legacy_irq(struct rockchip_pcie_ep *ep, u8 fn, fn 398 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 409 drivers/pci/controller/pcie-rockchip-ep.c rockchip_pcie_ep_assert_intx(ep, fn, intx, true); fn 411 drivers/pci/controller/pcie-rockchip-ep.c rockchip_pcie_ep_assert_intx(ep, fn, intx, false); fn 415 drivers/pci/controller/pcie-rockchip-ep.c static int rockchip_pcie_ep_send_msi_irq(struct rockchip_pcie_ep *ep, u8 fn, fn 425 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 440 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 447 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 452 drivers/pci/controller/pcie-rockchip-ep.c ROCKCHIP_PCIE_EP_FUNC_BASE(fn) + fn 459 drivers/pci/controller/pcie-rockchip-ep.c ep->irq_pci_fn != fn)) { fn 460 drivers/pci/controller/pcie-rockchip-ep.c rockchip_pcie_prog_ep_ob_atu(rockchip, fn, ep->max_regions - 1, fn 466 drivers/pci/controller/pcie-rockchip-ep.c ep->irq_pci_fn = fn; fn 473 drivers/pci/controller/pcie-rockchip-ep.c static int rockchip_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, fn 481 drivers/pci/controller/pcie-rockchip-ep.c return rockchip_pcie_ep_send_legacy_irq(ep, fn, 0); fn 483 drivers/pci/controller/pcie-rockchip-ep.c return rockchip_pcie_ep_send_msi_irq(ep, fn, interrupt_num); fn 234 drivers/pci/controller/pcie-rockchip.h #define ROCKCHIP_PCIE_EP_FUNC_BASE(fn) (((fn) << 12) & GENMASK(19, 12)) fn 235 drivers/pci/controller/pcie-rockchip.h #define ROCKCHIP_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar) \ fn 236 drivers/pci/controller/pcie-rockchip.h (PCIE_RC_RP_ATS_BASE + 0x0840 + (fn) * 0x0040 + (bar) * 0x0008) fn 237 drivers/pci/controller/pcie-rockchip.h #define ROCKCHIP_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar) \ fn 238 drivers/pci/controller/pcie-rockchip.h (PCIE_RC_RP_ATS_BASE + 0x0844 + (fn) * 0x0040 + (bar) * 0x0008) fn 263 drivers/pci/controller/pcie-rockchip.h #define ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG0(fn) \ fn 264 drivers/pci/controller/pcie-rockchip.h (PCIE_CORE_CTRL_MGMT_BASE + 0x0240 + (fn) * 0x0008) fn 265 drivers/pci/controller/pcie-rockchip.h #define ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG1(fn) \ fn 266 drivers/pci/controller/pcie-rockchip.h (PCIE_CORE_CTRL_MGMT_BASE + 0x0244 + (fn) * 0x0008) fn 408 drivers/pci/controller/vmd.c #define ASSIGN_VMD_DMA_OPS(source, dest, fn) \ fn 410 drivers/pci/controller/vmd.c if (source->fn) \ fn 411 drivers/pci/controller/vmd.c dest->fn = vmd_##fn; \ fn 565 drivers/pci/controller/vmd.c struct fwnode_handle *fn; fn 675 drivers/pci/controller/vmd.c fn = irq_domain_alloc_named_id_fwnode("VMD-MSI", vmd->sysdata.domain); fn 676 drivers/pci/controller/vmd.c if (!fn) fn 679 drivers/pci/controller/vmd.c vmd->irq_domain = pci_msi_create_irq_domain(fn, &vmd_msi_domain_info, fn 681 drivers/pci/controller/vmd.c irq_domain_free_fwnode(fn); fn 1306 drivers/pci/pci-acpi.c pci_msi_register_fwnode_provider(struct fwnode_handle *(*fn)(struct device *)) fn 1308 drivers/pci/pci-acpi.c pci_msi_get_fwnode_cb = fn; fn 37 drivers/pci/pcie/aer_inject.c u8 fn; fn 327 drivers/pci/pcie/aer_inject.c unsigned int devfn = PCI_DEVFN(einj->dev, einj->fn); fn 2462 drivers/pci/probe.c static unsigned next_fn(struct pci_bus *bus, struct pci_dev *dev, unsigned fn) fn 2477 drivers/pci/probe.c if (next_fn <= fn) fn 2485 drivers/pci/probe.c return (fn + 1) % 8; fn 2525 drivers/pci/probe.c unsigned fn, nr = 0; fn 2537 drivers/pci/probe.c for (fn = next_fn(bus, dev, 0); fn > 0; fn = next_fn(bus, dev, fn)) { fn 2538 drivers/pci/probe.c dev = pci_scan_single_device(bus, devfn + fn); fn 2740 drivers/pci/probe.c unsigned int devfn, fn, cmax, max = start; fn 2756 drivers/pci/probe.c for (fn = 1; fn < 8; fn++) { fn 2757 drivers/pci/probe.c dev = pci_scan_single_device(bus, devfn + fn); fn 35 drivers/pci/quirks.c void (*fn)(struct pci_dev *dev)) fn 38 drivers/pci/quirks.c pci_info(dev, "calling %pS @ %i\n", fn, task_pid_nr(current)); fn 44 drivers/pci/quirks.c void (*fn)(struct pci_dev *dev)) fn 53 drivers/pci/quirks.c pci_info(dev, "%pS took %lld usecs\n", fn, duration); fn 29 drivers/pci/search.c int (*fn)(struct pci_dev *pdev, fn 35 drivers/pci/search.c ret = fn(pdev, pci_dev_id(pdev), data); fn 47 drivers/pci/search.c ret = fn(pdev, PCI_DEVID(pdev->bus->number, devfn), fn 83 drivers/pci/search.c ret = fn(tmp, fn 90 drivers/pci/search.c ret = fn(tmp, pci_dev_id(tmp), data); fn 97 drivers/pci/search.c ret = fn(tmp, fn 101 drivers/pci/search.c ret = fn(tmp, pci_dev_id(tmp), data); fn 752 drivers/pcmcia/cistpl.c link->fn[i].space = *p; p++; fn 753 drivers/pcmcia/cistpl.c link->fn[i].addr = get_unaligned_le32(p); fn 484 drivers/pinctrl/cirrus/pinctrl-madera-core.c unsigned int pin, unsigned int fn) fn 489 drivers/pinctrl/cirrus/pinctrl-madera-core.c if (fn != 0) { fn 491 drivers/pinctrl/cirrus/pinctrl-madera-core.c if (madera_mux_funcs[i].func == fn) { fn 519 drivers/pinctrl/cirrus/pinctrl-madera-core.c unsigned int fn; fn 532 drivers/pinctrl/cirrus/pinctrl-madera-core.c fn = (conf[0] & MADERA_GP1_FN_MASK) >> MADERA_GP1_FN_SHIFT; fn 533 drivers/pinctrl/cirrus/pinctrl-madera-core.c madera_pin_dbg_show_fn(priv, s, pin, fn); fn 536 drivers/pinctrl/cirrus/pinctrl-madera-core.c if (fn == 1) { fn 403 drivers/pinctrl/freescale/pinctrl-mxs.c const char *fn, *fnull = ""; fn 415 drivers/pinctrl/freescale/pinctrl-mxs.c fn = fnull; fn 423 drivers/pinctrl/freescale/pinctrl-mxs.c if (strcmp(fn, child->name)) { fn 424 drivers/pinctrl/freescale/pinctrl-mxs.c fn = child->name; fn 443 drivers/pinctrl/freescale/pinctrl-mxs.c fn = fnull; fn 450 drivers/pinctrl/freescale/pinctrl-mxs.c if (strcmp(fn, child->name)) { fn 470 drivers/pinctrl/freescale/pinctrl-mxs.c if (!strcmp(child2->name, fn)) fn 473 drivers/pinctrl/freescale/pinctrl-mxs.c fn); fn 477 drivers/pinctrl/freescale/pinctrl-mxs.c f->name = fn = child->name; fn 484 drivers/pinctrl/freescale/pinctrl-mxs.c fn = fnull; fn 498 drivers/pinctrl/freescale/pinctrl-mxs.c if (strcmp(fn, child->name)) { fn 508 drivers/pinctrl/freescale/pinctrl-mxs.c fn = child->name; fn 133 drivers/pinctrl/meson/pinctrl-meson.h #define FUNCTION(fn) \ fn 135 drivers/pinctrl/meson/pinctrl-meson.h .name = #fn, \ fn 136 drivers/pinctrl/meson/pinctrl-meson.h .groups = fn ## _groups, \ fn 137 drivers/pinctrl/meson/pinctrl-meson.h .num_groups = ARRAY_SIZE(fn ## _groups), \ fn 12 drivers/pinctrl/sh-pfc/pfc-emev2.c #define CPU_ALL_PORT(fn, pfx, sfx) \ fn 13 drivers/pinctrl/sh-pfc/pfc-emev2.c PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \ fn 14 drivers/pinctrl/sh-pfc/pfc-emev2.c PORT_10(100, fn, pfx##10, sfx), PORT_10(110, fn, pfx##11, sfx), \ fn 15 drivers/pinctrl/sh-pfc/pfc-emev2.c PORT_10(120, fn, pfx##12, sfx), PORT_10(130, fn, pfx##13, sfx), \ fn 16 drivers/pinctrl/sh-pfc/pfc-emev2.c PORT_10(140, fn, pfx##14, sfx), PORT_1(150, fn, pfx##150, sfx), \ fn 17 drivers/pinctrl/sh-pfc/pfc-emev2.c PORT_1(151, fn, pfx##151, sfx), PORT_1(152, fn, pfx##152, sfx), \ fn 18 drivers/pinctrl/sh-pfc/pfc-emev2.c PORT_1(153, fn, pfx##153, sfx), PORT_1(154, fn, pfx##154, sfx), \ fn 19 drivers/pinctrl/sh-pfc/pfc-emev2.c PORT_1(155, fn, pfx##155, sfx), PORT_1(156, fn, pfx##156, sfx), \ fn 20 drivers/pinctrl/sh-pfc/pfc-emev2.c PORT_1(157, fn, pfx##157, sfx), PORT_1(158, fn, pfx##158, sfx) fn 22 drivers/pinctrl/sh-pfc/pfc-emev2.c #define CPU_ALL_NOGP(fn) \ fn 23 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_B2, "B15", fn), \ fn 24 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_B3, "C15", fn), \ fn 25 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_B4, "D15", fn), \ fn 26 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_B5, "B14", fn), \ fn 27 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_B6, "C14", fn), \ fn 28 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_B7, "D14", fn), \ fn 29 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_G2, "B17", fn), \ fn 30 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_G3, "C17", fn), \ fn 31 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_G4, "D17", fn), \ fn 32 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_G5, "B16", fn), \ fn 33 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_G6, "C16", fn), \ fn 34 drivers/pinctrl/sh-pfc/pfc-emev2.c PIN_NOGP(LCD3_G7, "D16", fn) fn 13 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c #define CPU_ALL_PORT(fn, pfx, sfx) \ fn 15 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(0, fn, pfx, sfx), \ fn 16 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(10, fn, pfx##1, sfx), \ fn 17 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(20, fn, pfx##2, sfx), \ fn 18 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(30, fn, pfx##30, sfx), \ fn 20 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(32, fn, pfx##32, sfx), PORT_1(33, fn, pfx##33, sfx), \ fn 21 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(34, fn, pfx##34, sfx), PORT_1(35, fn, pfx##35, sfx), \ fn 22 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(36, fn, pfx##36, sfx), PORT_1(37, fn, pfx##37, sfx), \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(38, fn, pfx##38, sfx), PORT_1(39, fn, pfx##39, sfx), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(40, fn, pfx##40, sfx), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(64, fn, pfx##64, sfx), PORT_1(65, fn, pfx##65, sfx), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(66, fn, pfx##66, sfx), PORT_1(67, fn, pfx##67, sfx), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(68, fn, pfx##68, sfx), PORT_1(69, fn, pfx##69, sfx), \ fn 29 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(70, fn, pfx##7, sfx), \ fn 30 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(80, fn, pfx##80, sfx), PORT_1(81, fn, pfx##81, sfx), \ fn 31 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(82, fn, pfx##82, sfx), PORT_1(83, fn, pfx##83, sfx), \ fn 32 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(84, fn, pfx##84, sfx), PORT_1(85, fn, pfx##85, sfx), \ fn 34 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(96, fn, pfx##96, sfx), PORT_1(97, fn, pfx##97, sfx), \ fn 35 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(98, fn, pfx##98, sfx), PORT_1(99, fn, pfx##99, sfx), \ fn 36 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(100, fn, pfx##10, sfx), \ fn 37 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(110, fn, pfx##11, sfx), \ fn 38 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(120, fn, pfx##120, sfx), PORT_1(121, fn, pfx##121, sfx), \ fn 39 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(122, fn, pfx##122, sfx), PORT_1(123, fn, pfx##123, sfx), \ fn 40 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(124, fn, pfx##124, sfx), PORT_1(125, fn, pfx##125, sfx), \ fn 41 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(126, fn, pfx##126, sfx), \ fn 43 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(128, fn, pfx##128, sfx), PORT_1(129, fn, pfx##129, sfx), \ fn 44 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(130, fn, pfx##130, sfx), PORT_1(131, fn, pfx##131, sfx), \ fn 45 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(132, fn, pfx##132, sfx), PORT_1(133, fn, pfx##133, sfx), \ fn 46 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(134, fn, pfx##134, sfx), \ fn 48 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(160, fn, pfx##16, sfx), \ fn 49 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(170, fn, pfx##170, sfx), PORT_1(171, fn, pfx##171, sfx), \ fn 50 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(172, fn, pfx##172, sfx), PORT_1(173, fn, pfx##173, sfx), \ fn 51 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(174, fn, pfx##174, sfx), PORT_1(175, fn, pfx##175, sfx), \ fn 52 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(176, fn, pfx##176, sfx), PORT_1(177, fn, pfx##177, sfx), \ fn 53 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(178, fn, pfx##178, sfx), \ fn 55 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(192, fn, pfx##192, sfx), PORT_1(193, fn, pfx##193, sfx), \ fn 56 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(194, fn, pfx##194, sfx), PORT_1(195, fn, pfx##195, sfx), \ fn 57 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(196, fn, pfx##196, sfx), PORT_1(197, fn, pfx##197, sfx), \ fn 58 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(198, fn, pfx##198, sfx), PORT_1(199, fn, pfx##199, sfx), \ fn 59 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(200, fn, pfx##20, sfx), \ fn 60 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(210, fn, pfx##21, sfx), \ fn 61 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(220, fn, pfx##220, sfx), PORT_1(221, fn, pfx##221, sfx), \ fn 62 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(222, fn, pfx##222, sfx), \ fn 64 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(224, fn, pfx##224, sfx), PORT_1(225, fn, pfx##225, sfx), \ fn 65 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(226, fn, pfx##226, sfx), PORT_1(227, fn, pfx##227, sfx), \ fn 66 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(228, fn, pfx##228, sfx), PORT_1(229, fn, pfx##229, sfx), \ fn 67 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(230, fn, pfx##23, sfx), \ fn 68 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(240, fn, pfx##24, sfx), \ fn 69 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(250, fn, pfx##250, sfx), \ fn 71 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(256, fn, pfx##256, sfx), PORT_1(257, fn, pfx##257, sfx), \ fn 72 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(258, fn, pfx##258, sfx), PORT_1(259, fn, pfx##259, sfx), \ fn 73 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(260, fn, pfx##26, sfx), \ fn 74 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(270, fn, pfx##27, sfx), \ fn 75 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(280, fn, pfx##280, sfx), PORT_1(281, fn, pfx##281, sfx), \ fn 76 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(282, fn, pfx##282, sfx), PORT_1(283, fn, pfx##283, sfx), \ fn 78 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(288, fn, pfx##288, sfx), PORT_1(289, fn, pfx##289, sfx), \ fn 79 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(290, fn, pfx##29, sfx), \ fn 80 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(300, fn, pfx##300, sfx), PORT_1(301, fn, pfx##301, sfx), \ fn 81 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(302, fn, pfx##302, sfx), PORT_1(303, fn, pfx##303, sfx), \ fn 82 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(304, fn, pfx##304, sfx), PORT_1(305, fn, pfx##305, sfx), \ fn 83 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(306, fn, pfx##306, sfx), PORT_1(307, fn, pfx##307, sfx), \ fn 84 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_1(308, fn, pfx##308, sfx), \ fn 86 drivers/pinctrl/sh-pfc/pfc-r8a73a4.c PORT_10(320, fn, pfx##32, sfx) fn 14 drivers/pinctrl/sh-pfc/pfc-r8a7740.c #define CPU_ALL_PORT(fn, pfx, sfx) \ fn 15 drivers/pinctrl/sh-pfc/pfc-r8a7740.c PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \ fn 16 drivers/pinctrl/sh-pfc/pfc-r8a7740.c PORT_10(100, fn, pfx##10, sfx), PORT_90(100, fn, pfx##1, sfx), \ fn 17 drivers/pinctrl/sh-pfc/pfc-r8a7740.c PORT_10(200, fn, pfx##20, sfx), \ fn 18 drivers/pinctrl/sh-pfc/pfc-r8a7740.c PORT_1(210, fn, pfx##210, sfx), PORT_1(211, fn, pfx##211, sfx) fn 13 drivers/pinctrl/sh-pfc/pfc-r8a77470.c #define CPU_ALL_GP(fn, sfx) \ fn 14 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_4(0, fn, sfx), \ fn 15 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(0, 4, fn, sfx), \ fn 16 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 5, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 17 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 6, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 18 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 7, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 19 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 8, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 20 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 9, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 21 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 10, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 22 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(0, 11, fn, sfx), \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(0, 12, fn, sfx), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 13, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 14, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 15, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 16, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 17, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 29 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 18, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 30 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 19, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 31 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 20, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 32 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 21, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 33 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(0, 22, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 34 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_23(1, fn, sfx), \ fn 35 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_32(2, fn, sfx), \ fn 36 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_17(3, fn, sfx), \ fn 37 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(3, 27, fn, sfx), \ fn 38 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(3, 28, fn, sfx), \ fn 39 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(3, 29, fn, sfx), \ fn 40 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_14(4, fn, sfx), \ fn 41 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(4, 14, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 42 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(4, 15, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 43 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(4, 16, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 44 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(4, 17, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 45 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(4, 18, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 46 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_CFG_1(4, 19, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 47 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(4, 20, fn, sfx), \ fn 48 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(4, 21, fn, sfx), \ fn 49 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(4, 22, fn, sfx), \ fn 50 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(4, 23, fn, sfx), \ fn 51 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(4, 24, fn, sfx), \ fn 52 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_1(4, 25, fn, sfx), \ fn 53 drivers/pinctrl/sh-pfc/pfc-r8a77470.c PORT_GP_32(5, fn, sfx) fn 22 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define PORT_GP_PUP_1(bank, pin, fn, sfx) \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a7778.c PORT_GP_CFG_1(bank, pin, fn, sfx, SH_PFC_PIN_CFG_PULL_UP) fn 25 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define CPU_ALL_GP(fn, sfx) \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a7778.c PORT_GP_CFG_32(0, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a7778.c PORT_GP_CFG_32(1, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a7778.c PORT_GP_CFG_32(2, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ fn 29 drivers/pinctrl/sh-pfc/pfc-r8a7778.c PORT_GP_CFG_32(3, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ fn 30 drivers/pinctrl/sh-pfc/pfc-r8a7778.c PORT_GP_CFG_27(4, fn, sfx, SH_PFC_PIN_CFG_PULL_UP) fn 32 drivers/pinctrl/sh-pfc/pfc-r8a7778.c #define CPU_ALL_NOGP(fn) \ fn 33 drivers/pinctrl/sh-pfc/pfc-r8a7778.c PIN_NOGP(CLKOUT, "B25", fn), \ fn 34 drivers/pinctrl/sh-pfc/pfc-r8a7778.c PIN_NOGP(CS0, "A20", fn), \ fn 35 drivers/pinctrl/sh-pfc/pfc-r8a7778.c PIN_NOGP(CS1_A26, "C20", fn) fn 14 drivers/pinctrl/sh-pfc/pfc-r8a7779.c #define CPU_ALL_GP(fn, sfx) \ fn 15 drivers/pinctrl/sh-pfc/pfc-r8a7779.c PORT_GP_32(0, fn, sfx), \ fn 16 drivers/pinctrl/sh-pfc/pfc-r8a7779.c PORT_GP_32(1, fn, sfx), \ fn 17 drivers/pinctrl/sh-pfc/pfc-r8a7779.c PORT_GP_32(2, fn, sfx), \ fn 18 drivers/pinctrl/sh-pfc/pfc-r8a7779.c PORT_GP_32(3, fn, sfx), \ fn 19 drivers/pinctrl/sh-pfc/pfc-r8a7779.c PORT_GP_32(4, fn, sfx), \ fn 20 drivers/pinctrl/sh-pfc/pfc-r8a7779.c PORT_GP_32(5, fn, sfx), \ fn 21 drivers/pinctrl/sh-pfc/pfc-r8a7779.c PORT_GP_9(6, fn, sfx) fn 23 drivers/pinctrl/sh-pfc/pfc-r8a7790.c #define CPU_ALL_GP(fn, sfx) \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a7790.c PORT_GP_32(0, fn, sfx), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a7790.c PORT_GP_30(1, fn, sfx), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a7790.c PORT_GP_30(2, fn, sfx), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a7790.c PORT_GP_CFG_32(3, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a7790.c PORT_GP_32(4, fn, sfx), \ fn 29 drivers/pinctrl/sh-pfc/pfc-r8a7790.c PORT_GP_32(5, fn, sfx) fn 31 drivers/pinctrl/sh-pfc/pfc-r8a7790.c #define CPU_ALL_NOGP(fn) \ fn 32 drivers/pinctrl/sh-pfc/pfc-r8a7790.c PIN_NOGP(IIC0_SDA, "AF15", fn), \ fn 33 drivers/pinctrl/sh-pfc/pfc-r8a7790.c PIN_NOGP(IIC0_SCL, "AG15", fn), \ fn 34 drivers/pinctrl/sh-pfc/pfc-r8a7790.c PIN_NOGP(IIC3_SDA, "AH15", fn), \ fn 35 drivers/pinctrl/sh-pfc/pfc-r8a7790.c PIN_NOGP(IIC3_SCL, "AJ15", fn) fn 18 drivers/pinctrl/sh-pfc/pfc-r8a7791.c #define CPU_ALL_GP(fn, sfx) \ fn 19 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_32(0, fn, sfx), \ fn 20 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_26(1, fn, sfx), \ fn 21 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_32(2, fn, sfx), \ fn 22 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_32(3, fn, sfx), \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_32(4, fn, sfx), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_32(5, fn, sfx), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_CFG_24(6, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_1(6, 24, fn, sfx), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_1(6, 25, fn, sfx), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_1(6, 26, fn, sfx), \ fn 29 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_1(6, 27, fn, sfx), \ fn 30 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_1(6, 28, fn, sfx), \ fn 31 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_1(6, 29, fn, sfx), \ fn 32 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_1(6, 30, fn, sfx), \ fn 33 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_1(6, 31, fn, sfx), \ fn 34 drivers/pinctrl/sh-pfc/pfc-r8a7791.c PORT_GP_26(7, fn, sfx) fn 14 drivers/pinctrl/sh-pfc/pfc-r8a7792.c #define CPU_ALL_GP(fn, sfx) \ fn 15 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_29(0, fn, sfx), \ fn 16 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_23(1, fn, sfx), \ fn 17 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_32(2, fn, sfx), \ fn 18 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_28(3, fn, sfx), \ fn 19 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_17(4, fn, sfx), \ fn 20 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_17(5, fn, sfx), \ fn 21 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_17(6, fn, sfx), \ fn 22 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_17(7, fn, sfx), \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_17(8, fn, sfx), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_17(9, fn, sfx), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_32(10, fn, sfx), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a7792.c PORT_GP_30(11, fn, sfx) fn 17 drivers/pinctrl/sh-pfc/pfc-r8a7794.c #define CPU_ALL_GP(fn, sfx) \ fn 18 drivers/pinctrl/sh-pfc/pfc-r8a7794.c PORT_GP_32(0, fn, sfx), \ fn 19 drivers/pinctrl/sh-pfc/pfc-r8a7794.c PORT_GP_26(1, fn, sfx), \ fn 20 drivers/pinctrl/sh-pfc/pfc-r8a7794.c PORT_GP_32(2, fn, sfx), \ fn 21 drivers/pinctrl/sh-pfc/pfc-r8a7794.c PORT_GP_32(3, fn, sfx), \ fn 22 drivers/pinctrl/sh-pfc/pfc-r8a7794.c PORT_GP_32(4, fn, sfx), \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a7794.c PORT_GP_28(5, fn, sfx), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a7794.c PORT_GP_CFG_24(6, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a7794.c PORT_GP_1(6, 24, fn, sfx), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a7794.c PORT_GP_1(6, 25, fn, sfx) fn 16 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c #define CPU_ALL_GP(fn, sfx) \ fn 17 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_16(0, fn, sfx, CFG_FLAGS), \ fn 18 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_28(1, fn, sfx, CFG_FLAGS), \ fn 19 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_15(2, fn, sfx, CFG_FLAGS), \ fn 20 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_12(3, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 21 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_1(3, 12, fn, sfx, CFG_FLAGS), \ fn 22 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_1(3, 13, fn, sfx, CFG_FLAGS), \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_1(3, 14, fn, sfx, CFG_FLAGS), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_1(3, 15, fn, sfx, CFG_FLAGS), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_18(4, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_26(5, fn, sfx, CFG_FLAGS), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_32(6, fn, sfx, CFG_FLAGS), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PORT_GP_CFG_4(7, fn, sfx, CFG_FLAGS) fn 30 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c #define CPU_ALL_NOGP(fn) \ fn 31 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(ASEBRK, "ASEBRK", fn, CFG_FLAGS), \ fn 32 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_MDIO, "AVB_MDIO", fn, CFG_FLAGS), \ fn 33 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_RD0, "AVB_RD0", fn, CFG_FLAGS), \ fn 34 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_RD1, "AVB_RD1", fn, CFG_FLAGS), \ fn 35 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_RD2, "AVB_RD2", fn, CFG_FLAGS), \ fn 36 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_RD3, "AVB_RD3", fn, CFG_FLAGS), \ fn 37 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_RXC, "AVB_RXC", fn, CFG_FLAGS), \ fn 38 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_RX_CTL, "AVB_RX_CTL", fn, CFG_FLAGS), \ fn 39 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_TD0, "AVB_TD0", fn, CFG_FLAGS), \ fn 40 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_TD1, "AVB_TD1", fn, CFG_FLAGS), \ fn 41 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_TD2, "AVB_TD2", fn, CFG_FLAGS), \ fn 42 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_TD3, "AVB_TD3", fn, CFG_FLAGS), \ fn 43 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_TXC, "AVB_TXC", fn, CFG_FLAGS), \ fn 44 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_TXCREFCLK, "AVB_TXCREFCLK", fn, CFG_FLAGS), \ fn 45 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(AVB_TX_CTL, "AVB_TX_CTL", fn, CFG_FLAGS), \ fn 46 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(CLKOUT, "CLKOUT", fn, CFG_FLAGS), \ fn 47 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(DU_DOTCLKIN0, "DU_DOTCLKIN0", fn, CFG_FLAGS), \ fn 48 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(DU_DOTCLKIN1, "DU_DOTCLKIN1", fn, CFG_FLAGS), \ fn 49 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(DU_DOTCLKIN2, "DU_DOTCLKIN2", fn, CFG_FLAGS), \ fn 50 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(DU_DOTCLKIN3, "DU_DOTCLKIN3", fn, CFG_FLAGS), \ fn 51 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(EXTALR, "EXTALR", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN),\ fn 52 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(FSCLKST_N, "FSCLKST#", fn, CFG_FLAGS), \ fn 53 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(MLB_REF, "MLB_REF", fn, CFG_FLAGS), \ fn 54 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(PRESETOUT_N, "PRESETOUT#", fn, CFG_FLAGS), \ fn 55 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI0_IO2, "QSPI0_IO2", fn, CFG_FLAGS), \ fn 56 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI0_IO3, "QSPI0_IO3", fn, CFG_FLAGS), \ fn 57 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI0_MISO_IO1, "QSPI0_MISO_IO1", fn, CFG_FLAGS), \ fn 58 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI0_MOSI_IO0, "QSPI0_MOSI_IO0", fn, CFG_FLAGS), \ fn 59 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI0_SPCLK, "QSPI0_SPCLK", fn, CFG_FLAGS), \ fn 60 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI0_SSL, "QSPI0_SSL", fn, CFG_FLAGS), \ fn 61 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI1_IO2, "QSPI1_IO2", fn, CFG_FLAGS), \ fn 62 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI1_IO3, "QSPI1_IO3", fn, CFG_FLAGS), \ fn 63 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI1_MISO_IO1, "QSPI1_MISO_IO1", fn, CFG_FLAGS), \ fn 64 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI1_MOSI_IO0, "QSPI1_MOSI_IO0", fn, CFG_FLAGS), \ fn 65 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI1_SPCLK, "QSPI1_SPCLK", fn, CFG_FLAGS), \ fn 66 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(QSPI1_SSL, "QSPI1_SSL", fn, CFG_FLAGS), \ fn 67 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(RPC_INT_N, "RPC_INT#", fn, CFG_FLAGS), \ fn 68 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(RPC_RESET_N, "RPC_RESET#", fn, CFG_FLAGS), \ fn 69 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(RPC_WP_N, "RPC_WP#", fn, CFG_FLAGS), \ fn 70 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(TCK, "TCK", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN), \ fn 71 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(TDI, "TDI", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN), \ fn 72 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(TDO, "TDO", fn, SH_PFC_PIN_CFG_DRIVE_STRENGTH), \ fn 73 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(TMS, "TMS", fn, CFG_FLAGS), \ fn 74 drivers/pinctrl/sh-pfc/pfc-r8a7795-es1.c PIN_NOGP_CFG(TRST_N, "TRST#", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN) fn 17 drivers/pinctrl/sh-pfc/pfc-r8a7795.c #define CPU_ALL_GP(fn, sfx) \ fn 18 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_16(0, fn, sfx, CFG_FLAGS), \ fn 19 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_29(1, fn, sfx, CFG_FLAGS), \ fn 20 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_15(2, fn, sfx, CFG_FLAGS), \ fn 21 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_12(3, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 22 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_1(3, 12, fn, sfx, CFG_FLAGS), \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_1(3, 13, fn, sfx, CFG_FLAGS), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_1(3, 14, fn, sfx, CFG_FLAGS), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_1(3, 15, fn, sfx, CFG_FLAGS), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_18(4, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_26(5, fn, sfx, CFG_FLAGS), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_32(6, fn, sfx, CFG_FLAGS), \ fn 29 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PORT_GP_CFG_4(7, fn, sfx, CFG_FLAGS) fn 31 drivers/pinctrl/sh-pfc/pfc-r8a7795.c #define CPU_ALL_NOGP(fn) \ fn 32 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(ASEBRK, "ASEBRK", fn, CFG_FLAGS), \ fn 33 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_MDIO, "AVB_MDIO", fn, CFG_FLAGS), \ fn 34 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_RD0, "AVB_RD0", fn, CFG_FLAGS), \ fn 35 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_RD1, "AVB_RD1", fn, CFG_FLAGS), \ fn 36 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_RD2, "AVB_RD2", fn, CFG_FLAGS), \ fn 37 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_RD3, "AVB_RD3", fn, CFG_FLAGS), \ fn 38 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_RXC, "AVB_RXC", fn, CFG_FLAGS), \ fn 39 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_RX_CTL, "AVB_RX_CTL", fn, CFG_FLAGS), \ fn 40 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_TD0, "AVB_TD0", fn, CFG_FLAGS), \ fn 41 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_TD1, "AVB_TD1", fn, CFG_FLAGS), \ fn 42 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_TD2, "AVB_TD2", fn, CFG_FLAGS), \ fn 43 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_TD3, "AVB_TD3", fn, CFG_FLAGS), \ fn 44 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_TXC, "AVB_TXC", fn, CFG_FLAGS), \ fn 45 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_TXCREFCLK, "AVB_TXCREFCLK", fn, CFG_FLAGS), \ fn 46 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(AVB_TX_CTL, "AVB_TX_CTL", fn, CFG_FLAGS), \ fn 47 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(DU_DOTCLKIN0, "DU_DOTCLKIN0", fn, CFG_FLAGS), \ fn 48 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(DU_DOTCLKIN1, "DU_DOTCLKIN1", fn, CFG_FLAGS), \ fn 49 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(DU_DOTCLKIN2, "DU_DOTCLKIN2", fn, CFG_FLAGS), \ fn 50 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(DU_DOTCLKIN3, "DU_DOTCLKIN3", fn, CFG_FLAGS), \ fn 51 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(EXTALR, "EXTALR", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN),\ fn 52 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(FSCLKST_N, "FSCLKST#", fn, CFG_FLAGS), \ fn 53 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(MLB_REF, "MLB_REF", fn, CFG_FLAGS), \ fn 54 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(PRESETOUT_N, "PRESETOUT#", fn, CFG_FLAGS), \ fn 55 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI0_IO2, "QSPI0_IO2", fn, CFG_FLAGS), \ fn 56 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI0_IO3, "QSPI0_IO3", fn, CFG_FLAGS), \ fn 57 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI0_MISO_IO1, "QSPI0_MISO_IO1", fn, CFG_FLAGS), \ fn 58 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI0_MOSI_IO0, "QSPI0_MOSI_IO0", fn, CFG_FLAGS), \ fn 59 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI0_SPCLK, "QSPI0_SPCLK", fn, CFG_FLAGS), \ fn 60 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI0_SSL, "QSPI0_SSL", fn, CFG_FLAGS), \ fn 61 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI1_IO2, "QSPI1_IO2", fn, CFG_FLAGS), \ fn 62 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI1_IO3, "QSPI1_IO3", fn, CFG_FLAGS), \ fn 63 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI1_MISO_IO1, "QSPI1_MISO_IO1", fn, CFG_FLAGS), \ fn 64 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI1_MOSI_IO0, "QSPI1_MOSI_IO0", fn, CFG_FLAGS), \ fn 65 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI1_SPCLK, "QSPI1_SPCLK", fn, CFG_FLAGS), \ fn 66 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(QSPI1_SSL, "QSPI1_SSL", fn, CFG_FLAGS), \ fn 67 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(RPC_INT_N, "RPC_INT#", fn, CFG_FLAGS), \ fn 68 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(RPC_RESET_N, "RPC_RESET#", fn, CFG_FLAGS), \ fn 69 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(RPC_WP_N, "RPC_WP#", fn, CFG_FLAGS), \ fn 70 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(TCK, "TCK", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN), \ fn 71 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(TDI, "TDI", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN), \ fn 72 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(TDO, "TDO", fn, SH_PFC_PIN_CFG_DRIVE_STRENGTH), \ fn 73 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(TMS, "TMS", fn, CFG_FLAGS), \ fn 74 drivers/pinctrl/sh-pfc/pfc-r8a7795.c PIN_NOGP_CFG(TRST_N, "TRST#", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN) fn 22 drivers/pinctrl/sh-pfc/pfc-r8a7796.c #define CPU_ALL_GP(fn, sfx) \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_16(0, fn, sfx, CFG_FLAGS), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_29(1, fn, sfx, CFG_FLAGS), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_15(2, fn, sfx, CFG_FLAGS), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_12(3, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_1(3, 12, fn, sfx, CFG_FLAGS), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_1(3, 13, fn, sfx, CFG_FLAGS), \ fn 29 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_1(3, 14, fn, sfx, CFG_FLAGS), \ fn 30 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_1(3, 15, fn, sfx, CFG_FLAGS), \ fn 31 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_18(4, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 32 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_26(5, fn, sfx, CFG_FLAGS), \ fn 33 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_32(6, fn, sfx, CFG_FLAGS), \ fn 34 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PORT_GP_CFG_4(7, fn, sfx, CFG_FLAGS) fn 36 drivers/pinctrl/sh-pfc/pfc-r8a7796.c #define CPU_ALL_NOGP(fn) \ fn 37 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(ASEBRK, "ASEBRK", fn, CFG_FLAGS), \ fn 38 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_MDIO, "AVB_MDIO", fn, CFG_FLAGS), \ fn 39 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_RD0, "AVB_RD0", fn, CFG_FLAGS), \ fn 40 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_RD1, "AVB_RD1", fn, CFG_FLAGS), \ fn 41 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_RD2, "AVB_RD2", fn, CFG_FLAGS), \ fn 42 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_RD3, "AVB_RD3", fn, CFG_FLAGS), \ fn 43 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_RXC, "AVB_RXC", fn, CFG_FLAGS), \ fn 44 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_RX_CTL, "AVB_RX_CTL", fn, CFG_FLAGS), \ fn 45 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_TD0, "AVB_TD0", fn, CFG_FLAGS), \ fn 46 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_TD1, "AVB_TD1", fn, CFG_FLAGS), \ fn 47 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_TD2, "AVB_TD2", fn, CFG_FLAGS), \ fn 48 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_TD3, "AVB_TD3", fn, CFG_FLAGS), \ fn 49 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_TXC, "AVB_TXC", fn, CFG_FLAGS), \ fn 50 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_TXCREFCLK, "AVB_TXCREFCLK", fn, CFG_FLAGS), \ fn 51 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(AVB_TX_CTL, "AVB_TX_CTL", fn, CFG_FLAGS), \ fn 52 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(DU_DOTCLKIN0, "DU_DOTCLKIN0", fn, CFG_FLAGS), \ fn 53 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(DU_DOTCLKIN1, "DU_DOTCLKIN1", fn, CFG_FLAGS), \ fn 54 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(DU_DOTCLKIN2, "DU_DOTCLKIN2", fn, CFG_FLAGS), \ fn 55 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(EXTALR, "EXTALR", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN),\ fn 56 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(FSCLKST, "FSCLKST", fn, CFG_FLAGS), \ fn 57 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(MLB_REF, "MLB_REF", fn, CFG_FLAGS), \ fn 58 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(PRESETOUT_N, "PRESETOUT#", fn, CFG_FLAGS), \ fn 59 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI0_IO2, "QSPI0_IO2", fn, CFG_FLAGS), \ fn 60 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI0_IO3, "QSPI0_IO3", fn, CFG_FLAGS), \ fn 61 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI0_MISO_IO1, "QSPI0_MISO_IO1", fn, CFG_FLAGS), \ fn 62 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI0_MOSI_IO0, "QSPI0_MOSI_IO0", fn, CFG_FLAGS), \ fn 63 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI0_SPCLK, "QSPI0_SPCLK", fn, CFG_FLAGS), \ fn 64 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI0_SSL, "QSPI0_SSL", fn, CFG_FLAGS), \ fn 65 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI1_IO2, "QSPI1_IO2", fn, CFG_FLAGS), \ fn 66 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI1_IO3, "QSPI1_IO3", fn, CFG_FLAGS), \ fn 67 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI1_MISO_IO1, "QSPI1_MISO_IO1", fn, CFG_FLAGS), \ fn 68 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI1_MOSI_IO0, "QSPI1_MOSI_IO0", fn, CFG_FLAGS), \ fn 69 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI1_SPCLK, "QSPI1_SPCLK", fn, CFG_FLAGS), \ fn 70 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(QSPI1_SSL, "QSPI1_SSL", fn, CFG_FLAGS), \ fn 71 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(RPC_INT_N, "RPC_INT#", fn, CFG_FLAGS), \ fn 72 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(RPC_RESET_N, "RPC_RESET#", fn, CFG_FLAGS), \ fn 73 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(RPC_WP_N, "RPC_WP#", fn, CFG_FLAGS), \ fn 74 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(TCK, "TCK", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN), \ fn 75 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(TDI, "TDI", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN), \ fn 76 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(TDO, "TDO", fn, SH_PFC_PIN_CFG_DRIVE_STRENGTH), \ fn 77 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(TMS, "TMS", fn, CFG_FLAGS), \ fn 78 drivers/pinctrl/sh-pfc/pfc-r8a7796.c PIN_NOGP_CFG(TRST_N, "TRST#", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN) fn 23 drivers/pinctrl/sh-pfc/pfc-r8a77965.c #define CPU_ALL_GP(fn, sfx) \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_16(0, fn, sfx, CFG_FLAGS), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_29(1, fn, sfx, CFG_FLAGS), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_15(2, fn, sfx, CFG_FLAGS), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_12(3, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_1(3, 12, fn, sfx, CFG_FLAGS), \ fn 29 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_1(3, 13, fn, sfx, CFG_FLAGS), \ fn 30 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_1(3, 14, fn, sfx, CFG_FLAGS), \ fn 31 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_1(3, 15, fn, sfx, CFG_FLAGS), \ fn 32 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_18(4, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 33 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_26(5, fn, sfx, CFG_FLAGS), \ fn 34 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_32(6, fn, sfx, CFG_FLAGS), \ fn 35 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PORT_GP_CFG_4(7, fn, sfx, CFG_FLAGS) fn 37 drivers/pinctrl/sh-pfc/pfc-r8a77965.c #define CPU_ALL_NOGP(fn) \ fn 38 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(ASEBRK, "ASEBRK", fn, CFG_FLAGS), \ fn 39 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_MDIO, "AVB_MDIO", fn, CFG_FLAGS), \ fn 40 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_RD0, "AVB_RD0", fn, CFG_FLAGS), \ fn 41 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_RD1, "AVB_RD1", fn, CFG_FLAGS), \ fn 42 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_RD2, "AVB_RD2", fn, CFG_FLAGS), \ fn 43 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_RD3, "AVB_RD3", fn, CFG_FLAGS), \ fn 44 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_RXC, "AVB_RXC", fn, CFG_FLAGS), \ fn 45 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_RX_CTL, "AVB_RX_CTL", fn, CFG_FLAGS), \ fn 46 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_TD0, "AVB_TD0", fn, CFG_FLAGS), \ fn 47 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_TD1, "AVB_TD1", fn, CFG_FLAGS), \ fn 48 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_TD2, "AVB_TD2", fn, CFG_FLAGS), \ fn 49 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_TD3, "AVB_TD3", fn, CFG_FLAGS), \ fn 50 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_TXC, "AVB_TXC", fn, CFG_FLAGS), \ fn 51 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_TXCREFCLK, "AVB_TXCREFCLK", fn, CFG_FLAGS), \ fn 52 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(AVB_TX_CTL, "AVB_TX_CTL", fn, CFG_FLAGS), \ fn 53 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(DU_DOTCLKIN0, "DU_DOTCLKIN0", fn, CFG_FLAGS), \ fn 54 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(DU_DOTCLKIN1, "DU_DOTCLKIN1", fn, CFG_FLAGS), \ fn 55 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(DU_DOTCLKIN3, "DU_DOTCLKIN3", fn, CFG_FLAGS), \ fn 56 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(EXTALR, "EXTALR", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN),\ fn 57 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(FSCLKST, "FSCLKST", fn, CFG_FLAGS), \ fn 58 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(MLB_REF, "MLB_REF", fn, CFG_FLAGS), \ fn 59 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(PRESETOUT_N, "PRESETOUT#", fn, CFG_FLAGS), \ fn 60 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI0_IO2, "QSPI0_IO2", fn, CFG_FLAGS), \ fn 61 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI0_IO3, "QSPI0_IO3", fn, CFG_FLAGS), \ fn 62 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI0_MISO_IO1, "QSPI0_MISO_IO1", fn, CFG_FLAGS), \ fn 63 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI0_MOSI_IO0, "QSPI0_MOSI_IO0", fn, CFG_FLAGS), \ fn 64 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI0_SPCLK, "QSPI0_SPCLK", fn, CFG_FLAGS), \ fn 65 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI0_SSL, "QSPI0_SSL", fn, CFG_FLAGS), \ fn 66 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI1_IO2, "QSPI1_IO2", fn, CFG_FLAGS), \ fn 67 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI1_IO3, "QSPI1_IO3", fn, CFG_FLAGS), \ fn 68 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI1_MISO_IO1, "QSPI1_MISO_IO1", fn, CFG_FLAGS), \ fn 69 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI1_MOSI_IO0, "QSPI1_MOSI_IO0", fn, CFG_FLAGS), \ fn 70 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI1_SPCLK, "QSPI1_SPCLK", fn, CFG_FLAGS), \ fn 71 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(QSPI1_SSL, "QSPI1_SSL", fn, CFG_FLAGS), \ fn 72 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(RPC_INT_N, "RPC_INT#", fn, CFG_FLAGS), \ fn 73 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(RPC_RESET_N, "RPC_RESET#", fn, CFG_FLAGS), \ fn 74 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(RPC_WP_N, "RPC_WP#", fn, CFG_FLAGS), \ fn 75 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(TCK, "TCK", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN), \ fn 76 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(TDI, "TDI", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN), \ fn 77 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(TDO, "TDO", fn, SH_PFC_PIN_CFG_DRIVE_STRENGTH), \ fn 78 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(TMS, "TMS", fn, CFG_FLAGS), \ fn 79 drivers/pinctrl/sh-pfc/pfc-r8a77965.c PIN_NOGP_CFG(TRST_N, "TRST#", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN) fn 22 drivers/pinctrl/sh-pfc/pfc-r8a77970.c #define CPU_ALL_GP(fn, sfx) \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a77970.c PORT_GP_CFG_22(0, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a77970.c PORT_GP_28(1, fn, sfx), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a77970.c PORT_GP_CFG_17(2, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a77970.c PORT_GP_CFG_17(3, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a77970.c PORT_GP_6(4, fn, sfx), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a77970.c PORT_GP_15(5, fn, sfx) fn 22 drivers/pinctrl/sh-pfc/pfc-r8a77980.c #define CPU_ALL_GP(fn, sfx) \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a77980.c PORT_GP_CFG_22(0, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a77980.c PORT_GP_28(1, fn, sfx), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a77980.c PORT_GP_CFG_30(2, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a77980.c PORT_GP_CFG_17(3, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a77980.c PORT_GP_25(4, fn, sfx), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a77980.c PORT_GP_15(5, fn, sfx) fn 22 drivers/pinctrl/sh-pfc/pfc-r8a77990.c #define CPU_ALL_GP(fn, sfx) \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_18(0, fn, sfx, CFG_FLAGS), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_23(1, fn, sfx, CFG_FLAGS), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_26(2, fn, sfx, CFG_FLAGS), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_12(3, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(3, 12, fn, sfx, CFG_FLAGS), \ fn 28 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(3, 13, fn, sfx, CFG_FLAGS), \ fn 29 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(3, 14, fn, sfx, CFG_FLAGS), \ fn 30 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(3, 15, fn, sfx, CFG_FLAGS), \ fn 31 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_11(4, fn, sfx, CFG_FLAGS | SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 32 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_20(5, fn, sfx, CFG_FLAGS), \ fn 33 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_9(6, fn, sfx, CFG_FLAGS), \ fn 34 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(6, 9, fn, sfx, SH_PFC_PIN_CFG_PULL_UP), \ fn 35 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(6, 10, fn, sfx, CFG_FLAGS), \ fn 36 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(6, 11, fn, sfx, CFG_FLAGS), \ fn 37 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(6, 12, fn, sfx, CFG_FLAGS), \ fn 38 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(6, 13, fn, sfx, CFG_FLAGS), \ fn 39 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(6, 14, fn, sfx, CFG_FLAGS), \ fn 40 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(6, 15, fn, sfx, CFG_FLAGS), \ fn 41 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(6, 16, fn, sfx, CFG_FLAGS), \ fn 42 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PORT_GP_CFG_1(6, 17, fn, sfx, CFG_FLAGS) fn 44 drivers/pinctrl/sh-pfc/pfc-r8a77990.c #define CPU_ALL_NOGP(fn) \ fn 45 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(ASEBRK, "ASEBRK", fn, CFG_FLAGS), \ fn 46 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(AVB_MDC, "AVB_MDC", fn, CFG_FLAGS), \ fn 47 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(AVB_MDIO, "AVB_MDIO", fn, CFG_FLAGS), \ fn 48 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(AVB_TD0, "AVB_TD0", fn, CFG_FLAGS), \ fn 49 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(AVB_TD1, "AVB_TD1", fn, CFG_FLAGS), \ fn 50 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(AVB_TD2, "AVB_TD2", fn, CFG_FLAGS), \ fn 51 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(AVB_TD3, "AVB_TD3", fn, CFG_FLAGS), \ fn 52 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(AVB_TXC, "AVB_TXC", fn, CFG_FLAGS), \ fn 53 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(AVB_TX_CTL, "AVB_TX_CTL", fn, CFG_FLAGS), \ fn 54 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(FSCLKST_N, "FSCLKST_N", fn, CFG_FLAGS), \ fn 55 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(MLB_REF, "MLB_REF", fn, CFG_FLAGS), \ fn 56 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(PRESETOUT_N, "PRESETOUT_N", fn, CFG_FLAGS), \ fn 57 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(TCK, "TCK", fn, CFG_FLAGS), \ fn 58 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(TDI, "TDI", fn, CFG_FLAGS), \ fn 59 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(TMS, "TMS", fn, CFG_FLAGS), \ fn 60 drivers/pinctrl/sh-pfc/pfc-r8a77990.c PIN_NOGP_CFG(TRST_N, "TRST_N", fn, CFG_FLAGS) fn 20 drivers/pinctrl/sh-pfc/pfc-r8a77995.c #define CPU_ALL_GP(fn, sfx) \ fn 21 drivers/pinctrl/sh-pfc/pfc-r8a77995.c PORT_GP_9(0, fn, sfx), \ fn 22 drivers/pinctrl/sh-pfc/pfc-r8a77995.c PORT_GP_32(1, fn, sfx), \ fn 23 drivers/pinctrl/sh-pfc/pfc-r8a77995.c PORT_GP_32(2, fn, sfx), \ fn 24 drivers/pinctrl/sh-pfc/pfc-r8a77995.c PORT_GP_CFG_10(3, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ fn 25 drivers/pinctrl/sh-pfc/pfc-r8a77995.c PORT_GP_32(4, fn, sfx), \ fn 26 drivers/pinctrl/sh-pfc/pfc-r8a77995.c PORT_GP_21(5, fn, sfx), \ fn 27 drivers/pinctrl/sh-pfc/pfc-r8a77995.c PORT_GP_14(6, fn, sfx) fn 19 drivers/pinctrl/sh-pfc/pfc-sh73a0.c #define CPU_ALL_PORT(fn, pfx, sfx) \ fn 20 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_10(0, fn, pfx, sfx), PORT_90(0, fn, pfx, sfx), \ fn 21 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_10(100, fn, pfx##10, sfx), \ fn 22 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(110, fn, pfx##110, sfx), PORT_1(111, fn, pfx##111, sfx), \ fn 23 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(112, fn, pfx##112, sfx), PORT_1(113, fn, pfx##113, sfx), \ fn 24 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(114, fn, pfx##114, sfx), PORT_1(115, fn, pfx##115, sfx), \ fn 25 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(116, fn, pfx##116, sfx), PORT_1(117, fn, pfx##117, sfx), \ fn 26 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(118, fn, pfx##118, sfx), \ fn 27 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(128, fn, pfx##128, sfx), PORT_1(129, fn, pfx##129, sfx), \ fn 28 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_10(130, fn, pfx##13, sfx), PORT_10(140, fn, pfx##14, sfx), \ fn 29 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_10(150, fn, pfx##15, sfx), \ fn 30 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(160, fn, pfx##160, sfx), PORT_1(161, fn, pfx##161, sfx), \ fn 31 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(162, fn, pfx##162, sfx), PORT_1(163, fn, pfx##163, sfx), \ fn 32 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(164, fn, pfx##164, sfx), \ fn 33 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(192, fn, pfx##192, sfx), PORT_1(193, fn, pfx##193, sfx), \ fn 34 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(194, fn, pfx##194, sfx), PORT_1(195, fn, pfx##195, sfx), \ fn 35 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(196, fn, pfx##196, sfx), PORT_1(197, fn, pfx##197, sfx), \ fn 36 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(198, fn, pfx##198, sfx), PORT_1(199, fn, pfx##199, sfx), \ fn 37 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_10(200, fn, pfx##20, sfx), PORT_10(210, fn, pfx##21, sfx), \ fn 38 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_10(220, fn, pfx##22, sfx), PORT_10(230, fn, pfx##23, sfx), \ fn 39 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_10(240, fn, pfx##24, sfx), PORT_10(250, fn, pfx##25, sfx), \ fn 40 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_10(260, fn, pfx##26, sfx), PORT_10(270, fn, pfx##27, sfx), \ fn 41 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(280, fn, pfx##280, sfx), PORT_1(281, fn, pfx##281, sfx), \ fn 42 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(282, fn, pfx##282, sfx), \ fn 43 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_1(288, fn, pfx##288, sfx), PORT_1(289, fn, pfx##289, sfx), \ fn 44 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PORT_10(290, fn, pfx##29, sfx), PORT_10(300, fn, pfx##30, sfx) fn 46 drivers/pinctrl/sh-pfc/pfc-sh73a0.c #define CPU_ALL_NOGP(fn) \ fn 47 drivers/pinctrl/sh-pfc/pfc-sh73a0.c PIN_NOGP(A11, "F26", fn) fn 14 drivers/pinctrl/sh-pfc/pfc-sh7734.c #define CPU_ALL_GP(fn, sfx) \ fn 15 drivers/pinctrl/sh-pfc/pfc-sh7734.c PORT_GP_32(0, fn, sfx), \ fn 16 drivers/pinctrl/sh-pfc/pfc-sh7734.c PORT_GP_32(1, fn, sfx), \ fn 17 drivers/pinctrl/sh-pfc/pfc-sh7734.c PORT_GP_32(2, fn, sfx), \ fn 18 drivers/pinctrl/sh-pfc/pfc-sh7734.c PORT_GP_32(3, fn, sfx), \ fn 19 drivers/pinctrl/sh-pfc/pfc-sh7734.c PORT_GP_32(4, fn, sfx), \ fn 20 drivers/pinctrl/sh-pfc/pfc-sh7734.c PORT_GP_12(5, fn, sfx) fn 363 drivers/pinctrl/sh-pfc/sh_pfc.h #define PINMUX_IPSR_NOGP(ipsr, fn) \ fn 364 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_DATA(fn##_MARK, FN_##fn) fn 373 drivers/pinctrl/sh-pfc/sh_pfc.h #define PINMUX_IPSR_GPSR(ipsr, fn) \ fn 374 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr) fn 384 drivers/pinctrl/sh-pfc/sh_pfc.h #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ fn 385 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel) fn 395 drivers/pinctrl/sh-pfc/sh_pfc.h #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ fn 396 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_DATA(fn##_MARK, FN_##gpsr, FN_##gsel) fn 407 drivers/pinctrl/sh-pfc/sh_pfc.h #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ fn 408 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr) fn 419 drivers/pinctrl/sh-pfc/sh_pfc.h #define PINMUX_IPSR_PHYS_MSEL(ipsr, fn, psel, msel) \ fn 420 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_DATA(fn##_MARK, FN_##psel, FN_##msel, FN_##fn, FN_##ipsr) fn 429 drivers/pinctrl/sh-pfc/sh_pfc.h #define PINMUX_IPSR_PHYS(ipsr, fn, psel) \ fn 430 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_DATA(fn##_MARK, FN_##psel, FN_##ipsr) fn 437 drivers/pinctrl/sh-pfc/sh_pfc.h #define PINMUX_SINGLE(fn) \ fn 438 drivers/pinctrl/sh-pfc/sh_pfc.h PINMUX_DATA(fn##_MARK, FN_##fn) fn 444 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ fn 445 drivers/pinctrl/sh-pfc/sh_pfc.h fn(bank, pin, GP_##bank##_##pin, sfx, cfg) fn 446 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) fn 448 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_4(bank, fn, sfx, cfg) \ fn 449 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 0, fn, sfx, cfg), \ fn 450 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 1, fn, sfx, cfg), \ fn 451 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 2, fn, sfx, cfg), \ fn 452 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 3, fn, sfx, cfg) fn 453 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_4(bank, fn, sfx) PORT_GP_CFG_4(bank, fn, sfx, 0) fn 455 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_6(bank, fn, sfx, cfg) \ fn 456 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_4(bank, fn, sfx, cfg), \ fn 457 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 4, fn, sfx, cfg), \ fn 458 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 5, fn, sfx, cfg) fn 459 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_6(bank, fn, sfx) PORT_GP_CFG_6(bank, fn, sfx, 0) fn 461 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_8(bank, fn, sfx, cfg) \ fn 462 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_6(bank, fn, sfx, cfg), \ fn 463 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 6, fn, sfx, cfg), \ fn 464 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 7, fn, sfx, cfg) fn 465 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_8(bank, fn, sfx) PORT_GP_CFG_8(bank, fn, sfx, 0) fn 467 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_9(bank, fn, sfx, cfg) \ fn 468 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_8(bank, fn, sfx, cfg), \ fn 469 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 8, fn, sfx, cfg) fn 470 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_9(bank, fn, sfx) PORT_GP_CFG_9(bank, fn, sfx, 0) fn 472 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_10(bank, fn, sfx, cfg) \ fn 473 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_9(bank, fn, sfx, cfg), \ fn 474 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 9, fn, sfx, cfg) fn 475 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_10(bank, fn, sfx) PORT_GP_CFG_10(bank, fn, sfx, 0) fn 477 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_11(bank, fn, sfx, cfg) \ fn 478 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_10(bank, fn, sfx, cfg), \ fn 479 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 10, fn, sfx, cfg) fn 480 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_11(bank, fn, sfx) PORT_GP_CFG_11(bank, fn, sfx, 0) fn 482 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_12(bank, fn, sfx, cfg) \ fn 483 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_11(bank, fn, sfx, cfg), \ fn 484 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 11, fn, sfx, cfg) fn 485 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_12(bank, fn, sfx) PORT_GP_CFG_12(bank, fn, sfx, 0) fn 487 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_14(bank, fn, sfx, cfg) \ fn 488 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_12(bank, fn, sfx, cfg), \ fn 489 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 12, fn, sfx, cfg), \ fn 490 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 13, fn, sfx, cfg) fn 491 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_14(bank, fn, sfx) PORT_GP_CFG_14(bank, fn, sfx, 0) fn 493 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_15(bank, fn, sfx, cfg) \ fn 494 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_14(bank, fn, sfx, cfg), \ fn 495 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 14, fn, sfx, cfg) fn 496 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_15(bank, fn, sfx) PORT_GP_CFG_15(bank, fn, sfx, 0) fn 498 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_16(bank, fn, sfx, cfg) \ fn 499 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_15(bank, fn, sfx, cfg), \ fn 500 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 15, fn, sfx, cfg) fn 501 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_16(bank, fn, sfx) PORT_GP_CFG_16(bank, fn, sfx, 0) fn 503 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_17(bank, fn, sfx, cfg) \ fn 504 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_16(bank, fn, sfx, cfg), \ fn 505 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 16, fn, sfx, cfg) fn 506 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_17(bank, fn, sfx) PORT_GP_CFG_17(bank, fn, sfx, 0) fn 508 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_18(bank, fn, sfx, cfg) \ fn 509 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_17(bank, fn, sfx, cfg), \ fn 510 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 17, fn, sfx, cfg) fn 511 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_18(bank, fn, sfx) PORT_GP_CFG_18(bank, fn, sfx, 0) fn 513 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_20(bank, fn, sfx, cfg) \ fn 514 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_18(bank, fn, sfx, cfg), \ fn 515 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 18, fn, sfx, cfg), \ fn 516 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 19, fn, sfx, cfg) fn 517 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_20(bank, fn, sfx) PORT_GP_CFG_20(bank, fn, sfx, 0) fn 519 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_21(bank, fn, sfx, cfg) \ fn 520 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_20(bank, fn, sfx, cfg), \ fn 521 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 20, fn, sfx, cfg) fn 522 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_21(bank, fn, sfx) PORT_GP_CFG_21(bank, fn, sfx, 0) fn 524 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_22(bank, fn, sfx, cfg) \ fn 525 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_21(bank, fn, sfx, cfg), \ fn 526 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 21, fn, sfx, cfg) fn 527 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_22(bank, fn, sfx) PORT_GP_CFG_22(bank, fn, sfx, 0) fn 529 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_23(bank, fn, sfx, cfg) \ fn 530 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_22(bank, fn, sfx, cfg), \ fn 531 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 22, fn, sfx, cfg) fn 532 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_23(bank, fn, sfx) PORT_GP_CFG_23(bank, fn, sfx, 0) fn 534 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_24(bank, fn, sfx, cfg) \ fn 535 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_23(bank, fn, sfx, cfg), \ fn 536 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 23, fn, sfx, cfg) fn 537 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_24(bank, fn, sfx) PORT_GP_CFG_24(bank, fn, sfx, 0) fn 539 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_25(bank, fn, sfx, cfg) \ fn 540 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_24(bank, fn, sfx, cfg), \ fn 541 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 24, fn, sfx, cfg) fn 542 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_25(bank, fn, sfx) PORT_GP_CFG_25(bank, fn, sfx, 0) fn 544 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_26(bank, fn, sfx, cfg) \ fn 545 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_25(bank, fn, sfx, cfg), \ fn 546 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 25, fn, sfx, cfg) fn 547 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_26(bank, fn, sfx) PORT_GP_CFG_26(bank, fn, sfx, 0) fn 549 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_27(bank, fn, sfx, cfg) \ fn 550 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_26(bank, fn, sfx, cfg), \ fn 551 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 26, fn, sfx, cfg) fn 552 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_27(bank, fn, sfx) PORT_GP_CFG_27(bank, fn, sfx, 0) fn 554 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_28(bank, fn, sfx, cfg) \ fn 555 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_27(bank, fn, sfx, cfg), \ fn 556 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 27, fn, sfx, cfg) fn 557 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_28(bank, fn, sfx) PORT_GP_CFG_28(bank, fn, sfx, 0) fn 559 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_29(bank, fn, sfx, cfg) \ fn 560 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_28(bank, fn, sfx, cfg), \ fn 561 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 28, fn, sfx, cfg) fn 562 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_29(bank, fn, sfx) PORT_GP_CFG_29(bank, fn, sfx, 0) fn 564 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_30(bank, fn, sfx, cfg) \ fn 565 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_29(bank, fn, sfx, cfg), \ fn 566 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 29, fn, sfx, cfg) fn 567 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_30(bank, fn, sfx) PORT_GP_CFG_30(bank, fn, sfx, 0) fn 569 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_CFG_32(bank, fn, sfx, cfg) \ fn 570 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_30(bank, fn, sfx, cfg), \ fn 571 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 30, fn, sfx, cfg), \ fn 572 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_CFG_1(bank, 31, fn, sfx, cfg) fn 573 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_32(bank, fn, sfx) PORT_GP_CFG_32(bank, fn, sfx, 0) fn 575 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_GP_32_REV(bank, fn, sfx) \ fn 576 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 31, fn, sfx), PORT_GP_1(bank, 30, fn, sfx), \ fn 577 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 29, fn, sfx), PORT_GP_1(bank, 28, fn, sfx), \ fn 578 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 27, fn, sfx), PORT_GP_1(bank, 26, fn, sfx), \ fn 579 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 25, fn, sfx), PORT_GP_1(bank, 24, fn, sfx), \ fn 580 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 23, fn, sfx), PORT_GP_1(bank, 22, fn, sfx), \ fn 581 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 21, fn, sfx), PORT_GP_1(bank, 20, fn, sfx), \ fn 582 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 19, fn, sfx), PORT_GP_1(bank, 18, fn, sfx), \ fn 583 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 17, fn, sfx), PORT_GP_1(bank, 16, fn, sfx), \ fn 584 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 15, fn, sfx), PORT_GP_1(bank, 14, fn, sfx), \ fn 585 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 13, fn, sfx), PORT_GP_1(bank, 12, fn, sfx), \ fn 586 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 11, fn, sfx), PORT_GP_1(bank, 10, fn, sfx), \ fn 587 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 9, fn, sfx), PORT_GP_1(bank, 8, fn, sfx), \ fn 588 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 7, fn, sfx), PORT_GP_1(bank, 6, fn, sfx), \ fn 589 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 5, fn, sfx), PORT_GP_1(bank, 4, fn, sfx), \ fn 590 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 3, fn, sfx), PORT_GP_1(bank, 2, fn, sfx), \ fn 591 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_GP_1(bank, 1, fn, sfx), PORT_GP_1(bank, 0, fn, sfx) fn 633 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) fn 635 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_10(pn, fn, pfx, sfx) \ fn 636 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_1(pn, fn, pfx##0, sfx), PORT_1(pn+1, fn, pfx##1, sfx), \ fn 637 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_1(pn+2, fn, pfx##2, sfx), PORT_1(pn+3, fn, pfx##3, sfx), \ fn 638 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_1(pn+4, fn, pfx##4, sfx), PORT_1(pn+5, fn, pfx##5, sfx), \ fn 639 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_1(pn+6, fn, pfx##6, sfx), PORT_1(pn+7, fn, pfx##7, sfx), \ fn 640 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx) fn 642 drivers/pinctrl/sh-pfc/sh_pfc.h #define PORT_90(pn, fn, pfx, sfx) \ fn 643 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_10(pn+10, fn, pfx##1, sfx), PORT_10(pn+20, fn, pfx##2, sfx), \ fn 644 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_10(pn+30, fn, pfx##3, sfx), PORT_10(pn+40, fn, pfx##4, sfx), \ fn 645 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_10(pn+50, fn, pfx##5, sfx), PORT_10(pn+60, fn, pfx##6, sfx), \ fn 646 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_10(pn+70, fn, pfx##7, sfx), PORT_10(pn+80, fn, pfx##8, sfx), \ fn 647 drivers/pinctrl/sh-pfc/sh_pfc.h PORT_10(pn+90, fn, pfx##9, sfx) fn 709 drivers/pinctrl/sh-pfc/sh_pfc.h #define PIN_NOGP_CFG(pin, name, fn, cfg) fn(pin, name, cfg) fn 710 drivers/pinctrl/sh-pfc/sh_pfc.h #define PIN_NOGP(pin, name, fn) fn(pin, name, 0) fn 715 drivers/pinctrl/tegra/pinctrl-tegra.c int fn, gn, gfn; fn 736 drivers/pinctrl/tegra/pinctrl-tegra.c for (fn = 0; fn < soc_data->nfunctions; fn++) { fn 737 drivers/pinctrl/tegra/pinctrl-tegra.c struct tegra_function *func = &soc_data->functions[fn]; fn 748 drivers/pinctrl/tegra/pinctrl-tegra.c if (g->funcs[gfn] == fn) fn 95 drivers/platform/chrome/cros_ec_spi.c cros_ec_xfer_fn_t fn; fn 642 drivers/platform/chrome/cros_ec_spi.c params->ret = params->fn(params->ec_dev, params->ec_msg); fn 647 drivers/platform/chrome/cros_ec_spi.c cros_ec_xfer_fn_t fn) fn 655 drivers/platform/chrome/cros_ec_spi.c .fn = fn, fn 298 drivers/platform/x86/intel_speed_select_if/isst_if_common.c struct pci_dev *isst_if_get_pci_dev(int cpu, int bus_no, int dev, int fn) fn 310 drivers/platform/x86/intel_speed_select_if/isst_if_common.c return pci_get_domain_bus_and_slot(0, bus_number, PCI_DEVFN(dev, fn)); fn 63 drivers/platform/x86/intel_speed_select_if/isst_if_common.h struct pci_dev *isst_if_get_pci_dev(int cpu, int bus, int dev, int fn); fn 3621 drivers/platform/x86/sony-laptop.c static u8 sony_pic_call2(u8 dev, u8 fn) fn 3630 drivers/platform/x86/sony-laptop.c outb(fn, spic_dev.cur_ioport->io1.minimum); fn 3632 drivers/platform/x86/sony-laptop.c dprintk("sony_pic_call2(0x%.2x - 0x%.2x): 0x%.4x\n", dev, fn, v1); fn 3636 drivers/platform/x86/sony-laptop.c static u8 sony_pic_call3(u8 dev, u8 fn, u8 v) fn 3643 drivers/platform/x86/sony-laptop.c outb(fn, spic_dev.cur_ioport->io1.minimum); fn 3648 drivers/platform/x86/sony-laptop.c dev, fn, v, v1); fn 257 drivers/power/supply/max77693_charger.c int (*fn)(struct max77693_charger *, unsigned long)) fn 267 drivers/power/supply/max77693_charger.c ret = fn(chg, val); fn 167 drivers/power/supply/qcom_smbb.c static unsigned int smbb_hw_lookup(unsigned int val, int (*fn)(unsigned int)) fn 172 drivers/power/supply/qcom_smbb.c for (widx = sel = 0; (*fn)(widx) <= val; ++widx) fn 278 drivers/remoteproc/qcom_sysmon.c .fn = sysmon_ind_cb fn 349 drivers/s390/char/raw3270.c view->fn->intv(view, rq, irb); fn 516 drivers/s390/char/raw3270.c if (view->fn->resize) fn 517 drivers/s390/char/raw3270.c view->fn->resize(view, rp->model, rp->rows, rp->cols); fn 521 drivers/s390/char/raw3270.c if (view->fn->activate(view) == 0) fn 718 drivers/s390/char/raw3270.c rp->init_view.fn = &raw3270_init_fn; fn 861 drivers/s390/char/raw3270.c if (rp->view && rp->view->fn->deactivate) { fn 863 drivers/s390/char/raw3270.c oldview->fn->deactivate(oldview); fn 866 drivers/s390/char/raw3270.c rc = view->fn->activate(view); fn 870 drivers/s390/char/raw3270.c if (!oldview || oldview->fn->activate(oldview) != 0) { fn 875 drivers/s390/char/raw3270.c if (nv->fn->activate(nv) == 0) fn 900 drivers/s390/char/raw3270.c view->fn->deactivate(view); fn 910 drivers/s390/char/raw3270.c if (view->fn->activate(view) == 0) fn 923 drivers/s390/char/raw3270.c raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor, int subclass) fn 939 drivers/s390/char/raw3270.c view->fn = fn; fn 959 drivers/s390/char/raw3270.c raw3270_find_view(struct raw3270_fn *fn, int minor) fn 972 drivers/s390/char/raw3270.c if (tmp->fn == fn) { fn 998 drivers/s390/char/raw3270.c view->fn->deactivate(view); fn 1006 drivers/s390/char/raw3270.c if (nv->fn->activate(nv) == 0) { fn 1016 drivers/s390/char/raw3270.c if (view->fn->free) fn 1017 drivers/s390/char/raw3270.c view->fn->free(view); fn 1178 drivers/s390/char/raw3270.c if (rp->view->fn->deactivate) fn 1179 drivers/s390/char/raw3270.c rp->view->fn->deactivate(rp->view); fn 1184 drivers/s390/char/raw3270.c if (v->fn->release) fn 1185 drivers/s390/char/raw3270.c v->fn->release(v); fn 1228 drivers/s390/char/raw3270.c if (rp->view && rp->view->fn->deactivate) fn 1229 drivers/s390/char/raw3270.c rp->view->fn->deactivate(rp->view); fn 1236 drivers/s390/char/raw3270.c if (view->fn->release) fn 1237 drivers/s390/char/raw3270.c view->fn->release(view); fn 1255 drivers/s390/char/raw3270.c if (rp->view && rp->view->fn->activate) fn 1256 drivers/s390/char/raw3270.c rp->view->fn->activate(rp->view); fn 157 drivers/s390/char/raw3270.h struct raw3270_fn *fn; fn 1292 drivers/s390/char/tape_core.c tape_mtop_fn fn; fn 1301 drivers/s390/char/tape_core.c fn = device->discipline->mtop_array[mt_op]; fn 1302 drivers/s390/char/tape_core.c if (fn == NULL) fn 1310 drivers/s390/char/tape_core.c if ((rc = fn(device, 500)) != 0) fn 1313 drivers/s390/char/tape_core.c rc = fn(device, mt_count); fn 1315 drivers/s390/char/tape_core.c rc = fn(device, mt_count); fn 46 drivers/s390/cio/css.c for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *data) fn 54 drivers/s390/cio/css.c ret = fn(schid, data); fn 114 drivers/s390/cio/css.h extern int for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *); fn 134 drivers/s390/cio/device_pgid.c static void spid_build_cp(struct ccw_device *cdev, u8 fn) fn 141 drivers/s390/cio/device_pgid.c pgid->inf.fc = fn; fn 172 drivers/s390/cio/device_pgid.c u8 fn; fn 184 drivers/s390/cio/device_pgid.c fn = SPID_FUNC_DISBAND; fn 186 drivers/s390/cio/device_pgid.c fn |= SPID_FUNC_MULTI_PATH; fn 187 drivers/s390/cio/device_pgid.c spid_build_cp(cdev, fn); fn 198 drivers/s390/cio/device_pgid.c u8 fn; fn 206 drivers/s390/cio/device_pgid.c fn = SPID_FUNC_ESTABLISH; fn 208 drivers/s390/cio/device_pgid.c fn = SPID_FUNC_RESIGN; fn 210 drivers/s390/cio/device_pgid.c fn |= SPID_FUNC_MULTI_PATH; fn 211 drivers/s390/cio/device_pgid.c spid_build_cp(cdev, fn); fn 605 drivers/s390/cio/device_pgid.c u8 fn; fn 616 drivers/s390/cio/device_pgid.c fn = SPID_FUNC_DISBAND; fn 618 drivers/s390/cio/device_pgid.c fn |= SPID_FUNC_MULTI_PATH; fn 619 drivers/s390/cio/device_pgid.c spid_build_cp(cdev, fn); fn 2141 drivers/scsi/arm/fas216.c void (*fn)(FAS216_Info *, struct scsi_cmnd *, unsigned int); fn 2181 drivers/scsi/arm/fas216.c fn = (void (*)(FAS216_Info *, struct scsi_cmnd *, unsigned int))SCpnt->host_scribble; fn 2182 drivers/scsi/arm/fas216.c fn(info, SCpnt, result); fn 20 drivers/scsi/bfa/bfa_hw_cb.c int fn = bfa_ioc_pcifn(&bfa->ioc); fn 22 drivers/scsi/bfa/bfa_hw_cb.c if (fn == 0) { fn 30 drivers/scsi/bfa/bfa_hw_ct.c int fn = bfa_ioc_pcifn(&bfa->ioc); fn 32 drivers/scsi/bfa/bfa_hw_ct.c if (fn == 0) { fn 306 drivers/scsi/cxgbi/libcxgbi.h static inline void __cxgbi_sock_put(const char *fn, struct cxgbi_sock *csk) fn 310 drivers/scsi/cxgbi/libcxgbi.h fn, csk, kref_read(&csk->refcnt)); fn 315 drivers/scsi/cxgbi/libcxgbi.h static inline void __cxgbi_sock_get(const char *fn, struct cxgbi_sock *csk) fn 319 drivers/scsi/cxgbi/libcxgbi.h fn, csk, kref_read(&csk->refcnt)); fn 1008 drivers/scsi/device_handler/scsi_dh_alua.c activate_complete fn, void *data) fn 1020 drivers/scsi/device_handler/scsi_dh_alua.c qdata->callback_fn = fn; fn 1037 drivers/scsi/device_handler/scsi_dh_alua.c fn = NULL; fn 1042 drivers/scsi/device_handler/scsi_dh_alua.c if (fn) fn 1043 drivers/scsi/device_handler/scsi_dh_alua.c fn(data, err); fn 382 drivers/scsi/device_handler/scsi_dh_emc.c activate_complete fn, void *data) fn 413 drivers/scsi/device_handler/scsi_dh_emc.c if (fn) fn 414 drivers/scsi/device_handler/scsi_dh_emc.c fn(data, result); fn 185 drivers/scsi/device_handler/scsi_dh_hp_sw.c activate_complete fn, void *data) fn 195 drivers/scsi/device_handler/scsi_dh_hp_sw.c if (fn) fn 196 drivers/scsi/device_handler/scsi_dh_hp_sw.c fn(data, ret); fn 586 drivers/scsi/device_handler/scsi_dh_rdac.c activate_complete fn, void *data) fn 596 drivers/scsi/device_handler/scsi_dh_rdac.c qdata->callback_fn = fn; fn 612 drivers/scsi/device_handler/scsi_dh_rdac.c activate_complete fn, void *data) fn 637 drivers/scsi/device_handler/scsi_dh_rdac.c err = queue_mode_select(sdev, fn, data); fn 642 drivers/scsi/device_handler/scsi_dh_rdac.c if (fn) fn 643 drivers/scsi/device_handler/scsi_dh_rdac.c fn(data, err); fn 501 drivers/scsi/isci/isci.h void sci_init_timer(struct sci_timer *tmr, void (*fn)(struct timer_list *t)) fn 504 drivers/scsi/isci/isci.h timer_setup(&tmr->timer, fn, 0); fn 694 drivers/scsi/qla1280.c qla1280_queuecommand_lck(struct scsi_cmnd *cmd, void (*fn)(struct scsi_cmnd *)) fn 701 drivers/scsi/qla1280.c cmd->scsi_done = fn; fn 115 drivers/scsi/qla2xxx/qla_target.c int fn, void *iocb, int flags); fn 4383 drivers/scsi/qla2xxx/qla_target.c int fn, void *iocb, int flags) fn 4406 drivers/scsi/qla2xxx/qla_target.c mcmd->tmr_func = fn; fn 4414 drivers/scsi/qla2xxx/qla_target.c switch (fn) { fn 4449 drivers/scsi/qla2xxx/qla_target.c int fn; fn 4452 drivers/scsi/qla2xxx/qla_target.c fn = a->u.isp24.fcp_cmnd.task_mgmt_flags; fn 4465 drivers/scsi/qla2xxx/qla_target.c return qlt_issue_task_mgmt(sess, unpacked_lun, fn, iocb, 0); fn 6232 drivers/scsi/qla2xxx/qla_target.c int fn; fn 6265 drivers/scsi/qla2xxx/qla_target.c fn = a->u.isp24.fcp_cmnd.task_mgmt_flags; fn 6269 drivers/scsi/qla2xxx/qla_target.c rc = qlt_issue_task_mgmt(sess, unpacked_lun, fn, iocb, 0); fn 8880 drivers/scsi/qla4xxx/ql4_os.c int fn = ISP4XXX_PCI_FN_2; fn 8884 drivers/scsi/qla4xxx/ql4_os.c fn = ISP4XXX_PCI_FN_1; fn 8889 drivers/scsi/qla4xxx/ql4_os.c fn)); fn 9633 drivers/scsi/qla4xxx/ql4_os.c int fn; fn 9647 drivers/scsi/qla4xxx/ql4_os.c fn = PCI_FUNC(ha->pdev->devfn); fn 9649 drivers/scsi/qla4xxx/ql4_os.c while (fn > 0) { fn 9650 drivers/scsi/qla4xxx/ql4_os.c fn--; fn 9652 drivers/scsi/qla4xxx/ql4_os.c ha->host_no, __func__, fn); fn 9659 drivers/scsi/qla4xxx/ql4_os.c fn)); fn 9666 drivers/scsi/qla4xxx/ql4_os.c ha->host_no, __func__, fn); fn 9676 drivers/scsi/qla4xxx/ql4_os.c fn = 0; fn 9684 drivers/scsi/qla4xxx/ql4_os.c if (!fn) { fn 599 drivers/scsi/scsi.c void (*fn)(struct scsi_device *, void *)) fn 607 drivers/scsi/scsi.c fn(sdev, data); fn 627 drivers/scsi/scsi.c void (*fn)(struct scsi_device *, void *)) fn 635 drivers/scsi/scsi.c fn(sdev, data); fn 250 drivers/scsi/scsi_dh.c int scsi_dh_activate(struct request_queue *q, activate_complete fn, void *data) fn 257 drivers/scsi/scsi_dh.c if (fn) fn 258 drivers/scsi/scsi_dh.c fn(data, err); fn 274 drivers/scsi/scsi_dh.c err = sdev->handler->activate(sdev, fn, data); fn 281 drivers/scsi/scsi_dh.c if (fn) fn 282 drivers/scsi/scsi_dh.c fn(data, err); fn 150 drivers/scsi/scsi_pm.c async_func_t fn; fn 153 drivers/scsi/scsi_pm.c fn = NULL; fn 155 drivers/scsi/scsi_pm.c fn = async_sdev_resume; fn 157 drivers/scsi/scsi_pm.c fn = async_sdev_thaw; fn 159 drivers/scsi/scsi_pm.c fn = async_sdev_restore; fn 161 drivers/scsi/scsi_pm.c fn = NULL; fn 163 drivers/scsi/scsi_pm.c if (fn) { fn 164 drivers/scsi/scsi_pm.c async_schedule_domain(fn, dev, &scsi_sd_pm_domain); fn 1400 drivers/scsi/scsi_transport_iscsi.c int (*fn)(struct device *dev, void *data)) fn 1402 drivers/scsi/scsi_transport_iscsi.c return device_find_child(&shost->shost_gendev, data, fn); fn 1744 drivers/scsi/scsi_transport_iscsi.c void (* fn) (struct iscsi_cls_session *) = data; fn 1748 drivers/scsi/scsi_transport_iscsi.c fn(iscsi_dev_to_session(dev)); fn 1753 drivers/scsi/scsi_transport_iscsi.c void (*fn)(struct iscsi_cls_session *)) fn 1755 drivers/scsi/scsi_transport_iscsi.c device_for_each_child(&shost->shost_gendev, fn, fn 414 drivers/scsi/snic/snic.h void snic_print_desc(const char *fn, char *os_buf, int len); fn 457 drivers/scsi/snic/snic_io.c snic_dump_desc(const char *fn, char *os_buf, int len) fn 545 drivers/scsi/snic/snic_io.c fn, line, req->hdr.cmnd_id, req->hdr.sg_cnt, req->hdr.status, fn 554 drivers/scsi/snic/snic_io.c snic_print_desc(const char *fn, char *os_buf, int len) fn 557 drivers/scsi/snic/snic_io.c snic_dump_desc(fn, os_buf, len); fn 76 drivers/scsi/snic/snic_trc.c td->fn, fn 34 drivers/scsi/snic/snic_trc.h char *fn; /* Ptr to Function Name */ fn 65 drivers/scsi/snic/snic_trc.h snic_trace(char *fn, u16 hno, u32 tag, u64 d1, u64 d2, u64 d3, u64 d4, u64 d5) fn 72 drivers/scsi/snic/snic_trc.h tr_rec->fn = (char *)fn; fn 173 drivers/scsi/virtio_scsi.c void (*fn)(struct virtio_scsi *vscsi, void *buf)) fn 184 drivers/scsi/virtio_scsi.c fn(vscsi, buf); fn 167 drivers/sh/intc/access.c unsigned long (*fn)(unsigned long, fn 172 drivers/sh/intc/access.c return fn(addr, handle, ((1 << _INTC_WIDTH(handle)) - 1)); fn 177 drivers/sh/intc/access.c unsigned long (*fn)(unsigned long, fn 182 drivers/sh/intc/access.c return fn(addr, handle, 0); fn 187 drivers/sh/intc/access.c unsigned long (*fn)(unsigned long, fn 192 drivers/sh/intc/access.c return fn(addr, handle, intc_get_prio_level(irq)); fn 211 drivers/sh/intc/access.c unsigned long (*fn)(unsigned long, fn 224 drivers/sh/intc/access.c unsigned long (*fn)(unsigned long, fn 237 drivers/sh/intc/access.c unsigned long (*fn)(unsigned long, fn 45 drivers/sh/intc/balancing.c unsigned int i, j, fn, mode; fn 62 drivers/sh/intc/balancing.c fn = REG_FN_MODIFY_BASE; fn 67 drivers/sh/intc/balancing.c fn += (mr->reg_width >> 3) - 1; fn 68 drivers/sh/intc/balancing.c return _INTC_MK(fn, mode, fn 45 drivers/sh/intc/handle.c unsigned int fn, mode; fn 56 drivers/sh/intc/handle.c fn = REG_FN_WRITE_BASE; fn 61 drivers/sh/intc/handle.c fn = REG_FN_MODIFY_BASE; fn 73 drivers/sh/intc/handle.c fn += (mr->reg_width >> 3) - 1; fn 74 drivers/sh/intc/handle.c return _INTC_MK(fn, mode, fn 113 drivers/sh/intc/handle.c unsigned int fn, n, mode, bit; fn 124 drivers/sh/intc/handle.c fn = REG_FN_WRITE_BASE; fn 129 drivers/sh/intc/handle.c fn = REG_FN_MODIFY_BASE; fn 137 drivers/sh/intc/handle.c fn += (pr->reg_width >> 3) - 1; fn 144 drivers/sh/intc/handle.c return _INTC_MK(fn, mode, fn 179 drivers/sh/intc/handle.c unsigned int i, j, fn, mode; fn 189 drivers/sh/intc/handle.c fn = REG_FN_MODIFY_BASE; fn 194 drivers/sh/intc/handle.c fn += (mr->reg_width >> 3) - 1; fn 195 drivers/sh/intc/handle.c return _INTC_MK(fn, mode, fn 211 drivers/sh/intc/handle.c unsigned long (*fn)(unsigned long, unsigned long, fn 219 drivers/sh/intc/handle.c fn = intc_enable_noprio_fns[_INTC_MODE(handle)]; fn 220 drivers/sh/intc/handle.c fn(addr, handle, intc_reg_fns[_INTC_FN(handle)], 0); fn 225 drivers/sh/intc/handle.c fn = intc_disable_fns[_INTC_MODE(handle)]; fn 226 drivers/sh/intc/handle.c fn(addr, handle, intc_reg_fns[_INTC_FN(handle)], 0); fn 262 drivers/sh/intc/handle.c unsigned int i, j, fn, bit; fn 271 drivers/sh/intc/handle.c fn = REG_FN_MODIFY_BASE; fn 272 drivers/sh/intc/handle.c fn += (sr->reg_width >> 3) - 1; fn 278 drivers/sh/intc/handle.c return _INTC_MK(fn, 0, intc_get_reg(d, sr->reg), fn 11 drivers/sh/intc/internals.h #define _INTC_MK(fn, mode, addr_e, addr_d, width, shift) \ fn 12 drivers/sh/intc/internals.h ((shift) | ((width) << 5) | ((fn) << 9) | ((mode) << 13) | \ fn 120 drivers/sh/intc/internals.h unsigned long (*fn)(unsigned long, fn 125 drivers/sh/intc/internals.h unsigned long (*fn)(unsigned long, fn 130 drivers/sh/intc/internals.h unsigned long (*fn)(unsigned long, fn 139 drivers/sh/intc/virq.c unsigned int fn = REG_FN_TEST_BASE + (subgroup->reg_width >> 3) - 1; fn 141 drivers/sh/intc/virq.c return _INTC_MK(fn, MODE_ENABLE_REG, intc_get_reg(d, subgroup->reg), fn 432 drivers/slimbus/qcom-ngd-ctrl.c .fn = qcom_slim_qmi_power_resp_cb, fn 354 drivers/soc/bcm/brcmstb/pm/pm-arm.c static void *brcmstb_pm_copy_to_sram(void *fn, size_t len) fn 363 drivers/soc/bcm/brcmstb/pm/pm-arm.c return fncpy(ctrl.boot_sram, fn, size); fn 86 drivers/soc/fsl/qbman/qman_test_stash.c int (*fn)(void); fn 95 drivers/soc/fsl/qbman/qman_test_stash.c err = bstrap->fn(); fn 102 drivers/soc/fsl/qbman/qman_test_stash.c static int on_all_cpus(int (*fn)(void)) fn 108 drivers/soc/fsl/qbman/qman_test_stash.c .fn = fn, fn 400 drivers/soc/qcom/qmi_interface.c for (handler = qmi->handlers; handler->fn; handler++) { fn 406 drivers/soc/qcom/qmi_interface.c if (!handler->fn) fn 417 drivers/soc/qcom/qmi_interface.c handler->fn(qmi, sq, txn, dest); fn 368 drivers/soc/ti/knav_qmss_queue.c if (!cfg->fn && old_fn) fn 371 drivers/soc/ti/knav_qmss_queue.c qh->notifier_fn = cfg->fn; fn 374 drivers/soc/ti/knav_qmss_queue.c if (cfg->fn && !old_fn) fn 35 drivers/staging/board/board.h #define board_staging(str, fn) \ fn 39 drivers/staging/board/board.h fn(); \ fn 84 drivers/staging/wilc1000/wilc_hif.c void (*fn)(struct work_struct *ws); fn 147 drivers/staging/wilc1000/wilc_hif.c msg->fn = work_fun; fn 158 drivers/staging/wilc1000/wilc_hif.c INIT_WORK(&msg->work, msg->fn); fn 303 drivers/target/iscsi/cxgbit/cxgbit_target.c void (*fn)(struct cxgbit_sock *, struct sk_buff *); fn 313 drivers/target/iscsi/cxgbit/cxgbit_target.c fn = cxgbit_skcb_rx_backlog_fn(skb); fn 314 drivers/target/iscsi/cxgbit/cxgbit_target.c fn(csk, skb); fn 858 drivers/target/target_core_device.c int (*fn)(struct se_device *dev, void *data); fn 886 drivers/target/target_core_device.c ret = iter->fn(dev, iter->data); fn 900 drivers/target/target_core_device.c int target_for_each_device(int (*fn)(struct se_device *dev, void *data), fn 903 drivers/target/target_core_device.c struct devices_idr_iter iter = { .fn = fn, .data = data }; fn 89 drivers/target/target_core_internal.h int target_for_each_device(int (*fn)(struct se_device *dev, void *data), fn 21 drivers/tty/serial/8250/8250.h dma_filter_fn fn; fn 171 drivers/tty/serial/8250/8250_dma.c dma->fn, dma->rx_param, fn 190 drivers/tty/serial/8250/8250_dma.c dma->fn, dma->tx_param, fn 381 drivers/tty/serial/8250/8250_dw.c data->data.dma.fn = dw8250_idma_filter; fn 427 drivers/tty/serial/8250/8250_dw.c data->data.dma.fn = dw8250_fallback_dma_filter; fn 278 drivers/tty/serial/8250/8250_lpss.c dma->fn = lpss8250_dma_filter; fn 273 drivers/tty/serial/8250/8250_mid.c dma->fn = mid8250_dma_filter; fn 472 drivers/tty/serial/8250/8250_mtk.c data->dma->fn = mtk8250_dma_filter; fn 1268 drivers/tty/serial/8250/8250_omap.c priv->omap8250_dma.fn = the_no_dma_filter_fn; fn 47 drivers/usb/core/hcd-pci.c companion_fn fn) fn 75 drivers/usb/core/hcd-pci.c fn(pdev, hcd, companion, companion_hcd); fn 372 drivers/usb/core/usb.c int (*fn)(struct usb_device *, void *); fn 383 drivers/usb/core/usb.c return arg->fn(to_usb_device(dev), arg->data); fn 395 drivers/usb/core/usb.c int usb_for_each_dev(void *data, int (*fn)(struct usb_device *, void *)) fn 397 drivers/usb/core/usb.c struct each_dev_arg arg = {data, fn}; fn 593 drivers/usb/gadget/function/f_uac2.c afunc_bind(struct usb_configuration *cfg, struct usb_function *fn) fn 595 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2 = func_to_uac2(fn); fn 596 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); fn 604 drivers/usb/gadget/function/f_uac2.c uac2_opts = container_of(fn->fi, struct f_uac2_opts, func_inst); fn 640 drivers/usb/gadget/function/f_uac2.c ret = usb_interface_id(cfg, fn); fn 652 drivers/usb/gadget/function/f_uac2.c ret = usb_interface_id(cfg, fn); fn 664 drivers/usb/gadget/function/f_uac2.c ret = usb_interface_id(cfg, fn); fn 709 drivers/usb/gadget/function/f_uac2.c ret = usb_assign_descriptors(fn, fs_audio_desc, hs_audio_desc, NULL, fn 729 drivers/usb/gadget/function/f_uac2.c usb_free_all_descriptors(fn); fn 735 drivers/usb/gadget/function/f_uac2.c afunc_set_alt(struct usb_function *fn, unsigned intf, unsigned alt) fn 737 drivers/usb/gadget/function/f_uac2.c struct usb_composite_dev *cdev = fn->config->cdev; fn 738 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2 = func_to_uac2(fn); fn 781 drivers/usb/gadget/function/f_uac2.c afunc_get_alt(struct usb_function *fn, unsigned intf) fn 783 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2 = func_to_uac2(fn); fn 784 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); fn 801 drivers/usb/gadget/function/f_uac2.c afunc_disable(struct usb_function *fn) fn 803 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2 = func_to_uac2(fn); fn 812 drivers/usb/gadget/function/f_uac2.c in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) fn 814 drivers/usb/gadget/function/f_uac2.c struct usb_request *req = fn->config->cdev->req; fn 815 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); fn 853 drivers/usb/gadget/function/f_uac2.c in_rq_range(struct usb_function *fn, const struct usb_ctrlrequest *cr) fn 855 drivers/usb/gadget/function/f_uac2.c struct usb_request *req = fn->config->cdev->req; fn 856 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); fn 895 drivers/usb/gadget/function/f_uac2.c ac_rq_in(struct usb_function *fn, const struct usb_ctrlrequest *cr) fn 898 drivers/usb/gadget/function/f_uac2.c return in_rq_cur(fn, cr); fn 900 drivers/usb/gadget/function/f_uac2.c return in_rq_range(fn, cr); fn 906 drivers/usb/gadget/function/f_uac2.c out_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) fn 919 drivers/usb/gadget/function/f_uac2.c setup_rq_inf(struct usb_function *fn, const struct usb_ctrlrequest *cr) fn 921 drivers/usb/gadget/function/f_uac2.c struct f_uac2 *uac2 = func_to_uac2(fn); fn 922 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); fn 933 drivers/usb/gadget/function/f_uac2.c return ac_rq_in(fn, cr); fn 935 drivers/usb/gadget/function/f_uac2.c return out_rq_cur(fn, cr); fn 941 drivers/usb/gadget/function/f_uac2.c afunc_setup(struct usb_function *fn, const struct usb_ctrlrequest *cr) fn 943 drivers/usb/gadget/function/f_uac2.c struct usb_composite_dev *cdev = fn->config->cdev; fn 944 drivers/usb/gadget/function/f_uac2.c struct g_audio *agdev = func_to_g_audio(fn); fn 954 drivers/usb/gadget/function/f_uac2.c value = setup_rq_inf(fn, cr); fn 502 drivers/usb/gadget/function/u_serial.c void (*fn)(struct usb_ep *, struct usb_request *), fn 517 drivers/usb/gadget/function/u_serial.c req->complete = fn; fn 136 drivers/usb/host/xhci-dbgtty.c void (*fn)(struct xhci_hcd *, struct dbc_request *)) fn 153 drivers/usb/host/xhci-dbgtty.c req->complete = fn; fn 2158 drivers/usb/misc/ftdi-elan.c u8 fn = ftdi->function - 1; fn 2159 drivers/usb/misc/ftdi-elan.c int activePCIfn = fn << 8; fn 2393 drivers/usb/misc/ftdi-elan.c static int ftdi_elan_setup_controller(struct usb_ftdi *ftdi, int fn) fn 2399 drivers/usb/misc/ftdi-elan.c int activePCIfn = fn << 8; fn 2452 drivers/usb/misc/ftdi-elan.c static int ftdi_elan_close_controller(struct usb_ftdi *ftdi, int fn) fn 2458 drivers/usb/misc/ftdi-elan.c int activePCIfn = fn << 8; fn 2502 drivers/usb/misc/ftdi-elan.c static int ftdi_elan_found_controller(struct usb_ftdi *ftdi, int fn, int quirk) fn 2506 drivers/usb/misc/ftdi-elan.c UxxxStatus = ftdi_elan_setup_controller(ftdi, fn); fn 2510 drivers/usb/misc/ftdi-elan.c UxxxStatus = ftdi_elan_close_controller(ftdi, fn); fn 2572 drivers/usb/misc/ftdi-elan.c u8 fn; fn 2578 drivers/usb/misc/ftdi-elan.c for (fn = 0; (fn < 4); fn++) { fn 2582 drivers/usb/misc/ftdi-elan.c activePCIfn = fn << 8; fn 2590 drivers/usb/misc/ftdi-elan.c devices = ftdi_elan_found_controller(ftdi, fn, 0); fn 2594 drivers/usb/misc/ftdi-elan.c devices = ftdi_elan_found_controller(ftdi, fn, 0); fn 2597 drivers/usb/misc/ftdi-elan.c devices = ftdi_elan_found_controller(ftdi, fn, 0); fn 2601 drivers/usb/misc/ftdi-elan.c devices = ftdi_elan_found_controller(ftdi, fn, 0); fn 2604 drivers/usb/misc/ftdi-elan.c devices = ftdi_elan_found_controller(ftdi, fn, fn 2608 drivers/usb/misc/ftdi-elan.c devices = ftdi_elan_found_controller(ftdi, fn, fn 2616 drivers/usb/misc/ftdi-elan.c ftdi->function = fn + 1; fn 623 drivers/vfio/pci/vfio_pci.c int (*fn)(struct pci_dev *, void *data); fn 635 drivers/vfio/pci/vfio_pci.c walk->ret = walk->fn(pdev, walk->data); fn 641 drivers/vfio/pci/vfio_pci.c int (*fn)(struct pci_dev *, fn 646 drivers/vfio/pci/vfio_pci.c .fn = fn, .data = data, .pdev = pdev, .slot = slot, .ret = 0, fn 731 drivers/vfio/platform/vfio_platform_common.c vfio_platform_reset_fn_t fn) fn 737 drivers/vfio/platform/vfio_platform_common.c if (!strcmp(iter->compat, compat) && (iter->of_reset == fn)) { fn 96 drivers/vfio/platform/vfio_platform_private.h vfio_platform_reset_fn_t fn); fn 1336 drivers/vfio/vfio_iommu_type1.c struct device *(*fn)(struct device *dev); fn 1339 drivers/vfio/vfio_iommu_type1.c fn = symbol_get(mdev_get_iommu_device); fn 1340 drivers/vfio/vfio_iommu_type1.c if (fn) { fn 1341 drivers/vfio/vfio_iommu_type1.c iommu_device = fn(dev); fn 180 drivers/vhost/vhost.c void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn) fn 183 drivers/vhost/vhost.c work->fn = fn; fn 188 drivers/vhost/vhost.c void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, fn 197 drivers/vhost/vhost.c vhost_work_init(&poll->work, fn); fn 360 drivers/vhost/vhost.c work->fn(work); fn 22 drivers/vhost/vhost.h vhost_work_fn_t fn; fn 37 drivers/vhost/vhost.h void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn); fn 41 drivers/vhost/vhost.h void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, fn 210 drivers/video/backlight/pm8941-wled.c u32 (*fn)(u32); fn 238 drivers/video/backlight/pm8941-wled.c .fn = pm8941_wled_num_strings_values_fn, fn 248 drivers/video/backlight/pm8941-wled.c .fn = pm8941_wled_switch_freq_values_fn, fn 260 drivers/video/backlight/pm8941-wled.c if (cfg->fn) fn 261 drivers/video/backlight/pm8941-wled.c return cfg->fn(idx); fn 51 drivers/video/fbdev/aty/radeon_pm.c #define BUGFIX(model, sv, sd, pm, fn) { \ fn 56 drivers/video/fbdev/aty/radeon_pm.c .new_reinit_func = fn \ fn 207 drivers/xen/grant-table.c callback->fn(callback->arg); fn 613 drivers/xen/grant-table.c void (*fn)(void *), void *arg, u16 count) fn 628 drivers/xen/grant-table.c callback->fn = fn; fn 987 drivers/xen/grant-table.c xen_grant_fn_t fn, fn 1001 drivers/xen/grant-table.c fn(pfn_to_gfn(xen_pfn), goffset, glen, data); fn 1012 drivers/xen/grant-table.c xen_grant_fn_t fn, fn 1025 drivers/xen/grant-table.c fn(pfn_to_gfn(xen_pfn), goffset, XEN_PAGE_SIZE, data); fn 156 drivers/xen/privcmd.c int (*fn)(void *data, void *state), fn 177 drivers/xen/privcmd.c ret = (*fn)(pagedata + pageidx, state); fn 192 drivers/xen/privcmd.c int (*fn)(void *data, int nr, void *state), fn 208 drivers/xen/privcmd.c ret = (*fn)(pagedata, nr, state); fn 49 drivers/xen/xlate_mmu.c xen_gfn_fn_t fn, void *data) fn 60 drivers/xen/xlate_mmu.c fn(pfn_to_gfn(xen_pfn++), data); fn 595 fs/autofs/dev-ioctl.c ioctl_fn fn = NULL; fn 623 fs/autofs/dev-ioctl.c fn = lookup_dev_ioctl(cmd); fn 624 fs/autofs/dev-ioctl.c if (!fn) { fn 672 fs/autofs/dev-ioctl.c err = fn(fp, sbi, param); fn 202 fs/ext2/balloc.c const char *fn) fn 213 fs/ext2/balloc.c printk("Block Allocation Reservation Windows Map (%s):\n", fn); fn 2595 fs/ext4/ext4.h int (*fn)(handle_t *handle, fn 1095 fs/ext4/inode.c int (*fn)(handle_t *handle, fn 1114 fs/ext4/inode.c err = (*fn)(handle, bh); fn 303 fs/f2fs/node.c struct fsync_node_entry *fn; fn 307 fs/f2fs/node.c fn = f2fs_kmem_cache_alloc(fsync_node_entry_slab, GFP_NOFS); fn 310 fs/f2fs/node.c fn->page = page; fn 311 fs/f2fs/node.c INIT_LIST_HEAD(&fn->list); fn 314 fs/f2fs/node.c list_add_tail(&fn->list, &sbi->fsync_node_list); fn 315 fs/f2fs/node.c fn->seq_id = sbi->fsync_seg_id++; fn 316 fs/f2fs/node.c seq_id = fn->seq_id; fn 325 fs/f2fs/node.c struct fsync_node_entry *fn; fn 329 fs/f2fs/node.c list_for_each_entry(fn, &sbi->fsync_node_list, list) { fn 330 fs/f2fs/node.c if (fn->page == page) { fn 331 fs/f2fs/node.c list_del(&fn->list); fn 334 fs/f2fs/node.c kmem_cache_free(fsync_node_entry_slab, fn); fn 1932 fs/f2fs/node.c struct fsync_node_entry *fn; fn 1945 fs/f2fs/node.c fn = list_first_entry(head, struct fsync_node_entry, list); fn 1946 fs/f2fs/node.c if (fn->seq_id > seq_id) { fn 1950 fs/f2fs/node.c cur_seq_id = fn->seq_id; fn 1951 fs/f2fs/node.c page = fn->page; fn 1652 fs/io_uring.c long (*fn)(struct socket *, struct user_msghdr __user *, fn 1680 fs/io_uring.c ret = fn(sock, msg, flags); fn 81 fs/jffs2/debug.c struct jffs2_full_dnode *fn = frag->node; fn 83 fs/jffs2/debug.c if (!fn || !fn->raw) fn 86 fs/jffs2/debug.c if (ref_flags(fn->raw) == REF_PRISTINE) { fn 87 fs/jffs2/debug.c if (fn->frags > 1) { fn 89 fs/jffs2/debug.c ref_offset(fn->raw), fn->frags); fn 101 fs/jffs2/debug.c ref_offset(fn->raw)); fn 108 fs/jffs2/debug.c ref_offset(fn->raw), frag->ofs, frag->ofs+frag->size); fn 286 fs/jffs2/dir.c struct jffs2_full_dnode *fn; fn 337 fs/jffs2/dir.c fn = jffs2_write_dnode(c, f, ri, target, targetlen, ALLOC_NORMAL); fn 341 fs/jffs2/dir.c if (IS_ERR(fn)) { fn 345 fs/jffs2/dir.c ret = PTR_ERR(fn); fn 366 fs/jffs2/dir.c f->metadata = fn; fn 448 fs/jffs2/dir.c struct jffs2_full_dnode *fn; fn 495 fs/jffs2/dir.c fn = jffs2_write_dnode(c, f, ri, NULL, 0, ALLOC_NORMAL); fn 499 fs/jffs2/dir.c if (IS_ERR(fn)) { fn 503 fs/jffs2/dir.c ret = PTR_ERR(fn); fn 509 fs/jffs2/dir.c f->metadata = fn; fn 615 fs/jffs2/dir.c struct jffs2_full_dnode *fn; fn 664 fs/jffs2/dir.c fn = jffs2_write_dnode(c, f, ri, (char *)&dev, devlen, ALLOC_NORMAL); fn 668 fs/jffs2/dir.c if (IS_ERR(fn)) { fn 672 fs/jffs2/dir.c ret = PTR_ERR(fn); fn 678 fs/jffs2/dir.c f->metadata = fn; fn 153 fs/jffs2/file.c struct jffs2_full_dnode *fn; fn 186 fs/jffs2/file.c fn = jffs2_write_dnode(c, f, &ri, NULL, 0, ALLOC_NORMAL); fn 188 fs/jffs2/file.c if (IS_ERR(fn)) { fn 189 fs/jffs2/file.c ret = PTR_ERR(fn); fn 194 fs/jffs2/file.c ret = jffs2_add_full_dnode_to_inode(c, f, fn); fn 203 fs/jffs2/file.c jffs2_mark_node_obsolete(c, fn->raw); fn 204 fs/jffs2/file.c jffs2_free_full_dnode(fn); fn 35 fs/jffs2/gc.c struct jffs2_inode_info *f, struct jffs2_full_dnode *fn, fn 38 fs/jffs2/gc.c struct jffs2_inode_info *f, struct jffs2_full_dnode *fn, fn 501 fs/jffs2/gc.c struct jffs2_full_dnode *fn = NULL; fn 528 fs/jffs2/gc.c fn = f->metadata; fn 529 fs/jffs2/gc.c ret = jffs2_garbage_collect_metadata(c, jeb, f, fn); fn 536 fs/jffs2/gc.c fn = frag->node; fn 544 fs/jffs2/gc.c if (fn) { fn 557 fs/jffs2/gc.c ret = jffs2_garbage_collect_hole(c, jeb, f, fn, start, end); fn 560 fs/jffs2/gc.c ret = jffs2_garbage_collect_dnode(c, jeb, f, fn, start, end); fn 759 fs/jffs2/gc.c struct jffs2_inode_info *f, struct jffs2_full_dnode *fn) fn 778 fs/jffs2/gc.c mdatalen = fn->size; fn 779 fs/jffs2/gc.c mdata = kmalloc(fn->size, GFP_KERNEL); fn 784 fs/jffs2/gc.c ret = jffs2_read_dnode(c, f, fn, mdata, 0, mdatalen); fn 841 fs/jffs2/gc.c jffs2_mark_node_obsolete(c, fn->raw); fn 842 fs/jffs2/gc.c jffs2_free_full_dnode(fn); fn 1014 fs/jffs2/gc.c struct jffs2_inode_info *f, struct jffs2_full_dnode *fn, fn 1028 fs/jffs2/gc.c if(fn->frags > 1) { fn 1033 fs/jffs2/gc.c ret = jffs2_flash_read(c, ref_offset(fn->raw), sizeof(ri), &readlen, (char *)&ri); fn 1041 fs/jffs2/gc.c __func__, ref_offset(fn->raw), fn 1047 fs/jffs2/gc.c __func__, ref_offset(fn->raw), fn 1054 fs/jffs2/gc.c __func__, ref_offset(fn->raw), fn 1063 fs/jffs2/gc.c __func__, ref_offset(fn->raw)); fn 1130 fs/jffs2/gc.c D1(if(unlikely(fn->frags <= 1)) { fn 1132 fs/jffs2/gc.c __func__, fn->frags, je32_to_cpu(ri.version), fn 1139 fs/jffs2/gc.c for (frag = jffs2_lookup_node_frag(&f->fragtree, fn->ofs); fn 1141 fs/jffs2/gc.c if (frag->ofs > fn->size + fn->ofs) fn 1143 fs/jffs2/gc.c if (frag->node == fn) { fn 1146 fs/jffs2/gc.c fn->frags--; fn 1149 fs/jffs2/gc.c if (fn->frags) { fn 1158 fs/jffs2/gc.c jffs2_mark_node_obsolete(c, fn->raw); fn 1159 fs/jffs2/gc.c jffs2_free_full_dnode(fn); fn 1165 fs/jffs2/gc.c struct jffs2_inode_info *f, struct jffs2_full_dnode *fn, fn 149 fs/jffs2/nodelist.c static struct jffs2_node_frag * new_fragment(struct jffs2_full_dnode *fn, uint32_t ofs, uint32_t size) fn 157 fs/jffs2/nodelist.c newfrag->node = fn; fn 363 fs/jffs2/nodelist.c int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_full_dnode *fn) fn 368 fs/jffs2/nodelist.c if (unlikely(!fn->size)) fn 371 fs/jffs2/nodelist.c newfrag = new_fragment(fn, fn->ofs, fn->size); fn 377 fs/jffs2/nodelist.c fn->ofs, fn->ofs+fn->size, ref_offset(fn->raw), newfrag); fn 388 fs/jffs2/nodelist.c mark_ref_normal(fn->raw); fn 398 fs/jffs2/nodelist.c mark_ref_normal(fn->raw); fn 231 fs/jffs2/nodelist.h struct jffs2_full_dnode *fn; fn 373 fs/jffs2/nodelist.h int jffs2_add_full_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_full_dnode *fn); fn 33 fs/jffs2/readinode.c struct jffs2_raw_node_ref *ref = tn->fn->raw; fn 154 fs/jffs2/readinode.c BUG_ON(ref_obsolete(tn->fn->raw)); fn 157 fs/jffs2/readinode.c if (ref_flags(tn->fn->raw) != REF_UNCHECKED) fn 161 fs/jffs2/readinode.c tn->fn->ofs, tn->fn->ofs + tn->fn->size, ref_offset(tn->fn->raw)); fn 169 fs/jffs2/readinode.c jffs2_mark_node_obsolete(c, tn->fn->raw); fn 187 fs/jffs2/readinode.c if (tn->fn->ofs < offset) fn 189 fs/jffs2/readinode.c else if (tn->fn->ofs >= offset) fn 201 fs/jffs2/readinode.c jffs2_mark_node_obsolete(c, tn->fn->raw); fn 202 fs/jffs2/readinode.c jffs2_free_full_dnode(tn->fn); fn 222 fs/jffs2/readinode.c uint32_t fn_end = tn->fn->ofs + tn->fn->size; fn 225 fs/jffs2/readinode.c dbg_readinode("insert fragment %#04x-%#04x, ver %u at %08x\n", tn->fn->ofs, fn_end, tn->version, ref_offset(tn->fn->raw)); fn 231 fs/jffs2/readinode.c if (!tn->fn->size) { fn 250 fs/jffs2/readinode.c this = jffs2_lookup_tn(&rii->tn_root, tn->fn->ofs); fn 266 fs/jffs2/readinode.c dbg_readinode("'this' found %#04x-%#04x (%s)\n", this->fn->ofs, this->fn->ofs + this->fn->size, this->fn ? "data" : "hole"); fn 270 fs/jffs2/readinode.c if (this->fn->ofs > fn_end) fn 273 fs/jffs2/readinode.c this->version, this->fn->ofs, this->fn->size); fn 293 fs/jffs2/readinode.c this->fn->ofs >= tn->fn->ofs && fn 294 fs/jffs2/readinode.c this->fn->ofs + this->fn->size <= fn_end) { fn 302 fs/jffs2/readinode.c while (this && this->fn->ofs + this->fn->size <= fn_end) { fn 307 fs/jffs2/readinode.c this->version, this->fn->ofs, fn 308 fs/jffs2/readinode.c this->fn->ofs+this->fn->size); fn 317 fs/jffs2/readinode.c this->fn->ofs <= tn->fn->ofs && fn 318 fs/jffs2/readinode.c this->fn->ofs+this->fn->size >= fn_end) { fn 345 fs/jffs2/readinode.c if (tn->fn->ofs > insert_point->fn->ofs) fn 347 fs/jffs2/readinode.c else if (tn->fn->ofs < insert_point->fn->ofs || fn 348 fs/jffs2/readinode.c tn->fn->size < insert_point->fn->size) fn 361 fs/jffs2/readinode.c if (this->fn->ofs + this->fn->size > tn->fn->ofs) { fn 363 fs/jffs2/readinode.c this, this->version, this->fn->ofs, fn 364 fs/jffs2/readinode.c this->fn->ofs+this->fn->size); fn 386 fs/jffs2/readinode.c while (this && this->fn->ofs < fn_end) { fn 389 fs/jffs2/readinode.c this->version, this->fn->ofs, fn 390 fs/jffs2/readinode.c this->fn->ofs+this->fn->size); fn 462 fs/jffs2/readinode.c rii->latest_ref = rii->mdata_tn->fn->raw; fn 467 fs/jffs2/readinode.c dbg_readinode("tn %p ver %d range 0x%x-0x%x ov %d\n", this, this->version, this->fn->ofs, fn 468 fs/jffs2/readinode.c this->fn->ofs+this->fn->size, this->overlapped); fn 502 fs/jffs2/readinode.c this->version, this->fn->ofs, fn 503 fs/jffs2/readinode.c this->fn->ofs+this->fn->size); fn 512 fs/jffs2/readinode.c rii->latest_ref = this->fn->raw; fn 515 fs/jffs2/readinode.c this, this->version, this->fn->ofs, fn 516 fs/jffs2/readinode.c this->fn->ofs+this->fn->size, this->overlapped); fn 518 fs/jffs2/readinode.c ret = jffs2_add_full_dnode_to_inode(c, f, this->fn); fn 526 fs/jffs2/readinode.c jffs2_mark_node_obsolete(c, this->fn->raw); fn 527 fs/jffs2/readinode.c jffs2_free_full_dnode(this->fn); fn 549 fs/jffs2/readinode.c jffs2_free_full_dnode(tn->fn); fn 816 fs/jffs2/readinode.c tn->fn = jffs2_alloc_full_dnode(); fn 817 fs/jffs2/readinode.c if (!tn->fn) { fn 824 fs/jffs2/readinode.c tn->fn->ofs = je32_to_cpu(rd->offset); fn 827 fs/jffs2/readinode.c tn->fn->raw = ref; fn 836 fs/jffs2/readinode.c tn->fn->size = csize; fn 838 fs/jffs2/readinode.c tn->fn->size = je32_to_cpu(rd->dsize); fn 847 fs/jffs2/readinode.c jffs2_free_full_dnode(tn->fn); fn 857 fs/jffs2/readinode.c tn, tn->version, tn->fn->ofs, fn 858 fs/jffs2/readinode.c tn->fn->ofs+tn->fn->size, tn->overlapped); fn 1162 fs/jffs2/readinode.c jffs2_free_full_dnode(rii.mdata_tn->fn); fn 1170 fs/jffs2/readinode.c if (rii.mdata_tn->fn->raw == rii.latest_ref) { fn 1171 fs/jffs2/readinode.c f->metadata = rii.mdata_tn->fn; fn 64 fs/jffs2/write.c struct jffs2_full_dnode *fn; fn 88 fs/jffs2/write.c fn = jffs2_alloc_full_dnode(); fn 89 fs/jffs2/write.c if (!fn) fn 167 fs/jffs2/write.c jffs2_free_full_dnode(fn); fn 182 fs/jffs2/write.c fn->raw = jffs2_add_physical_node_ref(c, flash_ofs, PAD(sizeof(*ri)+datalen), f->inocache); fn 183 fs/jffs2/write.c if (IS_ERR(fn->raw)) { fn 184 fs/jffs2/write.c void *hold_err = fn->raw; fn 186 fs/jffs2/write.c jffs2_free_full_dnode(fn); fn 189 fs/jffs2/write.c fn->ofs = je32_to_cpu(ri->offset); fn 190 fs/jffs2/write.c fn->size = je32_to_cpu(ri->dsize); fn 191 fs/jffs2/write.c fn->frags = 0; fn 202 fs/jffs2/write.c return fn; fn 351 fs/jffs2/write.c struct jffs2_full_dnode *fn; fn 391 fs/jffs2/write.c fn = jffs2_write_dnode(c, f, ri, comprbuf, cdatalen, ALLOC_NORETRY); fn 395 fs/jffs2/write.c if (IS_ERR(fn)) { fn 396 fs/jffs2/write.c ret = PTR_ERR(fn); fn 407 fs/jffs2/write.c ret = jffs2_add_full_dnode_to_inode(c, f, fn); fn 417 fs/jffs2/write.c jffs2_mark_node_obsolete(c, fn->raw); fn 418 fs/jffs2/write.c jffs2_free_full_dnode(fn); fn 446 fs/jffs2/write.c struct jffs2_full_dnode *fn; fn 465 fs/jffs2/write.c fn = jffs2_write_dnode(c, f, ri, NULL, 0, ALLOC_NORMAL); fn 470 fs/jffs2/write.c if (IS_ERR(fn)) { fn 475 fs/jffs2/write.c return PTR_ERR(fn); fn 480 fs/jffs2/write.c f->metadata = fn; fn 1481 fs/nfsd/nfs4state.c dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) fn 1484 fs/nfsd/nfs4state.c dprintk("%s: %u:%u:%u:%u\n", fn, ptr[0], ptr[1], ptr[2], ptr[3]); fn 1488 fs/nfsd/nfs4state.c dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) fn 178 fs/ntfs/namei.c FILE_NAME_ATTR *fn; fn 219 fs/ntfs/namei.c fn = (FILE_NAME_ATTR*)((u8*)ctx->attr + le16_to_cpu( fn 221 fs/ntfs/namei.c if ((u32)(fn->file_name_length * sizeof(ntfschar) + fn 224 fs/ntfs/namei.c } while (fn->file_name_type != FILE_NAME_WIN32); fn 228 fs/ntfs/namei.c (ntfschar*)&fn->file_name, fn->file_name_length, fn 293 fs/ntfs/namei.c FILE_NAME_ATTR *fn; fn 323 fs/ntfs/namei.c fn = (FILE_NAME_ATTR *)((u8 *)attr + fn 325 fs/ntfs/namei.c if (unlikely((u8 *)fn + le32_to_cpu(attr->data.resident.value_length) > fn 329 fs/ntfs/namei.c parent_ino = MREF_LE(fn->parent_directory); fn 430 fs/ocfs2/aops.c int (*fn)( handle_t *handle, fn 450 fs/ocfs2/aops.c err = (*fn)(handle, bh); fn 29 fs/ocfs2/aops.h int (*fn)( handle_t *handle, fn 211 fs/ocfs2/dlm/dlmast.c dlm_astlockfunc_t *fn; fn 218 fs/ocfs2/dlm/dlmast.c fn = lock->ast; fn 222 fs/ocfs2/dlm/dlmast.c (*fn)(lock->astdata); fn 253 fs/ocfs2/dlm/dlmast.c dlm_bastlockfunc_t *fn = lock->bast; fn 263 fs/ocfs2/dlm/dlmast.c (*fn)(lock->astdata, blocked_type); fn 381 fs/proc/generic.c const char *fn; fn 384 fs/proc/generic.c if (xlate_proc_name(name, parent, &fn) != 0) fn 386 fs/proc/generic.c qstr.name = fn; fn 387 fs/proc/generic.c qstr.len = strlen(fn); fn 392 fs/proc/generic.c if (qstr.len == 1 && fn[0] == '.') { fn 396 fs/proc/generic.c if (qstr.len == 2 && fn[0] == '.' && fn[1] == '.') { fn 423 fs/proc/generic.c memcpy(ent->name, fn, qstr.len + 1); fn 658 fs/proc/generic.c const char *fn = name; fn 662 fs/proc/generic.c if (__xlate_proc_name(name, &parent, &fn) != 0) { fn 666 fs/proc/generic.c len = strlen(fn); fn 668 fs/proc/generic.c de = pde_subdir_find(parent, fn, len); fn 692 fs/proc/generic.c const char *fn = name; fn 696 fs/proc/generic.c if (__xlate_proc_name(name, &parent, &fn) != 0) { fn 700 fs/proc/generic.c len = strlen(fn); fn 702 fs/proc/generic.c root = pde_subdir_find(parent, fn, len); fn 64 fs/proc/kcore.c int __init register_mem_pfn_is_ram(int (*fn)(unsigned long pfn)) fn 68 fs/proc/kcore.c mem_pfn_is_ram = fn; fn 72 fs/proc/vmcore.c int register_oldmem_pfn_is_ram(int (*fn)(unsigned long pfn)) fn 76 fs/proc/vmcore.c oldmem_pfn_is_ram = fn; fn 90 fs/proc/vmcore.c int (*fn)(unsigned long pfn); fn 99 fs/proc/vmcore.c fn = oldmem_pfn_is_ram; fn 100 fs/proc/vmcore.c if (fn) fn 101 fs/proc/vmcore.c ret = fn(pfn); fn 581 fs/quota/dquot.c int (*fn)(struct dquot *dquot, unsigned long priv), fn 608 fs/quota/dquot.c ret = fn(dquot, priv); fn 293 fs/read_write.c loff_t (*fn)(struct file *, loff_t, int); fn 295 fs/read_write.c fn = no_llseek; fn 298 fs/read_write.c fn = file->f_op->llseek; fn 300 fs/read_write.c return fn(file, offset, whence); fn 695 fs/reiserfs/journal.c spinlock_t * lock, void (fn) (struct buffer_chunk *)) fn 704 fs/reiserfs/journal.c fn(chunk); fn 707 fs/reiserfs/journal.c fn(chunk); fn 1041 fs/select.c restart_block->fn = do_restart_poll; fn 1065 fs/select.c restart_block->fn = do_restart_poll; fn 3063 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_query_range_fn fn; fn 3079 fs/xfs/libxfs/xfs_alloc.c return query->fn(cur, &irec, query->priv); fn 3088 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_query_range_fn fn, fn 3099 fs/xfs/libxfs/xfs_alloc.c query.fn = fn; fn 3108 fs/xfs/libxfs/xfs_alloc.c xfs_alloc_query_range_fn fn, fn 3115 fs/xfs/libxfs/xfs_alloc.c query.fn = fn; fn 241 fs/xfs/libxfs/xfs_alloc.h xfs_alloc_query_range_fn fn, void *priv); fn 242 fs/xfs/libxfs/xfs_alloc.h int xfs_alloc_query_all(struct xfs_btree_cur *cur, xfs_alloc_query_range_fn fn, fn 4258 fs/xfs/libxfs/xfs_btree.c xfs_btree_visit_blocks_fn fn, fn 4271 fs/xfs/libxfs/xfs_btree.c error = fn(cur, level, data); fn 4288 fs/xfs/libxfs/xfs_btree.c xfs_btree_visit_blocks_fn fn, fn 4318 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_visit_block(cur, level, fn, data); fn 4548 fs/xfs/libxfs/xfs_btree.c xfs_btree_query_range_fn fn, fn 4600 fs/xfs/libxfs/xfs_btree.c error = fn(cur, recp, priv); fn 4639 fs/xfs/libxfs/xfs_btree.c xfs_btree_query_range_fn fn, fn 4702 fs/xfs/libxfs/xfs_btree.c error = fn(cur, recp, priv); fn 4781 fs/xfs/libxfs/xfs_btree.c xfs_btree_query_range_fn fn, fn 4803 fs/xfs/libxfs/xfs_btree.c &high_key, fn, priv); fn 4805 fs/xfs/libxfs/xfs_btree.c fn, priv); fn 4812 fs/xfs/libxfs/xfs_btree.c xfs_btree_query_range_fn fn, fn 4822 fs/xfs/libxfs/xfs_btree.c return xfs_btree_simple_query_range(cur, &low_key, &high_key, fn, priv); fn 479 fs/xfs/libxfs/xfs_btree.h xfs_btree_query_range_fn fn, void *priv); fn 480 fs/xfs/libxfs/xfs_btree.h int xfs_btree_query_all(struct xfs_btree_cur *cur, xfs_btree_query_range_fn fn, fn 486 fs/xfs/libxfs/xfs_btree.h xfs_btree_visit_blocks_fn fn, void *data); fn 2071 fs/xfs/libxfs/xfs_rmap.c xfs_rmap_query_range_fn fn; fn 2089 fs/xfs/libxfs/xfs_rmap.c return query->fn(cur, &irec, query->priv); fn 2098 fs/xfs/libxfs/xfs_rmap.c xfs_rmap_query_range_fn fn, fn 2108 fs/xfs/libxfs/xfs_rmap.c query.fn = fn; fn 2117 fs/xfs/libxfs/xfs_rmap.c xfs_rmap_query_range_fn fn, fn 2123 fs/xfs/libxfs/xfs_rmap.c query.fn = fn; fn 141 fs/xfs/libxfs/xfs_rmap.h xfs_rmap_query_range_fn fn, void *priv); fn 142 fs/xfs/libxfs/xfs_rmap.h int xfs_rmap_query_all(struct xfs_btree_cur *cur, xfs_rmap_query_range_fn fn, fn 1014 fs/xfs/libxfs/xfs_rtbitmap.c xfs_rtalloc_query_range_fn fn, fn 1053 fs/xfs/libxfs/xfs_rtbitmap.c error = fn(tp, &rec, priv); fn 1069 fs/xfs/libxfs/xfs_rtbitmap.c xfs_rtalloc_query_range_fn fn, fn 1078 fs/xfs/libxfs/xfs_rtbitmap.c return xfs_rtalloc_query_range(tp, &keys[0], &keys[1], fn, priv); fn 172 fs/xfs/xfs_fsmap.c int (*fn)(struct xfs_trans *tp, fn 843 fs/xfs/xfs_fsmap.c handlers[0].fn = xfs_getfsmap_datadev_rmapbt; fn 845 fs/xfs/xfs_fsmap.c handlers[0].fn = xfs_getfsmap_datadev_bnobt; fn 848 fs/xfs/xfs_fsmap.c handlers[1].fn = xfs_getfsmap_logdev; fn 853 fs/xfs/xfs_fsmap.c handlers[2].fn = xfs_getfsmap_rtdev_rtbitmap; fn 901 fs/xfs/xfs_fsmap.c if (!handlers[i].fn) fn 927 fs/xfs/xfs_fsmap.c error = handlers[i].fn(tp, dkeys, &info); fn 205 fs/xfs/xfs_linux.h #define xfs_sort(a,n,s,fn) sort(a,n,s,fn,NULL) fn 129 fs/xfs/xfs_rtalloc.h xfs_rtalloc_query_range_fn fn, fn 132 fs/xfs/xfs_rtalloc.h xfs_rtalloc_query_range_fn fn, fn 300 include/acpi/processor.h static inline int call_on_cpu(int cpu, long (*fn)(void *), void *arg, fn 304 include/acpi/processor.h return fn(arg); fn 305 include/acpi/processor.h return work_on_cpu(cpu, fn, arg); fn 17 include/crypto/cbc.h void (*fn)(struct crypto_skcipher *, const u8 *, u8 *)) fn 27 include/crypto/cbc.h fn(tfm, iv, dst); fn 39 include/crypto/cbc.h void (*fn)(struct crypto_skcipher *, const u8 *, u8 *)) fn 48 include/crypto/cbc.h fn(tfm, src, src); fn 60 include/crypto/cbc.h void (*fn)(struct crypto_skcipher *, fn 71 include/crypto/cbc.h err = crypto_cbc_encrypt_inplace(&walk, tfm, fn); fn 73 include/crypto/cbc.h err = crypto_cbc_encrypt_segment(&walk, tfm, fn); fn 82 include/crypto/cbc.h void (*fn)(struct crypto_skcipher *, const u8 *, u8 *)) fn 91 include/crypto/cbc.h fn(tfm, src, dst); fn 106 include/crypto/cbc.h void (*fn)(struct crypto_skcipher *, const u8 *, u8 *)) fn 118 include/crypto/cbc.h fn(tfm, src, src); fn 133 include/crypto/cbc.h void (*fn)(struct crypto_skcipher *, const u8 *, u8 *)) fn 136 include/crypto/cbc.h return crypto_cbc_decrypt_inplace(walk, tfm, fn); fn 138 include/crypto/cbc.h return crypto_cbc_decrypt_segment(walk, tfm, fn); fn 21 include/crypto/ctr.h void (*fn)(struct crypto_skcipher *, fn 50 include/crypto/ctr.h fn(tfm, walk.iv, buf); fn 1100 include/linux/acpi.h #define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable, valid, data, fn) \ fn 1107 include/linux/acpi.h .probe_table = (acpi_tbl_table_handler)fn, \ fn 1215 include/linux/acpi.h #define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable, valid, data, fn) \ fn 1221 include/linux/acpi.h (void *) fn, \ fn 42 include/linux/attribute_container.h int (*fn)(struct attribute_container *, fn 46 include/linux/attribute_container.h int (*fn)(struct attribute_container *, fn 50 include/linux/attribute_container.h void (*fn)(struct attribute_container *, fn 54 include/linux/attribute_container.h int (*fn)(struct attribute_container *, fn 58 include/linux/attribute_container.h int (*fn)(struct attribute_container *, fn 887 include/linux/clk-provider.h #define CLK_OF_DECLARE(name, compat, fn) OF_DECLARE_1(clk, name, compat, fn) fn 893 include/linux/clk-provider.h #define CLK_OF_DECLARE_DRIVER(name, compat, fn) \ fn 897 include/linux/clk-provider.h fn(np); \ fn 262 include/linux/clocksource.h #define TIMER_OF_DECLARE(name, compat, fn) \ fn 263 include/linux/clocksource.h OF_DECLARE_1_RET(timer, name, compat, fn) fn 271 include/linux/clocksource.h #define TIMER_ACPI_DECLARE(name, table_id, fn) \ fn 272 include/linux/clocksource.h ACPI_DECLARE_PROBE_ENTRY(timer, name, table_id, 0, NULL, 0, fn) fn 93 include/linux/crash_dump.h extern int register_oldmem_pfn_is_ram(int (*fn)(unsigned long pfn)); fn 11 include/linux/delayed_call.h void (*fn)(void *); fn 19 include/linux/delayed_call.h void (*fn)(void *), void *arg) fn 21 include/linux/delayed_call.h call->fn = fn; fn 27 include/linux/delayed_call.h if (call->fn) fn 28 include/linux/delayed_call.h call->fn(call->arg); fn 33 include/linux/delayed_call.h call->fn = NULL; fn 121 include/linux/device-mapper.h iterate_devices_callout_fn fn, fn 175 include/linux/device.h int (*fn)(struct device *dev, void *data)); fn 266 include/linux/device.h void *data, int (*fn)(struct device_driver *, void *)); fn 428 include/linux/device.h int (*fn)(struct device *dev, fn 635 include/linux/device.h int (*fn)(struct device *dev, void *data)); fn 888 include/linux/device.h void (*fn)(struct device *, void *, void *), fn 1503 include/linux/device.h int (*fn)(struct device *dev, void *data)); fn 1505 include/linux/device.h int (*fn)(struct device *dev, void *data)); fn 51 include/linux/dm-io.h io_notify_fn fn; /* Callback for asynchronous requests */ fn 67 include/linux/dm-kcopyd.h unsigned flags, dm_kcopyd_notify_fn fn, void *context); fn 81 include/linux/dm-kcopyd.h dm_kcopyd_notify_fn fn, void *context); fn 86 include/linux/dm-kcopyd.h unsigned flags, dm_kcopyd_notify_fn fn, void *context); fn 656 include/linux/dmaengine.h dma_filter_fn fn; fn 1307 include/linux/dmaengine.h dma_filter_fn fn, void *fn_param, fn 1333 include/linux/dmaengine.h dma_filter_fn fn, fn 1417 include/linux/dmaengine.h dma_filter_fn fn, void *fn_param, fn 1426 include/linux/dmaengine.h if (!fn || !fn_param) fn 1429 include/linux/dmaengine.h return __dma_request_channel(mask, fn, fn_param, NULL); fn 1111 include/linux/efi.h efi_memattr_perm_setter fn); fn 1317 include/linux/efi.h u8 fn; fn 132 include/linux/enclosure.h int enclosure_for_each_device(int (*fn)(struct enclosure_device *, void *), fn 740 include/linux/i2c.h int i2c_for_each_dev(void *data, int (*fn)(struct device *dev, void *data)); fn 20 include/linux/icmpv6.h extern int inet6_register_icmp_sender(ip6_icmp_send_t *fn); fn 21 include/linux/icmpv6.h extern int inet6_unregister_icmp_sender(ip6_icmp_send_t *fn); fn 121 include/linux/idr.h int (*fn)(int id, void *p, void *data), void *data); fn 143 include/linux/init.h extern int do_one_initcall(initcall_t fn); fn 188 include/linux/init.h #define ___define_initcall(fn, id, __sec) \ fn 189 include/linux/init.h __ADDRESSABLE(fn) \ fn 191 include/linux/init.h "__initcall_" #fn #id ": \n" \ fn 192 include/linux/init.h ".long " #fn " - . \n" \ fn 195 include/linux/init.h #define ___define_initcall(fn, id, __sec) \ fn 196 include/linux/init.h static initcall_t __initcall_##fn##id __used \ fn 197 include/linux/init.h __attribute__((__section__(#__sec ".init"))) = fn; fn 200 include/linux/init.h #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) fn 207 include/linux/init.h #define early_initcall(fn) __define_initcall(fn, early) fn 216 include/linux/init.h #define pure_initcall(fn) __define_initcall(fn, 0) fn 218 include/linux/init.h #define core_initcall(fn) __define_initcall(fn, 1) fn 219 include/linux/init.h #define core_initcall_sync(fn) __define_initcall(fn, 1s) fn 220 include/linux/init.h #define postcore_initcall(fn) __define_initcall(fn, 2) fn 221 include/linux/init.h #define postcore_initcall_sync(fn) __define_initcall(fn, 2s) fn 222 include/linux/init.h #define arch_initcall(fn) __define_initcall(fn, 3) fn 223 include/linux/init.h #define arch_initcall_sync(fn) __define_initcall(fn, 3s) fn 224 include/linux/init.h #define subsys_initcall(fn) __define_initcall(fn, 4) fn 225 include/linux/init.h #define subsys_initcall_sync(fn) __define_initcall(fn, 4s) fn 226 include/linux/init.h #define fs_initcall(fn) __define_initcall(fn, 5) fn 227 include/linux/init.h #define fs_initcall_sync(fn) __define_initcall(fn, 5s) fn 228 include/linux/init.h #define rootfs_initcall(fn) __define_initcall(fn, rootfs) fn 229 include/linux/init.h #define device_initcall(fn) __define_initcall(fn, 6) fn 230 include/linux/init.h #define device_initcall_sync(fn) __define_initcall(fn, 6s) fn 231 include/linux/init.h #define late_initcall(fn) __define_initcall(fn, 7) fn 232 include/linux/init.h #define late_initcall_sync(fn) __define_initcall(fn, 7s) fn 234 include/linux/init.h #define __initcall(fn) device_initcall(fn) fn 236 include/linux/init.h #define __exitcall(fn) \ fn 237 include/linux/init.h static exitcall_t __exitcall_##fn __exit_call = fn fn 239 include/linux/init.h #define console_initcall(fn) ___define_initcall(fn,, .con_initcall) fn 253 include/linux/init.h #define __setup_param(str, unique_id, fn, early) \ fn 259 include/linux/init.h = { __setup_str_##unique_id, fn, early } fn 261 include/linux/init.h #define __setup(str, fn) \ fn 262 include/linux/init.h __setup_param(str, fn, fn, 0) fn 268 include/linux/init.h #define early_param(str, fn) \ fn 269 include/linux/init.h __setup_param(str, fn, fn, 1) fn 296 include/linux/init.h #define __setup_param(str, unique_id, fn) /* nothing */ fn 395 include/linux/input.h int (*fn)(struct input_handle *, void *)); fn 657 include/linux/intel-iommu.h int for_each_device_domain(int (*fn)(struct device_domain_info *info, fn 462 include/linux/iommu.h int (*fn)(struct device *, void *)); fn 800 include/linux/iommu.h int (*fn)(struct device *, void *)) fn 27 include/linux/irqchip.h #define IRQCHIP_DECLARE(name, compat, fn) OF_DECLARE_2(irqchip, name, compat, fn) fn 41 include/linux/irqchip.h #define IRQCHIP_ACPI_DECLARE(name, subtable, validate, data, fn) \ fn 43 include/linux/irqchip.h subtable, validate, data, fn) fn 78 include/linux/kallsyms.h int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, fn 110 include/linux/kallsyms.h static inline int kallsyms_on_each_symbol(int (*fn)(void *, const char *, fn 42 include/linux/kcore.h extern int __init register_mem_pfn_is_ram(int (*fn)(unsigned long pfn)); fn 114 include/linux/kthread.h #define KTHREAD_WORK_INIT(work, fn) { \ fn 116 include/linux/kthread.h .func = (fn), \ fn 119 include/linux/kthread.h #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ fn 120 include/linux/kthread.h .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \ fn 128 include/linux/kthread.h #define DEFINE_KTHREAD_WORK(work, fn) \ fn 129 include/linux/kthread.h struct kthread_work work = KTHREAD_WORK_INIT(work, fn) fn 131 include/linux/kthread.h #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ fn 133 include/linux/kthread.h KTHREAD_DELAYED_WORK_INIT(dwork, fn) fn 157 include/linux/kthread.h #define kthread_init_work(work, fn) \ fn 161 include/linux/kthread.h (work)->func = (fn); \ fn 164 include/linux/kthread.h #define kthread_init_delayed_work(dwork, fn) \ fn 166 include/linux/kthread.h kthread_init_work(&(dwork)->work, (fn)); \ fn 1487 include/linux/libata.h #define __ata_qc_for_each(ap, qc, tag, max_tag, fn) \ fn 1489 include/linux/libata.h ({ qc = fn((ap), (tag)); 1; }); (tag)++) \ fn 951 include/linux/memcontrol.h int (*fn)(struct task_struct *, void *), void *arg) fn 127 include/linux/memory.h #define hotplug_memory_notifier(fn, pri) ({ \ fn 128 include/linux/memory.h static __meminitdata struct notifier_block fn##_mem_nb =\ fn 129 include/linux/memory.h { .notifier_call = fn, .priority = pri };\ fn 130 include/linux/memory.h register_memory_notifier(&fn##_mem_nb); \ fn 135 include/linux/memory.h #define hotplug_memory_notifier(fn, pri) ({ 0; }) fn 2645 include/linux/mm.h unsigned long size, pte_fn_t fn, void *data); fn 108 include/linux/module.h #define early_initcall(fn) module_init(fn) fn 109 include/linux/module.h #define core_initcall(fn) module_init(fn) fn 110 include/linux/module.h #define core_initcall_sync(fn) module_init(fn) fn 111 include/linux/module.h #define postcore_initcall(fn) module_init(fn) fn 112 include/linux/module.h #define postcore_initcall_sync(fn) module_init(fn) fn 113 include/linux/module.h #define arch_initcall(fn) module_init(fn) fn 114 include/linux/module.h #define subsys_initcall(fn) module_init(fn) fn 115 include/linux/module.h #define subsys_initcall_sync(fn) module_init(fn) fn 116 include/linux/module.h #define fs_initcall(fn) module_init(fn) fn 117 include/linux/module.h #define fs_initcall_sync(fn) module_init(fn) fn 118 include/linux/module.h #define rootfs_initcall(fn) module_init(fn) fn 119 include/linux/module.h #define device_initcall(fn) module_init(fn) fn 120 include/linux/module.h #define device_initcall_sync(fn) module_init(fn) fn 121 include/linux/module.h #define late_initcall(fn) module_init(fn) fn 122 include/linux/module.h #define late_initcall_sync(fn) module_init(fn) fn 124 include/linux/module.h #define console_initcall(fn) module_init(fn) fn 588 include/linux/module.h bool each_symbol_section(bool (*fn)(const struct symsearch *arr, fn 600 include/linux/module.h int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *, fn 788 include/linux/module.h static inline int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *, fn 4264 include/linux/netdevice.h int (*fn)(struct net_device *upper_dev, fn 4302 include/linux/netdevice.h int (*fn)(struct net_device *lower_dev, fn 4306 include/linux/netdevice.h int (*fn)(struct net_device *lower_dev, fn 1282 include/linux/of.h #define _OF_DECLARE(table, name, compat, fn, fn_type) \ fn 1286 include/linux/of.h .data = (fn == (fn_type)NULL) ? fn : fn } fn 1288 include/linux/of.h #define _OF_DECLARE(table, name, compat, fn, fn_type) \ fn 1292 include/linux/of.h .data = (fn == (fn_type)NULL) ? fn : fn } fn 1299 include/linux/of.h #define OF_DECLARE_1(table, name, compat, fn) \ fn 1300 include/linux/of.h _OF_DECLARE(table, name, compat, fn, of_init_fn_1) fn 1301 include/linux/of.h #define OF_DECLARE_1_RET(table, name, compat, fn) \ fn 1302 include/linux/of.h _OF_DECLARE(table, name, compat, fn, of_init_fn_1_ret) fn 1303 include/linux/of.h #define OF_DECLARE_2(table, name, compat, fn) \ fn 1304 include/linux/of.h _OF_DECLARE(table, name, compat, fn, of_init_fn_2) fn 2312 include/linux/pci.h pci_msi_register_fwnode_provider(struct fwnode_handle *(*fn)(struct device *)); fn 2330 include/linux/pci.h int (*fn)(struct pci_dev *pdev, fn 50 include/linux/platform_data/pm33xx.h int (*soc_suspend)(unsigned int state, int (*fn)(unsigned long), fn 728 include/linux/pm.h extern void __suspend_report_result(const char *function, void *fn, int ret); fn 730 include/linux/pm.h #define suspend_report_result(fn, ret) \ fn 732 include/linux/pm.h __suspend_report_result(__func__, fn, ret); \ fn 736 include/linux/pm.h extern void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *)); fn 772 include/linux/pm.h #define suspend_report_result(fn, ret) do {} while (0) fn 779 include/linux/pm.h static inline void dpm_for_each_dev(void *data, void (*fn)(struct device *, void *)) fn 69 include/linux/quotaops.h int (*fn)(struct dquot *dquot, unsigned long priv), fn 637 include/linux/regmap.h #define __regmap_lockdep_wrapper(fn, name, ...) \ fn 641 include/linux/regmap.h fn(__VA_ARGS__, &_key, \ fn 648 include/linux/regmap.h #define __regmap_lockdep_wrapper(fn, name, ...) fn(__VA_ARGS__, NULL, NULL) fn 26 include/linux/restart_block.h long (*fn)(struct restart_block *); fn 245 include/linux/sbitmap.h sb_for_each_fn fn, void *data) fn 277 include/linux/sbitmap.h if (!fn(sb, (index << sb->shift) + nr, data)) fn 295 include/linux/sbitmap.h static inline void sbitmap_for_each_set(struct sbitmap *sb, sb_for_each_fn fn, fn 298 include/linux/sbitmap.h __sbitmap_for_each_set(sb, 0, fn, data); fn 96 include/linux/sched/task.h extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); fn 317 include/linux/scmi_protocol.h int scmi_protocol_register(int protocol_id, scmi_prot_init_fn_t fn); fn 366 include/linux/serial_core.h #define _OF_EARLYCON_DECLARE(_name, compat, fn, unique_id) \ fn 371 include/linux/serial_core.h .setup = fn }; \ fn 376 include/linux/serial_core.h #define OF_EARLYCON_DECLARE(_name, compat, fn) \ fn 377 include/linux/serial_core.h _OF_EARLYCON_DECLARE(_name, compat, fn, \ fn 380 include/linux/serial_core.h #define EARLYCON_DECLARE(_name, fn) OF_EARLYCON_DECLARE(_name, "", fn) fn 194 include/linux/soc/qcom/qmi.h void (*fn)(struct qmi_handle *qmi, struct sockaddr_qrtr *sq, fn 64 include/linux/soc/ti/knav_qmss.h knav_queue_notify_fn fn; fn 25 include/linux/sock_diag.h void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)); fn 26 include/linux/sock_diag.h void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)); fn 26 include/linux/stop_machine.h cpu_stop_fn_t fn; fn 31 include/linux/stop_machine.h int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg); fn 32 include/linux/stop_machine.h int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg); fn 33 include/linux/stop_machine.h bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, fn 35 include/linux/stop_machine.h int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); fn 36 include/linux/stop_machine.h int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); fn 47 include/linux/stop_machine.h cpu_stop_fn_t fn; fn 51 include/linux/stop_machine.h static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) fn 56 include/linux/stop_machine.h ret = fn(arg); fn 66 include/linux/stop_machine.h stwork->fn(stwork->arg); fn 71 include/linux/stop_machine.h cpu_stop_fn_t fn, void *arg, fn 76 include/linux/stop_machine.h work_buf->fn = fn; fn 86 include/linux/stop_machine.h cpu_stop_fn_t fn, void *arg) fn 89 include/linux/stop_machine.h return stop_one_cpu(raw_smp_processor_id(), fn, arg); fn 94 include/linux/stop_machine.h cpu_stop_fn_t fn, void *arg) fn 96 include/linux/stop_machine.h return stop_cpus(cpumask, fn, arg); fn 125 include/linux/stop_machine.h int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus); fn 136 include/linux/stop_machine.h int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus); fn 138 include/linux/stop_machine.h int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, fn 142 include/linux/stop_machine.h static inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, fn 148 include/linux/stop_machine.h ret = fn(data); fn 153 include/linux/stop_machine.h static inline int stop_machine(cpu_stop_fn_t fn, void *data, fn 156 include/linux/stop_machine.h return stop_machine_cpuslocked(fn, data, cpus); fn 159 include/linux/stop_machine.h static inline int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, fn 162 include/linux/stop_machine.h return stop_machine(fn, data, cpus); fn 204 include/linux/sunrpc/clnt.h int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *), fn 486 include/linux/suspend.h #define pm_notifier(fn, pri) { \ fn 487 include/linux/suspend.h static struct notifier_block fn##_nb = \ fn 488 include/linux/suspend.h { .notifier_call = fn, .priority = pri }; \ fn 489 include/linux/suspend.h register_pm_notifier(&fn##_nb); \ fn 524 include/linux/suspend.h #define pm_notifier(fn, pri) do { (void)(fn); } while (0) fn 79 include/linux/torture.h int _torture_create_kthread(int (*fn)(void *arg), void *arg, char *s, char *m, fn 785 include/linux/tty.h #define tty_msg(fn, tty, f, ...) \ fn 786 include/linux/tty.h fn("%s %s: " f, tty_driver_name(tty), tty_name(tty), ##__VA_ARGS__) fn 868 include/linux/usb.h extern int usb_for_each_dev(void *data, int (*fn)(struct usb_device *, void *)); fn 732 include/linux/wait.h #define __wait_event_interruptible_locked(wq, condition, exclusive, fn) \ fn 739 include/linux/wait.h __ret = fn(&(wq), &__wait); \ fn 459 include/linux/workqueue.h int execute_in_process_context(work_func_t fn, struct execute_work *); fn 614 include/linux/workqueue.h static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg) fn 616 include/linux/workqueue.h return fn(arg); fn 618 include/linux/workqueue.h static inline long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg) fn 620 include/linux/workqueue.h return fn(arg); fn 623 include/linux/workqueue.h long work_on_cpu(int cpu, long (*fn)(void *), void *arg); fn 624 include/linux/workqueue.h long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg); fn 80 include/misc/ocxl.h struct list_head *ocxl_function_afu_list(struct ocxl_fn *fn); fn 92 include/misc/ocxl.h struct ocxl_afu *ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx); fn 116 include/misc/ocxl.h const struct ocxl_fn_config *ocxl_function_config(struct ocxl_fn *fn); fn 127 include/misc/ocxl.h void ocxl_function_close(struct ocxl_fn *fn); fn 354 include/misc/ocxl.h struct ocxl_fn_config *fn, fn 439 include/misc/ocxl.h struct ocxl_fn_config *fn); fn 195 include/net/af_vsock.h void vsock_for_each_connected_socket(void (*fn)(struct sock *sk)); fn 388 include/net/cfg802154.h int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), void *data); fn 92 include/net/ip6_fib.h #define FIB6_SUBTREE(fn) NULL fn 94 include/net/ip6_fib.h #define FIB6_SUBTREE(fn) (rcu_dereference_protected((fn)->subtree, 1)) fn 203 include/net/ip6_fib.h #define for_each_fib6_node_rt_rcu(fn) \ fn 204 include/net/ip6_fib.h for (rt = rcu_dereference((fn)->leaf); rt; \ fn 244 include/net/ip6_fib.h struct fib6_node *fn; fn 247 include/net/ip6_fib.h fn = rcu_dereference(f6i->fib6_node); fn 249 include/net/ip6_fib.h if (fn) { fn 250 include/net/ip6_fib.h *cookie = fn->fn_sernum; fn 250 include/net/netfilter/nf_tables.h int (*fn)(const struct nft_ctx *ctx, fn 371 include/net/netlink.h #define NLA_POLICY_VALIDATE_FN(tp, fn, ...) { \ fn 374 include/net/netlink.h .validate = fn, \ fn 22 include/net/pkt_cls.h int (*fn)(struct tcf_proto *, void *node, struct tcf_walker *); fn 19 include/net/pkt_sched.h int (*fn)(struct Qdisc *, unsigned long cl, struct qdisc_walker *); fn 79 include/pcmcia/cistpl.h } fn[CISTPL_MAX_FUNCTIONS]; fn 216 include/scsi/libsas.h static inline void INIT_SAS_WORK(struct sas_work *sw, void (*fn)(struct work_struct *)) fn 218 include/scsi/libsas.h INIT_WORK(&sw->work, fn); fn 295 include/scsi/libsas.h void (*fn)(struct work_struct *), fn 298 include/scsi/libsas.h INIT_SAS_WORK(&ev->work, fn); fn 350 include/scsi/scsi_device.h void (*fn)(struct scsi_device *, void *)); fn 352 include/scsi/scsi_device.h void (*fn)(struct scsi_device *, fn 71 include/scsi/scsi_dh.h activate_complete fn, void *data) fn 73 include/scsi/scsi_dh.h fn(data, 0); fn 272 include/scsi/scsi_transport_iscsi.h void (*fn)(struct iscsi_cls_session *)); fn 447 include/scsi/scsi_transport_iscsi.h int (*fn)(struct device *dev, void *data)); fn 466 include/scsi/scsi_transport_iscsi.h int (*fn)(struct device *dev, void *data)); fn 100 include/sound/hdmi-codec.h hdmi_codec_plugged_cb fn, fn 66 include/trace/events/xen.h TP_PROTO(xen_mc_callback_fn_t fn, void *data), fn 67 include/trace/events/xen.h TP_ARGS(fn, data), fn 73 include/trace/events/xen.h __field_struct(xen_mc_callback_fn_t, fn) fn 77 include/trace/events/xen.h __entry->fn = fn; fn 81 include/trace/events/xen.h __entry->fn, __entry->data) fn 129 include/uapi/linux/netfilter/x_tables.h #define XT_MATCH_ITERATE(type, e, fn, args...) \ fn 140 include/uapi/linux/netfilter/x_tables.h __ret = fn(__m , ## args); \ fn 148 include/uapi/linux/netfilter/x_tables.h #define XT_ENTRY_ITERATE_CONTINUE(type, entries, size, n, fn, args...) \ fn 160 include/uapi/linux/netfilter/x_tables.h __ret = fn(__entry , ## args); \ fn 168 include/uapi/linux/netfilter/x_tables.h #define XT_ENTRY_ITERATE(type, entries, size, fn, args...) \ fn 169 include/uapi/linux/netfilter/x_tables.h XT_ENTRY_ITERATE_CONTINUE(type, entries, size, 0, fn, args) fn 32 include/uapi/linux/netfilter_arp/arp_tables.h #define ARPT_ENTRY_ITERATE(entries, size, fn, args...) \ fn 33 include/uapi/linux/netfilter_arp/arp_tables.h XT_ENTRY_ITERATE(struct arpt_entry, entries, size, fn, ## args) fn 216 include/uapi/linux/netfilter_bridge/ebtables.h #define EBT_MATCH_ITERATE(e, fn, args...) \ fn 228 include/uapi/linux/netfilter_bridge/ebtables.h __ret = fn(__match , ## args); \ fn 239 include/uapi/linux/netfilter_bridge/ebtables.h #define EBT_WATCHER_ITERATE(e, fn, args...) \ fn 251 include/uapi/linux/netfilter_bridge/ebtables.h __ret = fn(__watcher , ## args); \ fn 262 include/uapi/linux/netfilter_bridge/ebtables.h #define EBT_ENTRY_ITERATE(entries, size, fn, args...) \ fn 270 include/uapi/linux/netfilter_bridge/ebtables.h __ret = fn(__entry , ## args); \ fn 62 include/uapi/linux/netfilter_ipv4/ip_tables.h #define IPT_MATCH_ITERATE(e, fn, args...) \ fn 63 include/uapi/linux/netfilter_ipv4/ip_tables.h XT_MATCH_ITERATE(struct ipt_entry, e, fn, ## args) fn 66 include/uapi/linux/netfilter_ipv4/ip_tables.h #define IPT_ENTRY_ITERATE(entries, size, fn, args...) \ fn 67 include/uapi/linux/netfilter_ipv4/ip_tables.h XT_ENTRY_ITERATE(struct ipt_entry, entries, size, fn, ## args) fn 57 include/uapi/linux/netfilter_ipv6/ip6_tables.h #define IP6T_MATCH_ITERATE(e, fn, args...) \ fn 58 include/uapi/linux/netfilter_ipv6/ip6_tables.h XT_MATCH_ITERATE(struct ip6t_entry, e, fn, ## args) fn 59 include/uapi/linux/netfilter_ipv6/ip6_tables.h #define IP6T_ENTRY_ITERATE(entries, size, fn, args...) \ fn 60 include/uapi/linux/netfilter_ipv6/ip6_tables.h XT_ENTRY_ITERATE(struct ip6t_entry, entries, size, fn, ## args) fn 60 include/xen/grant_table.h void (*fn)(void *); fn 128 include/xen/grant_table.h void (*fn)(void *), void *arg, u16 count); fn 276 include/xen/grant_table.h xen_grant_fn_t fn, fn 281 include/xen/grant_table.h unsigned len, xen_grant_fn_t fn, fn 288 include/xen/grant_table.h gnttab_foreach_grant_in_range(page, offset, len, fn, data); fn 294 include/xen/grant_table.h xen_grant_fn_t fn, fn 79 init/init_task.c .fn = do_no_restart_syscall, fn 793 init/main.c ctor_fn_t *fn = (ctor_fn_t *) __ctors_start; fn 795 init/main.c for (; fn < (ctor_fn_t *) __ctors_end; fn++) fn 796 init/main.c (*fn)(); fn 836 init/main.c static bool __init_or_module initcall_blacklisted(initcall_t fn) fn 845 init/main.c addr = (unsigned long) dereference_function_descriptor(fn); fn 870 init/main.c static bool __init_or_module initcall_blacklisted(initcall_t fn) fn 878 init/main.c trace_initcall_start_cb(void *data, initcall_t fn) fn 882 init/main.c printk(KERN_DEBUG "calling %pS @ %i\n", fn, task_pid_nr(current)); fn 887 init/main.c trace_initcall_finish_cb(void *data, initcall_t fn, int ret) fn 897 init/main.c fn, ret, duration); fn 916 init/main.c static inline void do_trace_initcall_start(initcall_t fn) fn 920 init/main.c trace_initcall_start_cb(&initcall_calltime, fn); fn 922 init/main.c static inline void do_trace_initcall_finish(initcall_t fn, int ret) fn 926 init/main.c trace_initcall_finish_cb(&initcall_calltime, fn, ret); fn 930 init/main.c int __init_or_module do_one_initcall(initcall_t fn) fn 936 init/main.c if (initcall_blacklisted(fn)) fn 939 init/main.c do_trace_initcall_start(fn); fn 940 init/main.c ret = fn(); fn 941 init/main.c do_trace_initcall_finish(fn, ret); fn 953 init/main.c WARN(msgbuf[0], "initcall %pS returned with %s\n", fn, msgbuf); fn 997 init/main.c initcall_entry_t *fn; fn 1007 init/main.c for (fn = initcall_levels[level]; fn < initcall_levels[level+1]; fn++) fn 1008 init/main.c do_one_initcall(initcall_from_entry(fn)); fn 1038 init/main.c initcall_entry_t *fn; fn 1041 init/main.c for (fn = __initcall_start; fn < __initcall0_start; fn++) fn 1042 init/main.c do_one_initcall(initcall_from_entry(fn)); fn 3607 kernel/bpf/verifier.c static bool check_raw_mode_ok(const struct bpf_func_proto *fn) fn 3611 kernel/bpf/verifier.c if (fn->arg1_type == ARG_PTR_TO_UNINIT_MEM) fn 3613 kernel/bpf/verifier.c if (fn->arg2_type == ARG_PTR_TO_UNINIT_MEM) fn 3615 kernel/bpf/verifier.c if (fn->arg3_type == ARG_PTR_TO_UNINIT_MEM) fn 3617 kernel/bpf/verifier.c if (fn->arg4_type == ARG_PTR_TO_UNINIT_MEM) fn 3619 kernel/bpf/verifier.c if (fn->arg5_type == ARG_PTR_TO_UNINIT_MEM) fn 3638 kernel/bpf/verifier.c static bool check_arg_pair_ok(const struct bpf_func_proto *fn) fn 3645 kernel/bpf/verifier.c if (arg_type_is_mem_size(fn->arg1_type) || fn 3646 kernel/bpf/verifier.c arg_type_is_mem_ptr(fn->arg5_type) || fn 3647 kernel/bpf/verifier.c check_args_pair_invalid(fn->arg1_type, fn->arg2_type) || fn 3648 kernel/bpf/verifier.c check_args_pair_invalid(fn->arg2_type, fn->arg3_type) || fn 3649 kernel/bpf/verifier.c check_args_pair_invalid(fn->arg3_type, fn->arg4_type) || fn 3650 kernel/bpf/verifier.c check_args_pair_invalid(fn->arg4_type, fn->arg5_type)) fn 3656 kernel/bpf/verifier.c static bool check_refcount_ok(const struct bpf_func_proto *fn, int func_id) fn 3660 kernel/bpf/verifier.c if (arg_type_may_be_refcounted(fn->arg1_type)) fn 3662 kernel/bpf/verifier.c if (arg_type_may_be_refcounted(fn->arg2_type)) fn 3664 kernel/bpf/verifier.c if (arg_type_may_be_refcounted(fn->arg3_type)) fn 3666 kernel/bpf/verifier.c if (arg_type_may_be_refcounted(fn->arg4_type)) fn 3668 kernel/bpf/verifier.c if (arg_type_may_be_refcounted(fn->arg5_type)) fn 3683 kernel/bpf/verifier.c static int check_func_proto(const struct bpf_func_proto *fn, int func_id) fn 3685 kernel/bpf/verifier.c return check_raw_mode_ok(fn) && fn 3686 kernel/bpf/verifier.c check_arg_pair_ok(fn) && fn 3687 kernel/bpf/verifier.c check_refcount_ok(fn, func_id) ? 0 : -EINVAL; fn 3974 kernel/bpf/verifier.c const struct bpf_func_proto *fn = NULL; fn 3988 kernel/bpf/verifier.c fn = env->ops->get_func_proto(func_id, env->prog); fn 3989 kernel/bpf/verifier.c if (!fn) { fn 3996 kernel/bpf/verifier.c if (!env->prog->gpl_compatible && fn->gpl_only) { fn 4002 kernel/bpf/verifier.c changes_data = bpf_helper_changes_pkt_data(fn->func); fn 4003 kernel/bpf/verifier.c if (changes_data && fn->arg1_type != ARG_PTR_TO_CTX) { fn 4010 kernel/bpf/verifier.c meta.pkt_access = fn->pkt_access; fn 4012 kernel/bpf/verifier.c err = check_func_proto(fn, func_id); fn 4021 kernel/bpf/verifier.c err = check_func_arg(env, BPF_REG_1, fn->arg1_type, &meta); fn 4024 kernel/bpf/verifier.c err = check_func_arg(env, BPF_REG_2, fn->arg2_type, &meta); fn 4027 kernel/bpf/verifier.c err = check_func_arg(env, BPF_REG_3, fn->arg3_type, &meta); fn 4030 kernel/bpf/verifier.c err = check_func_arg(env, BPF_REG_4, fn->arg4_type, &meta); fn 4033 kernel/bpf/verifier.c err = check_func_arg(env, BPF_REG_5, fn->arg5_type, &meta); fn 4087 kernel/bpf/verifier.c if (fn->ret_type == RET_INTEGER) { fn 4090 kernel/bpf/verifier.c } else if (fn->ret_type == RET_VOID) { fn 4092 kernel/bpf/verifier.c } else if (fn->ret_type == RET_PTR_TO_MAP_VALUE_OR_NULL || fn 4093 kernel/bpf/verifier.c fn->ret_type == RET_PTR_TO_MAP_VALUE) { fn 4106 kernel/bpf/verifier.c if (fn->ret_type == RET_PTR_TO_MAP_VALUE) { fn 4114 kernel/bpf/verifier.c } else if (fn->ret_type == RET_PTR_TO_SOCKET_OR_NULL) { fn 4118 kernel/bpf/verifier.c } else if (fn->ret_type == RET_PTR_TO_SOCK_COMMON_OR_NULL) { fn 4122 kernel/bpf/verifier.c } else if (fn->ret_type == RET_PTR_TO_TCP_SOCK_OR_NULL) { fn 4128 kernel/bpf/verifier.c fn->ret_type, func_id_name(func_id), func_id); fn 4146 kernel/bpf/verifier.c err = do_refine_retval_range(env, regs, fn->ret_type, func_id, &meta); fn 8957 kernel/bpf/verifier.c const struct bpf_func_proto *fn; fn 9223 kernel/bpf/verifier.c fn = env->ops->get_func_proto(insn->imm, env->prog); fn 9227 kernel/bpf/verifier.c if (!fn->func) { fn 9233 kernel/bpf/verifier.c insn->imm = fn->func - __bpf_call_base; fn 2434 kernel/fork.c pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) fn 2440 kernel/fork.c .stack = (unsigned long)fn, fn 2850 kernel/futex.c restart->fn = futex_wait_restart; fn 2877 kernel/futex.c restart->fn = do_no_restart_syscall; fn 236 kernel/gcov/clang.c struct gcov_fn_info *fn; fn 238 kernel/gcov/clang.c list_for_each_entry(fn, &info->functions, head) fn 239 kernel/gcov/clang.c memset(fn->counters, 0, fn 240 kernel/gcov/clang.c sizeof(fn->counters[0]) * fn->num_counters); fn 298 kernel/gcov/clang.c static struct gcov_fn_info *gcov_fn_info_dup(struct gcov_fn_info *fn) fn 301 kernel/gcov/clang.c struct gcov_fn_info *fn_dup = kmemdup(fn, sizeof(*fn), fn 307 kernel/gcov/clang.c fn_dup->function_name = kstrdup(fn->function_name, GFP_KERNEL); fn 311 kernel/gcov/clang.c cv_size = fn->num_counters * sizeof(fn->counters[0]); fn 315 kernel/gcov/clang.c memcpy(fn_dup->counters, fn->counters, cv_size); fn 335 kernel/gcov/clang.c struct gcov_fn_info *fn; fn 346 kernel/gcov/clang.c list_for_each_entry(fn, &info->functions, head) { fn 347 kernel/gcov/clang.c struct gcov_fn_info *fn_dup = gcov_fn_info_dup(fn); fn 367 kernel/gcov/clang.c struct gcov_fn_info *fn, *tmp; fn 369 kernel/gcov/clang.c list_for_each_entry_safe(fn, tmp, &info->functions, head) { fn 370 kernel/gcov/clang.c kfree(fn->function_name); fn 371 kernel/gcov/clang.c vfree(fn->counters); fn 372 kernel/gcov/clang.c list_del(&fn->head); fn 373 kernel/gcov/clang.c kfree(fn); fn 240 kernel/gcov/gcc_3_4.c static struct gcov_fn_info *get_fn_info(struct gcov_info *info, unsigned int fn) fn 243 kernel/gcov/gcc_3_4.c ((char *) info->functions + fn * get_fn_size(info)); fn 179 kernel/kallsyms.c int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *, fn 190 kernel/kallsyms.c ret = fn(data, namebuf, NULL, kallsyms_sym_address(i)); fn 194 kernel/kallsyms.c return module_kallsyms_on_each_symbol(fn, data); fn 538 kernel/locking/test-ww_mutex.c void (*fn)(struct work_struct *work); fn 540 kernel/locking/test-ww_mutex.c fn = NULL; fn 544 kernel/locking/test-ww_mutex.c fn = stress_inorder_work; fn 548 kernel/locking/test-ww_mutex.c fn = stress_reorder_work; fn 552 kernel/locking/test-ww_mutex.c fn = stress_one_work; fn 556 kernel/locking/test-ww_mutex.c if (!fn) fn 563 kernel/locking/test-ww_mutex.c INIT_WORK(&stress->work, fn); fn 406 kernel/module.c bool (*fn)(const struct symsearch *syms, fn 414 kernel/module.c if (fn(&arr[j], owner, data)) fn 422 kernel/module.c bool each_symbol_section(bool (*fn)(const struct symsearch *arr, fn 449 kernel/module.c if (each_symbol_in_section(arr, ARRAY_SIZE(arr), NULL, fn, data)) fn 479 kernel/module.c if (each_symbol_in_section(arr, ARRAY_SIZE(arr), mod, fn, data)) fn 4261 kernel/module.c int module_kallsyms_on_each_symbol(int (*fn)(void *, const char *, fn 4283 kernel/module.c ret = fn(data, kallsyms_symbol_name(kallsyms, i), fn 2879 kernel/signal.c return restart->fn(restart); fn 123 kernel/stop_machine.c int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) fn 126 kernel/stop_machine.c struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done }; fn 155 kernel/stop_machine.c cpu_stop_fn_t fn; fn 224 kernel/stop_machine.c err = msdata->fn(msdata->data); fn 317 kernel/stop_machine.c int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) fn 324 kernel/stop_machine.c .fn = fn, fn 331 kernel/stop_machine.c .fn = multi_cpu_stop, fn 366 kernel/stop_machine.c bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, fn 369 kernel/stop_machine.c *work_buf = (struct cpu_stop_work){ .fn = fn, .arg = arg, }; fn 374 kernel/stop_machine.c cpu_stop_fn_t fn, void *arg, fn 391 kernel/stop_machine.c work->fn = fn; fn 405 kernel/stop_machine.c cpu_stop_fn_t fn, void *arg) fn 410 kernel/stop_machine.c if (!queue_stop_cpus_work(cpumask, fn, arg, &done)) fn 444 kernel/stop_machine.c int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) fn 450 kernel/stop_machine.c ret = __stop_cpus(cpumask, fn, arg); fn 473 kernel/stop_machine.c int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) fn 480 kernel/stop_machine.c ret = __stop_cpus(cpumask, fn, arg); fn 513 kernel/stop_machine.c cpu_stop_fn_t fn = work->fn; fn 520 kernel/stop_machine.c ret = fn(arg); fn 528 kernel/stop_machine.c "cpu_stop: %ps(%p) leaked preempt count\n", fn, arg); fn 595 kernel/stop_machine.c int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, fn 599 kernel/stop_machine.c .fn = fn, fn 620 kernel/stop_machine.c ret = (*fn)(data); fn 631 kernel/stop_machine.c int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) fn 637 kernel/stop_machine.c ret = stop_machine_cpuslocked(fn, data, cpus); fn 665 kernel/stop_machine.c int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, fn 668 kernel/stop_machine.c struct multi_stop_data msdata = { .fn = fn, .data = data, fn 841 kernel/time/alarmtimer.c restart->fn = alarm_timer_nsleep_restart; fn 1482 kernel/time/hrtimer.c enum hrtimer_restart (*fn)(struct hrtimer *); fn 1500 kernel/time/hrtimer.c fn = timer->function; fn 1517 kernel/time/hrtimer.c restart = fn(timer); fn 1938 kernel/time/hrtimer.c restart->fn = hrtimer_nanosleep_restart; fn 1338 kernel/time/posix-cpu-timers.c restart_block->fn = posix_cpu_nsleep_restart; fn 1379 kernel/time/timer.c void (*fn)(struct timer_list *), fn 1404 kernel/time/timer.c fn(timer); fn 1411 kernel/time/timer.c fn, count, preempt_count()); fn 1433 kernel/time/timer.c void (*fn)(struct timer_list *); fn 1440 kernel/time/timer.c fn = timer->function; fn 1444 kernel/time/timer.c call_timer_fn(timer, fn, baseclk); fn 1449 kernel/time/timer.c call_timer_fn(timer, fn, baseclk); fn 775 kernel/torture.c int _torture_create_kthread(int (*fn)(void *arg), void *arg, char *s, char *m, fn 781 kernel/torture.c *tp = kthread_run(fn, arg, "%s", s); fn 1538 kernel/trace/trace.h filter_pred_fn_t fn; fn 912 kernel/trace/trace_events_filter.c int match = pred->fn(pred, rec); fn 1098 kernel/trace/trace_events_filter.c filter_pred_fn_t fn = NULL; fn 1116 kernel/trace/trace_events_filter.c fn = filter_pred_64; fn 1118 kernel/trace/trace_events_filter.c fn = pred_funcs_s64[pred_func_index]; fn 1120 kernel/trace/trace_events_filter.c fn = pred_funcs_u64[pred_func_index]; fn 1124 kernel/trace/trace_events_filter.c fn = filter_pred_32; fn 1126 kernel/trace/trace_events_filter.c fn = pred_funcs_s32[pred_func_index]; fn 1128 kernel/trace/trace_events_filter.c fn = pred_funcs_u32[pred_func_index]; fn 1132 kernel/trace/trace_events_filter.c fn = filter_pred_16; fn 1134 kernel/trace/trace_events_filter.c fn = pred_funcs_s16[pred_func_index]; fn 1136 kernel/trace/trace_events_filter.c fn = pred_funcs_u16[pred_func_index]; fn 1140 kernel/trace/trace_events_filter.c fn = filter_pred_8; fn 1142 kernel/trace/trace_events_filter.c fn = pred_funcs_s8[pred_func_index]; fn 1144 kernel/trace/trace_events_filter.c fn = pred_funcs_u8[pred_func_index]; fn 1148 kernel/trace/trace_events_filter.c return fn; fn 1237 kernel/trace/trace_events_filter.c pred->fn = filter_pred_none; fn 1315 kernel/trace/trace_events_filter.c pred->fn = filter_pred_comm; fn 1318 kernel/trace/trace_events_filter.c pred->fn = filter_pred_string; fn 1322 kernel/trace/trace_events_filter.c pred->fn = filter_pred_strloc; fn 1324 kernel/trace/trace_events_filter.c pred->fn = filter_pred_pchar; fn 1371 kernel/trace/trace_events_filter.c pred->fn = filter_pred_cpu; fn 1373 kernel/trace/trace_events_filter.c pred->fn = select_comparison_fn(pred->op, field->size, fn 2199 kernel/trace/trace_events_filter.c WARN_ON_ONCE(!pred->fn); fn 2209 kernel/trace/trace_events_filter.c pred->fn = test_pred_visited_fn; fn 118 kernel/trace/trace_events_hist.c hist_field_fn_t fn; fn 208 kernel/trace/trace_events_hist.c u64 val = operand->fn(operand, elt, rbe, event); fn 221 kernel/trace/trace_events_hist.c u64 val1 = operand1->fn(operand1, elt, rbe, event); fn 222 kernel/trace/trace_events_hist.c u64 val2 = operand2->fn(operand2, elt, rbe, event); fn 235 kernel/trace/trace_events_hist.c u64 val1 = operand1->fn(operand1, elt, rbe, event); fn 236 kernel/trace/trace_events_hist.c u64 val2 = operand2->fn(operand2, elt, rbe, event); fn 248 kernel/trace/trace_events_hist.c s64 sval = (s64)operand->fn(operand, elt, rbe, event); fn 464 kernel/trace/trace_events_hist.c action_fn_t fn; fn 2029 kernel/trace/trace_events_hist.c hist_field_fn_t fn = NULL; fn 2034 kernel/trace/trace_events_hist.c fn = hist_field_s64; fn 2036 kernel/trace/trace_events_hist.c fn = hist_field_u64; fn 2040 kernel/trace/trace_events_hist.c fn = hist_field_s32; fn 2042 kernel/trace/trace_events_hist.c fn = hist_field_u32; fn 2046 kernel/trace/trace_events_hist.c fn = hist_field_s16; fn 2048 kernel/trace/trace_events_hist.c fn = hist_field_u16; fn 2052 kernel/trace/trace_events_hist.c fn = hist_field_s8; fn 2054 kernel/trace/trace_events_hist.c fn = hist_field_u8; fn 2058 kernel/trace/trace_events_hist.c return fn; fn 2517 kernel/trace/trace_events_hist.c hist_field->fn = hist_field_var_ref; fn 2522 kernel/trace/trace_events_hist.c hist_field->fn = hist_field_counter; fn 2531 kernel/trace/trace_events_hist.c hist_field->fn = hist_field_none; fn 2537 kernel/trace/trace_events_hist.c hist_field->fn = hist_field_log2; fn 2547 kernel/trace/trace_events_hist.c hist_field->fn = hist_field_timestamp; fn 2556 kernel/trace/trace_events_hist.c hist_field->fn = hist_field_cpu; fn 2576 kernel/trace/trace_events_hist.c hist_field->fn = hist_field_string; fn 2578 kernel/trace/trace_events_hist.c hist_field->fn = hist_field_dynstring; fn 2580 kernel/trace/trace_events_hist.c hist_field->fn = hist_field_pstring; fn 2588 kernel/trace/trace_events_hist.c hist_field->fn = select_value_fn(field->size, fn 2590 kernel/trace/trace_events_hist.c if (!hist_field->fn) { fn 2894 kernel/trace/trace_events_hist.c alias->fn = var_ref->fn; fn 3025 kernel/trace/trace_events_hist.c expr->fn = hist_field_unary_minus; fn 3163 kernel/trace/trace_events_hist.c expr->fn = hist_field_minus; fn 3166 kernel/trace/trace_events_hist.c expr->fn = hist_field_plus; fn 3477 kernel/trace/trace_events_hist.c var_val = val->fn(val, elt, rbe, rec); fn 4044 kernel/trace/trace_events_hist.c data->fn = ontrack_action; fn 4066 kernel/trace/trace_events_hist.c data->fn = ontrack_action; fn 4087 kernel/trace/trace_events_hist.c data->fn = ontrack_action; fn 4089 kernel/trace/trace_events_hist.c data->fn = action_trace; fn 5291 kernel/trace/trace_events_hist.c hist_val = hist_field->fn(hist_field, elt, rbe, rec); fn 5303 kernel/trace/trace_events_hist.c hist_val = hist_field->fn(hist_field, elt, rbe, rec); fn 5348 kernel/trace/trace_events_hist.c data->fn(hist_data, elt, rec, rbe, key, data, var_ref_vals); fn 5377 kernel/trace/trace_events_hist.c field_contents = key_field->fn(key_field, elt, rbe, rec); fn 169 kernel/trace/tracing_map.c tracing_map_cmp_fn_t fn = tracing_map_cmp_none; fn 174 kernel/trace/tracing_map.c fn = tracing_map_cmp_s64; fn 176 kernel/trace/tracing_map.c fn = tracing_map_cmp_u64; fn 180 kernel/trace/tracing_map.c fn = tracing_map_cmp_s32; fn 182 kernel/trace/tracing_map.c fn = tracing_map_cmp_u32; fn 186 kernel/trace/tracing_map.c fn = tracing_map_cmp_s16; fn 188 kernel/trace/tracing_map.c fn = tracing_map_cmp_u16; fn 192 kernel/trace/tracing_map.c fn = tracing_map_cmp_s8; fn 194 kernel/trace/tracing_map.c fn = tracing_map_cmp_u8; fn 198 kernel/trace/tracing_map.c return fn; fn 3321 kernel/workqueue.c int execute_in_process_context(work_func_t fn, struct execute_work *ew) fn 3324 kernel/workqueue.c fn(&ew->work); fn 3328 kernel/workqueue.c INIT_WORK(&ew->work, fn); fn 4598 kernel/workqueue.c work_func_t *fn = NULL; fn 4618 kernel/workqueue.c probe_kernel_read(&fn, &worker->current_func, sizeof(fn)); fn 4624 kernel/workqueue.c if (fn || name[0] || desc[0]) { fn 4625 kernel/workqueue.c printk("%sWorkqueue: %s %ps", log_lvl, name, fn); fn 5070 kernel/workqueue.c long (*fn)(void *); fn 5079 kernel/workqueue.c wfc->ret = wfc->fn(wfc->arg); fn 5093 kernel/workqueue.c long work_on_cpu(int cpu, long (*fn)(void *), void *arg) fn 5095 kernel/workqueue.c struct work_for_cpu wfc = { .fn = fn, .arg = arg }; fn 5116 kernel/workqueue.c long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg) fn 5122 kernel/workqueue.c ret = work_on_cpu(cpu, fn, arg); fn 196 lib/idr.c int (*fn)(int id, void *p, void *data), void *data) fn 208 lib/idr.c ret = fn(id, rcu_dereference_raw(*slot), data); fn 1182 lib/locking-selftest.c #define dotest_rt(fn, e, m) dotest((fn), (e), (m)) fn 1184 lib/locking-selftest.c #define dotest_rt(fn, e, m) fn 55 lib/sha1.c #define SHA_ROUND(t, input, fn, constant, A, B, C, D, E) do { \ fn 57 lib/sha1.c E += TEMP + rol32(A,5) + (fn) + (constant); \ fn 26 lib/test-kstrtox.c #define TEST_FAIL(fn, type, fmt, test) \ fn 36 lib/test-kstrtox.c rv = fn(t->str, t->base, &tmp); \ fn 45 lib/test-kstrtox.c #define TEST_OK(fn, type, fmt, test) \ fn 54 lib/test-kstrtox.c rv = fn(t->str, t->base, &res); \ fn 1215 mm/memcontrol.c int (*fn)(struct task_struct *, void *), void *arg) fn 1228 mm/memcontrol.c ret = fn(task, arg); fn 2006 mm/memory.c pte_fn_t fn, void *data) fn 2023 mm/memory.c err = fn(pte++, addr, data); fn 2037 mm/memory.c pte_fn_t fn, void *data) fn 2050 mm/memory.c err = apply_to_pte_range(mm, pmd, addr, next, fn, data); fn 2059 mm/memory.c pte_fn_t fn, void *data) fn 2070 mm/memory.c err = apply_to_pmd_range(mm, pud, addr, next, fn, data); fn 2079 mm/memory.c pte_fn_t fn, void *data) fn 2090 mm/memory.c err = apply_to_pud_range(mm, p4d, addr, next, fn, data); fn 2102 mm/memory.c unsigned long size, pte_fn_t fn, void *data) fn 2115 mm/memory.c err = apply_to_p4d_range(mm, pgd, addr, next, fn, data); fn 1153 net/ceph/osd_client.c int (*fn)(struct ceph_osd_request *req, void *arg), fn 1166 net/ceph/osd_client.c if (fn(req, arg)) fn 1176 net/ceph/osd_client.c if (fn(req, arg)) fn 1196 net/ceph/osdmap.c decode_mapping_fn_t fn, bool incremental) fn 1200 net/ceph/osdmap.c WARN_ON(!incremental && !fn); fn 1219 net/ceph/osdmap.c if (fn) { fn 1220 net/ceph/osdmap.c pg = fn(p, end, incremental); fn 6616 net/core/dev.c int (*fn)(struct net_device *dev, fn 6630 net/core/dev.c ret = fn(now, data); fn 6665 net/core/dev.c int (*fn)(struct net_device *dev, fn 6678 net/core/dev.c ret = fn(now, data); fn 6834 net/core/dev.c int (*fn)(struct net_device *dev, fn 6847 net/core/dev.c ret = fn(now, data); fn 6881 net/core/dev.c int (*fn)(struct net_device *dev, fn 6895 net/core/dev.c ret = fn(now, data); fn 6997 net/core/dev.c int (*fn)(struct net_device *dev, fn 7010 net/core/dev.c ret = fn(now, data); fn 164 net/core/sock_diag.c void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) fn 167 net/core/sock_diag.c inet_rcv_compat = fn; fn 172 net/core/sock_diag.c void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh)) fn 1743 net/dcb/dcbnl.c const struct reply_func *fn; fn 1757 net/dcb/dcbnl.c fn = &reply_funcs[dcb->cmd]; fn 1758 net/dcb/dcbnl.c if (!fn->cb) fn 1771 net/dcb/dcbnl.c reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq, fn 1776 net/dcb/dcbnl.c ret = fn->cb(netdev, nlh, nlh->nlmsg_seq, tb, reply_skb); fn 474 net/dccp/dccp.h int dccp_feat_activate_values(struct sock *sk, struct list_head *fn); fn 632 net/dccp/feat.c struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; fn 638 net/dccp/feat.c list_for_each_entry_safe_reverse(pos, next, fn, node) { fn 695 net/dccp/feat.c static int __feat_register_nn(struct list_head *fn, u8 feat, fn 708 net/dccp/feat.c return dccp_feat_push_change(fn, feat, 1, mandatory, &fval); fn 720 net/dccp/feat.c static int __feat_register_sp(struct list_head *fn, u8 feat, u8 is_local, fn 736 net/dccp/feat.c if (dccp_feat_push_change(fn, feat, is_local, mandatory, &fval)) { fn 803 net/dccp/feat.c struct list_head *fn = &dccp_sk(sk)->dccps_featneg; fn 817 net/dccp/feat.c entry = dccp_feat_list_lookup(fn, feat, 1); fn 826 net/dccp/feat.c return dccp_feat_push_change(fn, feat, 1, 0, &fval); fn 942 net/dccp/feat.c static int dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local) fn 949 net/dccp/feat.c rc = __feat_register_sp(fn, table[i].dependent_feat, fn 954 net/dccp/feat.c rc = __feat_register_nn(fn, table[i].dependent_feat, fn 970 net/dccp/feat.c struct list_head *fn = &dp->dccps_featneg; fn 983 net/dccp/feat.c list_for_each_entry(entry, fn, node) fn 987 net/dccp/feat.c if (ccids[i] > 0 && dccp_feat_propagate_ccid(fn, ccids[i], i)) fn 989 net/dccp/feat.c dccp_feat_print_fnlist(fn); fn 1000 net/dccp/feat.c struct list_head *fn = &dreq->dreq_featneg; fn 1005 net/dccp/feat.c entry = dccp_feat_list_lookup(fn, DCCPF_CCID, is_local); fn 1012 net/dccp/feat.c if (dccp_feat_propagate_ccid(fn, ccid, is_local)) fn 1097 net/dccp/feat.c static u8 dccp_feat_change_recv(struct list_head *fn, u8 is_mandatory, u8 opt, fn 1123 net/dccp/feat.c return dccp_feat_push_confirm(fn, feat, local, &fval); fn 1129 net/dccp/feat.c entry = dccp_feat_list_lookup(fn, feat, local); fn 1159 net/dccp/feat.c return dccp_feat_push_confirm(fn, feat, local, &fval); fn 1191 net/dccp/feat.c return dccp_push_empty_confirm(fn, feat, local); fn 1208 net/dccp/feat.c static u8 dccp_feat_confirm_recv(struct list_head *fn, u8 is_mandatory, u8 opt, fn 1213 net/dccp/feat.c struct dccp_feat_entry *entry = dccp_feat_list_lookup(fn, feat, local); fn 1308 net/dccp/feat.c struct list_head *fn = &dccp_sk(sk)->dccps_featneg; fn 1339 net/dccp/feat.c if (dccp_feat_push_confirm(fn, feat, local, &fval) || fn 1347 net/dccp/feat.c entry = dccp_feat_list_lookup(fn, feat, local); fn 1375 net/dccp/feat.c return dccp_push_empty_confirm(fn, feat, local); fn 1398 net/dccp/feat.c struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; fn 1411 net/dccp/feat.c return dccp_feat_change_recv(fn, mandatory, opt, feat, fn 1415 net/dccp/feat.c return dccp_feat_confirm_recv(fn, mandatory, opt, feat, fn 1442 net/dccp/feat.c struct list_head *fn = &dccp_sk(sk)->dccps_featneg; fn 1451 net/dccp/feat.c rc = __feat_register_nn(fn, DCCPF_SEQUENCE_WINDOW, 0, fn 1459 net/dccp/feat.c rc = __feat_register_sp(fn, DCCPF_SHORT_SEQNOS, true, true, &off, 1); fn 1464 net/dccp/feat.c rc = __feat_register_sp(fn, DCCPF_ECN_INCAPABLE, true, true, &on, 1); fn 1485 net/dccp/feat.c rc = __feat_register_sp(fn, DCCPF_CCID, true, false, tx.val, tx.len); fn 1489 net/dccp/feat.c rc = __feat_register_sp(fn, DCCPF_CCID, false, false, rx.val, rx.len); fn 42 net/ieee802154/core.c int (*fn)(struct wpan_phy *phy, void *data); fn 51 net/ieee802154/core.c return wpid->fn(phy, wpid->data); fn 54 net/ieee802154/core.c int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), fn 58 net/ieee802154/core.c .fn = fn, fn 812 net/ieee802154/nl-mac.c int (*fn)(struct net_device*, struct genl_info*)) fn 824 net/ieee802154/nl-mac.c rc = fn(dev, info); fn 536 net/ipv4/fou.c struct fou_net *fn = net_generic(net, fou_net_id); fn 539 net/ipv4/fou.c mutex_lock(&fn->fou_lock); fn 540 net/ipv4/fou.c list_for_each_entry(fout, &fn->fou_list, list) { fn 542 net/ipv4/fou.c mutex_unlock(&fn->fou_lock); fn 547 net/ipv4/fou.c list_add(&fou->list, &fn->fou_list); fn 548 net/ipv4/fou.c mutex_unlock(&fn->fou_lock); fn 638 net/ipv4/fou.c struct fou_net *fn = net_generic(net, fou_net_id); fn 642 net/ipv4/fou.c mutex_lock(&fn->fou_lock); fn 643 net/ipv4/fou.c list_for_each_entry(fou, &fn->fou_list, list) { fn 650 net/ipv4/fou.c mutex_unlock(&fn->fou_lock); fn 847 net/ipv4/fou.c struct fou_net *fn = net_generic(net, fou_net_id); fn 871 net/ipv4/fou.c mutex_lock(&fn->fou_lock); fn 872 net/ipv4/fou.c list_for_each_entry(fout, &fn->fou_list, list) { fn 880 net/ipv4/fou.c mutex_unlock(&fn->fou_lock); fn 894 net/ipv4/fou.c struct fou_net *fn = net_generic(net, fou_net_id); fn 898 net/ipv4/fou.c mutex_lock(&fn->fou_lock); fn 899 net/ipv4/fou.c list_for_each_entry(fout, &fn->fou_list, list) { fn 908 net/ipv4/fou.c mutex_unlock(&fn->fou_lock); fn 1247 net/ipv4/fou.c struct fou_net *fn = net_generic(net, fou_net_id); fn 1249 net/ipv4/fou.c INIT_LIST_HEAD(&fn->fou_list); fn 1250 net/ipv4/fou.c mutex_init(&fn->fou_lock); fn 1256 net/ipv4/fou.c struct fou_net *fn = net_generic(net, fou_net_id); fn 1260 net/ipv4/fou.c mutex_lock(&fn->fou_lock); fn 1261 net/ipv4/fou.c list_for_each_entry_safe(fou, next, &fn->fou_list, list) fn 1263 net/ipv4/fou.c mutex_unlock(&fn->fou_lock); fn 2408 net/ipv6/addrconf.c struct fib6_node *fn; fn 2418 net/ipv6/addrconf.c fn = fib6_locate(&table->tb6_root, pfx, plen, NULL, 0, true); fn 2419 net/ipv6/addrconf.c if (!fn) fn 2422 net/ipv6/addrconf.c for_each_fib6_node_rt_rcu(fn) { fn 57 net/ipv6/ip6_fib.c struct fib6_node *fn); fn 60 net/ipv6/ip6_fib.c struct fib6_node *fn); fn 108 net/ipv6/ip6_fib.c struct fib6_node *fn; fn 110 net/ipv6/ip6_fib.c fn = rcu_dereference_protected(f6i->fib6_node, fn 112 net/ipv6/ip6_fib.c if (fn) fn 113 net/ipv6/ip6_fib.c fn->fn_sernum = fib6_new_sernum(net); fn 183 net/ipv6/ip6_fib.c struct fib6_node *fn; fn 185 net/ipv6/ip6_fib.c fn = kmem_cache_zalloc(fib6_node_kmem, GFP_ATOMIC); fn 186 net/ipv6/ip6_fib.c if (fn) fn 189 net/ipv6/ip6_fib.c return fn; fn 192 net/ipv6/ip6_fib.c static void node_free_immediate(struct net *net, struct fib6_node *fn) fn 194 net/ipv6/ip6_fib.c kmem_cache_free(fib6_node_kmem, fn); fn 200 net/ipv6/ip6_fib.c struct fib6_node *fn = container_of(head, struct fib6_node, rcu); fn 202 net/ipv6/ip6_fib.c kmem_cache_free(fib6_node_kmem, fn); fn 205 net/ipv6/ip6_fib.c static void node_free(struct net *net, struct fib6_node *fn) fn 207 net/ipv6/ip6_fib.c call_rcu(&fn->rcu, node_free_rcu); fn 693 net/ipv6/ip6_fib.c struct fib6_node *fn, *in, *ln; fn 703 net/ipv6/ip6_fib.c fn = root; fn 706 net/ipv6/ip6_fib.c struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, fn 713 net/ipv6/ip6_fib.c if (plen < fn->fn_bit || fn 714 net/ipv6/ip6_fib.c !ipv6_prefix_equal(&key->addr, addr, fn->fn_bit)) { fn 731 net/ipv6/ip6_fib.c if (plen == fn->fn_bit) { fn 733 net/ipv6/ip6_fib.c if (!(fn->fn_flags & RTN_RTINFO)) { fn 734 net/ipv6/ip6_fib.c RCU_INIT_POINTER(fn->leaf, NULL); fn 737 net/ipv6/ip6_fib.c } else if (fn->fn_flags & RTN_TL_ROOT && fn 738 net/ipv6/ip6_fib.c rcu_access_pointer(fn->leaf) == fn 740 net/ipv6/ip6_fib.c RCU_INIT_POINTER(fn->leaf, NULL); fn 743 net/ipv6/ip6_fib.c return fn; fn 751 net/ipv6/ip6_fib.c dir = addr_bit_set(addr, fn->fn_bit); fn 752 net/ipv6/ip6_fib.c pn = fn; fn 753 net/ipv6/ip6_fib.c fn = dir ? fn 754 net/ipv6/ip6_fib.c rcu_dereference_protected(fn->right, fn 756 net/ipv6/ip6_fib.c rcu_dereference_protected(fn->left, fn 758 net/ipv6/ip6_fib.c } while (fn); fn 807 net/ipv6/ip6_fib.c pn = rcu_dereference_protected(fn->parent, fn 846 net/ipv6/ip6_fib.c in->leaf = fn->leaf; fn 859 net/ipv6/ip6_fib.c rcu_assign_pointer(fn->parent, in); fn 863 net/ipv6/ip6_fib.c rcu_assign_pointer(in->left, fn); fn 866 net/ipv6/ip6_fib.c rcu_assign_pointer(in->right, fn); fn 886 net/ipv6/ip6_fib.c RCU_INIT_POINTER(ln->right, fn); fn 888 net/ipv6/ip6_fib.c RCU_INIT_POINTER(ln->left, fn); fn 890 net/ipv6/ip6_fib.c rcu_assign_pointer(fn->parent, ln); fn 971 net/ipv6/ip6_fib.c static void fib6_purge_rt(struct fib6_info *rt, struct fib6_node *fn, fn 988 net/ipv6/ip6_fib.c while (fn) { fn 989 net/ipv6/ip6_fib.c struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, fn 992 net/ipv6/ip6_fib.c if (!(fn->fn_flags & RTN_RTINFO) && leaf == rt) { fn 993 net/ipv6/ip6_fib.c new_leaf = fib6_find_prefix(net, table, fn); fn 996 net/ipv6/ip6_fib.c rcu_assign_pointer(fn->leaf, new_leaf); fn 999 net/ipv6/ip6_fib.c fn = rcu_dereference_protected(fn->parent, fn 1009 net/ipv6/ip6_fib.c static int fib6_add_rt2node(struct fib6_node *fn, struct fib6_info *rt, fn 1013 net/ipv6/ip6_fib.c struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, fn 1030 net/ipv6/ip6_fib.c ins = &fn->leaf; fn 1106 net/ipv6/ip6_fib.c if (ins == &fn->leaf) fn 1107 net/ipv6/ip6_fib.c fn->rr_ptr = NULL; fn 1177 net/ipv6/ip6_fib.c rcu_assign_pointer(rt->fib6_node, fn); fn 1183 net/ipv6/ip6_fib.c if (!(fn->fn_flags & RTN_RTINFO)) { fn 1185 net/ipv6/ip6_fib.c fn->fn_flags |= RTN_RTINFO; fn 1207 net/ipv6/ip6_fib.c rcu_assign_pointer(rt->fib6_node, fn); fn 1212 net/ipv6/ip6_fib.c if (!(fn->fn_flags & RTN_RTINFO)) { fn 1214 net/ipv6/ip6_fib.c fn->fn_flags |= RTN_RTINFO; fn 1218 net/ipv6/ip6_fib.c fib6_purge_rt(iter, fn, info->nl_net); fn 1219 net/ipv6/ip6_fib.c if (rcu_access_pointer(fn->rr_ptr) == iter) fn 1220 net/ipv6/ip6_fib.c fn->rr_ptr = NULL; fn 1234 net/ipv6/ip6_fib.c fib6_purge_rt(iter, fn, info->nl_net); fn 1235 net/ipv6/ip6_fib.c if (rcu_access_pointer(fn->rr_ptr) == iter) fn 1236 net/ipv6/ip6_fib.c fn->rr_ptr = NULL; fn 1271 net/ipv6/ip6_fib.c struct fib6_node *fn = rcu_dereference_protected(rt->fib6_node, fn 1276 net/ipv6/ip6_fib.c while (fn) { fn 1277 net/ipv6/ip6_fib.c fn->fn_sernum = sernum; fn 1278 net/ipv6/ip6_fib.c fn = rcu_dereference_protected(fn->parent, fn 1307 net/ipv6/ip6_fib.c struct fib6_node *fn, *pn = NULL; fn 1322 net/ipv6/ip6_fib.c fn = fib6_add_1(info->nl_net, table, root, fn 1326 net/ipv6/ip6_fib.c if (IS_ERR(fn)) { fn 1327 net/ipv6/ip6_fib.c err = PTR_ERR(fn); fn 1328 net/ipv6/ip6_fib.c fn = NULL; fn 1332 net/ipv6/ip6_fib.c pn = fn; fn 1338 net/ipv6/ip6_fib.c if (!rcu_access_pointer(fn->subtree)) { fn 1379 net/ipv6/ip6_fib.c rcu_assign_pointer(sfn->parent, fn); fn 1380 net/ipv6/ip6_fib.c rcu_assign_pointer(fn->subtree, sfn); fn 1382 net/ipv6/ip6_fib.c sn = fib6_add_1(info->nl_net, table, FIB6_SUBTREE(fn), fn 1393 net/ipv6/ip6_fib.c if (!rcu_access_pointer(fn->leaf)) { fn 1394 net/ipv6/ip6_fib.c if (fn->fn_flags & RTN_TL_ROOT) { fn 1396 net/ipv6/ip6_fib.c rcu_assign_pointer(fn->leaf, fn 1400 net/ipv6/ip6_fib.c rcu_assign_pointer(fn->leaf, rt); fn 1403 net/ipv6/ip6_fib.c fn = sn; fn 1407 net/ipv6/ip6_fib.c err = fib6_add_rt2node(fn, rt, info, extack); fn 1422 net/ipv6/ip6_fib.c if (pn != fn) { fn 1458 net/ipv6/ip6_fib.c if (fn && fn 1459 net/ipv6/ip6_fib.c (!(fn->fn_flags & (RTN_RTINFO|RTN_ROOT)) || fn 1460 net/ipv6/ip6_fib.c (fn->fn_flags & RTN_TL_ROOT && fn 1461 net/ipv6/ip6_fib.c !rcu_access_pointer(fn->leaf)))) fn 1462 net/ipv6/ip6_fib.c fib6_repair_tree(info->nl_net, table, fn); fn 1479 net/ipv6/ip6_fib.c struct fib6_node *fn; fn 1489 net/ipv6/ip6_fib.c fn = root; fn 1494 net/ipv6/ip6_fib.c dir = addr_bit_set(args->addr, fn->fn_bit); fn 1496 net/ipv6/ip6_fib.c next = dir ? rcu_dereference(fn->right) : fn 1497 net/ipv6/ip6_fib.c rcu_dereference(fn->left); fn 1500 net/ipv6/ip6_fib.c fn = next; fn 1506 net/ipv6/ip6_fib.c while (fn) { fn 1507 net/ipv6/ip6_fib.c struct fib6_node *subtree = FIB6_SUBTREE(fn); fn 1509 net/ipv6/ip6_fib.c if (subtree || fn->fn_flags & RTN_RTINFO) { fn 1510 net/ipv6/ip6_fib.c struct fib6_info *leaf = rcu_dereference(fn->leaf); fn 1526 net/ipv6/ip6_fib.c fn = sfn; fn 1529 net/ipv6/ip6_fib.c if (fn->fn_flags & RTN_RTINFO) fn 1530 net/ipv6/ip6_fib.c return fn; fn 1534 net/ipv6/ip6_fib.c if (fn->fn_flags & RTN_ROOT) fn 1537 net/ipv6/ip6_fib.c fn = rcu_dereference(fn->parent); fn 1549 net/ipv6/ip6_fib.c struct fib6_node *fn; fn 1566 net/ipv6/ip6_fib.c fn = fib6_node_lookup_1(root, daddr ? args : args + 1); fn 1567 net/ipv6/ip6_fib.c if (!fn || fn->fn_flags & RTN_TL_ROOT) fn 1568 net/ipv6/ip6_fib.c fn = root; fn 1570 net/ipv6/ip6_fib.c return fn; fn 1590 net/ipv6/ip6_fib.c struct fib6_node *fn, *prev = NULL; fn 1592 net/ipv6/ip6_fib.c for (fn = root; fn ; ) { fn 1593 net/ipv6/ip6_fib.c struct fib6_info *leaf = rcu_dereference(fn->leaf); fn 1598 net/ipv6/ip6_fib.c if (plen <= fn->fn_bit) fn 1609 net/ipv6/ip6_fib.c if (plen < fn->fn_bit || fn 1610 net/ipv6/ip6_fib.c !ipv6_prefix_equal(&key->addr, addr, fn->fn_bit)) fn 1613 net/ipv6/ip6_fib.c if (plen == fn->fn_bit) fn 1614 net/ipv6/ip6_fib.c return fn; fn 1616 net/ipv6/ip6_fib.c if (fn->fn_flags & RTN_RTINFO) fn 1617 net/ipv6/ip6_fib.c prev = fn; fn 1623 net/ipv6/ip6_fib.c if (addr_bit_set(addr, fn->fn_bit)) fn 1624 net/ipv6/ip6_fib.c fn = rcu_dereference(fn->right); fn 1626 net/ipv6/ip6_fib.c fn = rcu_dereference(fn->left); fn 1640 net/ipv6/ip6_fib.c struct fib6_node *fn; fn 1642 net/ipv6/ip6_fib.c fn = fib6_locate_1(root, daddr, dst_len, fn 1649 net/ipv6/ip6_fib.c if (fn) { fn 1650 net/ipv6/ip6_fib.c struct fib6_node *subtree = FIB6_SUBTREE(fn); fn 1653 net/ipv6/ip6_fib.c fn = fib6_locate_1(subtree, saddr, src_len, fn 1661 net/ipv6/ip6_fib.c if (fn && fn->fn_flags & RTN_RTINFO) fn 1662 net/ipv6/ip6_fib.c return fn; fn 1675 net/ipv6/ip6_fib.c struct fib6_node *fn) fn 1679 net/ipv6/ip6_fib.c if (fn->fn_flags & RTN_ROOT) fn 1682 net/ipv6/ip6_fib.c while (fn) { fn 1683 net/ipv6/ip6_fib.c child_left = rcu_dereference_protected(fn->left, fn 1685 net/ipv6/ip6_fib.c child_right = rcu_dereference_protected(fn->right, fn 1694 net/ipv6/ip6_fib.c fn = FIB6_SUBTREE(fn); fn 1707 net/ipv6/ip6_fib.c struct fib6_node *fn) fn 1716 net/ipv6/ip6_fib.c if (fn->fn_flags & RTN_TL_ROOT) { fn 1717 net/ipv6/ip6_fib.c rcu_assign_pointer(fn->leaf, net->ipv6.fib6_null_entry); fn 1718 net/ipv6/ip6_fib.c return fn; fn 1722 net/ipv6/ip6_fib.c struct fib6_node *fn_r = rcu_dereference_protected(fn->right, fn 1724 net/ipv6/ip6_fib.c struct fib6_node *fn_l = rcu_dereference_protected(fn->left, fn 1726 net/ipv6/ip6_fib.c struct fib6_node *pn = rcu_dereference_protected(fn->parent, fn 1732 net/ipv6/ip6_fib.c struct fib6_info *fn_leaf = rcu_dereference_protected(fn->leaf, fn 1738 net/ipv6/ip6_fib.c RT6_TRACE("fixing tree: plen=%d iter=%d\n", fn->fn_bit, iter); fn 1741 net/ipv6/ip6_fib.c WARN_ON(fn->fn_flags & RTN_RTINFO); fn 1742 net/ipv6/ip6_fib.c WARN_ON(fn->fn_flags & RTN_TL_ROOT); fn 1752 net/ipv6/ip6_fib.c if (children == 3 || FIB6_SUBTREE(fn) fn 1755 net/ipv6/ip6_fib.c || (children && fn->fn_flags & RTN_ROOT) fn 1758 net/ipv6/ip6_fib.c new_fn_leaf = fib6_find_prefix(net, table, fn); fn 1766 net/ipv6/ip6_fib.c rcu_assign_pointer(fn->leaf, new_fn_leaf); fn 1771 net/ipv6/ip6_fib.c if (FIB6_SUBTREE(pn) == fn) { fn 1772 net/ipv6/ip6_fib.c WARN_ON(!(fn->fn_flags & RTN_ROOT)); fn 1776 net/ipv6/ip6_fib.c WARN_ON(fn->fn_flags & RTN_ROOT); fn 1778 net/ipv6/ip6_fib.c if (pn_r == fn) fn 1780 net/ipv6/ip6_fib.c else if (pn_l == fn) fn 1796 net/ipv6/ip6_fib.c if (w->node == fn) { fn 1802 net/ipv6/ip6_fib.c if (w->node == fn) { fn 1816 net/ipv6/ip6_fib.c node_free(net, fn); fn 1822 net/ipv6/ip6_fib.c fn = pn; fn 1826 net/ipv6/ip6_fib.c static void fib6_del_route(struct fib6_table *table, struct fib6_node *fn, fn 1846 net/ipv6/ip6_fib.c if (rcu_access_pointer(fn->rr_ptr) == rt) fn 1847 net/ipv6/ip6_fib.c fn->rr_ptr = NULL; fn 1878 net/ipv6/ip6_fib.c if (!rcu_access_pointer(fn->leaf)) { fn 1879 net/ipv6/ip6_fib.c if (!(fn->fn_flags & RTN_TL_ROOT)) { fn 1880 net/ipv6/ip6_fib.c fn->fn_flags &= ~RTN_RTINFO; fn 1883 net/ipv6/ip6_fib.c fn = fib6_repair_tree(net, table, fn); fn 1886 net/ipv6/ip6_fib.c fib6_purge_rt(rt, fn, net); fn 1899 net/ipv6/ip6_fib.c struct fib6_node *fn = rcu_dereference_protected(rt->fib6_node, fn 1906 net/ipv6/ip6_fib.c if (!fn || rt == net->ipv6.fib6_null_entry) fn 1909 net/ipv6/ip6_fib.c WARN_ON(!(fn->fn_flags & RTN_RTINFO)); fn 1915 net/ipv6/ip6_fib.c for (rtp = &fn->leaf; *rtp; rtp = rtp_next) { fn 1919 net/ipv6/ip6_fib.c fib6_del_route(table, fn, rtp, info); fn 1955 net/ipv6/ip6_fib.c struct fib6_node *fn, *pn, *left, *right; fn 1961 net/ipv6/ip6_fib.c fn = w->node; fn 1962 net/ipv6/ip6_fib.c if (!fn) fn 1968 net/ipv6/ip6_fib.c if (FIB6_SUBTREE(fn)) { fn 1969 net/ipv6/ip6_fib.c w->node = FIB6_SUBTREE(fn); fn 1976 net/ipv6/ip6_fib.c left = rcu_dereference_protected(fn->left, 1); fn 1985 net/ipv6/ip6_fib.c right = rcu_dereference_protected(fn->right, 1); fn 1992 net/ipv6/ip6_fib.c w->leaf = rcu_dereference_protected(fn->leaf, 1); fn 1995 net/ipv6/ip6_fib.c if (w->leaf && fn->fn_flags & RTN_RTINFO) { fn 2014 net/ipv6/ip6_fib.c if (fn == w->root) fn 2016 net/ipv6/ip6_fib.c pn = rcu_dereference_protected(fn->parent, 1); fn 2021 net/ipv6/ip6_fib.c if (FIB6_SUBTREE(pn) == fn) { fn 2022 net/ipv6/ip6_fib.c WARN_ON(!(fn->fn_flags & RTN_ROOT)); fn 2027 net/ipv6/ip6_fib.c if (left == fn) { fn 2031 net/ipv6/ip6_fib.c if (right == fn) { fn 14 net/ipv6/ip6_icmp.c int inet6_register_icmp_sender(ip6_icmp_send_t *fn) fn 16 net/ipv6/ip6_icmp.c return (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, NULL, fn) == NULL) ? fn 21 net/ipv6/ip6_icmp.c int inet6_unregister_icmp_sender(ip6_icmp_send_t *fn) fn 25 net/ipv6/ip6_icmp.c ret = (cmpxchg((ip6_icmp_send_t **)&ip6_icmp_send, fn, NULL) == fn) ? fn 850 net/ipv6/route.c static void find_rr_leaf(struct fib6_node *fn, struct fib6_info *leaf, fn 871 net/ipv6/route.c static void rt6_select(struct net *net, struct fib6_node *fn, int oif, fn 874 net/ipv6/route.c struct fib6_info *leaf = rcu_dereference(fn->leaf); fn 885 net/ipv6/route.c rt0 = rcu_dereference(fn->rr_ptr); fn 899 net/ipv6/route.c if (fn->fn_bit != key_plen) fn 902 net/ipv6/route.c find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); fn 914 net/ipv6/route.c rcu_assign_pointer(fn->rr_ptr, next); fn 1151 net/ipv6/route.c static struct fib6_node* fib6_backtrack(struct fib6_node *fn, fn 1156 net/ipv6/route.c if (fn->fn_flags & RTN_TL_ROOT) fn 1158 net/ipv6/route.c pn = rcu_dereference(fn->parent); fn 1160 net/ipv6/route.c if (sn && sn != fn) fn 1161 net/ipv6/route.c fn = fib6_node_lookup(sn, NULL, saddr); fn 1163 net/ipv6/route.c fn = pn; fn 1164 net/ipv6/route.c if (fn->fn_flags & RTN_RTINFO) fn 1165 net/ipv6/route.c return fn; fn 1219 net/ipv6/route.c struct fib6_node *fn; fn 1226 net/ipv6/route.c fn = fib6_node_lookup(&table->tb6_root, &fl6->daddr, &fl6->saddr); fn 1228 net/ipv6/route.c res.f6i = rcu_dereference(fn->leaf); fn 1236 net/ipv6/route.c fn = fib6_backtrack(fn, &fl6->saddr); fn 1237 net/ipv6/route.c if (fn) fn 2183 net/ipv6/route.c struct fib6_node *fn, *saved_fn; fn 2185 net/ipv6/route.c fn = fib6_node_lookup(&table->tb6_root, &fl6->daddr, &fl6->saddr); fn 2186 net/ipv6/route.c saved_fn = fn; fn 2192 net/ipv6/route.c rt6_select(net, fn, oif, res, strict); fn 2194 net/ipv6/route.c fn = fib6_backtrack(fn, &fl6->saddr); fn 2195 net/ipv6/route.c if (fn) fn 2200 net/ipv6/route.c fn = saved_fn; fn 2680 net/ipv6/route.c struct fib6_node *fn; fn 2684 net/ipv6/route.c fn = rcu_dereference(from->fib6_node); fn 2685 net/ipv6/route.c if (fn && (rt->rt6i_flags & RTF_DEFAULT)) fn 2686 net/ipv6/route.c fn->fn_sernum = -1; fn 2937 net/ipv6/route.c struct fib6_node *fn; fn 2956 net/ipv6/route.c fn = fib6_node_lookup(&table->tb6_root, &fl6->daddr, &fl6->saddr); fn 2958 net/ipv6/route.c for_each_fib6_node_rt_rcu(fn) { fn 2988 net/ipv6/route.c fn = fib6_backtrack(fn, &fl6->saddr); fn 2989 net/ipv6/route.c if (fn) fn 3894 net/ipv6/route.c struct fib6_node *fn; fn 3905 net/ipv6/route.c fn = fib6_locate(&table->tb6_root, fn 3910 net/ipv6/route.c if (fn) { fn 3911 net/ipv6/route.c for_each_fib6_node_rt_rcu(fn) { fn 4126 net/ipv6/route.c struct fib6_node *fn; fn 4135 net/ipv6/route.c fn = fib6_locate(&table->tb6_root, prefix, prefixlen, NULL, 0, true); fn 4136 net/ipv6/route.c if (!fn) fn 4139 net/ipv6/route.c for_each_fib6_node_rt_rcu(fn) { fn 4532 net/ipv6/route.c struct fib6_node *fn; fn 4534 net/ipv6/route.c fn = rcu_dereference_protected(rt->fib6_node, fn 4536 net/ipv6/route.c iter = rcu_dereference_protected(fn->leaf, fn 3870 net/netfilter/nf_tables_api.c iter.fn = nf_tables_bind_check_setelem; fn 4168 net/netfilter/nf_tables_api.c args.iter.fn = nf_tables_dump_setelem; fn 4945 net/netfilter/nf_tables_api.c .fn = nft_flush_set, fn 7305 net/netfilter/nf_tables_api.c iter.fn = nf_tables_loop_check_setelem; fn 209 net/netfilter/nft_lookup.c iter.fn = nft_lookup_validate_setelem; fn 230 net/netfilter/nft_set_bitmap.c iter->err = iter->fn(ctx, set, iter, &elem); fn 285 net/netfilter/nft_set_hash.c iter->err = iter->fn(ctx, set, iter, &elem); fn 586 net/netfilter/nft_set_hash.c iter->err = iter->fn(ctx, set, iter, &elem); fn 374 net/netfilter/nft_set_rbtree.c iter->err = iter->fn(ctx, set, iter, &elem); fn 1696 net/netfilter/x_tables.c xt_hook_ops_alloc(const struct xt_table *table, nf_hookfn *fn) fn 1714 net/netfilter/x_tables.c ops[i].hook = fn; fn 2485 net/sched/cls_api.c arg.w.fn = tcf_node_dump; fn 257 net/sched/cls_basic.c if (arg->fn(tp, f, arg) < 0) { fn 656 net/sched/cls_bpf.c if (arg->fn(tp, prog, arg) < 0) { fn 162 net/sched/cls_cgroup.c if (arg->fn(tp, head, arg) < 0) { fn 688 net/sched/cls_flow.c if (arg->fn(tp, f, arg) < 0) { fn 1748 net/sched/cls_flower.c if (arg->fn(tp, f, arg) < 0) { fn 366 net/sched/cls_fw.c if (arg->fn(tp, f, arg) < 0) { fn 279 net/sched/cls_matchall.c if (arg->fn(tp, head, arg) < 0) fn 584 net/sched/cls_route.c if (arg->fn(tp, f, arg) < 0) { fn 679 net/sched/cls_rsvp.h if (arg->fn(tp, f, arg) < 0) { fn 563 net/sched/cls_tcindex.c if (walker->fn(tp, p->perfect + i, walker) < 0) { fn 577 net/sched/cls_tcindex.c if (walker->fn(tp, &f->result, walker) < 0) { fn 1128 net/sched/cls_u32.c if (arg->fn(tp, ht, arg) < 0) { fn 1142 net/sched/cls_u32.c if (arg->fn(tp, n, arg) < 0) { fn 1369 net/sched/sch_api.c arg.w.fn = check_loop_fn; fn 1940 net/sched/sch_api.c arg.w.fn = tcf_node_bind; fn 1962 net/sched/sch_api.c args.w.fn = tc_bind_class_walker; fn 2143 net/sched/sch_api.c arg.w.fn = qdisc_class_dump; fn 357 net/sched/sch_atm.c walker->fn(sch, (unsigned long)flow, walker) < 0) { fn 3036 net/sched/sch_cake.c if (arg->fn(sch, i * CAKE_QUEUES + j + 1, arg) < 0) { fn 1766 net/sched/sch_cbq.c if (arg->fn(sch, (unsigned long)cl, arg) < 0) { fn 523 net/sched/sch_cbs.c if (walker->fn(sch, 1, walker) < 0) { fn 293 net/sched/sch_drr.c if (arg->fn(sch, (unsigned long)cl, arg) < 0) { fn 181 net/sched/sch_dsmark.c if (walker->fn(sch, i + 1, walker) < 0) { fn 676 net/sched/sch_fq_codel.c if (arg->fn(sch, i + 1, arg) < 0) { fn 1357 net/sched/sch_hfsc.c if (arg->fn(sch, (unsigned long)cl, arg) < 0) { fn 1550 net/sched/sch_htb.c if (arg->fn(sch, (unsigned long)cl, arg) < 0) { fn 266 net/sched/sch_mq.c if (arg->fn(sch, ntx + 1, arg) < 0) { fn 580 net/sched/sch_mqprio.c if (arg->fn(sch, ntx + TC_H_MIN_PRIORITY, arg) < 0) { fn 595 net/sched/sch_mqprio.c if (arg->fn(sch, ntx + 1, arg) < 0) { fn 362 net/sched/sch_multiq.c if (arg->fn(sch, band + 1, arg) < 0) { fn 1251 net/sched/sch_netem.c if (walker->fn(sch, 1, walker) < 0) { fn 385 net/sched/sch_prio.c if (arg->fn(sch, prio + 1, arg) < 0) { fn 667 net/sched/sch_qfq.c if (arg->fn(sch, (unsigned long)cl, arg) < 0) { fn 411 net/sched/sch_red.c if (walker->fn(sch, 1, walker) < 0) { fn 661 net/sched/sch_sfb.c if (walker->fn(sch, 1, walker) < 0) { fn 896 net/sched/sch_sfq.c if (arg->fn(sch, i + 1, arg) < 0) { fn 275 net/sched/sch_skbprio.c if (arg->fn(sch, i + 1, arg) < 0) { fn 1902 net/sched/sch_taprio.c if (arg->fn(sch, ntx + 1, arg) < 0) { fn 516 net/sched/sch_tbf.c if (walker->fn(sch, 1, walker) < 0) { fn 1152 net/sctp/sm_sideeffect.c status = state_fn->fn(net, ep, asoc, subtype, event_arg, &commands); fn 47 net/sctp/sm_statetable.c .fn = sctp_sf_bug, fn 89 net/sctp/sm_statetable.c #define TYPE_SCTP_FUNC(func) {.fn = func, .name = #func} fn 809 net/sunrpc/clnt.c int (*fn)(struct rpc_clnt *, struct rpc_xprt *, void *), fn 823 net/sunrpc/clnt.c ret = fn(clnt, xprt, data); fn 472 net/sunrpc/xprtmultipath.c struct rpc_xprt *(*fn)(struct rpc_xprt_iter *)) fn 477 net/sunrpc/xprtmultipath.c ret = fn(xpi); fn 330 net/vmw_vsock/af_vsock.c void vsock_for_each_connected_socket(void (*fn)(struct sock *sk)) fn 340 net/vmw_vsock/af_vsock.c fn(sk_vsock(vsk)); fn 6714 net/wireless/nl80211.c #define FILL_IN_MESH_PARAM_IF_SET(tb, cfg, param, mask, attr, fn) \ fn 6717 net/wireless/nl80211.c cfg->param = fn(tb[attr]); \ fn 238 samples/bpf/test_lru_dist.c static void run_parallel(unsigned int tasks, void (*fn)(int i, void *data), fn 249 samples/bpf/test_lru_dist.c fn(i, data); fn 438 samples/qmi/qmi_sample_client.c .fn = ping_pong_cb fn 33 scripts/dtc/checks.c check_fn fn; fn 46 scripts/dtc/checks.c .fn = (fn_), \ fn 139 scripts/dtc/checks.c if (c->fn) fn 140 scripts/dtc/checks.c c->fn(c, dti, node); fn 887 scripts/dtc/livetree.c static void add_fixup_entry(struct dt_info *dti, struct node *fn, fn 902 scripts/dtc/livetree.c append_to_property(fn, m->ref, entry, strlen(entry) + 1, TYPE_STRING); fn 908 scripts/dtc/livetree.c struct node *fn, fn 922 scripts/dtc/livetree.c add_fixup_entry(dti, fn, node, prop, m); fn 927 scripts/dtc/livetree.c generate_fixups_tree_internal(dti, fn, c); fn 200 scripts/kconfig/confdata.c void conf_set_message_callback(void (*fn)(const char *s)) fn 202 scripts/kconfig/confdata.c conf_message_callback = fn; fn 1165 scripts/kconfig/confdata.c void conf_set_changed_callback(void (*fn)(void)) fn 1167 scripts/kconfig/confdata.c conf_changed_callback = fn; fn 1140 scripts/kconfig/expr.c void (*fn)(void *, struct symbol *, const char *), fn 1144 scripts/kconfig/expr.c fn(data, NULL, "y"); fn 1149 scripts/kconfig/expr.c fn(data, NULL, "("); fn 1153 scripts/kconfig/expr.c fn(data, e->left.sym, e->left.sym->name); fn 1155 scripts/kconfig/expr.c fn(data, NULL, "<choice>"); fn 1158 scripts/kconfig/expr.c fn(data, NULL, "!"); fn 1159 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_NOT); fn 1163 scripts/kconfig/expr.c fn(data, e->left.sym, e->left.sym->name); fn 1165 scripts/kconfig/expr.c fn(data, NULL, "<choice>"); fn 1166 scripts/kconfig/expr.c fn(data, NULL, "="); fn 1167 scripts/kconfig/expr.c fn(data, e->right.sym, e->right.sym->name); fn 1172 scripts/kconfig/expr.c fn(data, e->left.sym, e->left.sym->name); fn 1174 scripts/kconfig/expr.c fn(data, NULL, "<choice>"); fn 1175 scripts/kconfig/expr.c fn(data, NULL, e->type == E_LEQ ? "<=" : "<"); fn 1176 scripts/kconfig/expr.c fn(data, e->right.sym, e->right.sym->name); fn 1181 scripts/kconfig/expr.c fn(data, e->left.sym, e->left.sym->name); fn 1183 scripts/kconfig/expr.c fn(data, NULL, "<choice>"); fn 1184 scripts/kconfig/expr.c fn(data, NULL, e->type == E_GEQ ? ">=" : ">"); fn 1185 scripts/kconfig/expr.c fn(data, e->right.sym, e->right.sym->name); fn 1189 scripts/kconfig/expr.c fn(data, e->left.sym, e->left.sym->name); fn 1191 scripts/kconfig/expr.c fn(data, NULL, "<choice>"); fn 1192 scripts/kconfig/expr.c fn(data, NULL, "!="); fn 1193 scripts/kconfig/expr.c fn(data, e->right.sym, e->right.sym->name); fn 1196 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_OR); fn 1197 scripts/kconfig/expr.c fn(data, NULL, " || "); fn 1198 scripts/kconfig/expr.c expr_print(e->right.expr, fn, data, E_OR); fn 1201 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_AND); fn 1202 scripts/kconfig/expr.c fn(data, NULL, " && "); fn 1203 scripts/kconfig/expr.c expr_print(e->right.expr, fn, data, E_AND); fn 1206 scripts/kconfig/expr.c fn(data, e->right.sym, e->right.sym->name); fn 1208 scripts/kconfig/expr.c fn(data, NULL, " ^ "); fn 1209 scripts/kconfig/expr.c expr_print(e->left.expr, fn, data, E_LIST); fn 1213 scripts/kconfig/expr.c fn(data, NULL, "["); fn 1214 scripts/kconfig/expr.c fn(data, e->left.sym, e->left.sym->name); fn 1215 scripts/kconfig/expr.c fn(data, NULL, " "); fn 1216 scripts/kconfig/expr.c fn(data, e->right.sym, e->right.sym->name); fn 1217 scripts/kconfig/expr.c fn(data, NULL, "]"); fn 1223 scripts/kconfig/expr.c fn(data, NULL, buf); fn 1228 scripts/kconfig/expr.c fn(data, NULL, ")"); fn 1282 scripts/kconfig/expr.c void (*fn)(void *, struct symbol *, const char *), fn 1286 scripts/kconfig/expr.c expr_print_revdep(e->left.expr, fn, data, pr_type, title); fn 1287 scripts/kconfig/expr.c expr_print_revdep(e->right.expr, fn, data, pr_type, title); fn 1290 scripts/kconfig/expr.c fn(data, NULL, *title); fn 1294 scripts/kconfig/expr.c fn(data, NULL, " - "); fn 1295 scripts/kconfig/expr.c expr_print(e, fn, data, E_NONE); fn 1296 scripts/kconfig/expr.c fn(data, NULL, "\n"); fn 491 scripts/kconfig/gconf.c const gchar *fn; fn 493 scripts/kconfig/gconf.c fn = gtk_file_selection_get_filename(GTK_FILE_SELECTION fn 496 scripts/kconfig/gconf.c if (conf_read(fn)) fn 533 scripts/kconfig/gconf.c const gchar *fn; fn 535 scripts/kconfig/gconf.c fn = gtk_file_selection_get_filename(GTK_FILE_SELECTION fn 538 scripts/kconfig/gconf.c if (conf_write(fn)) fn 12 scripts/kconfig/lkc_proto.h void conf_set_changed_callback(void (*fn)(void)); fn 13 scripts/kconfig/lkc_proto.h void conf_set_message_callback(void (*fn)(const char *s)); fn 65 scripts/kconfig/lkc_proto.h void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken); fn 806 scripts/unifdef.c Linetype (*fn)(int *, Linetype, int, Linetype, int); fn 937 scripts/unifdef.c lt = op->fn(valp, lt, *valp, rt, val); fn 380 sound/pci/asihpi/hpi_internal.h #define HPI_EXTRACT_INDEX(fn) (fn & 0xff) fn 45 sound/soc/samsung/s3c-i2s-v2.c static void dbg_showcon(const char *fn, u32 con) fn 47 sound/soc/samsung/s3c-i2s-v2.c printk(KERN_DEBUG "%s: LRI=%d, TXFEMPT=%d, RXFEMPT=%d, TXFFULL=%d, RXFFULL=%d\n", fn, fn 55 sound/soc/samsung/s3c-i2s-v2.c fn, fn 60 sound/soc/samsung/s3c-i2s-v2.c printk(KERN_DEBUG "%s: ACTIVE: TXDMA=%d, RXDMA=%d, IIS=%d\n", fn, fn 66 sound/soc/samsung/s3c-i2s-v2.c static inline void dbg_showcon(const char *fn, u32 con) fn 558 sound/soc/sh/rcar/core.c #define rsnd_dai_call(fn, io, param...) \ fn 569 sound/soc/sh/rcar/core.c __rsnd_mod_shift_##fn, \ fn 570 sound/soc/sh/rcar/core.c __rsnd_mod_add_##fn, \ fn 571 sound/soc/sh/rcar/core.c __rsnd_mod_call_##fn); \ fn 574 sound/soc/sh/rcar/core.c (func_call && (mod)->ops->fn) ? #fn : ""); \ fn 575 sound/soc/sh/rcar/core.c if (func_call && (mod)->ops->fn) \ fn 576 sound/soc/sh/rcar/core.c tmp = (mod)->ops->fn(mod, io, param); \ fn 579 sound/soc/sh/rcar/core.c rsnd_mod_name(mod), #fn, tmp); \ fn 1188 sound/soc/soc-dapm.c int (*fn)(struct snd_soc_dapm_widget *, struct list_head *, fn 1230 sound/soc/soc-dapm.c con += fn(path->node[dir], list, custom_stop_condition); fn 226 sound/soc/soc-generic-dmaengine-pcm.c dma_filter_fn fn = NULL; fn 237 sound/soc/soc-generic-dmaengine-pcm.c fn = pcm->config->compat_filter_fn; fn 239 sound/soc/soc-generic-dmaengine-pcm.c return snd_dmaengine_pcm_request_channel(fn, dma_data->filter_data); fn 1450 tools/lib/bpf/btf.c static int btf_for_each_str_off(struct btf_dedup *d, str_off_fn_t fn, void *ctx) fn 1458 tools/lib/bpf/btf.c r = fn(&t->name_off, ctx); fn 1469 tools/lib/bpf/btf.c r = fn(&m->name_off, ctx); fn 1481 tools/lib/bpf/btf.c r = fn(&m->name_off, ctx); fn 1493 tools/lib/bpf/btf.c r = fn(&m->name_off, ctx); fn 1517 tools/lib/bpf/btf.c r = fn(&sec->sec_name_off, ctx); fn 1524 tools/lib/bpf/btf.c r = fn(&line_info->file_name_off, ctx); fn 1527 tools/lib/bpf/btf.c r = fn(&line_info->line_off, ctx); fn 80 tools/lib/bpf/libbpf.c libbpf_print_fn_t libbpf_set_print(libbpf_print_fn_t fn) fn 84 tools/lib/bpf/libbpf.c __libbpf_pr = fn; fn 5253 tools/lib/bpf/libbpf.c bpf_perf_event_print_t fn, void *private_data) fn 5288 tools/lib/bpf/libbpf.c ret = fn(ehdr, private_data); fn 60 tools/lib/bpf/libbpf.h LIBBPF_API libbpf_print_fn_t libbpf_set_print(libbpf_print_fn_t fn); fn 74 tools/lib/bpf/netlink.c __dump_nlmsg_t _fn, libbpf_dump_nlmsg_t fn, fn 120 tools/lib/bpf/netlink.c ret = _fn(nh, fn, cookie); fn 57 tools/lib/traceevent/plugins/plugin_mac80211.c #define SF(fn) tep_print_num_field(s, fn ":%d", event, fn, record, 0) fn 58 tools/lib/traceevent/plugins/plugin_mac80211.c #define SFX(fn) tep_print_num_field(s, fn ":%#x", event, fn, record, 0) fn 28 tools/objtool/objtool.c int (*fn)(int, const char **); fn 96 tools/objtool/objtool.c ret = p->fn(argc, argv); fn 63 tools/perf/bench/mem-functions.c } fn; fn 229 tools/perf/bench/mem-functions.c memcpy_t fn = r->fn.memcpy; fn 239 tools/perf/bench/mem-functions.c fn(dst, src, size); fn 243 tools/perf/bench/mem-functions.c fn(dst, src, size); fn 252 tools/perf/bench/mem-functions.c memcpy_t fn = r->fn.memcpy; fn 259 tools/perf/bench/mem-functions.c fn(dst, src, size); fn 263 tools/perf/bench/mem-functions.c fn(dst, src, size); fn 274 tools/perf/bench/mem-functions.c .fn.memcpy = memcpy }, fn 277 tools/perf/bench/mem-functions.c # define MEMCPY_FN(_fn, _name, _desc) {.name = _name, .desc = _desc, .fn.memcpy = _fn}, fn 306 tools/perf/bench/mem-functions.c memset_t fn = r->fn.memset; fn 313 tools/perf/bench/mem-functions.c fn(dst, -1, size); fn 317 tools/perf/bench/mem-functions.c fn(dst, i, size); fn 326 tools/perf/bench/mem-functions.c memset_t fn = r->fn.memset; fn 333 tools/perf/bench/mem-functions.c fn(dst, -1, size); fn 337 tools/perf/bench/mem-functions.c fn(dst, i, size); fn 353 tools/perf/bench/mem-functions.c .fn.memset = memset }, fn 356 tools/perf/bench/mem-functions.c # define MEMSET_FN(_fn, _name, _desc) { .name = _name, .desc = _desc, .fn.memset = _fn }, fn 5 tools/perf/bench/mem-memcpy-arch.h #define MEMCPY_FN(fn, name, desc) \ fn 6 tools/perf/bench/mem-memcpy-arch.h void *fn(void *, const void *, size_t); fn 5 tools/perf/bench/mem-memset-arch.h #define MEMSET_FN(fn, name, desc) \ fn 6 tools/perf/bench/mem-memset-arch.h void *fn(void *, int, size_t); fn 34 tools/perf/builtin-bench.c bench_fn_t fn; fn 170 tools/perf/builtin-bench.c static int run_bench(const char *coll_name, const char *bench_name, bench_fn_t fn, fn 187 tools/perf/builtin-bench.c ret = fn(argc, argv); fn 208 tools/perf/builtin-bench.c if (!bench->fn) fn 214 tools/perf/builtin-bench.c run_bench(coll->name, bench->name, bench->fn, 1, argv); fn 286 tools/perf/builtin-bench.c ret = run_bench(coll->name, bench->name, bench->fn, argc-1, argv+1); fn 17 tools/perf/builtin-data.c data_cmd_fn_t fn; fn 123 tools/perf/builtin-data.c return cmd->fn(argc, argv); fn 177 tools/perf/jvmti/libjvmti.c char fn[PATH_MAX]; fn 198 tools/perf/jvmti/libjvmti.c copy_class_filename(class_sign, file_name, fn, PATH_MAX); fn 199 tools/perf/jvmti/libjvmti.c len = strlen(fn); fn 206 tools/perf/jvmti/libjvmti.c strcpy(*buffer, fn); fn 250 tools/perf/jvmti/libjvmti.c char fn[PATH_MAX]; fn 305 tools/perf/jvmti/libjvmti.c copy_class_filename(class_sign, file_name, fn, PATH_MAX); fn 33 tools/perf/lib/core.c void libperf_init(libperf_print_fn_t fn) fn 36 tools/perf/lib/core.c __libperf_pr = fn; fn 20 tools/perf/lib/include/perf/core.h LIBPERF_API void libperf_init(libperf_print_fn_t fn); fn 53 tools/perf/perf.c int (*fn)(int, const char **); fn 312 tools/perf/perf.c status = p->fn(argc, argv); fn 261 tools/perf/pmu-events/jevents.c pr_err("%s:%d: " m ", got %s\n", fn, \ fn 479 tools/perf/pmu-events/jevents.c try_fixup(const char *fn, char *arch_std, char **event, char **desc, fn 500 tools/perf/pmu-events/jevents.c prog, arch_std, fn); fn 505 tools/perf/pmu-events/jevents.c int json_events(const char *fn, fn 520 tools/perf/pmu-events/jevents.c if (!fn) fn 523 tools/perf/pmu-events/jevents.c tokens = parse_json(fn, &map, &size, &len); fn 658 tools/perf/pmu-events/jevents.c err = try_fixup(fn, arch_std, &event, &desc, &name, fn 5 tools/perf/pmu-events/jevents.h int json_events(const char *fn, fn 44 tools/perf/pmu-events/json.c static char *mapfile(const char *fn, size_t *size) fn 50 tools/perf/pmu-events/json.c int fd = open(fn, O_RDONLY); fn 52 tools/perf/pmu-events/json.c if (fd < 0 && verbose > 0 && fn) { fn 53 tools/perf/pmu-events/json.c pr_err("Error opening events file '%s': %s\n", fn, fn 83 tools/perf/pmu-events/json.c jsmntok_t *parse_json(const char *fn, char **map, size_t *size, int *len) fn 90 tools/perf/pmu-events/json.c *map = mapfile(fn, size); fn 102 tools/perf/pmu-events/json.c pr_err("%s: json error %s\n", fn, jsmn_strerror(res)); fn 7 tools/perf/pmu-events/json.h jsmntok_t *parse_json(const char *fn, char **map, size_t *size, int *len); fn 2364 tools/perf/ui/browsers/hists.c int (*fn)(struct hist_browser *browser, struct popup_action *act); fn 2413 tools/perf/ui/browsers/hists.c act->fn = do_annotate; fn 2475 tools/perf/ui/browsers/hists.c act->fn = do_zoom_thread; fn 2518 tools/perf/ui/browsers/hists.c act->fn = do_zoom_dso; fn 2541 tools/perf/ui/browsers/hists.c act->fn = do_browse_map; fn 2624 tools/perf/ui/browsers/hists.c act->fn = do_run_script; fn 2673 tools/perf/ui/browsers/hists.c act->fn = do_res_sample_script; fn 2702 tools/perf/ui/browsers/hists.c act->fn = do_switch_data; fn 2720 tools/perf/ui/browsers/hists.c act->fn = do_exit_browser; fn 2758 tools/perf/ui/browsers/hists.c act->fn = do_zoom_socket; fn 3197 tools/perf/ui/browsers/hists.c key = act->fn(browser, act); fn 18 tools/perf/ui/hist.c #define hpp__call_print_fn(hpp, fn, fmt, ...) \ fn 20 tools/perf/ui/hist.c int __ret = fn(hpp, fmt, ##__VA_ARGS__); \ fn 1233 tools/perf/util/auxtrace.c struct perf_tool *tool, process_auxtrace_t fn, fn 1323 tools/perf/util/auxtrace.c if (fn(tool, map, &ev, data1, len1, data2, len2)) fn 1343 tools/perf/util/auxtrace.c struct perf_tool *tool, process_auxtrace_t fn) fn 1345 tools/perf/util/auxtrace.c return __auxtrace_mmap__read(map, itr, tool, fn, false, 0); fn 1350 tools/perf/util/auxtrace.c struct perf_tool *tool, process_auxtrace_t fn, fn 1353 tools/perf/util/auxtrace.c return __auxtrace_mmap__read(map, itr, tool, fn, true, snapshot_size); fn 2082 tools/perf/util/auxtrace.c const char *fn = ""; fn 2088 tools/perf/util/auxtrace.c fn = realpath(filt->filename, filename_buf); fn 2089 tools/perf/util/auxtrace.c if (!fn) fn 2095 tools/perf/util/auxtrace.c filt->action, filt->addr, filt->size, at, fn); fn 2098 tools/perf/util/auxtrace.c filt->action, filt->addr, at, fn); fn 453 tools/perf/util/auxtrace.h struct perf_tool *tool, process_auxtrace_t fn); fn 457 tools/perf/util/auxtrace.h struct perf_tool *tool, process_auxtrace_t fn, fn 144 tools/perf/util/config.c static int get_value(config_fn_t fn, void *data, char *name, unsigned int len) fn 172 tools/perf/util/config.c return fn(name, value, data); fn 231 tools/perf/util/config.c static int perf_parse_file(config_fn_t fn, void *data) fn 288 tools/perf/util/config.c if (get_value(fn, data, var, baselen+1) < 0) { fn 468 tools/perf/util/config.c static int perf_config_from_file(config_fn_t fn, const char *filename, void *data) fn 479 tools/perf/util/config.c ret = perf_parse_file(fn, data); fn 725 tools/perf/util/config.c int perf_config(config_fn_t fn, void *data) fn 741 tools/perf/util/config.c ret = fn(key, value, data); fn 30 tools/perf/util/config.h int perf_config(config_fn_t fn, void *); fn 2539 tools/perf/util/machine.c int (*fn)(struct thread *thread, void *p), fn 2553 tools/perf/util/machine.c rc = fn(thread, priv); fn 2559 tools/perf/util/machine.c rc = fn(thread, priv); fn 2568 tools/perf/util/machine.c int (*fn)(struct thread *thread, void *p), fn 2574 tools/perf/util/machine.c rc = machine__for_each_thread(&machines->host, fn, priv); fn 2581 tools/perf/util/machine.c rc = machine__for_each_thread(machine, fn, priv); fn 248 tools/perf/util/machine.h int (*fn)(struct thread *thread, void *p), fn 251 tools/perf/util/machine.h int (*fn)(struct thread *thread, void *p), fn 18 tools/perf/util/record.c static int perf_do_probe_api(setup_probe_fn_t fn, int cpu, const char *str) fn 48 tools/perf/util/record.c fn(evsel); fn 64 tools/perf/util/record.c static bool perf_probe_api(setup_probe_fn_t fn) fn 77 tools/perf/util/record.c ret = perf_do_probe_api(fn, cpu, try[i++]); fn 109 tools/perf/util/session.h bool (fn)(struct dso *dso, int parm), int parm); fn 23 tools/perf/util/smt.c char fn[256]; fn 25 tools/perf/util/smt.c snprintf(fn, sizeof fn, fn 27 tools/perf/util/smt.c if (access(fn, F_OK) == -1) { fn 28 tools/perf/util/smt.c snprintf(fn, sizeof fn, fn 32 tools/perf/util/smt.c if (sysfs__read_str(fn, &str, &strlen) < 0) fn 27 tools/perf/util/srccode.c char *fn; fn 91 tools/perf/util/srccode.c zfree(&sf->fn); fn 96 tools/perf/util/srccode.c static struct srcfile *find_srcfile(char *fn) fn 102 tools/perf/util/srccode.c unsigned hval = shash((unsigned char *)fn) % SRC_HTAB_SZ; fn 105 tools/perf/util/srccode.c if (!strcmp(fn, h->fn)) { fn 121 tools/perf/util/srccode.c fd = open(fn, O_RDONLY); fn 123 tools/perf/util/srccode.c pr_debug("cannot open source file %s\n", fn); fn 131 tools/perf/util/srccode.c h->fn = strdup(fn); fn 132 tools/perf/util/srccode.c if (!h->fn) fn 140 tools/perf/util/srccode.c pr_debug("cannot mmap source file %s\n", fn); fn 157 tools/perf/util/srccode.c zfree(&h->fn); fn 164 tools/perf/util/srccode.c char *find_sourceline(char *fn, unsigned line, int *lenp) fn 167 tools/perf/util/srccode.c struct srcfile *sf = find_srcfile(fn); fn 18 tools/perf/util/srccode.h char *find_sourceline(char *fn, unsigned line, int *lenp); fn 1279 tools/testing/selftests/bpf/test_maps.c void (*fn)(unsigned int task, void *data), fn 1288 tools/testing/selftests/bpf/test_maps.c fn(i, data); fn 1320 tools/testing/selftests/bpf/test_maps.c static void test_update_delete(unsigned int fn, void *data) fn 1326 tools/testing/selftests/bpf/test_maps.c for (i = fn; i < MAP_SIZE; i += TASKS) { fn 1120 tools/testing/selftests/bpf/test_sock_addr.c static int cmp_sock_addr(info_fn fn, int sock1, fn 1127 tools/testing/selftests/bpf/test_sock_addr.c if (fn(sock1, (struct sockaddr *)&addr1, (socklen_t *)&len1) != 0) fn 292 tools/testing/selftests/cgroup/cgroup_util.c int (*fn)(const char *cgroup, void *arg), fn 306 tools/testing/selftests/cgroup/cgroup_util.c exit(fn(cgroup, arg)); fn 317 tools/testing/selftests/cgroup/cgroup_util.c int (*fn)(const char *cgroup, void *arg), fn 329 tools/testing/selftests/cgroup/cgroup_util.c exit(fn(cgroup, arg)); fn 34 tools/testing/selftests/cgroup/cgroup_util.h int (*fn)(const char *cgroup, void *arg), fn 39 tools/testing/selftests/cgroup/cgroup_util.h int (*fn)(const char *cgroup, void *arg), fn 359 tools/testing/selftests/cgroup/test_core.c int (*fn)(const char *root); fn 385 tools/testing/selftests/cgroup/test_core.c switch (tests[i].fn(root)) { fn 866 tools/testing/selftests/cgroup/test_freezer.c int (*fn)(const char *root); fn 890 tools/testing/selftests/cgroup/test_freezer.c switch (tests[i].fn(root)) { fn 1175 tools/testing/selftests/cgroup/test_memcontrol.c int (*fn)(const char *root); fn 1213 tools/testing/selftests/cgroup/test_memcontrol.c switch (tests[i].fn(root)) { fn 173 tools/testing/selftests/kselftest_harness.h .fn = &test_name, .termsig = _signal, \ fn 313 tools/testing/selftests/kselftest_harness.h .fn = &wrapper_##fixture_name##_##test_name, \ fn 637 tools/testing/selftests/kselftest_harness.h void (*fn)(struct __test_metadata *); fn 712 tools/testing/selftests/kselftest_harness.h t->fn(t); fn 30 tools/testing/selftests/pidfd/pidfd_test.c static pid_t pidfd_clone(int flags, int *pidfd, int (*fn)(void *)) fn 36 tools/testing/selftests/pidfd/pidfd_test.c return __clone2(fn, stack, stack_size, flags | SIGCHLD, NULL, pidfd); fn 38 tools/testing/selftests/pidfd/pidfd_test.c return clone(fn, stack + stack_size, flags | SIGCHLD, NULL, pidfd); fn 73 tools/testing/selftests/powerpc/benchmarks/context_switch.c static void start_thread_on(void *(*fn)(void *), void *arg, unsigned long cpu) fn 97 tools/testing/selftests/powerpc/benchmarks/context_switch.c rc = pthread_create(&tid, &attr, fn, arg); fn 105 tools/testing/selftests/powerpc/benchmarks/context_switch.c static void start_process_on(void *(*fn)(void *), void *arg, unsigned long cpu) fn 127 tools/testing/selftests/powerpc/benchmarks/context_switch.c fn(arg); fn 410 tools/testing/selftests/powerpc/benchmarks/context_switch.c static void (*start_fn)(void *(*fn)(void *), void *arg, unsigned long cpu); fn 46 tools/testing/selftests/powerpc/benchmarks/fork.c static void start_process_on(void *(*fn)(void *), void *arg, int cpu) fn 61 tools/testing/selftests/powerpc/benchmarks/fork.c fn(arg); fn 36 tools/usb/usbip/src/usbip.c int (*fn)(int argc, char *argv[]); fn 44 tools/usb/usbip/src/usbip.c .fn = usbip_help, fn 50 tools/usb/usbip/src/usbip.c .fn = usbip_version, fn 56 tools/usb/usbip/src/usbip.c .fn = usbip_attach, fn 62 tools/usb/usbip/src/usbip.c .fn = usbip_detach, fn 68 tools/usb/usbip/src/usbip.c .fn = usbip_list, fn 74 tools/usb/usbip/src/usbip.c .fn = usbip_bind, fn 80 tools/usb/usbip/src/usbip.c .fn = usbip_unbind, fn 86 tools/usb/usbip/src/usbip.c .fn = usbip_port_show, fn 130 tools/usb/usbip/src/usbip.c return cmd->fn(argc, argv); fn 1006 virt/kvm/arm/hyp/vgic-v3-sr.c void (*fn)(struct kvm_vcpu *, u32, int); fn 1029 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_iar; fn 1035 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_eoir; fn 1039 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_igrpen1; fn 1041 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_igrpen1; fn 1045 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_bpr1; fn 1047 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_bpr1; fn 1052 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_apxr0; fn 1054 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_apxr0; fn 1059 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_apxr1; fn 1061 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_apxr1; fn 1066 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_apxr2; fn 1068 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_apxr2; fn 1073 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_apxr3; fn 1075 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_apxr3; fn 1081 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_hppir; fn 1085 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_igrpen0; fn 1087 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_igrpen0; fn 1091 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_bpr0; fn 1093 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_bpr0; fn 1098 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_dir; fn 1103 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_rpr; fn 1107 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_ctlr; fn 1109 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_ctlr; fn 1113 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_read_pmr; fn 1115 virt/kvm/arm/hyp/vgic-v3-sr.c fn = __vgic_v3_write_pmr; fn 1123 virt/kvm/arm/hyp/vgic-v3-sr.c fn(vcpu, vmcr, rt); fn 2080 virt/kvm/arm/vgic/vgic-its.c int start_id, entry_fn_t fn, void *opaque) fn 2099 virt/kvm/arm/vgic/vgic-its.c next_offset = fn(its, id, entry, opaque); fn 38 virt/kvm/vfio.c struct vfio_group *(*fn)(struct file *); fn 40 virt/kvm/vfio.c fn = symbol_get(vfio_group_get_external_user); fn 41 virt/kvm/vfio.c if (!fn) fn 44 virt/kvm/vfio.c vfio_group = fn(filep); fn 54 virt/kvm/vfio.c bool ret, (*fn)(struct vfio_group *, struct file *); fn 56 virt/kvm/vfio.c fn = symbol_get(vfio_external_group_match_file); fn 57 virt/kvm/vfio.c if (!fn) fn 60 virt/kvm/vfio.c ret = fn(group, filep); fn 69 virt/kvm/vfio.c void (*fn)(struct vfio_group *); fn 71 virt/kvm/vfio.c fn = symbol_get(vfio_group_put_external_user); fn 72 virt/kvm/vfio.c if (!fn) fn 75 virt/kvm/vfio.c fn(vfio_group); fn 82 virt/kvm/vfio.c void (*fn)(struct vfio_group *, struct kvm *); fn 84 virt/kvm/vfio.c fn = symbol_get(vfio_group_set_kvm); fn 85 virt/kvm/vfio.c if (!fn) fn 88 virt/kvm/vfio.c fn(group, kvm); fn 95 virt/kvm/vfio.c long (*fn)(struct vfio_group *, unsigned long); fn 98 virt/kvm/vfio.c fn = symbol_get(vfio_external_check_extension); fn 99 virt/kvm/vfio.c if (!fn) fn 102 virt/kvm/vfio.c ret = fn(vfio_group, VFIO_DMA_CC_IOMMU); fn 112 virt/kvm/vfio.c int (*fn)(struct vfio_group *); fn 115 virt/kvm/vfio.c fn = symbol_get(vfio_external_user_iommu_id); fn 116 virt/kvm/vfio.c if (!fn) fn 119 virt/kvm/vfio.c ret = fn(vfio_group);