Searched refs:fn (Results 1 - 25 of 998) sorted by relevance

1234567891011>>

/linux-master/arch/arm/include/asm/
H A Dglue.h16 #define ____glue(name,fn) name##fn
18 #define ____glue(name,fn) name/**/fn
20 #define __glue(name,fn) ____glue(name,fn)
H A Dsystem_misc.h23 harden_branch_predictor_fn_t fn = per_cpu(harden_branch_predictor_fn, local
25 if (fn)
26 fn();
/linux-master/arch/mips/include/asm/
H A Dunroll.h16 #define unroll(times, fn, ...) do { \
31 case 32: fn(__VA_ARGS__); fallthrough; \
32 case 31: fn(__VA_ARGS__); fallthrough; \
33 case 30: fn(__VA_ARGS__); fallthrough; \
34 case 29: fn(__VA_ARGS__); fallthrough; \
35 case 28: fn(__VA_ARGS__); fallthrough; \
36 case 27: fn(__VA_ARGS__); fallthrough; \
37 case 26: fn(__VA_ARGS__); fallthrough; \
38 case 25: fn(__VA_ARGS__); fallthrough; \
39 case 24: fn(__VA_ARGS_
[all...]
/linux-master/tools/perf/bench/
H A Dmem-memcpy-arch.h5 #define MEMCPY_FN(fn, name, desc) \
6 void *fn(void *, const void *, size_t);
H A Dmem-memset-arch.h5 #define MEMSET_FN(fn, name, desc) \
6 void *fn(void *, int, size_t);
/linux-master/include/linux/
H A Ddelayed_call.h11 void (*fn)(void *); member in struct:delayed_call
19 void (*fn)(void *), void *arg)
21 call->fn = fn;
27 if (call->fn)
28 call->fn(call->arg);
33 call->fn = NULL;
H A Dinit.h142 extern int do_one_initcall(initcall_t fn);
207 /* Format: <modname>__<counter>_<line>_<fn> */
208 #define __initcall_id(fn) \
214 __PASTE(_, fn))))))
239 #define __initcall_stub(fn, __iid, id) \
242 #define __define_initcall_stub(__stub, fn) \
246 return fn(); \
253 #define __initcall_stub(fn, __iid, id) fn
255 #define __define_initcall_stub(__stub, fn) \
[all...]
H A Dstop_machine.h26 cpu_stop_fn_t fn; member in struct:cpu_stop_work
32 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg);
33 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg);
34 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg,
48 cpu_stop_fn_t fn; member in struct:cpu_stop_work
52 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) argument
57 ret = fn(arg);
67 stwork->fn(stwork->arg);
72 cpu_stop_fn_t fn, void *arg,
77 work_buf->fn
71 stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, struct cpu_stop_work *work_buf) argument
147 stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) argument
159 stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) argument
165 stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) argument
[all...]
H A Dirqchip.h23 #define typecheck_irq_init_cb(fn) \
24 (__typecheck(typecheck_irq_init_cb, &fn) ? fn : fn)
34 * @fn: initialization function
36 #define IRQCHIP_DECLARE(name, compat, fn) \
37 OF_DECLARE_2(irqchip, name, compat, typecheck_irq_init_cb(fn))
44 #define IRQCHIP_MATCH(compat, fn) { .compatible = compat, \
45 .data = typecheck_irq_init_cb(fn), },
75 * @fn
[all...]
/linux-master/arch/um/include/shared/
H A Dinit.h71 #define __uml_exitcall(fn) \
72 static exitcall_t __uml_exitcall_##fn __uml_exit_call = fn
76 #define __uml_postsetup(fn) \
77 static initcall_t __uml_postsetup_##fn __uml_postsetup_call = fn
86 #define __uml_setup(str, fn, help...) \
87 __non_empty_string(fn ##_setup, str); \
88 __uml_help(fn, help); \
89 static char __uml_setup_str_##fn[] __initdat
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_engine.c16 typeof(*tests) *fn;
18 for (fn = tests; *fn; fn++) {
21 err = (*fn)(gt);
/linux-master/drivers/pinctrl/renesas/
H A Dsh_pfc.h359 * - fn: Function name, referring to a field in the IPSR
361 #define PINMUX_IPSR_NOGP(ipsr, fn) \
362 PINMUX_DATA(fn##_MARK, FN_##fn)
369 * - fn: Function name, also referring to the IPSR field
371 #define PINMUX_IPSR_GPSR(ipsr, fn) \
372 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr)
379 * - fn: Function name, also referring to the IPSR field
382 #define PINMUX_IPSR_NOGM(ipsr, fn, mse
[all...]
/linux-master/arch/arm/kernel/
H A Dreboot.h5 extern void call_with_stack(void (*fn)(void *), void *arg, void *sp);
/linux-master/drivers/misc/ocxl/
H A Dcore.c6 static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) argument
8 return (get_device(&fn->dev) == NULL) ? NULL : fn;
11 static void ocxl_fn_put(struct ocxl_fn *fn) argument
13 put_device(&fn->dev);
16 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) argument
28 afu->fn = fn;
29 ocxl_fn_get(fn);
38 ocxl_fn_put(afu->fn);
56 struct ocxl_fn *fn = afu->fn; local
84 struct ocxl_fn *fn = afu->fn; local
94 struct ocxl_fn *fn = afu->fn; local
123 struct ocxl_fn *fn = afu->fn; local
131 reserve_fn_bar(struct ocxl_fn *fn, int bar) argument
148 release_fn_bar(struct ocxl_fn *fn, int bar) argument
263 init_afu(struct pci_dev *dev, struct ocxl_fn *fn, u8 afu_idx) argument
301 struct ocxl_fn *fn; local
314 free_function(struct ocxl_fn *fn) argument
323 struct ocxl_fn *fn = container_of(dev, struct ocxl_fn, dev); local
328 set_function_device(struct ocxl_fn *fn, struct pci_dev *dev) argument
335 assign_function_actag(struct ocxl_fn *fn) argument
356 set_function_pasid(struct ocxl_fn *fn) argument
382 configure_function(struct ocxl_fn *fn, struct pci_dev *dev) argument
441 deconfigure_function(struct ocxl_fn *fn) argument
451 struct ocxl_fn *fn; local
479 struct ocxl_fn *fn; local
510 ocxl_function_afu_list(struct ocxl_fn *fn) argument
516 ocxl_function_fetch_afu(struct ocxl_fn *fn, u8 afu_idx) argument
529 ocxl_function_config(struct ocxl_fn *fn) argument
535 ocxl_function_close(struct ocxl_fn *fn) argument
[all...]
H A Dpci.c21 struct ocxl_fn *fn; local
24 fn = ocxl_function_open(dev);
25 if (IS_ERR(fn))
26 return PTR_ERR(fn);
28 pci_set_drvdata(dev, fn);
30 afu_list = ocxl_function_afu_list(fn);
46 struct ocxl_fn *fn; local
50 fn = pci_get_drvdata(dev);
51 afu_list = ocxl_function_afu_list(fn);
57 ocxl_function_close(fn);
[all...]
/linux-master/tools/testing/memblock/linux/
H A Dinit.h23 #define __setup_param(str, unique_id, fn, early) \
29 { __setup_str_##unique_id, fn, early }
31 #define early_param(str, fn) \
32 __setup_param(str, fn, fn, 1)
/linux-master/arch/powerpc/include/asm/
H A Dkasan.h6 #define _GLOBAL_KASAN(fn) _GLOBAL(__##fn)
7 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(__##fn)
8 #define EXPORT_SYMBOL_KASAN(fn) EXPORT_SYMBOL(__##fn)
10 #define _GLOBAL_KASAN(fn) _GLOBAL(fn)
11 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(fn)
[all...]
H A Dmachdep.h243 #define __define_machine_initcall(mach, fn, id) \
244 static int __init __machine_initcall_##mach##_##fn(void) { \
245 if (machine_is(mach)) return fn(); \
248 __define_initcall(__machine_initcall_##mach##_##fn, id);
250 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early)
251 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1)
252 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn,
[all...]
/linux-master/drivers/input/rmi4/
H A Drmi_f55.c27 struct rmi_function *fn; member in struct:f55_data
36 static int rmi_f55_detect(struct rmi_function *fn) argument
38 struct rmi_device *rmi_dev = fn->rmi_dev;
43 f55 = dev_get_drvdata(&fn->dev);
45 error = rmi_read_block(fn->rmi_dev, fn->fd.query_base_addr,
48 dev_err(&fn->dev, "%s: Failed to query F55 properties\n",
73 error = rmi_read_block(fn->rmi_dev,
74 fn->fd.control_base_addr + 1,
86 error = rmi_read_block(fn
108 rmi_f55_probe(struct rmi_function *fn) argument
[all...]
H A Drmi_bus.c132 struct rmi_function *fn = to_rmi_function(dev); local
134 kfree(fn);
150 struct rmi_function *fn = to_rmi_function(dev); local
152 return fn->fd.function_number == handler->func;
156 static void rmi_function_of_probe(struct rmi_function *fn) argument
159 struct device_node *node = fn->rmi_dev->xport->dev->of_node;
162 fn->fd.function_number);
163 fn->dev.of_node = of_get_child_by_name(node, of_name);
166 static inline void rmi_function_of_probe(struct rmi_function *fn) argument
174 static int rmi_create_function_irq(struct rmi_function *fn, argument
205 struct rmi_function *fn = to_rmi_function(dev); local
229 struct rmi_function *fn = to_rmi_function(dev); local
239 rmi_register_function(struct rmi_function *fn) argument
271 rmi_unregister_function(struct rmi_function *fn) argument
[all...]
H A Drmi_f03.c29 struct rmi_function *fn; member in struct:f03_data
40 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, argument
43 struct f03_data *f03 = dev_get_drvdata(&fn->dev);
59 void rmi_f03_commit_buttons(struct rmi_function *fn) argument
61 struct f03_data *f03 = dev_get_drvdata(&fn->dev);
79 rmi_dbg(RMI_DEBUG_FN, &f03->fn->dev,
83 error = rmi_write(f03->fn->rmi_dev, f03->fn->fd.data_base_addr, val);
85 dev_err(&f03->fn->dev,
96 struct rmi_function *fn local
142 struct rmi_function *fn = f03->fn; local
165 struct rmi_function *fn = f03->fn; local
198 rmi_f03_probe(struct rmi_function *fn) argument
222 rmi_f03_config(struct rmi_function *fn) argument
246 struct rmi_function *fn = ctx; local
307 rmi_f03_remove(struct rmi_function *fn) argument
[all...]
H A Drmi_f3a.c38 static void rmi_f3a_report_button(struct rmi_function *fn, argument
49 rmi_dbg(RMI_DEBUG_FN, &fn->dev,
58 struct rmi_function *fn = ctx; local
59 struct f3a_data *f3a = dev_get_drvdata(&fn->dev);
60 struct rmi_driver_data *drvdata = dev_get_drvdata(&fn->rmi_dev->dev);
66 dev_warn(&fn->dev,
75 error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr,
78 dev_err(&fn->dev,
87 rmi_f3a_report_button(fn, f3
94 rmi_f3a_config(struct rmi_function *fn) argument
122 rmi_f3a_map_gpios(struct rmi_function *fn, struct f3a_data *f3a, u8 *query1_regs, u8 *ctrl1_regs) argument
167 rmi_f3a_initialize(struct rmi_function *fn, struct f3a_data *f3a) argument
207 rmi_f3a_probe(struct rmi_function *fn) argument
[all...]
/linux-master/include/trace/events/
H A Dmaple_tree.h15 TP_PROTO(const char *fn, struct ma_state *mas),
17 TP_ARGS(fn, mas),
20 __field(const char *, fn)
29 __entry->fn = fn;
38 __entry->fn,
48 TP_PROTO(const char *fn, struct ma_state *mas),
50 TP_ARGS(fn, mas),
53 __field(const char *, fn)
62 __entry->fn
[all...]
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_ioc32.c54 drm_ioctl_compat_t *fn = NULL; local
62 fn = nouveau_compat_ioctls[nr - DRM_COMMAND_BASE];
64 if (fn != NULL)
65 ret = (*fn)(filp, cmd, arg);
/linux-master/arch/arm/mach-shmobile/
H A Dplatsmp.c19 void shmobile_smp_hook(unsigned int cpu, unsigned long fn, unsigned long arg) argument
25 shmobile_smp_fn[cpu] = fn;

Completed in 194 milliseconds

1234567891011>>