Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v5.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
45 cpu_stop_fn_t fn; member
49 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu()
69 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait()
126 static inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked()
137 static inline int stop_machine(cpu_stop_fn_t fn, void *data, in stop_machine()
143 static inline int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu()
Dkthread.h117 #define KTHREAD_WORK_INIT(work, fn) { \ argument
122 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ argument
131 #define DEFINE_KTHREAD_WORK(work, fn) \ argument
134 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ argument
160 #define kthread_init_work(work, fn) \ argument
167 #define kthread_init_delayed_work(dwork, fn) \ argument
Dirqchip.h29 #define IRQCHIP_DECLARE(name, compat, fn) OF_DECLARE_2(irqchip, name, compat, fn) argument
36 #define IRQCHIP_MATCH(compat, fn) { .compatible = compat, .data = fn }, argument
65 #define IRQCHIP_ACPI_DECLARE(name, subtable, validate, data, fn) \ argument
/Linux-v5.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 …]
Dconfig.c88 static void read_pasid(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_pasid()
111 static int read_dvsec_tl(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_tl()
128 static int read_dvsec_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_function()
155 static int read_dvsec_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_afu_info()
260 static int validate_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in validate_function()
277 int ocxl_config_read_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in ocxl_config_read_function()
317 static int read_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_info()
355 static int read_template_version(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_template_version()
374 struct ocxl_fn_config *fn, int afu_idx) in ocxl_config_check_afu_index()
415 static int read_afu_name(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_name()
[all …]
Dpasid.c81 int ocxl_pasid_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_pasid_afu_alloc()
91 void ocxl_pasid_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_pasid_afu_free()
96 int ocxl_actag_afu_alloc(struct ocxl_fn *fn, u32 size) in ocxl_actag_afu_alloc()
104 void ocxl_actag_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_actag_afu_free()
/Linux-v5.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 …]
/Linux-v5.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
/Linux-v5.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.h272 #define __define_machine_initcall(mach, fn, id) \ argument
279 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument
280 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument
281 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument
282 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument
283 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument
284 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument
285 #define machine_arch_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 3s) argument
286 #define machine_subsys_initcall(mach, fn) __define_machine_initcall(mach, fn, 4) argument
287 #define machine_subsys_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 4s) argument
[all …]
/Linux-v5.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()
Drmi_f3a.c38 static void rmi_f3a_report_button(struct rmi_function *fn, in rmi_f3a_report_button()
58 struct rmi_function *fn = ctx; in rmi_f3a_attention() local
94 static int rmi_f3a_config(struct rmi_function *fn) in rmi_f3a_config()
122 static int rmi_f3a_map_gpios(struct rmi_function *fn, struct f3a_data *f3a, in rmi_f3a_map_gpios()
167 static int rmi_f3a_initialize(struct rmi_function *fn, struct f3a_data *f3a) in rmi_f3a_initialize()
207 static int rmi_f3a_probe(struct rmi_function *fn) in rmi_f3a_probe()
Drmi_f30.c84 static int rmi_f30_read_control_parameters(struct rmi_function *fn, in rmi_f30_read_control_parameters()
101 static void rmi_f30_report_button(struct rmi_function *fn, in rmi_f30_report_button()
124 struct rmi_function *fn = ctx; in rmi_f30_attention() local
163 static int rmi_f30_config(struct rmi_function *fn) in rmi_f30_config()
223 static int rmi_f30_map_gpios(struct rmi_function *fn, in rmi_f30_map_gpios()
273 static int rmi_f30_initialize(struct rmi_function *fn, struct f30_data *f30) in rmi_f30_initialize()
366 static int rmi_f30_probe(struct rmi_function *fn) in rmi_f30_probe()
Drmi_f55.c27 struct rmi_function *fn; member
36 static int rmi_f55_detect(struct rmi_function *fn) in rmi_f55_detect()
108 static int rmi_f55_probe(struct rmi_function *fn) in rmi_f55_probe()
/Linux-v5.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 …]
/Linux-v5.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 …]
Dpcie-rcar-ep.c162 static int rcar_pcie_ep_write_header(struct pci_epc *epc, u8 fn, in rcar_pcie_ep_write_header()
249 static void rcar_pcie_ep_clear_bar(struct pci_epc *epc, u8 fn, in rcar_pcie_ep_clear_bar()
262 static int rcar_pcie_ep_set_msi(struct pci_epc *epc, u8 fn, u8 interrupts) in rcar_pcie_ep_set_msi()
275 static int rcar_pcie_ep_get_msi(struct pci_epc *epc, u8 fn) in rcar_pcie_ep_get_msi()
288 static int rcar_pcie_ep_map_addr(struct pci_epc *epc, u8 fn, in rcar_pcie_ep_map_addr()
325 static void rcar_pcie_ep_unmap_addr(struct pci_epc *epc, u8 fn, in rcar_pcie_ep_unmap_addr()
349 u8 fn, u8 intx) in rcar_pcie_ep_assert_intx()
383 u8 fn, u8 interrupt_num) in rcar_pcie_ep_assert_msi()
406 static int rcar_pcie_ep_raise_irq(struct pci_epc *epc, u8 fn, in rcar_pcie_ep_raise_irq()
/Linux-v5.10/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
318 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus()
367 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait()
375 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work()
406 cpu_stop_fn_t fn, void *arg) in __stop_cpus()
445 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus()
484 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local
566 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked()
602 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine()
[all …]
/Linux-v5.10/arch/arm/include/asm/
Dglue.h16 #define ____glue(name,fn) name##fn argument
18 #define ____glue(name,fn) name/**/fn argument
20 #define __glue(name,fn) ____glue(name,fn) argument
/Linux-v5.10/virt/kvm/
Dvfio.c38 struct vfio_group *(*fn)(struct file *); in kvm_vfio_group_get_external_user() local
54 bool ret, (*fn)(struct vfio_group *, struct file *); in kvm_vfio_external_group_match_file() local
69 void (*fn)(struct vfio_group *); in kvm_vfio_group_put_external_user() local
82 void (*fn)(struct vfio_group *, struct kvm *); in kvm_vfio_group_set_kvm() local
95 long (*fn)(struct vfio_group *, unsigned long); in kvm_vfio_group_is_coherent() local
112 int (*fn)(struct vfio_group *); in kvm_vfio_external_user_iommu_id() local
/Linux-v5.10/block/
Dblk-mq-tag.c197 busy_iter_fn *fn; member
238 busy_iter_fn *fn, void *data, bool reserved) in bt_for_each()
252 busy_tag_iter_fn *fn; member
300 busy_tag_iter_fn *fn, void *data, unsigned int flags) in bt_tags_for_each()
314 busy_tag_iter_fn *fn, void *priv, unsigned int flags) in __blk_mq_all_tag_iter()
336 void blk_mq_all_tag_iter(struct blk_mq_tags *tags, busy_tag_iter_fn *fn, in blk_mq_all_tag_iter()
353 busy_tag_iter_fn *fn, void *priv) in blk_mq_tagset_busy_iter()
410 void blk_mq_queue_tag_busy_iter(struct request_queue *q, busy_iter_fn *fn, in blk_mq_queue_tag_busy_iter()
/Linux-v5.10/drivers/md/bcache/
Dsysfs.h15 #define SHOW(fn) \ argument
19 #define STORE(fn) \ argument
23 #define SHOW_LOCKED(fn) \ argument
33 #define STORE_LOCKED(fn) \ argument

12345678910>>...20