Home
last modified time | relevance | path

Searched defs:fn (Results 1 – 25 of 907) sorted by relevance

12345678910>>...37

/kernel/linux/linux-5.10/include/linux/
Dinit.h188 #define ___define_initcall(fn, id, __sec) \ argument
195 #define ___define_initcall(fn, id, __sec) \ argument
200 #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) argument
207 #define early_initcall(fn) __define_initcall(fn, early) argument
216 #define pure_initcall(fn) __define_initcall(fn, 0) argument
218 #define core_initcall(fn) __define_initcall(fn, 1) argument
219 #define core_initcall_sync(fn) __define_initcall(fn, 1s) argument
220 #define postcore_initcall(fn) __define_initcall(fn, 2) argument
221 #define postcore_initcall_sync(fn) __define_initcall(fn, 2s) argument
222 #define arch_initcall(fn) __define_initcall(fn, 3) argument
[all …]
Dstop_machine.h26 cpu_stop_fn_t fn; member
48 cpu_stop_fn_t fn; member
52 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu()
72 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait()
87 cpu_stop_fn_t fn, void *arg) in stop_cpus()
137 static __always_inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked()
149 stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine()
155 stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu()
/kernel/linux/linux-4.19/include/linux/
Dinit.h187 #define ___define_initcall(fn, id, __sec) \ argument
194 #define ___define_initcall(fn, id, __sec) \ argument
199 #define __define_initcall(fn, id) ___define_initcall(fn, id, .initcall##id) argument
206 #define early_initcall(fn) __define_initcall(fn, early) argument
215 #define pure_initcall(fn) __define_initcall(fn, 0) argument
217 #define core_initcall(fn) __define_initcall(fn, 1) argument
218 #define core_initcall_sync(fn) __define_initcall(fn, 1s) argument
219 #define postcore_initcall(fn) __define_initcall(fn, 2) argument
220 #define postcore_initcall_sync(fn) __define_initcall(fn, 2s) argument
221 #define arch_initcall(fn) __define_initcall(fn, 3) argument
[all …]
Dstop_machine.h26 cpu_stop_fn_t fn; member
46 cpu_stop_fn_t fn; member
50 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu()
70 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait()
85 cpu_stop_fn_t fn, void *arg) in stop_cpus()
93 cpu_stop_fn_t fn, void *arg) in try_stop_cpus()
141 static inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked()
152 static inline int stop_machine(cpu_stop_fn_t fn, void *data, in stop_machine()
158 static inline int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu()
/kernel/linux/linux-5.10/drivers/misc/ocxl/
Dcore.c6 static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) in ocxl_fn_get()
11 static void ocxl_fn_put(struct ocxl_fn *fn) in ocxl_fn_put()
16 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu()
56 struct ocxl_fn *fn = afu->fn; in assign_afu_actag() local
84 struct ocxl_fn *fn = afu->fn; in reclaim_afu_actag() local
94 struct ocxl_fn *fn = afu->fn; in assign_afu_pasid() local
123 struct ocxl_fn *fn = afu->fn; in reclaim_afu_pasid() local
131 static int reserve_fn_bar(struct ocxl_fn *fn, int bar) in reserve_fn_bar()
148 static void release_fn_bar(struct ocxl_fn *fn, int bar) in release_fn_bar()
263 static int init_afu(struct pci_dev *dev, struct ocxl_fn *fn, u8 afu_idx) in init_afu()
[all …]
/kernel/linux/linux-4.19/drivers/misc/ocxl/
Dpci.c21 static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) in ocxl_fn_get()
26 static void ocxl_fn_put(struct ocxl_fn *fn) in ocxl_fn_put()
41 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu()
74 struct ocxl_fn *fn = afu->fn; in set_afu_device() local
86 struct ocxl_fn *fn = afu->fn; in assign_afu_actag() local
113 struct ocxl_fn *fn = afu->fn; in reclaim_afu_actag() local
123 struct ocxl_fn *fn = afu->fn; in assign_afu_pasid() local
151 struct ocxl_fn *fn = afu->fn; in reclaim_afu_pasid() local
159 static int reserve_fn_bar(struct ocxl_fn *fn, int bar) in reserve_fn_bar()
176 static void release_fn_bar(struct ocxl_fn *fn, int bar) in release_fn_bar()
[all …]
/kernel/linux/linux-4.19/drivers/pinctrl/sh-pfc/
Dsh_pfc.h328 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument
338 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument
349 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument
360 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument
372 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument
380 #define PINMUX_SINGLE(fn) \ argument
387 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ argument
389 #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) argument
391 #define PORT_GP_CFG_4(bank, fn, sfx, cfg) \ argument
396 #define PORT_GP_4(bank, fn, sfx) PORT_GP_CFG_4(bank, fn, sfx, 0) argument
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
Dsh_pfc.h367 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument
377 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument
388 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument
399 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument
411 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument
423 #define PINMUX_IPSR_PHYS_MSEL(ipsr, fn, psel, msel) \ argument
433 #define PINMUX_IPSR_PHYS(ipsr, fn, psel) \ argument
441 #define PINMUX_SINGLE(fn) \ argument
448 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ argument
450 #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) argument
[all …]
/kernel/linux/linux-5.10/arch/um/include/shared/
Dinit.h71 #define __uml_exitcall(fn) \ argument
76 #define __uml_postsetup(fn) \ argument
86 #define __uml_setup(str, fn, help...) \ argument
92 #define __uml_setup(str, fn, help...) \ argument
96 #define __uml_help(fn, help...) \ argument
112 #define __define_initcall(level,fn) \ argument
119 #define __initcall(fn) __define_initcall("1", fn) argument
121 #define __exitcall(fn) static exitcall_t __exitcall_##fn __exit_call = fn argument
/kernel/linux/linux-4.19/arch/um/include/shared/
Dinit.h71 #define __uml_exitcall(fn) \ argument
76 #define __uml_postsetup(fn) \ argument
86 #define __uml_setup(str, fn, help...) \ argument
92 #define __uml_setup(str, fn, help...) \ argument
96 #define __uml_help(fn, help...) \ argument
112 #define __define_initcall(level,fn) \ argument
119 #define __initcall(fn) __define_initcall("1", fn) argument
121 #define __exitcall(fn) static exitcall_t __exitcall_##fn __exit_call = fn argument
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkasan.h6 #define _GLOBAL_KASAN(fn) _GLOBAL(__##fn) argument
7 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(__##fn) argument
8 #define EXPORT_SYMBOL_KASAN(fn) EXPORT_SYMBOL(__##fn) argument
10 #define _GLOBAL_KASAN(fn) _GLOBAL(fn) argument
11 #define _GLOBAL_TOC_KASAN(fn) _GLOBAL_TOC(fn) argument
12 #define EXPORT_SYMBOL_KASAN(fn) argument
Dmachdep.h275 #define __define_machine_initcall(mach, fn, id) \ argument
282 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument
283 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument
284 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument
285 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument
286 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument
287 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument
288 #define machine_arch_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 3s) argument
289 #define machine_subsys_initcall(mach, fn) __define_machine_initcall(mach, fn, 4) argument
290 #define machine_subsys_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 4s) argument
[all …]
/kernel/linux/linux-4.19/drivers/input/rmi4/
Drmi_f03.c32 struct rmi_function *fn; member
43 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button()
62 void rmi_f03_commit_buttons(struct rmi_function *fn) in rmi_f03_commit_buttons()
99 struct rmi_function *fn = f03->fn; in rmi_f03_initialize() local
145 struct rmi_function *fn = f03->fn; in rmi_f03_pt_open() local
168 struct rmi_function *fn = f03->fn; in rmi_f03_pt_close() local
201 static int rmi_f03_probe(struct rmi_function *fn) in rmi_f03_probe()
225 static int rmi_f03_config(struct rmi_function *fn) in rmi_f03_config()
249 struct rmi_function *fn = ctx; in rmi_f03_attention() local
310 static void rmi_f03_remove(struct rmi_function *fn) in rmi_f03_remove()
Drmi_bus.c134 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local
152 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local
158 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
168 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
176 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq()
207 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_probe() local
231 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_remove() local
241 int rmi_register_function(struct rmi_function *fn) in rmi_register_function()
273 void rmi_unregister_function(struct rmi_function *fn) in rmi_unregister_function()
Drmi_f34.c21 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id() local
51 struct rmi_function *fn = f34->fn; in rmi_f34_command() local
105 struct rmi_function *fn = ctx; in rmi_f34_attention() local
136 struct rmi_function *fn = f34->fn; in rmi_f34_write_blocks() local
200 struct rmi_function *fn = f34->fn; in rmi_f34_flash_firmware() local
304 static int rmi_f34_status(struct rmi_function *fn) in rmi_f34_status()
320 struct rmi_function *fn = data->f34_container; in rmi_driver_bootloader_id_show() local
346 struct rmi_function *fn = data->f34_container; in rmi_driver_configuration_id_show() local
523 static int rmi_f34_probe(struct rmi_function *fn) in rmi_f34_probe()
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_f03.c29 struct rmi_function *fn; member
40 int rmi_f03_overwrite_button(struct rmi_function *fn, unsigned int button, in rmi_f03_overwrite_button()
59 void rmi_f03_commit_buttons(struct rmi_function *fn) in rmi_f03_commit_buttons()
96 struct rmi_function *fn = f03->fn; in rmi_f03_initialize() local
142 struct rmi_function *fn = f03->fn; in rmi_f03_pt_open() local
165 struct rmi_function *fn = f03->fn; in rmi_f03_pt_close() local
198 static int rmi_f03_probe(struct rmi_function *fn) in rmi_f03_probe()
222 static int rmi_f03_config(struct rmi_function *fn) in rmi_f03_config()
246 struct rmi_function *fn = ctx; in rmi_f03_attention() local
307 static void rmi_f03_remove(struct rmi_function *fn) in rmi_f03_remove()
Drmi_bus.c131 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local
149 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local
155 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
165 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe()
173 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq()
204 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_probe() local
228 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_remove() local
238 int rmi_register_function(struct rmi_function *fn) in rmi_register_function()
270 void rmi_unregister_function(struct rmi_function *fn) in rmi_unregister_function()
Drmi_f34.c18 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id() local
48 struct rmi_function *fn = f34->fn; in rmi_f34_command() local
102 struct rmi_function *fn = ctx; in rmi_f34_attention() local
133 struct rmi_function *fn = f34->fn; in rmi_f34_write_blocks() local
197 struct rmi_function *fn = f34->fn; in rmi_f34_flash_firmware() local
301 static int rmi_f34_status(struct rmi_function *fn) in rmi_f34_status()
317 struct rmi_function *fn = data->f34_container; in rmi_driver_bootloader_id_show() local
343 struct rmi_function *fn = data->f34_container; in rmi_driver_configuration_id_show() local
520 static int rmi_f34_probe(struct rmi_function *fn) in rmi_f34_probe()
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/
Dpcie-cadence-ep.c19 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, in cdns_pcie_ep_write_header()
50 static int cdns_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, in cdns_pcie_ep_set_bar()
120 static void cdns_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, in cdns_pcie_ep_clear_bar()
150 static int cdns_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, phys_addr_t addr, in cdns_pcie_ep_map_addr()
172 static void cdns_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, in cdns_pcie_ep_unmap_addr()
192 static int cdns_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 mmc) in cdns_pcie_ep_set_msi()
212 static int cdns_pcie_ep_get_msi(struct pci_epc *epc, u8 fn) in cdns_pcie_ep_get_msi()
250 static int cdns_pcie_ep_set_msix(struct pci_epc *epc, u8 fn, u16 interrupts, in cdns_pcie_ep_set_msix()
277 static void cdns_pcie_ep_assert_intx(struct cdns_pcie_ep *ep, u8 fn, in cdns_pcie_ep_assert_intx()
320 static int cdns_pcie_ep_send_legacy_irq(struct cdns_pcie_ep *ep, u8 fn, u8 intx) in cdns_pcie_ep_send_legacy_irq()
[all …]
/kernel/linux/linux-4.19/arch/powerpc/include/asm/
Dmachdep.h286 #define __define_machine_initcall(mach, fn, id) \ argument
293 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument
294 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument
295 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument
296 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument
297 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument
298 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument
299 #define machine_arch_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 3s) argument
300 #define machine_subsys_initcall(mach, fn) __define_machine_initcall(mach, fn, 4) argument
301 #define machine_subsys_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 4s) argument
[all …]
/kernel/linux/linux-4.19/drivers/pci/controller/
Dpcie-rockchip-ep.c69 static void rockchip_pcie_prog_ep_ob_atu(struct rockchip_pcie *rockchip, u8 fn, in rockchip_pcie_prog_ep_ob_atu()
124 static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_write_header()
161 static int rockchip_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_set_bar()
229 static void rockchip_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_clear_bar()
258 static int rockchip_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_map_addr()
286 static void rockchip_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_unmap_addr()
310 static int rockchip_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_set_msi()
331 static int rockchip_pcie_ep_get_msi(struct pci_epc *epc, u8 fn) in rockchip_pcie_ep_get_msi()
347 static void rockchip_pcie_ep_assert_intx(struct rockchip_pcie_ep *ep, u8 fn, in rockchip_pcie_ep_assert_intx()
392 static int rockchip_pcie_ep_send_legacy_irq(struct rockchip_pcie_ep *ep, u8 fn, in rockchip_pcie_ep_send_legacy_irq()
[all …]
Dpcie-cadence-ep.c49 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, in cdns_pcie_ep_write_header()
80 static int cdns_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, in cdns_pcie_ep_set_bar()
147 static void cdns_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, in cdns_pcie_ep_clear_bar()
174 static int cdns_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, phys_addr_t addr, in cdns_pcie_ep_map_addr()
196 static void cdns_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, in cdns_pcie_ep_unmap_addr()
216 static int cdns_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 mmc) in cdns_pcie_ep_set_msi()
236 static int cdns_pcie_ep_get_msi(struct pci_epc *epc, u8 fn) in cdns_pcie_ep_get_msi()
257 static void cdns_pcie_ep_assert_intx(struct cdns_pcie_ep *ep, u8 fn, in cdns_pcie_ep_assert_intx()
297 static int cdns_pcie_ep_send_legacy_irq(struct cdns_pcie_ep *ep, u8 fn, u8 intx) in cdns_pcie_ep_send_legacy_irq()
315 static int cdns_pcie_ep_send_msi_irq(struct cdns_pcie_ep *ep, u8 fn, in cdns_pcie_ep_send_msi_irq()
[all …]
/kernel/linux/linux-4.19/kernel/
Dstop_machine.c123 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu()
155 cpu_stop_fn_t fn; member
307 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus()
356 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait()
364 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work()
393 cpu_stop_fn_t fn, void *arg) in __stop_cpus()
432 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus()
461 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in try_stop_cpus()
501 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local
583 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked()
[all …]
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpcie-rockchip-ep.c70 static void rockchip_pcie_prog_ep_ob_atu(struct rockchip_pcie *rockchip, u8 fn, in rockchip_pcie_prog_ep_ob_atu()
125 static int rockchip_pcie_ep_write_header(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_write_header()
162 static int rockchip_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_set_bar()
230 static void rockchip_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_clear_bar()
259 static int rockchip_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_map_addr()
287 static void rockchip_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_unmap_addr()
311 static int rockchip_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, in rockchip_pcie_ep_set_msi()
332 static int rockchip_pcie_ep_get_msi(struct pci_epc *epc, u8 fn) in rockchip_pcie_ep_get_msi()
348 static void rockchip_pcie_ep_assert_intx(struct rockchip_pcie_ep *ep, u8 fn, in rockchip_pcie_ep_assert_intx()
393 static int rockchip_pcie_ep_send_legacy_irq(struct rockchip_pcie_ep *ep, u8 fn, in rockchip_pcie_ep_send_legacy_irq()
[all …]
/kernel/linux/linux-4.19/arch/arm/include/asm/
Dglue.h19 #define ____glue(name,fn) name##fn argument
21 #define ____glue(name,fn) name/**/fn argument
23 #define __glue(name,fn) ____glue(name,fn) argument

12345678910>>...37