Searched refs:fn (Results 151 - 175 of 999) sorted by relevance

1234567891011>>

/linux-master/drivers/md/persistent-data/
H A Ddm-array.h127 * fn - the callback
132 uint32_t size, value_fn fn, void *context);
177 * fn - called back for every element
181 int (*fn)(void *context, uint64_t key, void *leaf),
/linux-master/drivers/dax/hmem/
H A Ddevice.c20 int walk_hmem_resources(struct device *host, walk_hmem_fn fn) argument
27 rc = fn(host, (int) res->desc, res);
/linux-master/arch/arm/mach-omap2/
H A Dpm33xx-core.c155 static int am33xx_suspend(unsigned int state, int (*fn)(unsigned long),
161 ret = cpu_suspend(args, fn);
178 static int am43xx_suspend(unsigned int state, int (*fn)(unsigned long),
195 ret = cpu_suspend(args, fn);
217 static int am33xx_cpu_suspend(int (*fn)(unsigned long), unsigned long args)
224 ret = cpu_suspend(args, fn);
229 static int am43xx_cpu_suspend(int (*fn)(unsigned long), unsigned long args)
237 ret = cpu_suspend(args, fn);
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/
H A Dnotif-wait.h24 * @fn: Function called with the notification. If the function
28 * @fn_data: pointer to pass to the @fn's data argument
49 bool (*fn)(struct iwl_notif_wait_data *notif_data, member in struct:iwl_notification_wait
84 bool (*fn)(struct iwl_notif_wait_data *notif_data,
/linux-master/arch/riscv/kernel/
H A Dirq.c21 void riscv_set_intc_hwnode_fn(struct fwnode_handle *(*fn)(void)) argument
23 __get_intc_node = fn;
H A Dstacktrace.c22 bool (*fn)(void *, unsigned long), void *arg)
47 if (unlikely(!__kernel_text_address(pc) || (level++ >= 0 && !fn(arg, pc))))
66 if (unlikely(!__kernel_text_address(pc) || !fn(arg, pc)))
80 struct pt_regs *regs, bool (*fn)(void *, unsigned long), void *arg)
102 if (__kernel_text_address(pc) && unlikely(!fn(arg, pc)))
/linux-master/tools/perf/tests/shell/coresight/thread_loop/
H A Dthread_loop.c47 static pthread_t new_thr(void *(*fn) (void *arg), void *arg)
53 pthread_create(&t, &attr, fn, arg);
/linux-master/arch/arm64/kernel/
H A Dsuspend.c94 * fn: finisher function pointer
97 int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
144 ret = fn(arg);
/linux-master/arch/s390/include/asm/
H A Dappldata.h46 unsigned short fn, void *buffer,
54 parm_list->function = fn;
44 appldata_asm(struct appldata_parameter_list *parm_list, struct appldata_product_id *id, unsigned short fn, void *buffer, unsigned short length) argument
/linux-master/fs/xfs/scrub/
H A Dbitmap.h31 int xbitmap64_walk(struct xbitmap64 *bitmap, xbitmap64_walk_fn fn,
59 int xbitmap32_walk(struct xbitmap32 *bitmap, xbitmap32_walk_fn fn,
H A Dagb_bitmap.h58 xbitmap32_walk_fn fn, void *priv)
60 return xbitmap32_walk(&bitmap->agbitmap, fn, priv);
57 xagb_bitmap_walk(struct xagb_bitmap *bitmap, xbitmap32_walk_fn fn, void *priv) argument
/linux-master/drivers/pci/controller/
H A Dpci-ftpci100.c182 unsigned int fn, int config, int size,
185 writel(PCI_CONF1_ADDRESS(bus_number, PCI_SLOT(fn),
186 PCI_FUNC(fn), config),
199 static int faraday_pci_read_config(struct pci_bus *bus, unsigned int fn, argument
206 PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value);
208 return faraday_raw_pci_read_config(p, bus->number, fn, config, size, value);
212 unsigned int fn, int config, int size,
217 writel(PCI_CONF1_ADDRESS(bus_number, PCI_SLOT(fn),
218 PCI_FUNC(fn), confi
181 faraday_raw_pci_read_config(struct faraday_pci *p, int bus_number, unsigned int fn, int config, int size, u32 *value) argument
211 faraday_raw_pci_write_config(struct faraday_pci *p, int bus_number, unsigned int fn, int config, int size, u32 value) argument
238 faraday_pci_write_config(struct pci_bus *bus, unsigned int fn, int config, int size, u32 value) argument
[all...]
H A Dpcie-rockchip.h244 #define ROCKCHIP_PCIE_EP_FUNC_BASE(fn) \
245 (PCIE_EP_PF_CONFIG_REGS_BASE + (((fn) << 12) & GENMASK(19, 12)))
246 #define ROCKCHIP_PCIE_EP_VIRT_FUNC_BASE(fn) \
247 (PCIE_EP_PF_CONFIG_REGS_BASE + 0x10000 + (((fn) << 12) & GENMASK(19, 12)))
248 #define ROCKCHIP_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar) \
249 (PCIE_CORE_AXI_CONF_BASE + 0x0828 + (fn) * 0x0040 + (bar) * 0x0008)
250 #define ROCKCHIP_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar) \
251 (PCIE_CORE_AXI_CONF_BASE + 0x082c + (fn) * 0x0040 + (bar) * 0x0008)
275 #define ROCKCHIP_PCIE_CORE_EP_FUNC_BAR_CFG0(fn) \
276 (PCIE_CORE_CTRL_MGMT_BASE + 0x0240 + (fn) *
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dvsc7326_reg.h69 * fn = FIFO number, 0-9
71 #define REG_TEST(ie,fn) CRA(0x2,ie&1,0x00+fn) /* Mode & Test Register */
72 #define REG_TOP_BOTTOM(ie,fn) CRA(0x2,ie&1,0x10+fn) /* FIFO Buffer Top & Bottom */
73 #define REG_TAIL(ie,fn) CRA(0x2,ie&1,0x20+fn) /* FIFO Write Pointer */
74 #define REG_HEAD(ie,fn) CRA(0x2,ie&1,0x30+fn) /* FIFO Read Pointer */
75 #define REG_HIGH_LOW_WM(ie,fn) CR
[all...]
/linux-master/drivers/soc/samsung/
H A Ds3c-pm-check.c46 static void s3c_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg) argument
50 s3c_pm_run_res(ptr->child, fn, arg);
57 arg = (fn)(ptr, arg);
64 static void s3c_pm_run_sysram(run_fn_t fn, u32 *arg) argument
66 s3c_pm_run_res(&iomem_resource, fn, arg);
/linux-master/arch/x86/platform/uv/
H A Duv_irq.c159 struct fwnode_handle *fn; local
165 fn = irq_domain_alloc_named_fwnode("UV-CORE");
166 if (!fn)
169 uv_domain = irq_domain_create_hierarchy(x86_vector_domain, 0, 0, fn,
172 irq_domain_free_fwnode(fn);
/linux-master/drivers/sh/intc/
H A Dinternals.h11 #define _INTC_MK(fn, mode, addr_e, addr_d, width, shift) \
12 ((shift) | ((width) << 5) | ((fn) << 9) | ((mode) << 13) | \
120 unsigned long (*fn)(unsigned long,
125 unsigned long (*fn)(unsigned long,
130 unsigned long (*fn)(unsigned long,
/linux-master/init/
H A Dmain.c1102 ctor_fn_t *fn = (ctor_fn_t *) __ctors_start; local
1104 for (; fn < (ctor_fn_t *) __ctors_end; fn++)
1105 (*fn)();
1145 static bool __init_or_module initcall_blacklisted(initcall_t fn) argument
1154 addr = (unsigned long) dereference_function_descriptor(fn);
1158 * fn will be "function_name [module_name]" where [module_name] is not
1179 static bool __init_or_module initcall_blacklisted(initcall_t fn) argument
1187 trace_initcall_start_cb(void *data, initcall_t fn) argument
1191 printk(KERN_DEBUG "calling %pS @ %i\n", fn, task_pid_n
1196 trace_initcall_finish_cb(void *data, initcall_t fn, int ret) argument
1221 do_trace_initcall_start(initcall_t fn) argument
1227 do_trace_initcall_finish(initcall_t fn, int ret) argument
1235 do_one_initcall(initcall_t fn) argument
1297 initcall_entry_t *fn; local
1347 initcall_entry_t *fn; local
[all...]
/linux-master/net/dccp/
H A Dfeat.c636 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; local
642 list_for_each_entry_safe_reverse(pos, next, fn, node) {
692 * @fn: feature-negotiation list to register with
699 static int __feat_register_nn(struct list_head *fn, u8 feat, argument
712 return dccp_feat_push_change(fn, feat, 1, mandatory, &fval);
717 * @fn: feature-negotiation list to register with
724 static int __feat_register_sp(struct list_head *fn, u8 feat, u8 is_local, argument
740 if (dccp_feat_push_change(fn, feat, is_local, mandatory, &fval)) {
807 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; local
821 entry = dccp_feat_list_lookup(fn, fea
946 dccp_feat_propagate_ccid(struct list_head *fn, u8 id, bool is_local) argument
974 struct list_head *fn = &dp->dccps_featneg; local
1006 struct list_head *fn = &dreq->dreq_featneg; local
1107 dccp_feat_change_recv(struct list_head *fn, u8 is_mandatory, u8 opt, u8 feat, u8 *val, u8 len, const bool server) argument
1218 dccp_feat_confirm_recv(struct list_head *fn, u8 is_mandatory, u8 opt, u8 feat, u8 *val, u8 len, const bool server) argument
1318 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; local
1408 struct list_head *fn = dreq ? &dreq->dreq_featneg : &dp->dccps_featneg; local
1455 struct list_head *fn = &dccp_sk(sk)->dccps_featneg; local
[all...]
/linux-master/drivers/mmc/core/
H A Dsdio_ops.c62 static int mmc_io_rw_direct_host(struct mmc_host *host, int write, unsigned fn, argument
68 if (fn > 7)
77 cmd.arg |= fn << 28;
108 int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, argument
111 return mmc_io_rw_direct_host(card->host, write, fn, addr, in, out);
114 int mmc_io_rw_extended(struct mmc_card *card, int write, unsigned fn, argument
137 cmd.arg |= fn << 28;
/linux-master/drivers/pci/
H A Dsearch.c22 * @fn: function to call for each alias
23 * @data: opaque data to pass to @fn
25 * Starting @pdev, walk up the bus calling @fn for each possible alias
29 int (*fn)(struct pci_dev *pdev,
41 ret = fn(pdev, pci_dev_id(pdev), data);
53 ret = fn(pdev, PCI_DEVID(pdev->bus->number, devfn),
89 ret = fn(tmp,
96 ret = fn(tmp, pci_dev_id(tmp), data);
103 ret = fn(tmp,
107 ret = fn(tm
[all...]
/linux-master/arch/arm/mach-davinci/
H A Dpdata-quirks.c18 void (*fn)(void); member in struct:pdata_init
195 if (quirks->fn)
196 quirks->fn();
/linux-master/drivers/s390/char/
H A Draw3270.h80 struct raw3270_fn *fn; member in struct:raw3270_view
86 int raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor, int subclass);
91 struct raw3270_view *raw3270_find_view(struct raw3270_fn *fn, int minor);
/linux-master/fs/bcachefs/
H A Dlogged_ops.c37 const struct bch_logged_op_fn *fn = logged_op_fn(k.k->type); local
41 if (!fn)
47 fn->resume(trans, sk.k);
/linux-master/arch/arm64/kvm/hyp/
H A Dvgic-v3-sr.c1040 void (*fn)(struct kvm_vcpu *, u32, int);
1063 fn = __vgic_v3_read_iar;
1069 fn = __vgic_v3_write_eoir;
1073 fn = __vgic_v3_read_igrpen1;
1075 fn = __vgic_v3_write_igrpen1;
1079 fn = __vgic_v3_read_bpr1;
1081 fn = __vgic_v3_write_bpr1;
1086 fn = __vgic_v3_read_apxr0;
1088 fn = __vgic_v3_write_apxr0;
1093 fn
[all...]

Completed in 233 milliseconds

1234567891011>>