/u-boot/arch/arm/mach-rmobile/ |
A D | pfc-r8a7790.h | 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), \ 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 D | spartan3.c | 104 if (fn) { in spartan3_sp_load() 125 &fn, fn, fn->pre, fn->pgm, fn->init, fn->err, in spartan3_sp_load() 126 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, fn->busy, in spartan3_sp_load() 127 fn->abort, fn->post); in spartan3_sp_load() 160 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in spartan3_sp_load() 255 if (fn) { in spartan3_sp_dump() 307 if (fn) { in spartan3_ss_load() 321 &fn, fn, fn->pgm, fn->init, in spartan3_ss_load() 322 fn->clk, fn->wr, fn->done); in spartan3_ss_load() 366 if(*fn->bwr) in spartan3_ss_load() [all …]
|
A D | spartan2.c | 99 if (fn) { in spartan2_sp_load() 120 &fn, fn, fn->pre, fn->pgm, fn->init, fn->err, in spartan2_sp_load() 121 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, fn->busy, in spartan2_sp_load() 122 fn->abort, fn->post); in spartan2_sp_load() 155 } while ((*fn->init) (cookie) && (*fn->busy) (cookie)); in spartan2_sp_load() 226 if (*fn->post) in spartan2_sp_load() 248 if (fn) { in spartan2_sp_dump() 300 if (fn) { in spartan2_ss_load() 314 &fn, fn, fn->pgm, fn->init, in spartan2_ss_load() 315 fn->clk, fn->wr, fn->done); in spartan2_ss_load() [all …]
|
A D | virtex2.c | 145 if (!fn) { in virtex2_slave_pre() 159 &fn, fn, fn->pre, fn->pgm, fn->init, fn->err); in virtex2_slave_pre() 168 fn->clk, fn->cs, fn->wr, fn->rdata, fn->wdata, in virtex2_slave_pre() 169 fn->busy, fn->abort, fn->post); in virtex2_slave_pre() 200 if (fn->clk) in virtex2_slave_pre() 215 } while ((*fn->init)(cookie) && (*fn->busy)(cookie)); in virtex2_slave_pre() 217 if (fn->wr) in virtex2_slave_pre() 219 if (fn->cs) in virtex2_slave_pre() 237 if (fn->cs) in virtex2_slave_post() 239 if (fn->wr) in virtex2_slave_post() [all …]
|
A D | ACEX1K.c | 94 if (fn) { in ACEX1K_ps_load() 108 &fn, fn, fn->config, fn->status, in ACEX1K_ps_load() 109 fn->clk, fn->data, fn->done); in ACEX1K_ps_load() 117 if (*fn->pre) { in ACEX1K_ps_load() 118 (*fn->pre) (cookie); in ACEX1K_ps_load() 127 (*fn->done) (cookie); in ACEX1K_ps_load() 130 (*fn->abort) (cookie); in ACEX1K_ps_load() 146 (*fn->done) (cookie); in ACEX1K_ps_load() 164 if ((*fn->done) (cookie) == 0 && (*fn->init) (cookie)) { in ACEX1K_ps_load() 204 (*fn->abort) (cookie); in ACEX1K_ps_load() [all …]
|
A D | cyclon2.c | 99 if (fn) { in CYC2_ps_load() 110 &fn, fn, fn->config, fn->status, in CYC2_ps_load() 111 fn->write, fn->done); in CYC2_ps_load() 119 if (*fn->pre) in CYC2_ps_load() 120 (*fn->pre) (cookie); in CYC2_ps_load() 136 (*fn->abort) (cookie); in CYC2_ps_load() 147 (*fn->abort) (cookie); in CYC2_ps_load() 164 if (!(*fn->done) (cookie)) { in CYC2_ps_load() 166 (*fn->abort) (cookie); in CYC2_ps_load() 185 if (*fn->post) in CYC2_ps_load() [all …]
|
A D | altera.c | 51 static int altera_validate(Altera_desc *desc, const char *fn) in altera_validate() argument 54 printf("%s: NULL descriptor!\n", fn); in altera_validate() 60 printf("%s: Invalid family type, %d\n", fn, desc->family); in altera_validate() 66 printf("%s: Invalid Interface type, %d\n", fn, desc->iface); in altera_validate() 71 printf("%s: NULL part size\n", fn); in altera_validate() 79 altera_desc_to_fpga(Altera_desc *desc, const char *fn) in altera_desc_to_fpga() argument 83 if (altera_validate(desc, fn)) { in altera_desc_to_fpga() 84 printf("%s: Invalid device descriptor\n", fn); in altera_desc_to_fpga() 94 printf("%s: Unsupported family type, %d\n", fn, desc->family); in altera_desc_to_fpga()
|
A D | xilinx.c | 23 static int xilinx_validate(xilinx_desc *desc, char *fn); 296 static int xilinx_validate(xilinx_desc *desc, char *fn) in xilinx_validate() argument 308 printf ("%s: NULL part size\n", fn); in xilinx_validate() 311 fn, desc->iface); in xilinx_validate() 313 printf ("%s: Invalid family type, %d\n", fn, desc->family); in xilinx_validate() 315 printf ("%s: NULL descriptor!\n", fn); in xilinx_validate()
|
A D | lattice.c | 260 static int lattice_validate(Lattice_desc *desc, const char *fn) in lattice_validate() argument 272 printf("%s: NULL part size\n", fn); in lattice_validate() 276 fn, desc->iface); in lattice_validate() 280 fn, desc->family); in lattice_validate() 283 printf("%s: NULL descriptor!\n", fn); in lattice_validate()
|
/u-boot/drivers/pinctrl/renesas/ |
A D | sh_pfc.h | 340 PINMUX_DATA(fn##_MARK, FN_##fn) 350 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##ipsr) 361 PINMUX_DATA(fn##_MARK, FN_##fn, FN_##msel) 384 PINMUX_DATA(fn##_MARK, FN_##msel, FN_##fn, FN_##ipsr) 414 PINMUX_DATA(fn##_MARK, FN_##fn) 572 PORT_GP_1(bank, 31, fn, sfx), PORT_GP_1(bank, 30, fn, sfx), \ 587 PORT_GP_1(bank, 1, fn, sfx), PORT_GP_1(bank, 0, fn, sfx) 628 #define PORT_1(pn, fn, pfx, sfx) fn(pn, pfx, sfx) argument 635 PORT_1(pn+8, fn, pfx##8, sfx), PORT_1(pn+9, fn, pfx##9, sfx) 703 #define PIN_NOGP_CFG(pin, name, fn, cfg) fn(pin, name, cfg) argument [all …]
|
/u-boot/drivers/pci_endpoint/ |
A D | sandbox-pci_ep.c | 45 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 D | pcie-cadence-ep.c | 18 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 D | pcie-cadence.h | 50 #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 D | sh_pfc.h | 118 #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/ |
A D | u_boot_utils.py | 33 def md5sum_file(fn, max_length=None): argument 46 with open(fn, 'rb') as fh: 58 def __init__(self, u_boot_console, fn, size): argument 77 self.fn = fn 79 self.abs_fn = u_boot_console.config.persistent_data_dir + '/' + fn 93 def attempt_to_open_file(fn): argument 110 return open(fn, 'rb') 114 def wait_until_open_succeeds(fn): argument 128 fh = attempt_to_open_file(fn) 134 def wait_until_file_open_fails(fn, ignore_errors): argument [all …]
|
/u-boot/test/py/tests/ |
A D | test_dfu.py | 199 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 D | test_ut.py | 289 fn = u_boot_console.config.source_dir + '/testflash.bin' 290 if not os.path.exists(fn): 293 with open(fn, 'wb') as fh: 296 fn = u_boot_console.config.source_dir + '/spi.bin' 297 if not os.path.exists(fn): 299 with open(fn, 'wb') as fh: 303 fn = u_boot_console.config.source_dir + '/scsi.img' 304 if not os.path.exists(fn): 306 with open(fn, 'wb') as fh:
|
A D | test_net.py | 203 fn = f['fn'] 205 output = u_boot_console.run_command('tftpboot %s' % (fn)) 207 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn)) 246 fn = f['fn'] 247 output = u_boot_console.run_command('nfs %x %s' % (addr, fn))
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
A D | cvmx-pcie.h | 140 u8 cvmx_pcie_config_read8(int pcie_port, int bus, int dev, int fn, int reg); 153 u16 cvmx_pcie_config_read16(int pcie_port, int bus, int dev, int fn, int reg); 166 u32 cvmx_pcie_config_read32(int pcie_port, int bus, int dev, int fn, int reg); 178 void cvmx_pcie_config_write8(int pcie_port, int bus, int dev, int fn, int reg, u8 val); 190 void cvmx_pcie_config_write16(int pcie_port, int bus, int dev, int fn, int reg, u16 val); 202 void cvmx_pcie_config_write32(int pcie_port, int bus, int dev, int fn, int reg, u32 val);
|
/u-boot/fs/yaffs2/ |
A D | yaffs_uboot_glue.c | 44 void yaffs_bug_fn(const char *fn, int n) in yaffs_bug_fn() argument 46 printf("yaffs bug at %s:%d\n", fn, n); in yaffs_bug_fn() 312 void read_a_file(char *fn) in read_a_file() argument 318 h = yaffs_open(fn, O_RDWR, 0); in read_a_file() 358 void cmd_yaffs_read_file(char *fn) in cmd_yaffs_read_file() argument 360 read_a_file(fn); in cmd_yaffs_read_file() 364 void cmd_yaffs_mread_file(char *fn, char *addr) in cmd_yaffs_mread_file() argument 369 yaffs_stat(fn, &s); in cmd_yaffs_mread_file() 371 printf("Copy %s to 0x%p... ", fn, addr); in cmd_yaffs_mread_file() 372 h = yaffs_open(fn, O_RDWR, 0); in cmd_yaffs_mread_file() [all …]
|
/u-boot/lib/ |
A D | of_live.c | 97 char *fn; in unflatten_dt_node() local 99 fn = (char *)np + sizeof(*np); in unflatten_dt_node() 104 np->full_name = fn; in unflatten_dt_node() 108 strcpy(fn, dad->full_name); in unflatten_dt_node() 110 if ((strlen(fn) + l + 1) != allocl) { in unflatten_dt_node() 112 pathp, (int)strlen(fn), l, in unflatten_dt_node() 116 fn += strlen(fn); in unflatten_dt_node() 118 *(fn++) = '/'; in unflatten_dt_node() 120 memcpy(fn, pathp, l); in unflatten_dt_node()
|
/u-boot/scripts/kconfig/ |
A D | expr.c | 1145 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 D | conf.py | 408 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/arch/arm/mach-keystone/ |
A D | cmd_mon.c | 72 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 D | fat-noncontig-test.sh | 97 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
|