Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v5.4/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
47 cpu_stop_fn_t fn; member
51 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu()
71 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait()
86 cpu_stop_fn_t fn, void *arg) in stop_cpus()
94 cpu_stop_fn_t fn, void *arg) in try_stop_cpus()
142 static inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked()
153 static inline int stop_machine(cpu_stop_fn_t fn, void *data, in stop_machine()
159 static inline int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu()
Dkthread.h114 #define KTHREAD_WORK_INIT(work, fn) { \ argument
119 #define KTHREAD_DELAYED_WORK_INIT(dwork, fn) { \ argument
128 #define DEFINE_KTHREAD_WORK(work, fn) \ argument
131 #define DEFINE_KTHREAD_DELAYED_WORK(dwork, fn) \ argument
157 #define kthread_init_work(work, fn) \ argument
164 #define kthread_init_delayed_work(dwork, fn) \ argument
/Linux-v5.4/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.c74 static void read_pasid(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_pasid()
97 static int read_dvsec_tl(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_tl()
114 static int read_dvsec_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_function()
141 static int read_dvsec_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_afu_info()
189 static int validate_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in validate_function()
206 int ocxl_config_read_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in ocxl_config_read_function()
246 static int read_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_info()
284 static int read_template_version(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_template_version()
303 struct ocxl_fn_config *fn, int afu_idx) in ocxl_config_check_afu_index()
344 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.4/drivers/pinctrl/sh-pfc/
Dsh_pfc.h363 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument
373 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument
384 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument
395 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument
407 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument
419 #define PINMUX_IPSR_PHYS_MSEL(ipsr, fn, psel, msel) \ argument
429 #define PINMUX_IPSR_PHYS(ipsr, fn, psel) \ argument
437 #define PINMUX_SINGLE(fn) \ argument
444 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) \ argument
446 #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) argument
[all …]
/Linux-v5.4/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.4/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 …]
/Linux-v5.4/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_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.4/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 …]
Dpcie-cadence.h44 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn) \ argument
46 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn) \ argument
94 #define CDNS_PCIE_EP_FUNC_BASE(fn) (((fn) << 12) & GENMASK(19, 12)) argument
179 #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar) \ argument
181 #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar) \ argument
276 static inline void cdns_pcie_ep_fn_writeb(struct cdns_pcie *pcie, u8 fn, in cdns_pcie_ep_fn_writeb()
282 static inline void cdns_pcie_ep_fn_writew(struct cdns_pcie *pcie, u8 fn, in cdns_pcie_ep_fn_writew()
288 static inline void cdns_pcie_ep_fn_writel(struct cdns_pcie *pcie, u8 fn, in cdns_pcie_ep_fn_writel()
294 static inline u8 cdns_pcie_ep_fn_readb(struct cdns_pcie *pcie, u8 fn, u32 reg) in cdns_pcie_ep_fn_readb()
299 static inline u16 cdns_pcie_ep_fn_readw(struct cdns_pcie *pcie, u8 fn, u32 reg) in cdns_pcie_ep_fn_readw()
[all …]
/Linux-v5.4/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
317 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus()
366 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait()
374 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work()
405 cpu_stop_fn_t fn, void *arg) in __stop_cpus()
444 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus()
473 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in try_stop_cpus()
513 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local
595 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked()
[all …]
/Linux-v5.4/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.4/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.4/init/
Dmain.c791 ctor_fn_t *fn = (ctor_fn_t *) __ctors_start; in do_ctors() local
834 static bool __init_or_module initcall_blacklisted(initcall_t fn) in initcall_blacklisted()
868 static bool __init_or_module initcall_blacklisted(initcall_t fn) in initcall_blacklisted()
876 trace_initcall_start_cb(void *data, initcall_t fn) in trace_initcall_start_cb()
885 trace_initcall_finish_cb(void *data, initcall_t fn, int ret) in trace_initcall_finish_cb()
914 static inline void do_trace_initcall_start(initcall_t fn) in do_trace_initcall_start()
920 static inline void do_trace_initcall_finish(initcall_t fn, int ret) in do_trace_initcall_finish()
928 int __init_or_module do_one_initcall(initcall_t fn) in do_one_initcall()
995 initcall_entry_t *fn; in do_initcall_level() local
1036 initcall_entry_t *fn; in do_pre_smp_initcalls() local
/Linux-v5.4/arch/x86/include/asm/crypto/
Dglue_helper.h21 #define GLUE_FUNC_CAST(fn) ((common_glue_func_t)(fn)) argument
22 #define GLUE_CBC_FUNC_CAST(fn) ((common_glue_cbc_func_t)(fn)) argument
23 #define GLUE_CTR_FUNC_CAST(fn) ((common_glue_ctr_func_t)(fn)) argument
24 #define GLUE_XTS_FUNC_CAST(fn) ((common_glue_xts_func_t)(fn)) argument
/Linux-v5.4/block/
Dblk-mq-tag.c210 busy_iter_fn *fn; member
251 busy_iter_fn *fn, void *data, bool reserved) in bt_for_each()
265 busy_tag_iter_fn *fn; member
305 busy_tag_iter_fn *fn, void *data, bool reserved) in bt_tags_for_each()
329 busy_tag_iter_fn *fn, void *priv) in blk_mq_all_tag_busy_iter()
347 busy_tag_iter_fn *fn, void *priv) in blk_mq_tagset_busy_iter()
403 void blk_mq_queue_tag_busy_iter(struct request_queue *q, busy_iter_fn *fn, in blk_mq_queue_tag_busy_iter()
/Linux-v5.4/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>>...18