Searched refs:fn (Results 276 - 300 of 1002) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/pci/controller/cadence/
H A Dpcie-cadence.c27 void cdns_pcie_set_outbound_region(struct cdns_pcie *pcie, u8 busnr, u8 fn, argument
86 desc0 |= CDNS_PCIE_AT_OB_REGION_DESC0_DEVFN(fn);
105 u8 busnr, u8 fn,
119 desc0 |= CDNS_PCIE_AT_OB_REGION_DESC0_DEVFN(fn);
104 cdns_pcie_set_outbound_region_for_normal_msg(struct cdns_pcie *pcie, u8 busnr, u8 fn, u32 r, u64 cpu_addr) argument
/linux-master/drivers/acpi/
H A Dirq.c306 * @fn: a dispatcher function that will return the domain fwnode
310 struct fwnode_handle *(*fn)(u32))
313 acpi_get_gsi_domain_id = fn;
319 * @fn: arch-specific fallback handler
321 void __init acpi_set_gsi_to_irq_fallback(u32 (*fn)(u32)) argument
323 acpi_gsi_to_irq_fallback = fn;
309 acpi_set_irq_model(enum acpi_irq_model_id model, struct fwnode_handle *(*fn)(u32)) argument
/linux-master/arch/arm/include/asm/
H A Dtraps.h17 int (*fn)(struct pt_regs *regs, unsigned int instr); member in struct:undef_hook
/linux-master/drivers/gpio/
H A Dgpio-wm831x.c105 int ret, fn; local
121 fn = 0;
123 fn = 1;
127 return wm831x_set_bits(wm831x, reg, WM831X_GPN_FN_MASK, fn);
/linux-master/drivers/net/ethernet/cavium/liquidio/
H A Docteon_mailbox.h71 octeon_mbox_callback_t fn; member in struct:octeon_mbox_cmd
/linux-master/arch/x86/include/asm/
H A Dswitch_to.h17 int (*fn)(void *), void *fn_arg);
/linux-master/drivers/md/
H A Ddm-kcopyd.c376 dm_kcopyd_notify_fn fn; member in struct:kcopyd_job
497 dm_kcopyd_notify_fn fn = job->fn; local
510 fn(read_err, write_err, context);
563 .notify.fn = complete_io,
612 int (*fn)(struct kcopyd_job *))
619 r = fn(job);
742 sub_job->fn = segment_complete;
780 unsigned int flags, dm_kcopyd_notify_fn fn, void *context)
844 job->fn
778 dm_kcopyd_copy(struct dm_kcopyd_client *kc, struct dm_io_region *from, unsigned int num_dests, struct dm_io_region *dests, unsigned int flags, dm_kcopyd_notify_fn fn, void *context) argument
858 dm_kcopyd_zero(struct dm_kcopyd_client *kc, unsigned int num_dests, struct dm_io_region *dests, unsigned int flags, dm_kcopyd_notify_fn fn, void *context) argument
866 dm_kcopyd_prepare_callback(struct dm_kcopyd_client *kc, dm_kcopyd_notify_fn fn, void *context) argument
[all...]
H A Ddm-io.c122 io_notify_fn fn = io->callback; local
130 fn(error_bits, context);
463 struct dpages *dp, io_notify_fn fn, void *context,
470 fn(1, context);
478 io->callback = fn;
536 if (!io_req->notify.fn)
541 io_req->bi_opf, &dp, io_req->notify.fn,
461 async_io(struct dm_io_client *client, unsigned int num_regions, struct dm_io_region *where, blk_opf_t opf, struct dpages *dp, io_notify_fn fn, void *context, unsigned short ioprio) argument
/linux-master/drivers/accel/habanalabs/common/
H A Dsecurity.h141 * @fn: function to apply to each HW module special block instance
154 int (*fn)(struct hl_device *hdev, u32 block_id, u32 major, u32 minor, member in struct:iterate_special_ctx
/linux-master/include/sound/
H A Dhdmi-codec.h115 hdmi_codec_plugged_cb fn,
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dns_current_pid_tgid.c182 static void test_ns_current_pid_tgid_new_ns(int (*fn)(void *), void *arg)
190 cpid = clone(fn, child_stack + STACK_SIZE,
203 static void test_in_netns(int (*fn)(void *), void *arg)
214 test_ns_current_pid_tgid_new_ns(fn, arg);
/linux-master/fs/xfs/scrub/
H A Dtempfile.h32 xfs_filblks_t len, xrep_tempfile_copyin_fn fn, void *data);
/linux-master/arch/mips/sgi-ip27/
H A Dip27-irq.c279 struct fwnode_handle *fn; local
291 fn = irq_domain_alloc_named_fwnode("HUB");
292 if (WARN_ON(fn == NULL))
295 domain = irq_domain_create_linear(fn, IP27_HUB_IRQ_COUNT,
/linux-master/drivers/pinctrl/
H A Dpinctrl-loongson2.c35 #define FUNCTION(fn) \
37 .name = #fn, \
38 .groups = fn ## _groups, \
39 .num_groups = ARRAY_SIZE(fn ## _groups), \
/linux-master/arch/s390/include/asm/
H A Dstacktrace.h176 * rc = call_on_stack(nr, stack, rettype, fn, t1, a1, t2, a2, ...)
178 * - nr specifies the number of function arguments of fn.
180 * - fn is the function to be called.
181 * - rettype is the return type of fn.
183 * argument of fn, t2 the second, etc. a1 is the corresponding
186 #define call_on_stack(nr, stack, rettype, fn, ...) \
188 rettype (*__fn)(CALL_PARM_##nr(__VA_ARGS__)) = fn; \
215 * rc = call_nodat(nr, rettype, fn, t1, a1, t2, a2, ...)
217 * - nr specifies the number of function arguments of fn.
218 * - fn i
[all...]
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dgsp.h26 typedef int (*nvkm_gsp_msg_ntfy_func)(void *priv, u32 fn, void *repv, u32 repc);
138 u32 fn; member in struct:nvkm_gsp::nvkm_gsp_msgq::nvkm_gsp_msgq_ntfy
187 void *(*rpc_get)(struct nvkm_gsp *, u32 fn, u32 argc);
225 nvkm_gsp_rpc_get(struct nvkm_gsp *gsp, u32 fn, u32 argc) argument
227 return gsp->rm->rpc_get(gsp, fn, argc);
237 nvkm_gsp_rpc_rd(struct nvkm_gsp *gsp, u32 fn, u32 argc) argument
239 void *argv = nvkm_gsp_rpc_get(gsp, fn, argc);
/linux-master/include/linux/
H A Dworkqueue.h560 int execute_in_process_context(work_func_t fn, struct execute_work *);
780 static inline long work_on_cpu(int cpu, long (*fn)(void *), void *arg)
782 return fn(arg);
784 static inline long work_on_cpu_safe(int cpu, long (*fn)(void *), void *arg)
786 return fn(arg);
789 long work_on_cpu_key(int cpu, long (*fn)(void *),
802 long work_on_cpu_safe_key(int cpu, long (*fn)(void *),
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c326 int (*fn)(const char *cgroup, void *arg),
340 exit(fn(cgroup, arg));
424 int (*fn)(const char *cgroup, void *arg),
437 exit(fn(cgroup, arg));
443 int (*fn)(const char *cgroup, void *arg),
448 pid = clone_into_cgroup_run_nowait(cgroup, fn, arg);
463 exit(fn(cgroup, arg));
/linux-master/tools/perf/util/
H A Dconfig.c145 static int get_value(config_fn_t fn, void *data, char *name, unsigned int len) argument
173 return fn(name, value, data);
232 static int perf_parse_file(config_fn_t fn, void *data) argument
289 if (get_value(fn, data, var, baselen+1) < 0) {
498 static int perf_config_from_file(config_fn_t fn, const char *filename, void *data) argument
509 ret = perf_parse_file(fn, data);
789 config_fn_t fn, void *data)
802 ret = fn(key, value, data);
818 int perf_config(config_fn_t fn, void *data) argument
823 return perf_config_set(config_set, fn, dat
788 perf_config_set(struct perf_config_set *set, config_fn_t fn, void *data) argument
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-firmware.c40 static int load_fw_direct(const char *fn, volatile u8 __iomem *mem, struct ivtv *itv, long size) argument
46 if (retries && request_firmware(&fw, fn, &itv->pdev->dev) == 0) {
56 IVTV_INFO("Retry: file loaded was not %s (expected size %ld, got %zu)\n", fn, size, fw->size);
67 IVTV_INFO("Loaded %s firmware (%zu bytes)\n", fn, fw->size);
71 IVTV_ERR("Unable to open firmware %s (must be %ld bytes)\n", fn, size);
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c74 static void start_thread_on(void *(*fn)(void *), void *arg, unsigned long cpu)
98 rc = pthread_create(&tid, &attr, fn, arg);
106 static void start_process_on(void *(*fn)(void *), void *arg, unsigned long cpu)
138 fn(arg);
421 static void (*start_fn)(void *(*fn)(void *), void *arg, unsigned long cpu);
/linux-master/arch/mips/sgi-ip30/
H A Dip30-irq.c265 struct fwnode_handle *fn; local
306 fn = irq_domain_alloc_named_fwnode("HEART");
307 WARN_ON(fn == NULL);
308 if (!fn)
310 domain = irq_domain_create_linear(fn, HEART_NUM_IRQS,
/linux-master/arch/powerpc/sysdev/xics/
H A Dxics-common.c463 struct fwnode_handle *fn; local
465 fn = irq_domain_alloc_named_fwnode("XICS");
466 if (!fn)
469 xics_host = irq_domain_create_tree(fn, &xics_host_ops, NULL);
471 irq_domain_free_fwnode(fn);
/linux-master/drivers/md/persistent-data/
H A Ddm-bitset.c44 bit_value_fn fn; member in struct:packer_context
58 r = p->fn(index * 64 + bit, &bv, p->context);
74 uint32_t size, bit_value_fn fn, void *context)
78 p.fn = fn;
73 dm_bitset_new(struct dm_disk_bitset *info, dm_block_t *root, uint32_t size, bit_value_fn fn, void *context) argument
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmutil/
H A Dutils.c141 bool (*fn)(struct sk_buff *, void *), void *arg)
148 if (fn == NULL || (*fn) (p, arg)) {
158 bool (*fn)(struct sk_buff *, void *), void *arg)
162 brcmu_pktq_pflush(pq, prec, dir, fn, arg);

Completed in 225 milliseconds

<<11121314151617181920>>