| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/ |
| H A D | cv_cpu_helper.h | 7 # define CV_CPU_CALL_SSE(fn, args) return (cpu_baseline::fn args) argument 8 # define CV_CPU_CALL_SSE_(fn, args) return (opt_SSE::fn args) argument 13 # define CV_CPU_CALL_SSE(fn, args) if (CV_CPU_HAS_SUPPORT_SSE) return (opt_SSE::fn args) argument 14 # define CV_CPU_CALL_SSE_(fn, args) if (CV_CPU_HAS_SUPPORT_SSE) return (opt_SSE::fn args) argument 19 # define CV_CPU_CALL_SSE(fn, args) argument 20 # define CV_CPU_CALL_SSE_(fn, args) argument 22 …__CV_CPU_DISPATCH_CHAIN_SSE(fn, args, mode, ...) CV_CPU_CALL_SSE(fn, args); __CV_EXPAND(__CV_CPU_… argument 28 # define CV_CPU_CALL_SSE2(fn, args) return (cpu_baseline::fn args) argument 29 # define CV_CPU_CALL_SSE2_(fn, args) return (opt_SSE2::fn args) argument 34 # define CV_CPU_CALL_SSE2(fn, args) if (CV_CPU_HAS_SUPPORT_SSE2) return (opt_SSE2::fn args) argument [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/ |
| H A D | cv_cpu_helper.h | 7 # define CV_CPU_CALL_SSE(fn, args) return (cpu_baseline::fn args) argument 8 # define CV_CPU_CALL_SSE_(fn, args) return (opt_SSE::fn args) argument 13 # define CV_CPU_CALL_SSE(fn, args) if (CV_CPU_HAS_SUPPORT_SSE) return (opt_SSE::fn args) argument 14 # define CV_CPU_CALL_SSE_(fn, args) if (CV_CPU_HAS_SUPPORT_SSE) return (opt_SSE::fn args) argument 19 # define CV_CPU_CALL_SSE(fn, args) argument 20 # define CV_CPU_CALL_SSE_(fn, args) argument 22 …__CV_CPU_DISPATCH_CHAIN_SSE(fn, args, mode, ...) CV_CPU_CALL_SSE(fn, args); __CV_EXPAND(__CV_CPU_… argument 28 # define CV_CPU_CALL_SSE2(fn, args) return (cpu_baseline::fn args) argument 29 # define CV_CPU_CALL_SSE2_(fn, args) return (opt_SSE2::fn args) argument 34 # define CV_CPU_CALL_SSE2(fn, args) if (CV_CPU_HAS_SUPPORT_SSE2) return (opt_SSE2::fn args) argument [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/ |
| H A D | cv_cpu_helper.h | 7 # define CV_CPU_CALL_SSE(fn, args) return (cpu_baseline::fn args) argument 8 # define CV_CPU_CALL_SSE_(fn, args) return (opt_SSE::fn args) argument 13 # define CV_CPU_CALL_SSE(fn, args) if (CV_CPU_HAS_SUPPORT_SSE) return (opt_SSE::fn args) argument 14 # define CV_CPU_CALL_SSE_(fn, args) if (CV_CPU_HAS_SUPPORT_SSE) return (opt_SSE::fn args) argument 19 # define CV_CPU_CALL_SSE(fn, args) argument 20 # define CV_CPU_CALL_SSE_(fn, args) argument 22 …__CV_CPU_DISPATCH_CHAIN_SSE(fn, args, mode, ...) CV_CPU_CALL_SSE(fn, args); __CV_EXPAND(__CV_CPU_… argument 28 # define CV_CPU_CALL_SSE2(fn, args) return (cpu_baseline::fn args) argument 29 # define CV_CPU_CALL_SSE2_(fn, args) return (opt_SSE2::fn args) argument 34 # define CV_CPU_CALL_SSE2(fn, args) if (CV_CPU_HAS_SUPPORT_SSE2) return (opt_SSE2::fn args) argument [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rmobile/ |
| H A D | pfc-r8a7790.h | 15 #define CPU_32_PORT(fn, pfx, sfx) \ argument 16 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \ 17 PORT_10(fn, pfx##2, sfx), PORT_1(fn, pfx##30, sfx), \ 18 PORT_1(fn, pfx##31, sfx) 20 #define CPU_32_PORT2(fn, pfx, sfx) \ argument 21 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \ 22 PORT_10(fn, pfx##2, sfx) 25 #define CPU_32_PORT1(fn, pfx, sfx) \ argument 26 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \ 27 PORT_10(fn, pfx##2, sfx) \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/inc/ |
| H A D | reg_helper.h | 60 #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 …]
|
| /OK3568_Linux_fs/kernel/drivers/pinctrl/renesas/ |
| H A D | sh_pfc.h | 365 * - fn: Function name, referring to a field in the IPSR 367 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument 368 PINMUX_DATA(fn##_MARK, FN_##fn) 375 * - fn: Function name, also referring to the IPSR field 377 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument 378 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr) 385 * - fn: Function name, also referring to the IPSR field 388 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument 389 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel) 396 * - fn: Function name, also referring to the GPSR field [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/ocxl/ |
| H A D | core.c | 6 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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | init.h | 143 extern int do_one_initcall(initcall_t fn); 187 /* Format: <modname>__<counter>_<line>_<fn> */ 188 #define __initcall_id(fn) \ argument 194 __PASTE(_, fn)))))) 219 #define __initcall_stub(fn, __iid, id) \ argument 222 #define __define_initcall_stub(__stub, fn) \ argument 226 return fn(); \ 233 #define __initcall_stub(fn, __iid, id) fn argument 235 #define __define_initcall_stub(__stub, fn) \ argument 236 __ADDRESSABLE(fn) [all …]
|
| H A D | stop_machine.h | 26 cpu_stop_fn_t fn; member 41 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg); 42 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg); 43 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, 48 int stop_one_cpu_async(unsigned int cpu, cpu_stop_fn_t fn, void *arg, 59 cpu_stop_fn_t fn; member 63 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument 68 ret = fn(arg); in stop_one_cpu() 78 stwork->fn(stwork->arg); in stop_one_cpu_nowait_workfn() 83 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument [all …]
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ |
| H A D | taskdata.py | 67 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 …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | unroll.h | 16 #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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/fpga/ |
| H A D | spartan3.c | 107 xilinx_spartan3_slave_parallel_fns *fn = desc->iface_fns; in spartan3_sp_load() local 110 __FUNCTION__, fn); in spartan3_sp_load() 112 if (fn) { in spartan3_sp_load() 133 __FUNCTION__, &fn, fn, fn->pre, fn->pgm, fn->init, fn->err, in spartan3_sp_load() 134 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, fn->busy, in spartan3_sp_load() 135 fn->abort, fn->post); in spartan3_sp_load() 148 if (*fn->pre) { in spartan3_sp_load() 149 (*fn->pre) (cookie); in spartan3_sp_load() 153 (*fn->pgm) (true, true, cookie); /* Assert the program, commit */ in spartan3_sp_load() 157 (*fn->pgm) (false, true, cookie); /* Deassert the program, commit */ in spartan3_sp_load() [all …]
|
| H A D | spartan2.c | 103 xilinx_spartan2_slave_parallel_fns *fn = desc->iface_fns; in spartan2_sp_load() local 106 __FUNCTION__, fn); in spartan2_sp_load() 108 if (fn) { in spartan2_sp_load() 129 __FUNCTION__, &fn, fn, fn->pre, fn->pgm, fn->init, fn->err, in spartan2_sp_load() 130 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, fn->busy, in spartan2_sp_load() 131 fn->abort, fn->post); in spartan2_sp_load() 144 if (*fn->pre) { in spartan2_sp_load() 145 (*fn->pre) (cookie); in spartan2_sp_load() 149 (*fn->pgm) (true, true, cookie); /* Assert the program, commit */ in spartan2_sp_load() 153 (*fn->pgm) (false, true, cookie); /* Deassert the program, commit */ in spartan2_sp_load() [all …]
|
| H A D | virtex2.c | 161 xilinx_virtex2_slave_selectmap_fns *fn = desc->iface_fns; in virtex2_ssm_load() local 164 __FUNCTION__, __LINE__, fn); in virtex2_ssm_load() 166 if (fn) { in virtex2_ssm_load() 181 &fn, fn, fn->pre, fn->pgm, fn->init, fn->err); in virtex2_ssm_load() 190 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, in virtex2_ssm_load() 191 fn->busy, fn->abort, fn->post); in virtex2_ssm_load() 199 if (*fn->pre) { in virtex2_ssm_load() 200 (*fn->pre) (cookie); in virtex2_ssm_load() 209 (*fn->pgm) (true, true, cookie); in virtex2_ssm_load() 217 (*fn->abort) (cookie); in virtex2_ssm_load() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/rmi4/ |
| H A D | rmi_f03.c | 29 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 D | rmi_bus.c | 131 struct rmi_function *fn = to_rmi_function(dev); in rmi_release_function() local 133 kfree(fn); in rmi_release_function() 149 struct rmi_function *fn = to_rmi_function(dev); in rmi_function_match() local 151 return fn->fd.function_number == handler->func; in rmi_function_match() 155 static void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() argument 158 struct device_node *node = fn->rmi_dev->xport->dev->of_node; in rmi_function_of_probe() 161 fn->fd.function_number); in rmi_function_of_probe() 162 fn->dev.of_node = of_get_child_by_name(node, of_name); in rmi_function_of_probe() 165 static inline void rmi_function_of_probe(struct rmi_function *fn) in rmi_function_of_probe() argument 173 static int rmi_create_function_irq(struct rmi_function *fn, in rmi_create_function_irq() argument [all …]
|
| H A D | rmi_f34.c | 18 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 D | rmi_f3a.c | 38 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 D | rmi_f30.c | 84 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 …]
|
| H A D | rmi_f01.c | 254 const char *rmi_f01_get_product_ID(struct rmi_function *fn) in rmi_f01_get_product_ID() argument 256 struct f01_data *f01 = dev_get_drvdata(&fn->dev); in rmi_f01_get_product_ID() 382 static int rmi_f01_probe(struct rmi_function *fn) in rmi_f01_probe() argument 384 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f01_probe() 389 u16 ctrl_base_addr = fn->fd.control_base_addr; in rmi_f01_probe() 393 if (fn->dev.of_node) { in rmi_f01_probe() 394 error = rmi_f01_of_probe(&fn->dev, pdata); in rmi_f01_probe() 399 f01 = devm_kzalloc(&fn->dev, sizeof(struct f01_data), GFP_KERNEL); in rmi_f01_probe() 410 error = rmi_read(rmi_dev, fn->fd.control_base_addr, in rmi_f01_probe() 413 dev_err(&fn->dev, "Failed to read F01 control: %d\n", error); in rmi_f01_probe() [all …]
|
| /OK3568_Linux_fs/kernel/arch/um/include/shared/ |
| H A D | init.h | 71 #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 …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/controller/cadence/ |
| H A D | pcie-cadence-ep.c | 19 static int cdns_pcie_ep_write_header(struct pci_epc *epc, u8 fn, in cdns_pcie_ep_write_header() argument 25 cdns_pcie_ep_fn_writew(pcie, fn, PCI_DEVICE_ID, hdr->deviceid); in cdns_pcie_ep_write_header() 26 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_REVISION_ID, hdr->revid); in cdns_pcie_ep_write_header() 27 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_CLASS_PROG, hdr->progif_code); in cdns_pcie_ep_write_header() 28 cdns_pcie_ep_fn_writew(pcie, fn, PCI_CLASS_DEVICE, in cdns_pcie_ep_write_header() 30 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_CACHE_LINE_SIZE, in cdns_pcie_ep_write_header() 32 cdns_pcie_ep_fn_writew(pcie, fn, PCI_SUBSYSTEM_ID, hdr->subsys_id); in cdns_pcie_ep_write_header() 33 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_INTERRUPT_PIN, hdr->interrupt_pin); in cdns_pcie_ep_write_header() 39 if (fn == 0) { in cdns_pcie_ep_write_header() 50 static int cdns_pcie_ep_set_bar(struct pci_epc *epc, u8 fn, in cdns_pcie_ep_set_bar() argument [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | ip6_fib.c | 57 struct fib6_node *fn); 60 struct fib6_node *fn); 108 struct fib6_node *fn; in fib6_update_sernum() local 110 fn = rcu_dereference_protected(f6i->fib6_node, in fib6_update_sernum() 112 if (fn) in fib6_update_sernum() 113 WRITE_ONCE(fn->fn_sernum, fib6_new_sernum(net)); in fib6_update_sernum() 183 struct fib6_node *fn; in node_alloc() local 185 fn = kmem_cache_zalloc(fib6_node_kmem, GFP_ATOMIC); in node_alloc() 186 if (fn) in node_alloc() 189 return fn; in node_alloc() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | stop_machine.c | 93 * @fn: function to execute 94 * @arg: argument to @fn 96 * Execute @fn(@arg) on @cpu. @fn is run in a process context with 101 * This function doesn't guarantee @cpu stays online till @fn 103 * partially or fully on different cpus. @fn should either be ready 111 * -ENOENT if @fn(@arg) was not executed because @cpu was offline; 112 * otherwise, the return value of @fn. 114 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument 117 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done }; in stop_one_cpu() 146 cpu_stop_fn_t fn; member [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/variant/1.1.4/include/mapbox/ |
| H A D | variant_visitor.hpp | 10 template <typename Fn> 11 struct visitor<Fn> : Fn 13 using type = Fn; 14 using Fn::operator(); 16 visitor(Fn fn) : Fn(fn) {} in visitor() 19 template <typename Fn, typename... Fns> 20 struct visitor<Fn, Fns...> : Fn, visitor<Fns...> 23 using Fn::operator(); 26 visitor(Fn fn, Fns... fns) : Fn(fn), visitor<Fns...>(fns...) {} in visitor()
|