Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 25 of 387) sorted by relevance

12345678910>>...16

/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/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 …]
H A DACEX1K.c92 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 Dcyclon2.c98 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 …]
H A Daltera.c50 static int altera_validate(Altera_desc *desc, const char *fn) in altera_validate() argument
53 printf("%s: NULL descriptor!\n", fn); in altera_validate()
59 printf("%s: Invalid family type, %d\n", fn, desc->family); in altera_validate()
65 printf("%s: Invalid Interface type, %d\n", fn, desc->iface); in altera_validate()
70 printf("%s: NULL part size\n", fn); in altera_validate()
78 altera_desc_to_fpga(Altera_desc *desc, const char *fn) in altera_desc_to_fpga() argument
82 if (altera_validate(desc, fn)) { in altera_desc_to_fpga()
83 printf("%s: Invalid device descriptor\n", fn); in altera_desc_to_fpga()
93 printf("%s: Unsupported family type, %d\n", fn, desc->family); in altera_desc_to_fpga()
/openbmc/u-boot/drivers/pinctrl/renesas/
H A Dsh_pfc.h297 #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/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 …]
H A Dconvert-srcuri.py21 def processfile(fn): argument
26 print("processing file '%s'" % fn)
28 if "distro_alias.inc" in fn or "linux-yocto-custom.bb" in fn:
33 with open(fn, "r") as old_file:
51 shutil.copymode(fn, abs_path)
52 os.remove(fn)
53 shutil.move(abs_path, fn)
70 fn = os.path.join(root, name) variable
71 if os.path.islink(fn):
73 …if "/.git/" in fn or fn.endswith(".html") or fn.endswith(".patch") or fn.endswith(".m4") or fn.end…
[all …]
H A Dconvert-spdx-licenses.py99 def processfile(fn): argument
100 print("processing file '%s'" % fn)
105 with open(fn, "r") as old_file:
119 shutil.copymode(fn, abs_path)
120 os.remove(fn)
121 shutil.move(abs_path, fn)
138 fn = os.path.join(root, name) variable
139 if os.path.islink(fn):
141 …if "/.git/" in fn or fn.endswith(".html") or fn.endswith(".patch") or fn.endswith(".m4") or fn.end…
143 processfile(fn)
H A Dconvert-overrides.py103 def processfile(fn): argument
104 print("processing file '%s'" % fn)
108 with open(fn, "r") as old_file:
130 shutil.copymode(fn, abs_path)
131 os.remove(fn)
132 shutil.move(abs_path, fn)
148 fn = os.path.join(root, name) variable
149 if os.path.islink(fn):
151 if "/.git/" in fn or any(fn.endswith(ext) for ext in skip_ext):
153 processfile(fn)
H A Dlist-packageconfig-flags.py52 for fn in get_fnlist(bbhandler, pkg_pn, preferred):
53 data = bbhandler.parse_recipe_file(fn)
57 data_dict[fn] = data
65 for fn in data_dict:
66 pkgconfigflags = data_dict[fn].getVarFlags("PACKAGECONFIG")
68 pkgname = data_dict[fn].getVar("PN")
115 for fn in data_dict:
116 print('%s' % data_dict[fn].getVar("P"))
117 print(fn)
118 packageconfig = data_dict[fn].getVar("PACKAGECONFIG") or ''
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dtaskdata.py67 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 …]
H A Dcache_extra.py55 def add_cacheData(self, cachedata, fn): argument
56 cachedata.summary[fn] = self.summary
57 cachedata.license[fn] = self.license
58 cachedata.section[fn] = self.section
59 cachedata.description[fn] = self.description
60 cachedata.homepage[fn] = self.homepage
61 cachedata.bugtracker[fn] = self.bugtracker
62 cachedata.prevision[fn] = self.prevision
63 cachedata.files_info[fn] = self.files_info
H A Dcache.py172 def add_cacheData(self, cachedata, fn): argument
173 cachedata.task_deps[fn] = self.task_deps
174 cachedata.pkg_fn[fn] = self.pn
175 cachedata.pkg_pn[self.pn].append(fn)
176 cachedata.pkg_pepvpr[fn] = (self.pe, self.pv, self.pr)
177 cachedata.pkg_dp[fn] = self.defaultpref
178 cachedata.stamp[fn] = self.stamp
179 cachedata.stampclean[fn] = self.stampclean
180 cachedata.stamp_extrainfo[fn] = self.stamp_extrainfo
181 cachedata.file_checksums[fn] = self.file_checksums
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/parse/parse_py/
H A DConfHandler.py56 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 …]
H A DBBHandler.py41 def supports(fn, d): argument
43 return os.path.splitext(fn)[-1] in [".bb", ".bbclass", ".inc"]
45 def inherit(files, fn, lineno, d, deferred=False): argument
71 raise ParseError("Could not inherit file %s" % (file), fn, lineno)
74 logger.debug("Inheriting %s (from %s:%d)" % (file, fn, lineno))
80 raise ParseError("Could not inherit file %s: %s" % (fn, exc.strerror), fn, lineno)
113 def handle(fn, d, include, baseconfig=False): argument
120 base_name = os.path.basename(fn)
127 if not fn in __inherit_cache:
128 __inherit_cache.append(fn)
[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() {
50 @@ -47,6 +47,7 @@ fn frob() {
55 fn test_rw_arc_poison_wr() {
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/parse/
H A D__init__.py107 def supports(fn, data): argument
110 if h['supports'](fn, data):
114 def handle(fn, data, include=0, baseconfig=False): argument
117 if h['supports'](fn, data):
118 with data.inchistory.include(fn):
119 return h['handle'](fn, data, include, baseconfig)
120 raise ParseError("not a BitBake file", fn)
122 def init(fn, data): argument
124 if h['supports'](fn):
132 def resolve_file(fn, d): argument
[all …]
/openbmc/u-boot/include/
H A Dsh_pfc.h118 #define PORT_1(fn, pfx, sfx) fn(pfx, sfx) argument
120 #define PORT_10(fn, pfx, sfx) \ argument
121 PORT_1(fn, pfx##0, sfx), PORT_1(fn, pfx##1, sfx), \
122 PORT_1(fn, pfx##2, sfx), PORT_1(fn, pfx##3, sfx), \
123 PORT_1(fn, pfx##4, sfx), PORT_1(fn, pfx##5, sfx), \
124 PORT_1(fn, pfx##6, sfx), PORT_1(fn, pfx##7, sfx), \
125 PORT_1(fn, pfx##8, sfx), PORT_1(fn, pfx##9, sfx)
127 #define PORT_90(fn, pfx, sfx) \ argument
128 PORT_10(fn, pfx##1, sfx), PORT_10(fn, pfx##2, sfx), \
129 PORT_10(fn, pfx##3, sfx), PORT_10(fn, pfx##4, sfx), \
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dlinux-kernel-base.bbclass11 fn = p + '/include/linux/utsrelease.h'
12 if not os.path.isfile(fn):
14 fn = p + '/include/generated/utsrelease.h'
15 if not os.path.isfile(fn):
16 fn = p + '/include/linux/version.h'
19 f = open(fn, 'r')
34 fn = p + '/kernel-abiversion'
37 with open(fn, 'r') as f:
43 fn = p + '/kernel-localversion'
46 with open(fn, 'r') as f:
/openbmc/u-boot/test/py/tests/
H A Dtest_ut.py11 fn = u_boot_console.config.source_dir + '/testflash.bin'
12 if not os.path.exists(fn):
15 with open(fn, 'wb') as fh:
18 fn = u_boot_console.config.source_dir + '/spi.bin'
19 if not os.path.exists(fn):
21 with open(fn, 'wb') as fh:
/openbmc/u-boot/test/py/
H A Du_boot_utils.py29 def md5sum_file(fn, max_length=None): argument
42 with open(fn, 'rb') as fh:
54 def __init__(self, u_boot_console, fn, size): argument
73 self.fn = fn
75 self.abs_fn = u_boot_console.config.persistent_data_dir + '/' + fn
89 def attempt_to_open_file(fn): argument
106 return open(fn, 'rb')
110 def wait_until_open_succeeds(fn): argument
124 fh = attempt_to_open_file(fn)
130 def wait_until_file_open_fails(fn, ignore_errors): argument
[all …]
/openbmc/smbios-mdr/include/
H A Dspeed_select.hpp179 #define SSTProviderRegistration(fn) \ argument
180 struct fn##Register \
182 fn##Register() \
184 std::cerr << "Registering SST Provider " #fn << std::endl; \
185 registerBackend(fn); \
187 } fn##Instance;

12345678910>>...16