/u-boot/tools/ |
H A D | key2dtsi.py | 46 out.write('/ {\n') 47 out.write('\tsignature {\n') 48 out.write('\t\tkey-{} {{\n'.format(key_name)) 49 out.write('\t\t\tkey-name-hint = "{}";\n'.format(key_name)) 50 out.write('\t\t\talgo = "{},rsa{}";\n'.format(args.hash, key.size_in_bits())) 51 out.write('\t\t\trsa,num-bits = <{}>;\n'.format(key.size_in_bits())) 52 out.write('\t\t\trsa,modulus = [{}];\n'.format(int_to_bytestr(key.n))) 53 out.write('\t\t\trsa,exponent = [{}];\n'.format(int_to_bytestr(key.e, 8))) 54 out.write('\t\t\trsa,r-squared = [{}];\n'.format(int_to_bytestr(r_squared))) 55 out.write('\ [all...] |
/u-boot/test/dm/ |
H A D | mmc.c | 33 char write[4 * 512], read[4 * 512]; local 40 for (i = 0; i < sizeof(write); i++) 41 write[i] = i; 42 ut_asserteq(4, blk_dwrite(dev_desc, 0, 4, write)); 44 ut_asserteq_mem(write, read, sizeof(write)); 47 memset(&write[512], '\0', 2 * 512); 50 ut_asserteq_mem(write, read, sizeof(write));
|
H A D | rkmtd.c | 28 char write[RW_BUF_SIZE], read[RW_BUF_SIZE]; local 62 memset(write, '\0', BLK_SIZE); 64 for (i = BLK_SIZE; i < sizeof(write); i++) 65 write[i] = i; 67 sec0 = (struct sector0 *)write; 75 rkmtd_rc4(write, 512); 78 ut_asserteq(12, blk_dwrite(desc, 64, 12, write)); 80 ut_asserteq_mem(write, read, RW_BUF_SIZE);
|
/u-boot/test/py/ |
H A D | multiplexed_log.py | 19 """A file-like object used to write a single logical stream of data into 52 def write(self, data, implicit=False): member in class:LogfileStream 56 data: The data to write to the file. 67 self.logfile.write(self, data, implicit) 70 self.chained_file.write((data.encode('ascii', 'replace')).decode()) 137 self.chained_file.write(msg) 138 self.logfile.write(self, msg) 174 self.logfile.write(self, output) 176 self.chained_file.write(output) 222 fn: The filename to write t 671 def write(self, stream, data, implicit=False): function [all...] |
/u-boot/test/py/tests/test_semihosting/ |
H A D | conftest.py | 19 file.write('Das U-Boot\n')
|
/u-boot/board/synopsys/hsdk/ |
H A D | headerize-hsdk.py | 84 # write header to file 86 file.write(arc_id.to_bytes(2, byteorder='little')) 87 file.write(uboot_img_size.to_bytes(4, byteorder='little')) 88 file.write(check_sum.to_bytes(1, byteorder='little')) 89 file.write(image_copy_adr.to_bytes(4, byteorder='little')) 90 file.write(magic1.to_bytes(5, byteorder='big')) 91 file.write(jump_address.to_bytes(4, byteorder='little')) 92 for i in range(12): file.write(0xFF.to_bytes(1, byteorder='little')) 93 for byte in magic2: file.write(byte.to_bytes(36, byteorder='big')) 95 file.write( [all...] |
/u-boot/test/py/tests/test_efi_bootmgr/ |
H A D | conftest.py | 27 file.write("initrd 1") 30 file.write("initrd 2")
|
/u-boot/test/py/tests/test_eficonfig/ |
H A D | conftest.py | 29 file.write("initrd 1") 32 file.write("initrd 2")
|
/u-boot/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 104 # write header to file 106 file.write(arc_id.to_bytes(2, byteorder='little')) 107 file.write(uboot_img_size.to_bytes(4, byteorder='little')) 108 file.write(check_sum.to_bytes(1, byteorder='little')) 109 file.write(image_copy_adr.to_bytes(4, byteorder='little')) 110 file.write(magic1.to_bytes(5, byteorder='big')) 111 for i in range(16): file.write(0x00.to_bytes(1, byteorder='little')) 112 for byte in magic2: file.write(byte.to_bytes(36, byteorder='big')) 114 file.write(0x00.to_bytes(1, byteorder='little')) 116 file.write(jump_addres [all...] |
/u-boot/include/spmi/ |
H A D | spmi.h | 11 * @write: write register 'reg' of slave 'usid' and peripheral 'pid' 13 * Each register is 8-bit, both read and write can return negative values 18 int (*write)(struct udevice *dev, int usid, int pid, int reg, member in struct:dm_spmi_ops 34 * spmi_reg_write() - write a register of specific slave/peripheral 36 * @dev: SPMI bus to write 39 * @reg: Register to write 40 * @value: Value to write
|
/u-boot/scripts/ |
H A D | spdxcheck.py | 201 sys.stdout.write('%s: %d:%d %s: %s\n' %(fname, self.curline, col, pe.txt, tok)) 203 sys.stdout.write('%s: %d:0 %s\n' %(fname, self.curline, col, pe.txt)) 235 sys.stderr.write('stdin input "-" must be the only path argument\n') 251 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt)) 253 sys.stderr.write('%s\n' %se.txt) 257 sys.stderr.write('FAIL: %s\n' %ex) 258 sys.stderr.write('%s\n' %traceback.format_exc()) 273 sys.stderr.write('path %s does not exist\n' %p) 280 sys.stderr.write('\n') 281 sys.stderr.write('Licens [all...] |
/u-boot/arch/arm/cpu/arm11/ |
H A D | sctlr.S | 23 mcr p15, 0, r0, c1, c0, 0 @ write system control register
|
/u-boot/arch/arm/cpu/armv7/ |
H A D | sctlr.S | 20 mcr p15, 0, r0, c1, c0, 0 @ write system control register
|
/u-boot/drivers/axi/ |
H A D | axi-uclass.c | 29 if (!ops->write) 32 return ops->write(dev, address, data, size);
|
H A D | axi_sandbox.c | 18 * read/write storage. 56 if (!ops || !ops->write) 59 return ops->write(emul, address, data, size); 69 .write = axi_sandbox_write,
|
/u-boot/drivers/spmi/ |
H A D | spmi-uclass.c | 31 if (!ops || !ops->write) 34 return ops->write(dev, usid, pid, reg, value);
|
/u-boot/include/ |
H A D | axi.h | 39 * write() - Write a single value to a specified address on a AXI bus 40 * @dev: AXI bus to write to. 41 * @address: The address to write to. 44 * @size: The size of the data to write. 48 int (*write)(struct udevice *dev, ulong address, void *data, member in struct:axi_ops 60 * @size: The size of the data to write. 69 * @dev: AXI bus to write to. 70 * @address: The address to write to. 73 * @size: The size of the data to write. 95 * write() 104 int (*write)(struct udevice *dev, ulong address, void *data, member in struct:axi_emul_ops [all...] |
/u-boot/test/py/tests/ |
H A D | test_spl.py | 16 fh.write(data)
|
/u-boot/drivers/power/ |
H A D | power_spi.c | 19 static u32 pmic_reg(struct pmic *p, u32 reg, u32 *val, u32 write) argument 38 pmic_tx = p->hw.spi.prepare_tx(reg, val, write); 46 if (write) {
|
/u-boot/drivers/pci/ |
H A D | pci_compat.c | 28 PCI_HOSE_OP(write, byte, 8, u8) 29 PCI_HOSE_OP(write, word, 16, u16) 30 PCI_HOSE_OP(write, dword, 32, u32)
|
/u-boot/lib/ |
H A D | semihosting.c | 85 * struct smg_rdwr_s - Arguments for read and write 88 * @len: The number of bytes to read or write 116 struct smh_rdwr_s write; local 120 write.fd = fd; 121 write.memp = (void *)memp; 122 write.len = len; 124 ret = smh_trap(SYSWRITE, &write);
|
/u-boot/drivers/misc/ |
H A D | rockchip-io-domain.c | 45 int (*write)(struct regmap *grf, uint offset, int idx, int uV); member in struct:rockchip_iodomain_soc_data 145 .write = rk3328_iodomain_write, 156 .write = rockchip_iodomain_write, 173 .write = rk3399_pmu_iodomain_write, 189 .write = rk3568_iodomain_write, 262 ret = soc_data->write(grf, soc_data->grf_offset, i, uV); 264 dev_err(dev, "%s: Couldn't write to GRF\n", supply_name);
|
/u-boot/tools/u_boot_pylib/ |
H A D | tout.py | 51 _stdout.write('\r%s\r' % (" " * len (_progress))) 67 _stdout.write('\r' + _color.build(col, _progress)) 71 _stdout.write(_progress + '\n')
|
/u-boot/test/py/tests/test_xxd/ |
H A D | conftest.py | 25 file.write('hello world\n\x00\x01\x02\x03\x04\x05')
|
/u-boot/test/py/tests/test_cat/ |
H A D | conftest.py | 25 file.write('hello world\n')
|