Home
last modified time | relevance | path

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

123

/u-boot/arch/arm/mach-rmobile/
A Dpfc-r8a7790.h15 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
16 PORT_10(fn, pfx##2, sfx), PORT_1(fn, pfx##30, sfx), \
20 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
25 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
38 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
39 PORT_1(fn, pfx##20, sfx), PORT_1(fn, pfx##21, sfx), \
40 PORT_1(fn, pfx##22, sfx), PORT_1(fn, pfx##23, sfx), \
41 PORT_1(fn, pfx##24, sfx), PORT_1(fn, pfx##25, sfx)
65 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
73 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
[all …]
/u-boot/drivers/fpga/
A Dspartan3.c111 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()
167 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in spartan3_sp_load()
262 if (fn) { in spartan3_sp_dump()
315 if (fn) { in spartan3_ss_load()
329 __FUNCTION__, &fn, fn, fn->pgm, fn->init, in spartan3_ss_load()
330 fn->clk, fn->wr, fn->done); in spartan3_ss_load()
374 if(*fn->bwr) in spartan3_ss_load()
[all …]
A Dspartan2.c107 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()
163 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in spartan2_sp_load()
234 if (*fn->post) in spartan2_sp_load()
256 if (fn) { in spartan2_sp_dump()
309 if (fn) { in spartan2_ss_load()
323 __FUNCTION__, &fn, fn, fn->pgm, fn->init, in spartan2_ss_load()
324 fn->clk, fn->wr, fn->done); in spartan2_ss_load()
[all …]
A Dvirtex2.c167 if (!fn) { in virtex2_slave_pre()
182 &fn, fn, fn->pre, fn->pgm, fn->init, fn->err); in virtex2_slave_pre()
191 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, in virtex2_slave_pre()
192 fn->busy, fn->abort, fn->post); in virtex2_slave_pre()
223 if (fn->clk) in virtex2_slave_pre()
238 } while ((*fn->init)(cookie) && (*fn->busy)(cookie)); in virtex2_slave_pre()
240 if (fn->wr) in virtex2_slave_pre()
242 if (fn->cs) in virtex2_slave_pre()
260 if (fn->cs) in virtex2_slave_post()
262 if (fn->wr) in virtex2_slave_post()
[all …]
A DACEX1K.c97 __FUNCTION__, fn); in ACEX1K_ps_load()
99 if (fn) { in ACEX1K_ps_load()
113 __FUNCTION__, &fn, fn, fn->config, fn->status, in ACEX1K_ps_load()
114 fn->clk, fn->data, fn->done); in ACEX1K_ps_load()
122 if (*fn->pre) { in ACEX1K_ps_load()
123 (*fn->pre) (cookie); in ACEX1K_ps_load()
132 (*fn->done) (cookie); in ACEX1K_ps_load()
151 (*fn->done) (cookie); in ACEX1K_ps_load()
169 if ((*fn->done) (cookie) == 0 && (*fn->init) (cookie)) { in ACEX1K_ps_load()
209 (*fn->abort) (cookie); in ACEX1K_ps_load()
[all …]
A Dcyclon2.c103 __func__, fn); in CYC2_ps_load()
105 if (fn) { in CYC2_ps_load()
116 __func__, &fn, fn, fn->config, fn->status, in CYC2_ps_load()
117 fn->write, fn->done); in CYC2_ps_load()
125 if (*fn->pre) in CYC2_ps_load()
126 (*fn->pre) (cookie); in CYC2_ps_load()
142 (*fn->abort) (cookie); in CYC2_ps_load()
153 (*fn->abort) (cookie); in CYC2_ps_load()
172 (*fn->abort) (cookie); in CYC2_ps_load()
191 if (*fn->post) in CYC2_ps_load()
[all …]
A Daltera.c52 static int altera_validate(Altera_desc *desc, const char *fn) in altera_validate() argument
55 printf("%s: NULL descriptor!\n", fn); in altera_validate()
61 printf("%s: Invalid family type, %d\n", fn, desc->family); in altera_validate()
67 printf("%s: Invalid Interface type, %d\n", fn, desc->iface); in altera_validate()
72 printf("%s: NULL part size\n", fn); in altera_validate()
80 altera_desc_to_fpga(Altera_desc *desc, const char *fn) in altera_desc_to_fpga() argument
84 if (altera_validate(desc, fn)) { in altera_desc_to_fpga()
85 printf("%s: Invalid device descriptor\n", fn); in altera_desc_to_fpga()
95 printf("%s: Unsupported family type, %d\n", fn, desc->family); in altera_desc_to_fpga()
A Dfpga.c29 static void fpga_no_sup(char *fn, char *msg) in fpga_no_sup() argument
31 if (fn && msg) in fpga_no_sup()
32 printf("%s: No support for %s.\n", fn, msg); in fpga_no_sup()
61 size_t bsize, char *fn) in fpga_validate() argument
66 printf("%s: Invalid device number %d\n", fn, devnum); in fpga_validate()
69 printf("%s: Null buffer.\n", fn); in fpga_validate()
/u-boot/drivers/pinctrl/renesas/
A Dsh_pfc.h334 PINMUX_DATA(fn##_MARK, FN_##fn)
344 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr)
355 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel)
378 PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr)
408 PINMUX_DATA(fn##_MARK, FN_##fn)
542 PORT_GP_1(bank, 31, fn, sfx), PORT_GP_1(bank, 30, fn, sfx), \
543 PORT_GP_1(bank, 29, fn, sfx), PORT_GP_1(bank, 28, fn, sfx), \
544 PORT_GP_1(bank, 27, fn, sfx), PORT_GP_1(bank, 26, fn, sfx), \
557 PORT_GP_1(bank, 1, fn, sfx), PORT_GP_1(bank, 0, fn, sfx)
581 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument
[all …]
/u-boot/drivers/pci_endpoint/
A Dsandbox-pci_ep.c45 if (fn > 0) in sandbox_write_header()
58 if (fn > 0) in sandbox_read_header()
66 static int sandbox_set_bar(struct udevice *dev, uint fn, in sandbox_set_bar() argument
72 if (fn > 0) in sandbox_set_bar()
87 if (fn > 0) in sandbox_read_bar()
99 if (fn > 0) in sandbox_set_msi()
107 static int sandbox_get_msi(struct udevice *dev, uint fn) in sandbox_get_msi() argument
111 if (fn > 0) in sandbox_get_msi()
121 if (fn > 0) in sandbox_set_msix()
133 if (fn > 0) in sandbox_get_msix()
[all …]
A Dpcie-cadence-ep.c18 static int cdns_write_header(struct udevice *dev, uint fn, in cdns_write_header() argument
23 cdns_pcie_ep_fn_writew(pcie, fn, PCI_DEVICE_ID, hdr->deviceid); in cdns_write_header()
24 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_REVISION_ID, hdr->revid); in cdns_write_header()
25 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_CLASS_PROG, in cdns_write_header()
27 cdns_pcie_ep_fn_writew(pcie, fn, PCI_CLASS_DEVICE, in cdns_write_header()
30 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_CACHE_LINE_SIZE, in cdns_write_header()
32 cdns_pcie_ep_fn_writew(pcie, fn, PCI_SUBSYSTEM_ID, in cdns_write_header()
34 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_INTERRUPT_PIN, in cdns_write_header()
41 if (fn == 0) { in cdns_write_header()
101 reg = CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn); in cdns_set_bar()
[all …]
A Dpcie-cadence.h50 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn) \ argument
51 (CDNS_PCIE_LM_BASE + 0x0240 + (fn) * 0x0008)
52 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn) \ argument
53 (CDNS_PCIE_LM_BASE + 0x0244 + (fn) * 0x0008)
99 #define CDNS_PCIE_EP_FUNC_BASE(fn) (((fn) << 12) & GENMASK(19, 12)) argument
183 #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar) \ argument
184 (CDNS_PCIE_AT_BASE + 0x0840 + (fn) * 0x0040 + (bar) * 0x0008)
185 #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar) \ argument
186 (CDNS_PCIE_AT_BASE + 0x0844 + (fn) * 0x0040 + (bar) * 0x0008)
297 return readb(pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg); in cdns_pcie_ep_fn_readb()
[all …]
/u-boot/include/
A Dsh_pfc.h118 #define PORT_1(fn, pfx, sfx) 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)
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), \
130 PORT_10(fn, pfx##5, sfx), PORT_10(fn, pfx##6, sfx), \
131 PORT_10(fn, pfx##7, sfx), PORT_10(fn, pfx##8, sfx), \
[all …]
/u-boot/test/py/tests/
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:
A Dtest_dfu.py199 def run_dfu_util(alt_setting, fn, up_dn_load_arg): argument
213 cmd = ['dfu-util', '-a', alt_setting, up_dn_load_arg, fn]
219 def dfu_write(alt_setting, fn): argument
231 run_dfu_util(alt_setting, fn, '-D')
233 def dfu_read(alt_setting, fn): argument
246 if os.path.exists(fn):
247 os.remove(fn)
248 run_dfu_util(alt_setting, fn, '-U')
A Dtest_net.py149 fn = f['fn']
151 output = u_boot_console.run_command('tftpboot %s' % (fn))
153 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
192 fn = f['fn']
193 output = u_boot_console.run_command('nfs %x %s' % (addr, fn))
/u-boot/test/py/
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 …]
/u-boot/arch/nds32/include/asm/
A Dsetup.h159 #define __tagtable(tag, fn) \ argument
160 static struct tagtable __tagtable_##fn __tag = { tag, fn }
181 void (*fn)(char **p); member
184 #define __early_param(name, fn) \ argument
185 static struct early_params __early_##fn __used \
186 __attribute__((__section__("__early_param"))) = { name, fn }
/u-boot/lib/
A Dof_live.c97 char *fn; in unflatten_dt_node() local
99 fn = (char *)np + sizeof(*np); in unflatten_dt_node()
100 np->full_name = fn; in unflatten_dt_node()
104 strcpy(fn, dad->full_name); in unflatten_dt_node()
106 if ((strlen(fn) + l + 1) != allocl) { in unflatten_dt_node()
108 pathp, (int)strlen(fn), l, in unflatten_dt_node()
112 fn += strlen(fn); in unflatten_dt_node()
114 *(fn++) = '/'; in unflatten_dt_node()
116 memcpy(fn, pathp, l); in unflatten_dt_node()
/u-boot/fs/yaffs2/
A Dyaffs_uboot_glue.c43 void yaffs_bug_fn(const char *fn, int n) in yaffs_bug_fn() argument
45 printf("yaffs bug at %s:%d\n", fn, n); in yaffs_bug_fn()
311 void read_a_file(char *fn) in read_a_file() argument
317 h = yaffs_open(fn, O_RDWR, 0); in read_a_file()
357 void cmd_yaffs_read_file(char *fn) in cmd_yaffs_read_file() argument
359 read_a_file(fn); in cmd_yaffs_read_file()
363 void cmd_yaffs_mread_file(char *fn, char *addr) in cmd_yaffs_mread_file() argument
368 yaffs_stat(fn, &s); in cmd_yaffs_mread_file()
370 printf("Copy %s to 0x%p... ", fn, addr); in cmd_yaffs_mread_file()
371 h = yaffs_open(fn, O_RDWR, 0); in cmd_yaffs_mread_file()
[all …]
/u-boot/drivers/remoteproc/
A Drproc-uclass.c32 static int for_each_remoteproc_device(int (*fn) (struct udevice *dev, in for_each_remoteproc_device()
47 ret = fn(dev, uc_pdata, data); in for_each_remoteproc_device()
357 int (*fn)(struct udevice *dev); in _rproc_ops_wrapper() local
378 fn = ops->start; in _rproc_ops_wrapper()
383 fn = ops->stop; in _rproc_ops_wrapper()
387 fn = ops->reset; in _rproc_ops_wrapper()
391 fn = ops->is_running; in _rproc_ops_wrapper()
395 fn = ops->ping; in _rproc_ops_wrapper()
404 if (fn) in _rproc_ops_wrapper()
405 return fn(dev); in _rproc_ops_wrapper()
/u-boot/scripts/kconfig/
A Dexpr.c1145 fn(data, NULL, "y"); in expr_print()
1150 fn(data, NULL, "("); in expr_print()
1159 fn(data, NULL, "!"); in expr_print()
1167 fn(data, NULL, "="); in expr_print()
1193 fn(data, NULL, "!="); in expr_print()
1214 fn(data, NULL, "["); in expr_print()
1216 fn(data, NULL, " "); in expr_print()
1218 fn(data, NULL, "]"); in expr_print()
1224 fn(data, NULL, buf); in expr_print()
1229 fn(data, NULL, ")"); in expr_print()
[all …]
/u-boot/doc/
A Dconf.py478 for fn in os.listdir('.'):
479 doc = os.path.join(fn, "index")
487 latex_documents.append((doc, fn + '.tex',
488 'U-Boot %s Documentation' % fn.capitalize(),
/u-boot/arch/arm/mach-keystone/
A Dcmd_mon.c72 void (*fn)(void); in do_mon_power() local
74 fn = core_spin; in do_mon_power()
83 rcode = mon_power_on(core_id, fn); in do_mon_power()
/u-boot/test/fs/
A Dfat-noncontig-test.sh97 fn=${mnt}/keep-${sects}.img
98 dd if=${fill} of=${fn} bs=512 count=${sects} >/dev/null 2>&1
99 fn=${mnt}/remove-${sects}.img
100 dd if=${fill} of=${fn} bs=512 count=${sects} >/dev/null 2>&1

Completed in 54 milliseconds

123