Home
last modified time | relevance | path

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

12345678910>>...17

/Linux-v4.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()
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-v4.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 …]
Dconfig.c71 static int read_pasid(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_pasid()
95 static int read_dvsec_tl(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_tl()
112 static int read_dvsec_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_function()
139 static int read_dvsec_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn) in read_dvsec_afu_info()
187 static int validate_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in validate_function()
204 int ocxl_config_read_function(struct pci_dev *dev, struct ocxl_fn_config *fn) in ocxl_config_read_function()
248 static int read_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_info()
278 struct ocxl_fn_config *fn, int afu_idx) in ocxl_config_check_afu_index()
307 static int read_afu_name(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_name()
325 static int read_afu_mmio(struct pci_dev *dev, struct ocxl_fn_config *fn, in read_afu_mmio()
[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-v4.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 …]
/Linux-v4.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
/Linux-v4.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()
Drmi_f30.c87 static int rmi_f30_read_control_parameters(struct rmi_function *fn, in rmi_f30_read_control_parameters()
104 static void rmi_f30_report_button(struct rmi_function *fn, in rmi_f30_report_button()
127 struct rmi_function *fn = ctx; in rmi_f30_attention() local
166 static int rmi_f30_config(struct rmi_function *fn) in rmi_f30_config()
226 static int rmi_f30_map_gpios(struct rmi_function *fn, in rmi_f30_map_gpios()
276 static int rmi_f30_initialize(struct rmi_function *fn, struct f30_data *f30) in rmi_f30_initialize()
369 static int rmi_f30_probe(struct rmi_function *fn) in rmi_f30_probe()
Drmi_f55.c30 struct rmi_function *fn; member
39 static int rmi_f55_detect(struct rmi_function *fn) in rmi_f55_detect()
111 static int rmi_f55_probe(struct rmi_function *fn) in rmi_f55_probe()
/Linux-v4.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 …]
/Linux-v4.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()
298 static int cdns_pcie_ep_send_legacy_irq(struct cdns_pcie_ep *ep, u8 fn, u8 intx) in cdns_pcie_ep_send_legacy_irq()
316 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-v4.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 …]
/Linux-v4.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
/Linux-v4.19/init/
Dmain.c746 ctor_fn_t *fn = (ctor_fn_t *) __ctors_start; in do_ctors() local
781 static bool __init_or_module initcall_blacklisted(initcall_t fn) in initcall_blacklisted()
815 static bool __init_or_module initcall_blacklisted(initcall_t fn) in initcall_blacklisted()
823 trace_initcall_start_cb(void *data, initcall_t fn) in trace_initcall_start_cb()
832 trace_initcall_finish_cb(void *data, initcall_t fn, int ret) in trace_initcall_finish_cb()
861 static inline void do_trace_initcall_start(initcall_t fn) in do_trace_initcall_start()
867 static inline void do_trace_initcall_finish(initcall_t fn, int ret) in do_trace_initcall_finish()
875 int __init_or_module do_one_initcall(initcall_t fn) in do_one_initcall()
942 initcall_entry_t *fn; in do_initcall_level() local
984 initcall_entry_t *fn; in do_pre_smp_initcalls() local
/Linux-v4.19/virt/kvm/
Dvfio.c41 struct vfio_group *(*fn)(struct file *); in kvm_vfio_group_get_external_user() local
57 bool ret, (*fn)(struct vfio_group *, struct file *); in kvm_vfio_external_group_match_file() local
72 void (*fn)(struct vfio_group *); in kvm_vfio_group_put_external_user() local
85 void (*fn)(struct vfio_group *, struct kvm *); in kvm_vfio_group_set_kvm() local
98 long (*fn)(struct vfio_group *, unsigned long); in kvm_vfio_group_is_coherent() local
115 int (*fn)(struct vfio_group *); in kvm_vfio_external_user_iommu_id() local
/Linux-v4.19/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-v4.19/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
/Linux-v4.19/drivers/usb/gadget/function/
Df_uac2.c475 afunc_bind(struct usb_configuration *cfg, struct usb_function *fn) in afunc_bind()
607 afunc_set_alt(struct usb_function *fn, unsigned intf, unsigned alt) in afunc_set_alt()
653 afunc_get_alt(struct usb_function *fn, unsigned intf) in afunc_get_alt()
673 afunc_disable(struct usb_function *fn) in afunc_disable()
684 in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_cur()
725 in_rq_range(struct usb_function *fn, const struct usb_ctrlrequest *cr) in in_rq_range()
767 ac_rq_in(struct usb_function *fn, const struct usb_ctrlrequest *cr) in ac_rq_in()
778 out_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) in out_rq_cur()
791 setup_rq_inf(struct usb_function *fn, const struct usb_ctrlrequest *cr) in setup_rq_inf()
813 afunc_setup(struct usb_function *fn, const struct usb_ctrlrequest *cr) in afunc_setup()
/Linux-v4.19/block/
Dblk-mq-tag.c216 busy_iter_fn *fn; member
243 busy_iter_fn *fn, void *data, bool reserved) in bt_for_each()
257 busy_tag_iter_fn *fn; member
284 busy_tag_iter_fn *fn, void *data, bool reserved) in bt_tags_for_each()
298 busy_tag_iter_fn *fn, void *priv) in blk_mq_all_tag_busy_iter()
306 busy_tag_iter_fn *fn, void *priv) in blk_mq_tagset_busy_iter()
317 void blk_mq_queue_tag_busy_iter(struct request_queue *q, busy_iter_fn *fn, in blk_mq_queue_tag_busy_iter()

12345678910>>...17