Searched refs:fn (Results 1 - 25 of 81) sorted by relevance

1234

/u-boot/drivers/fpga/
H A Dspartan2.c95 xilinx_spartan2_slave_parallel_fns *fn = desc->iface_fns; local
97 log_debug("start with interface functions @ 0x%p\n", fn);
99 if (fn) {
120 &fn, fn, fn->pre, fn->pgm, fn->init, fn->err,
121 fn
246 xilinx_spartan2_slave_parallel_fns *fn = desc->iface_fns; local
294 xilinx_spartan2_slave_serial_fns *fn = desc->iface_fns; local
[all...]
H A Dspartan3.c100 xilinx_spartan3_slave_parallel_fns *fn = desc->iface_fns; local
102 log_debug("start with interface functions @ 0x%p\n", fn);
104 if (fn) {
125 &fn, fn, fn->pre, fn->pgm, fn->init, fn->err,
126 fn
253 xilinx_spartan3_slave_parallel_fns *fn = desc->iface_fns; local
301 xilinx_spartan3_slave_serial_fns *fn = desc->iface_fns; local
[all...]
H A Dvirtex2.c139 static int virtex2_slave_pre(xilinx_virtex2_slave_fns *fn, int cookie) argument
143 log_debug("Start with interface functions @ 0x%p\n", fn);
145 if (!fn) {
159 &fn, fn, fn->pre, fn->pgm, fn->init, fn->err);
168 fn
226 virtex2_slave_post(xilinx_virtex2_slave_fns *fn, int cookie) argument
300 xilinx_virtex2_slave_fns *fn = desc->iface_fns; local
375 xilinx_virtex2_slave_fns *fn = desc->iface_fns; local
427 xilinx_virtex2_slave_fns *fn = desc->iface_fns; local
[all...]
H A DACEX1K.c89 Altera_ACEX1K_Passive_Serial_fns *fn = desc->iface_fns; local
92 log_debug("start with interface functions @ 0x%p\n", fn);
94 if (fn) {
108 &fn, fn, fn->config, fn->status,
109 fn->clk, fn->data, fn
[all...]
H A Dcyclon2.c94 Altera_CYC2_Passive_Serial_fns *fn = desc->iface_fns; local
97 log_debug("start with interface functions @ 0x%p\n", fn);
99 if (fn) {
110 &fn, fn, fn->config, fn->status,
111 fn->write, fn->done);
119 if (*fn
[all...]
H A Daltera.c51 static int altera_validate(Altera_desc *desc, const char *fn) argument
54 printf("%s: NULL descriptor!\n", fn);
60 printf("%s: Invalid family type, %d\n", fn, desc->family);
66 printf("%s: Invalid Interface type, %d\n", fn, desc->iface);
71 printf("%s: NULL part size\n", fn);
79 altera_desc_to_fpga(Altera_desc *desc, const char *fn) argument
83 if (altera_validate(desc, fn)) {
84 printf("%s: Invalid device descriptor\n", fn);
94 printf("%s: Unsupported family type, %d\n", fn, desc->family);
/u-boot/drivers/pinctrl/renesas/
H A Dsh_pfc.h331 * - fn: Function name, referring to a field in the IPSR
333 #define PINMUX_IPSR_NOGP(ipsr, fn) \
334 PINMUX_DATA(fn##_MARK, FN_##fn)
341 * - fn: Function name, also referring to the IPSR field
343 #define PINMUX_IPSR_GPSR(ipsr, fn) \
344 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr)
351 * - fn: Function name, also referring to the IPSR field
354 #define PINMUX_IPSR_NOGM(ipsr, fn, mse
[all...]
/u-boot/test/py/tests/
H A Dtest_spl.py12 fn = u_boot_console.config.source_dir + '/spi.bin'
13 if not os.path.exists(fn):
15 with open(fn, 'wb') as fh:
H A Dtest_dfu.py199 def run_dfu_util(alt_setting, fn, up_dn_load_arg):
205 fn: The host-side file name to transfer.
213 cmd = ['dfu-util', '-a', alt_setting, up_dn_load_arg, fn]
219 def dfu_write(alt_setting, fn):
225 fn: The host-side file name to transfer.
231 run_dfu_util(alt_setting, fn, '-D')
233 def dfu_read(alt_setting, fn):
239 fn: The host-side file name to transfer.
246 if os.path.exists(fn):
247 os.remove(fn)
[all...]
H A Dtest_zynq_secure.py24 'fn': 'zynq_aes_image.bin',
33 'fn': 'zynq_rsa_image.bin',
74 fn = f['fn']
75 output = u_boot_console.run_command('tftpboot %x %s' % (srcaddr, fn))
102 fn = f['fnbit']
103 output = u_boot_console.run_command('tftpboot %x %s' % (srcaddr, fn))
130 fn = f['fnpbit']
131 output = u_boot_console.run_command('tftpboot %x %s' % (srcaddr, fn))
156 fn
[all...]
H A Dtest_zynqmp_secure.py24 'fn': 'auth_bhdr_ppk1.bin',
51 fn = f['fn']
52 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
91 fn = f['enckupfn']
92 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
/u-boot/drivers/pci_endpoint/
H A Dsandbox-pci_ep.c40 static int sandbox_write_header(struct udevice *dev, uint fn, argument
45 if (fn > 0)
53 static int sandbox_read_header(struct udevice *dev, uint fn, argument
58 if (fn > 0)
66 static int sandbox_set_bar(struct udevice *dev, uint fn, argument
72 if (fn > 0)
82 static int sandbox_read_bar(struct udevice *dev, uint fn, argument
87 if (fn > 0)
95 static int sandbox_set_msi(struct udevice *dev, uint fn, uint interrupts) argument
99 if (fn >
107 sandbox_get_msi(struct udevice *dev, uint fn) argument
117 sandbox_set_msix(struct udevice *dev, uint fn, uint interrupts) argument
129 sandbox_get_msix(struct udevice *dev, uint fn) argument
139 sandbox_raise_irq(struct udevice *dev, uint fn, enum pci_ep_irq_type type, uint interrupt_num) argument
[all...]
H A Dpcie-cadence-ep.c18 static int cdns_write_header(struct udevice *dev, uint fn, argument
23 cdns_pcie_ep_fn_writew(pcie, fn, PCI_DEVICE_ID, hdr->deviceid);
24 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_REVISION_ID, hdr->revid);
25 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_CLASS_PROG,
27 cdns_pcie_ep_fn_writew(pcie, fn, PCI_CLASS_DEVICE,
30 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_CACHE_LINE_SIZE,
32 cdns_pcie_ep_fn_writew(pcie, fn, PCI_SUBSYSTEM_ID,
34 cdns_pcie_ep_fn_writeb(pcie, fn, PCI_INTERRUPT_PIN,
41 if (fn == 0) {
52 static int cdns_set_bar(struct udevice *dev, uint fn, struc argument
118 cdns_set_msi(struct udevice *dev, uint fn, uint mmc) argument
[all...]
H A Dpcie-cadence.h49 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG0(fn) \
50 (CDNS_PCIE_LM_BASE + 0x0240 + (fn) * 0x0008)
51 #define CDNS_PCIE_LM_EP_FUNC_BAR_CFG1(fn) \
52 (CDNS_PCIE_LM_BASE + 0x0244 + (fn) * 0x0008)
98 #define CDNS_PCIE_EP_FUNC_BASE(fn) (((fn) << 12) & GENMASK(19, 12))
182 #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR0(fn, bar) \
183 (CDNS_PCIE_AT_BASE + 0x0840 + (fn) * 0x0040 + (bar) * 0x0008)
184 #define CDNS_PCIE_AT_IB_EP_FUNC_BAR_ADDR1(fn, bar) \
185 (CDNS_PCIE_AT_BASE + 0x0844 + (fn) *
276 cdns_pcie_ep_fn_writeb(struct cdns_pcie *pcie, u8 fn, u32 reg, u8 value) argument
282 cdns_pcie_ep_fn_writew(struct cdns_pcie *pcie, u8 fn, u32 reg, u16 value) argument
288 cdns_pcie_ep_fn_writel(struct cdns_pcie *pcie, u8 fn, u32 reg, u32 value) argument
294 cdns_pcie_ep_fn_readb(struct cdns_pcie *pcie, u8 fn, u32 reg) argument
299 cdns_pcie_ep_fn_readw(struct cdns_pcie *pcie, u8 fn, u32 reg) argument
304 cdns_pcie_ep_fn_readl(struct cdns_pcie *pcie, u8 fn, u32 reg) argument
[all...]
/u-boot/include/
H A Dsh_pfc.h118 #define PORT_1(fn, pfx, sfx) fn(pfx, sfx)
120 #define PORT_10(fn, pfx, sfx) \
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, pf
[all...]
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-pcie.h135 * @param fn Device sub function
140 u8 cvmx_pcie_config_read8(int pcie_port, int bus, int dev, int fn, int reg);
148 * @param fn Device sub function
153 u16 cvmx_pcie_config_read16(int pcie_port, int bus, int dev, int fn, int reg);
161 * @param fn Device sub function
166 u32 cvmx_pcie_config_read32(int pcie_port, int bus, int dev, int fn, int reg);
174 * @param fn Device sub function
178 void cvmx_pcie_config_write8(int pcie_port, int bus, int dev, int fn, int reg, u8 val);
186 * @param fn Device sub function
190 void cvmx_pcie_config_write16(int pcie_port, int bus, int dev, int fn, in
[all...]
/u-boot/doc/
H A Dconf.py408 for fn in os.listdir('.'):
409 doc = os.path.join(fn, "index")
417 latex_documents.append((doc, fn + '.tex',
418 'U-Boot %s Documentation' % fn.capitalize(),
/u-boot/test/py/
H A Du_boot_utils.py33 def md5sum_file(fn, max_length=None):
37 fn: The filename of the file to hash.
46 with open(fn, 'rb') as fh:
58 def __init__(self, u_boot_console, fn, size):
70 fn: The filename (without path) to create.
77 self.fn = fn
79 self.abs_fn = u_boot_console.config.persistent_data_dir + '/' + fn
93 def attempt_to_open_file(fn):
102 fn
[all...]
/u-boot/arch/arm/mach-keystone/
H A Dcmd_mon.c72 void (*fn)(void);
74 fn = core_spin;
83 rcode = mon_power_on(core_id, fn);
/u-boot/scripts/dtc/
H A Ddtc-lexer.l77 struct data fn;
92 fn = data_copy_escape_string(fnstart + 1,
96 if (memchr(fn.val, '\0', fn.len - 1))
100 srcpos_set_line(xstrdup(fn.val), atoi(line) - 1);
101 data_free(fn);
/u-boot/scripts/kconfig/
H A Dlkc_proto.h12 void conf_set_changed_callback(void (*fn)(void));
13 void conf_set_message_callback(void (*fn)(const char *s));
66 void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int prevtoken);
/u-boot/fs/yaffs2/
H A Dyaffs_uboot_glue.c45 void yaffs_bug_fn(const char *fn, int n) argument
47 printf("yaffs bug at %s:%d\n", fn, n);
313 void read_a_file(char *fn) argument
319 h = yaffs_open(fn, O_RDWR, 0);
359 void cmd_yaffs_read_file(char *fn) argument
361 read_a_file(fn);
365 void cmd_yaffs_mread_file(char *fn, char *addr) argument
370 yaffs_stat(fn, &s);
372 printf("Copy %s to 0x%p... ", fn, addr);
373 h = yaffs_open(fn, O_RDW
386 cmd_yaffs_mwrite_file(char *fn, char *addr, int size) argument
[all...]
/u-boot/drivers/pinctrl/meson/
H A Dpinctrl-meson.h106 #define FUNCTION(fn) \
108 .name = #fn, \
109 .groups = fn ## _groups, \
110 .num_groups = ARRAY_SIZE(fn ## _groups), \
/u-boot/test/fs/
H 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
/u-boot/doc/sphinx/
H A Dload_config.py40 fn = l[0][len(dir) + 1:]
41 new_latex_docs.append((fn, l[1], l[2], l[3], l[4]))

Completed in 176 milliseconds

1234