Home
last modified time | relevance | path

Searched full:fn (Results 1 – 25 of 1898) sorted by relevance

12345678910>>...76

/openbmc/u-boot/arch/arm/mach-rmobile/
H A Dpfc-r8a7790.h14 #define CPU_32_PORT(fn, pfx, sfx) \ argument
15 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
16 PORT_10(fn, pfx##2, sfx), PORT_1(fn, pfx##30, sfx), \
17 PORT_1(fn, pfx##31, sfx)
19 #define CPU_32_PORT2(fn, pfx, sfx) \ argument
20 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
21 PORT_10(fn, pfx##2, sfx)
24 #define CPU_32_PORT1(fn, pfx, sfx) \ argument
25 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
26 PORT_10(fn, pfx##2, sfx) \
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dreg_helper.h60 #define FN(reg_name, field) \ macro
65 FN(reg_name, field), val)
69 FN(reg, f1), v1,\
70 FN(reg, f2), v2)
74 FN(reg, f1), v1,\
75 FN(reg, f2), v2,\
76 FN(reg, f3), v3)
80 FN(reg, f1), v1,\
81 FN(reg, f2), v2,\
82 FN(reg, f3), v3,\
[all …]
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dsh_pfc.h295 * - fn: Function name, referring to a field in the IPSR
297 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument
298 PINMUX_DATA(fn##_MARK, FN_##fn)
305 * - fn: Function name, also referring to the IPSR field
307 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument
308 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr)
315 * - fn: Function name, also referring to the IPSR field
318 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument
319 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel)
326 * - fn: Function name, also referring to the GPSR field
[all …]
/openbmc/linux/drivers/pinctrl/renesas/
H A Dsh_pfc.h358 * - fn: Function name, referring to a field in the IPSR
360 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument
361 PINMUX_DATA(fn##_MARK, FN_##fn)
368 * - fn: Function name, also referring to the IPSR field
370 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument
371 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr)
378 * - fn: Function name, also referring to the IPSR field
381 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument
382 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel)
389 * - fn: Function name, also referring to the GPSR field
[all …]
/openbmc/linux/drivers/misc/ocxl/
H A Dcore.c6 static struct ocxl_fn *ocxl_fn_get(struct ocxl_fn *fn) in ocxl_fn_get() argument
8 return (get_device(&fn->dev) == NULL) ? NULL : fn; in ocxl_fn_get()
11 static void ocxl_fn_put(struct ocxl_fn *fn) in ocxl_fn_put() argument
13 put_device(&fn->dev); in ocxl_fn_put()
16 static struct ocxl_afu *alloc_afu(struct ocxl_fn *fn) in alloc_afu() argument
28 afu->fn = fn; in alloc_afu()
29 ocxl_fn_get(fn); in alloc_afu()
38 ocxl_fn_put(afu->fn); in free_afu()
56 struct ocxl_fn *fn = afu->fn; in assign_afu_actag() local
58 struct pci_dev *pci_dev = to_pci_dev(fn->dev.parent); in assign_afu_actag()
[all …]
/openbmc/linux/include/net/
H A Ddropreason-core.h6 #define DEFINE_DROP_REASON(FN, FNe) \ argument
7 FN(NOT_SPECIFIED) \
8 FN(NO_SOCKET) \
9 FN(PKT_TOO_SMALL) \
10 FN(TCP_CSUM) \
11 FN(SOCKET_FILTER) \
12 FN(UDP_CSUM) \
13 FN(NETFILTER_DROP) \
14 FN(OTHERHOST) \
15 FN(IP_CSUM) \
[all …]
/openbmc/linux/include/linux/
H A Dinit.h146 extern int do_one_initcall(initcall_t fn);
208 /* Format: <modname>__<counter>_<line>_<fn> */
209 #define __initcall_id(fn) \ argument
215 __PASTE(_, fn))))))
240 #define __initcall_stub(fn, __iid, id) \ argument
243 #define __define_initcall_stub(__stub, fn) \ argument
247 return fn(); \
254 #define __initcall_stub(fn, __iid, id) fn argument
256 #define __define_initcall_stub(__stub, fn) \ argument
257 __ADDRESSABLE(fn)
[all …]
H A Dstop_machine.h26 cpu_stop_fn_t fn; member
32 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg);
33 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg);
34 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg,
48 cpu_stop_fn_t fn; member
52 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
57 ret = fn(arg); in stop_one_cpu()
67 stwork->fn(stwork->arg); in stop_one_cpu_nowait_workfn()
72 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
77 work_buf->fn = fn; in stop_one_cpu_nowait()
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Dunroll.h16 #define unroll(times, fn, ...) do { \ argument
31 case 32: fn(__VA_ARGS__); fallthrough; \
32 case 31: fn(__VA_ARGS__); fallthrough; \
33 case 30: fn(__VA_ARGS__); fallthrough; \
34 case 29: fn(__VA_ARGS__); fallthrough; \
35 case 28: fn(__VA_ARGS__); fallthrough; \
36 case 27: fn(__VA_ARGS__); fallthrough; \
37 case 26: fn(__VA_ARGS__); fallthrough; \
38 case 25: fn(__VA_ARGS__); fallthrough; \
39 case 24: fn(__VA_ARGS__); fallthrough; \
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dtaskdata.py67 def add_tasks(self, fn, dataCache): argument
69 Add tasks for a given fn to the database
72 task_deps = dataCache.task_deps[fn]
74 if fn in self.failed_fns:
77 # Check if we've already seen this fn
78 if fn in self.seenfns:
81 self.seenfns.append(fn)
83 self.add_extra_deps(fn, dataCache)
88 …'%s' should be specified in the form 'mc:fromMC:toMC:packagename:task'" % (fn, task, 'mcdepends', …
100 …racter.\n Task '%s' should be specified in the form 'packagename:task'" % (fn, task, dep_name, dep…
[all …]
/openbmc/u-boot/drivers/fpga/
H A Dspartan3.c106 xilinx_spartan3_slave_parallel_fns *fn = desc->iface_fns; in spartan3_sp_load() local
109 __FUNCTION__, fn); in spartan3_sp_load()
111 if (fn) { in spartan3_sp_load()
132 __FUNCTION__, &fn, fn, fn->pre, fn->pgm, fn->init, fn->err, in spartan3_sp_load()
133 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, fn->busy, in spartan3_sp_load()
134 fn->abort, fn->post); in spartan3_sp_load()
147 if (*fn->pre) { in spartan3_sp_load()
148 (*fn->pre) (cookie); in spartan3_sp_load()
152 (*fn->pgm) (true, true, cookie); /* Assert the program, commit */ in spartan3_sp_load()
156 (*fn->pgm) (false, true, cookie); /* Deassert the program, commit */ in spartan3_sp_load()
[all …]
H A Dspartan2.c102 xilinx_spartan2_slave_parallel_fns *fn = desc->iface_fns; in spartan2_sp_load() local
105 __FUNCTION__, fn); in spartan2_sp_load()
107 if (fn) { in spartan2_sp_load()
128 __FUNCTION__, &fn, fn, fn->pre, fn->pgm, fn->init, fn->err, in spartan2_sp_load()
129 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, fn->busy, in spartan2_sp_load()
130 fn->abort, fn->post); in spartan2_sp_load()
143 if (*fn->pre) { in spartan2_sp_load()
144 (*fn->pre) (cookie); in spartan2_sp_load()
148 (*fn->pgm) (true, true, cookie); /* Assert the program, commit */ in spartan2_sp_load()
152 (*fn->pgm) (false, true, cookie); /* Deassert the program, commit */ in spartan2_sp_load()
[all …]
H A Dvirtex2.c160 xilinx_virtex2_slave_selectmap_fns *fn = desc->iface_fns; in virtex2_ssm_load() local
163 __FUNCTION__, __LINE__, fn); in virtex2_ssm_load()
165 if (fn) { in virtex2_ssm_load()
180 &fn, fn, fn->pre, fn->pgm, fn->init, fn->err); in virtex2_ssm_load()
189 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, in virtex2_ssm_load()
190 fn->busy, fn->abort, fn->post); in virtex2_ssm_load()
198 if (*fn->pre) { in virtex2_ssm_load()
199 (*fn->pre) (cookie); in virtex2_ssm_load()
208 (*fn->pgm) (true, true, cookie); in virtex2_ssm_load()
216 (*fn->abort) (cookie); in virtex2_ssm_load()
[all …]
/openbmc/linux/drivers/input/rmi4/
H A 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() argument
43 struct f03_data *f03 = dev_get_drvdata(&fn->dev); in rmi_f03_overwrite_button()
59 void rmi_f03_commit_buttons(struct rmi_function *fn) in rmi_f03_commit_buttons() argument
61 struct f03_data *f03 = dev_get_drvdata(&fn->dev); in rmi_f03_commit_buttons()
79 rmi_dbg(RMI_DEBUG_FN, &f03->fn->dev, in rmi_f03_pt_write()
83 error = rmi_write(f03->fn->rmi_dev, f03->fn->fd.data_base_addr, val); in rmi_f03_pt_write()
85 dev_err(&f03->fn->dev, in rmi_f03_pt_write()
96 struct rmi_function *fn = f03->fn; in rmi_f03_initialize() local
97 struct device *dev = &fn->dev; in rmi_f03_initialize()
[all …]
H A Drmi_bus.c132 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local
134 kfree(fn); in rmi_release_function()
150 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local
152 return fn->fd.function_number == handler->func; in rmi_function_match()
156 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() argument
159 struct device_node *node = fn->rmi_dev->xport->dev->of_node; in rmi_function_of_probe()
162 fn->fd.function_number); in rmi_function_of_probe()
163 fn->dev.of_node = of_get_child_by_name(node, of_name); in rmi_function_of_probe()
166 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() argument
174 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq() argument
[all …]
H A Drmi_f3a.c38 static void rmi_f3a_report_button(struct rmi_function *fn, in rmi_f3a_report_button() argument
49 rmi_dbg(RMI_DEBUG_FN, &fn->dev, in rmi_f3a_report_button()
58 struct rmi_function *fn = ctx; in rmi_f3a_attention() local
59 struct f3a_data *f3a = dev_get_drvdata(&fn->dev); in rmi_f3a_attention()
60 struct rmi_driver_data *drvdata = dev_get_drvdata(&fn->rmi_dev->dev); in rmi_f3a_attention()
66 dev_warn(&fn->dev, in rmi_f3a_attention()
75 error = rmi_read_block(fn->rmi_dev, fn->fd.data_base_addr, in rmi_f3a_attention()
78 dev_err(&fn->dev, in rmi_f3a_attention()
87 rmi_f3a_report_button(fn, f3a, i); in rmi_f3a_attention()
94 static int rmi_f3a_config(struct rmi_function *fn) in rmi_f3a_config() argument
[all …]
H A Drmi_f34.c18 struct rmi_function *fn = f34->fn; in rmi_f34_write_bootloader_id() local
19 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f34_write_bootloader_id()
23 ret = rmi_read_block(rmi_dev, fn->fd.query_base_addr, in rmi_f34_write_bootloader_id()
26 dev_err(&fn->dev, "%s: Reading bootloader ID failed: %d\n", in rmi_f34_write_bootloader_id()
31 rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s: writing bootloader id '%c%c'\n", in rmi_f34_write_bootloader_id()
35 fn->fd.data_base_addr + F34_BLOCK_DATA_OFFSET, in rmi_f34_write_bootloader_id()
38 dev_err(&fn->dev, "Failed to write bootloader ID: %d\n", ret); in rmi_f34_write_bootloader_id()
48 struct rmi_function *fn = f34->fn; in rmi_f34_command() local
49 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f34_command()
62 dev_err(&f34->fn->dev, in rmi_f34_command()
[all …]
H A Drmi_f30.c84 static int rmi_f30_read_control_parameters(struct rmi_function *fn, in rmi_f30_read_control_parameters() argument
89 error = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr, in rmi_f30_read_control_parameters()
92 dev_err(&fn->dev, in rmi_f30_read_control_parameters()
94 __func__, fn->fd.control_base_addr, error); in rmi_f30_read_control_parameters()
101 static void rmi_f30_report_button(struct rmi_function *fn, in rmi_f30_report_button() argument
114 rmi_dbg(RMI_DEBUG_FN, &fn->dev, in rmi_f30_report_button()
124 struct rmi_function *fn = ctx; in rmi_f30_attention() local
125 struct f30_data *f30 = dev_get_drvdata(&fn->dev); in rmi_f30_attention()
126 struct rmi_driver_data *drvdata = dev_get_drvdata(&fn->rmi_dev->dev); in rmi_f30_attention()
133 dev_warn(&fn->dev, in rmi_f30_attention()
[all …]
/openbmc/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence-ep.c19 static u8 cdns_pcie_get_fn_from_vfn(struct cdns_pcie *pcie, u8 fn, u8 vfn) in cdns_pcie_get_fn_from_vfn() argument
25 return fn; in cdns_pcie_get_fn_from_vfn()
27 first_vf_offset = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_SRIOV_VF_OFFSET); in cdns_pcie_get_fn_from_vfn()
28 stride = cdns_pcie_ep_fn_readw(pcie, fn, cap + PCI_SRIOV_VF_STRIDE); in cdns_pcie_get_fn_from_vfn()
29 fn = fn + first_vf_offset + ((vfn - 1) * stride); in cdns_pcie_get_fn_from_vfn()
31 return fn; in cdns_pcie_get_fn_from_vfn()
34 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, u8 vfn, in cdns_pcie_ep_write_header() argument
47 cdns_pcie_ep_fn_writew(pcie, fn, reg, hdr->deviceid); in cdns_pcie_ep_write_header()
51 cdns_pcie_ep_fn_writew(pcie, fn, PCI_DEVICE_ID, hdr->deviceid); in cdns_pcie_ep_write_header()
52 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_REVISION_ID, hdr->revid); in cdns_pcie_ep_write_header()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/
H A Drust-oe-selftest.patch11 @@ -61,6 +61,7 @@ fn test_wrapping_write() {
16 fn test_output() {
22 @@ -137,6 +137,7 @@ fn assert_non_crate_hash_different(x: &Options, y: &Options) {
27 fn test_switch_implies_cfg_test() {
30 @@ -145,6 +146,7 @@ fn test_switch_implies_cfg_test() {
35 fn test_switch_implies_cfg_test_unless_cfg_test() {
38 @@ -154,6 +156,7 @@ fn test_switch_implies_cfg_test_unless_cfg_test() {
43 fn test_can_print_warnings() {
54 fn test_min_max_nan() {
61 @@ -488,6 +488,7 @@ fn flush(&mut self) -> io::Result<()> {
[all …]
/openbmc/linux/arch/um/include/shared/
H A Dinit.h71 #define __uml_exitcall(fn) \ argument
72 static exitcall_t __uml_exitcall_##fn __uml_exit_call = fn
76 #define __uml_postsetup(fn) \ argument
77 static initcall_t __uml_postsetup_##fn __uml_postsetup_call = fn
86 #define __uml_setup(str, fn, help...) \ argument
87 __non_empty_string(fn ##_setup, str); \
88 __uml_help(fn, help); \
89 static char __uml_setup_str_##fn[] __initdata = str; \
90 static struct uml_param __uml_setup_##fn __uml_init_setup = { __uml_setup_str_##fn, fn }
92 #define __uml_setup(str, fn, help...) \ argument
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_util.c41 {0x0b, L"FN 1"},
42 {0x0c, L"FN 2"},
43 {0x0d, L"FN 3"},
44 {0x0e, L"FN 4"},
45 {0x0f, L"FN 5"},
46 {0x10, L"FN 6"},
47 {0x11, L"FN 7"},
48 {0x12, L"FN 8"},
49 {0x13, L"FN 9"},
50 {0x14, L"FN 10"},
[all …]
/openbmc/linux/kernel/
H A Dstop_machine.c46 cpu_stop_fn_t fn; member
63 printk("%sStopper: %pS <- %pS\n", log_lvl, stopper->fn, (void *)stopper->caller); in print_stop_info()
118 * @fn: function to execute
119 * @arg: argument to @fn
121 * Execute @fn(@arg) on @cpu. @fn is run in a process context with
126 * This function doesn't guarantee @cpu stays online till @fn
128 * partially or fully on different cpus. @fn should either be ready
136 * -ENOENT if @fn(@arg) was not executed because @cpu was offline;
137 * otherwise, the return value of @fn.
139 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
[all …]
/openbmc/linux/net/ipv6/
H A Dip6_fib.c59 struct fib6_node *fn);
62 struct fib6_node *fn);
109 struct fib6_node *fn; in fib6_update_sernum() local
111 fn = rcu_dereference_protected(f6i->fib6_node, in fib6_update_sernum()
113 if (fn) in fib6_update_sernum()
114 WRITE_ONCE(fn->fn_sernum, fib6_new_sernum(net)); in fib6_update_sernum()
184 struct fib6_node *fn; in node_alloc() local
186 fn = kmem_cache_zalloc(fib6_node_kmem, GFP_ATOMIC); in node_alloc()
187 if (fn) in node_alloc()
190 return fn; in node_alloc()
[all …]
/openbmc/openbmc/poky/scripts/contrib/
H A Dconvert-variable-renames.py61 def processfile(fn): argument
63 print("processing file '%s'" % fn)
68 with open(fn, "r") as old_file:
82 …print("%s needs further work at line %s because %s has been deprecated" % (fn, lineno, removed_nam…
85 … print("%s needs further work at line %s since it contains %s"% (fn, lineno, check_word))
89 print("*** Modified file '%s'" % (fn))
90 shutil.copymode(fn, abs_path)
91 os.remove(fn)
92 shutil.move(abs_path, fn)
109 fn = os.path.join(root, name) variable
[all …]

12345678910>>...76