/openbmc/u-boot/arch/arm/mach-rmobile/ |
H A D | pfc-r8a7790.h | 14 #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/pinctrl/renesas/ |
H A D | sh_pfc.h | 360 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument 361 PINMUX_DATA(fn##_MARK, FN_##fn) 370 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument 371 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr) 381 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument 382 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel) 392 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument 393 PINMUX_DATA(fn##_MARK, FN_##gpsr, FN_##gsel) 404 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument 405 PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr) [all …]
|
/openbmc/u-boot/drivers/pinctrl/renesas/ |
H A D | sh_pfc.h | 297 #define PINMUX_IPSR_NOGP(ipsr, fn) \ argument 298 PINMUX_DATA(fn##_MARK, FN_##fn) 307 #define PINMUX_IPSR_GPSR(ipsr, fn) \ argument 308 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr) 318 #define PINMUX_IPSR_NOGM(ipsr, fn, msel) \ argument 319 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel) 329 #define PINMUX_IPSR_NOFN(gpsr, fn, gsel) \ argument 330 PINMUX_DATA(fn##_MARK, FN_##gpsr, FN_##gsel) 341 #define PINMUX_IPSR_MSEL(ipsr, fn, msel) \ argument 342 PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr) [all …]
|
/openbmc/u-boot/drivers/fpga/ |
H A D | spartan3.c | 106 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 D | spartan2.c | 102 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 D | virtex2.c | 160 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 …]
|
H A D | ACEX1K.c | 92 Altera_ACEX1K_Passive_Serial_fns *fn = desc->iface_fns; in ACEX1K_ps_load() local 96 __FUNCTION__, fn); in ACEX1K_ps_load() 98 if (fn) { in ACEX1K_ps_load() 112 __FUNCTION__, &fn, fn, fn->config, fn->status, in ACEX1K_ps_load() 113 fn->clk, fn->data, fn->done); in ACEX1K_ps_load() 121 if (*fn->pre) { in ACEX1K_ps_load() 122 (*fn->pre) (cookie); in ACEX1K_ps_load() 126 (*fn->config) (true, true, cookie); /* Assert nCONFIG */ in ACEX1K_ps_load() 131 (*fn->done) (cookie); in ACEX1K_ps_load() 132 if ( !(*fn->status) (cookie) ) { in ACEX1K_ps_load() [all …]
|
H A D | cyclon2.c | 98 Altera_CYC2_Passive_Serial_fns *fn = desc->iface_fns; in CYC2_ps_load() local 102 __FUNCTION__, fn); in CYC2_ps_load() 104 if (fn) { in CYC2_ps_load() 115 __FUNCTION__, &fn, fn, fn->config, fn->status, in CYC2_ps_load() 116 fn->write, fn->done); in CYC2_ps_load() 124 if (*fn->pre) { in CYC2_ps_load() 125 (*fn->pre) (cookie); in CYC2_ps_load() 129 (*fn->config) (false, true, cookie); /* De-assert nCONFIG */ in CYC2_ps_load() 131 (*fn->config) (true, true, cookie); /* Assert nCONFIG */ in CYC2_ps_load() 141 (*fn->abort) (cookie); in CYC2_ps_load() [all …]
|
/openbmc/linux/include/linux/ |
H A D | init.h | 146 extern int do_one_initcall(initcall_t 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) 261 #define ____define_initcall(fn, __stub, __name, __sec) \ argument [all …]
|
H A D | stop_machine.h | 26 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/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 …]
|
/openbmc/linux/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 …]
|
/openbmc/linux/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 …]
|
/openbmc/linux/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 | 132 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 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_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_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 | 256 const char *rmi_f01_get_product_ID(struct rmi_function *fn) in rmi_f01_get_product_ID() argument 258 struct f01_data *f01 = dev_get_drvdata(&fn->dev); in rmi_f01_get_product_ID() 384 static int rmi_f01_probe(struct rmi_function *fn) in rmi_f01_probe() argument 386 struct rmi_device *rmi_dev = fn->rmi_dev; in rmi_f01_probe() 391 u16 ctrl_base_addr = fn->fd.control_base_addr; in rmi_f01_probe() 395 if (fn->dev.of_node) { in rmi_f01_probe() 396 error = rmi_f01_of_probe(&fn->dev, pdata); in rmi_f01_probe() 401 f01 = devm_kzalloc(&fn->dev, sizeof(struct f01_data), GFP_KERNEL); in rmi_f01_probe() 412 error = rmi_read(rmi_dev, fn->fd.control_base_addr, in rmi_f01_probe() 415 dev_err(&fn->dev, "Failed to read F01 control: %d\n", error); in rmi_f01_probe() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | machdep.h | 243 #define __define_machine_initcall(mach, fn, id) \ argument 244 static int __init __machine_initcall_##mach##_##fn(void) { \ 245 if (machine_is(mach)) return fn(); \ 248 __define_initcall(__machine_initcall_##mach##_##fn, id); 250 #define machine_early_initcall(mach, fn) __define_machine_initcall(mach, fn, early) argument 251 #define machine_core_initcall(mach, fn) __define_machine_initcall(mach, fn, 1) argument 252 #define machine_core_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 1s) argument 253 #define machine_postcore_initcall(mach, fn) __define_machine_initcall(mach, fn, 2) argument 254 #define machine_postcore_initcall_sync(mach, fn) __define_machine_initcall(mach, fn, 2s) argument 255 #define machine_arch_initcall(mach, fn) __define_machine_initcall(mach, fn, 3) argument [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | taskdata.py | 67 def add_tasks(self, fn, dataCache): argument 72 task_deps = dataCache.task_deps[fn] 74 if fn in self.failed_fns: 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… 107 tid = "%s:%s" % (fn, task) 116 parentid = "%s:%s" % (fn, dep) [all …]
|
/openbmc/linux/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-ep.c | 19 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/scripts/contrib/ |
H A D | convert-variable-renames.py | 61 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 …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/ |
H A D | rust-oe-selftest.patch | 11 @@ -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/openbmc/poky/bitbake/lib/bb/parse/parse_py/ |
H A D | ConfHandler.py | 56 def supports(fn, d): argument 57 return fn[-5:] == ".conf" 69 for fn in fns.split(): 70 include_single_file(parentfn, fn, lineno, data, error_out) 72 def include_single_file(parentfn, fn, lineno, data, error_out): argument 76 if parentfn == fn: # prevent infinite recursion 79 if not os.path.isabs(fn): 82 abs_fn, attempts = bb.utils.which(bbpath, fn, history=True) 88 fn = abs_fn 89 elif bb.parse.check_dependency(data, fn): [all …]
|