Home
last modified time | relevance | path

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

123

/rk3399_rockchip-uboot/arch/arm/mach-rmobile/
H A Dpfc-r8a7790.h15 #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 …]
H A Dpfc-r8a7795.c14 #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_PORT1(fn, pfx, sfx) \ argument
20 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
21 PORT_10(fn, pfx##2, sfx)
23 #define CPU_32_PORT2(fn, pfx, sfx) \ argument
24 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
25 PORT_10(fn, pfx##2, sfx)
[all …]
H A Dpfc-r8a7796.c14 #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_PORT1(fn, pfx, sfx) \ argument
20 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
21 PORT_10(fn, pfx##2, sfx)
23 #define CPU_32_PORT2(fn, pfx, sfx) \ argument
24 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
25 PORT_10(fn, pfx##2, sfx)
[all …]
H A Dpfc-r8a7794.c14 #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_26_PORT(fn, pfx, sfx) \ argument
20 PORT_10(fn, pfx, sfx), PORT_10(fn, pfx##1, sfx), \
21 PORT_1(fn, pfx##20, sfx), PORT_1(fn, pfx##21, sfx), \
22 PORT_1(fn, pfx##22, sfx), PORT_1(fn, pfx##23, sfx), \
23 PORT_1(fn, pfx##24, sfx), PORT_1(fn, pfx##25, sfx)
25 #define CPU_28_PORT(fn, pfx, sfx) \ argument
[all …]
/rk3399_rockchip-uboot/drivers/fpga/
H A Dspartan3.c107 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 Dspartan2.c103 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 Dvirtex2.c161 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 …]
H A DACEX1K.c93 Altera_ACEX1K_Passive_Serial_fns *fn = desc->iface_fns; in ACEX1K_ps_load() local
97 __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()
127 (*fn->config) (true, true, cookie); /* Assert nCONFIG */ in ACEX1K_ps_load()
132 (*fn->done) (cookie); in ACEX1K_ps_load()
133 if ( !(*fn->status) (cookie) ) { in ACEX1K_ps_load()
[all …]
H A Dcyclon2.c99 Altera_CYC2_Passive_Serial_fns *fn = desc->iface_fns; in CYC2_ps_load() local
103 __FUNCTION__, fn); in CYC2_ps_load()
105 if (fn) { in CYC2_ps_load()
116 __FUNCTION__, &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()
130 (*fn->config) (false, true, cookie); /* De-assert nCONFIG */ in CYC2_ps_load()
132 (*fn->config) (true, true, cookie); /* Assert nCONFIG */ in CYC2_ps_load()
142 (*fn->abort) (cookie); in CYC2_ps_load()
[all …]
H A Daltera.c48 static int altera_validate(Altera_desc *desc, const char *fn) in altera_validate() argument
51 printf("%s: NULL descriptor!\n", fn); in altera_validate()
57 printf("%s: Invalid family type, %d\n", fn, desc->family); in altera_validate()
63 printf("%s: Invalid Interface type, %d\n", fn, desc->iface); in altera_validate()
68 printf("%s: NULL part size\n", fn); in altera_validate()
76 altera_desc_to_fpga(Altera_desc *desc, const char *fn) in altera_desc_to_fpga() argument
80 if (altera_validate(desc, fn)) { in altera_desc_to_fpga()
81 printf("%s: Invalid device descriptor\n", fn); in altera_desc_to_fpga()
91 printf("%s: Unsupported family type, %d\n", fn, desc->family); in altera_desc_to_fpga()
H A Dxilinx.c23 static int xilinx_validate(xilinx_desc *desc, char *fn);
259 static int xilinx_validate(xilinx_desc *desc, char *fn) in xilinx_validate() argument
271 printf ("%s: NULL part size\n", fn); in xilinx_validate()
274 fn, desc->iface); in xilinx_validate()
276 printf ("%s: Invalid family type, %d\n", fn, desc->family); in xilinx_validate()
278 printf ("%s: NULL descriptor!\n", fn); in xilinx_validate()
H A Dfpga.c27 static void fpga_no_sup(char *fn, char *msg) in fpga_no_sup() argument
29 if (fn && msg) in fpga_no_sup()
30 printf("%s: No support for %s.\n", fn, msg); in fpga_no_sup()
59 size_t bsize, char *fn) in fpga_validate() argument
64 printf("%s: Invalid device number %d\n", fn, devnum); in fpga_validate()
67 printf("%s: Null buffer.\n", fn); in fpga_validate()
/rk3399_rockchip-uboot/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 …]
/rk3399_rockchip-uboot/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 …]
/rk3399_rockchip-uboot/test/py/tests/
H A Dtest_ut.py12 fn = u_boot_console.config.source_dir + '/testflash.bin'
13 if not os.path.exists(fn):
16 with open(fn, 'wb') as fh:
19 fn = u_boot_console.config.source_dir + '/spi.bin'
20 if not os.path.exists(fn):
22 with open(fn, 'wb') as fh:
H 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')
H A Dtest_net.py152 fn = f['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))
/rk3399_rockchip-uboot/arch/nds32/include/asm/
H A Dsetup.h160 #define __tagtable(tag, fn) \ argument
161 static struct tagtable __tagtable_##fn __tag = { tag, fn }
182 void (*fn)(char **p); member
185 #define __early_param(name, fn) \ argument
186 static struct early_params __early_##fn __used \
187 __attribute__((__section__("__early_param"))) = { name, fn }
/rk3399_rockchip-uboot/fs/yaffs2/
H A Dyaffs_uboot_glue.c42 void yaffs_bug_fn(const char *fn, int n) in yaffs_bug_fn() argument
44 printf("yaffs bug at %s:%d\n", fn, n); in yaffs_bug_fn()
310 void read_a_file(char *fn) in read_a_file() argument
316 h = yaffs_open(fn, O_RDWR, 0); in read_a_file()
356 void cmd_yaffs_read_file(char *fn) in cmd_yaffs_read_file() argument
358 read_a_file(fn); in cmd_yaffs_read_file()
362 void cmd_yaffs_mread_file(char *fn, char *addr) in cmd_yaffs_mread_file() argument
367 yaffs_stat(fn, &s); in cmd_yaffs_mread_file()
369 printf("Copy %s to 0x%p... ", fn, addr); in cmd_yaffs_mread_file()
370 h = yaffs_open(fn, O_RDWR, 0); in cmd_yaffs_mread_file()
[all …]
/rk3399_rockchip-uboot/drivers/remoteproc/
H A Drproc-uclass.c30 static int for_each_remoteproc_device(int (*fn) (struct udevice *dev, in for_each_remoteproc_device()
45 ret = fn(dev, uc_pdata, data); in for_each_remoteproc_device()
337 int (*fn)(struct udevice *dev); in _rproc_ops_wrapper() local
358 fn = ops->start; in _rproc_ops_wrapper()
363 fn = ops->stop; in _rproc_ops_wrapper()
367 fn = ops->reset; in _rproc_ops_wrapper()
371 fn = ops->is_running; in _rproc_ops_wrapper()
375 fn = ops->ping; in _rproc_ops_wrapper()
384 if (fn) in _rproc_ops_wrapper()
385 return fn(dev); in _rproc_ops_wrapper()
/rk3399_rockchip-uboot/lib/
H A Dof_live.c99 char *fn; in unflatten_dt_node() local
101 fn = (char *)np + sizeof(*np); in unflatten_dt_node()
102 np->full_name = fn; in unflatten_dt_node()
106 strcpy(fn, dad->full_name); in unflatten_dt_node()
108 if ((strlen(fn) + l + 1) != allocl) { in unflatten_dt_node()
110 pathp, (int)strlen(fn), l, in unflatten_dt_node()
114 fn += strlen(fn); in unflatten_dt_node()
116 *(fn++) = '/'; in unflatten_dt_node()
118 memcpy(fn, pathp, l); in unflatten_dt_node()
/rk3399_rockchip-uboot/drivers/pinctrl/meson/
H A Dpinctrl-meson.h110 #define FUNCTION(fn) \ argument
112 .name = #fn, \
113 .groups = fn ## _groups, \
114 .num_groups = ARRAY_SIZE(fn ## _groups), \
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dexpr.c1073 void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int … in expr_print()
1076 fn(data, NULL, "y"); in expr_print()
1081 fn(data, NULL, "("); in expr_print()
1085 fn(data, e->left.sym, e->left.sym->name); in expr_print()
1087 fn(data, NULL, "<choice>"); in expr_print()
1090 fn(data, NULL, "!"); in expr_print()
1091 expr_print(e->left.expr, fn, data, E_NOT); in expr_print()
1095 fn(data, e->left.sym, e->left.sym->name); in expr_print()
1097 fn(data, NULL, "<choice>"); in expr_print()
1098 fn(data, NULL, "="); in expr_print()
[all …]
/rk3399_rockchip-uboot/arch/arm/mach-keystone/
H A Dcmd_mon.c73 void (*fn)(void); in do_mon_power() local
75 fn = core_spin; in do_mon_power()
84 rcode = mon_power_on(core_id, fn); in do_mon_power()
/rk3399_rockchip-uboot/test/fs/
H A Dfat-noncontig-test.sh98 fn=${mnt}/keep-${sects}.img
99 dd if=${fill} of=${fn} bs=512 count=${sects} >/dev/null 2>&1
100 fn=${mnt}/remove-${sects}.img
101 dd if=${fill} of=${fn} bs=512 count=${sects} >/dev/null 2>&1

123