/openbmc/u-boot/board/synopsys/axs10x/ |
H A D | headerize-axs.py | 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_address.to_bytes(4, byteorder='little')) 121 fo.write(fi.read()) [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 004.out | 4 write before image boundary 8 write into image boundary 9 write failed: Input/output error 11 write at image boundary 12 write failed: Input/output error 14 write past image boundary 15 write failed: Input/output error 18 write failed: Input/output error
|
H A D | 171.out | 6 write to image 19 write before image boundary 23 write across image boundary 26 write at image boundary 29 write after image boundary 55 write zeroes and check 98 write to image 118 write at image boundary 147 write zeroes and check 194 write to image [all …]
|
H A D | 157.out | 8 Testing: cache='writeback' wce=',write-cache=auto' 10 Testing: cache='writeback' wce=',write-cache=on' 12 Testing: cache='writeback' wce=',write-cache=off' 16 Testing: cache='writethrough' wce=',write-cache=auto' 18 Testing: cache='writethrough' wce=',write-cache=on' 20 Testing: cache='writethrough' wce=',write-cache=off'
|
H A D | 257.out | 11 write -P0x49 0x0000000 0x10000 13 write -P0x6c 0x0100000 0x10000 15 write -P0x6f 0x2000000 0x10000 17 write -P0x76 0x3ff0000 0x10000 44 write -P0x65 0x0000000 0x10000 46 write -P0x77 0x00f8000 0x10000 48 write -P0x72 0x2008000 0x10000 50 write -P0x69 0x3fe0000 0x10000 99 write -P0x74 0x0010000 0x10000 101 write -P0x69 0x00e8000 0x10000 [all …]
|
H A D | 047 | 51 write -P 0x66 0 320k 52 write 320k 128k 53 write -P 0x55 1M 128k 54 write -P 0x88 448k 128k 58 write -P 0x77 0 480k
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | image-fleecing.out | 33 write -P0xab 0 64k 35 write -P0xad 0x00f8000 64k 37 write -P0x1d 0x2008000 64k 39 write -P0xea 0x3fe0000 64k 103 write -P0xab 0 64k 105 write -P0xad 0x00f8000 64k 107 write -P0x1d 0x2008000 64k 109 write -P0xea 0x3fe0000 64k 174 write -P0xab 0 64k 252 write -P0xab 0 64k [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_write_unittest.cpp | 36 static_cast<std::uint16_t>(blobs::OpenFlags::write) | in TEST_F() 42 EXPECT_CALL(*imageMock, write(0, Eq(bytes))).WillOnce(Return(true)); in TEST_F() 43 EXPECT_TRUE(handler->write(0, 0, bytes)); in TEST_F() 54 static_cast<std::uint16_t>(blobs::OpenFlags::write) | in TEST_F() 67 EXPECT_CALL(*imageMock, write(0, Eq(bytes))).WillOnce(Return(true)); in TEST_F() 68 EXPECT_TRUE(handler->write(0, 0, ipmiRequest)); in TEST_F() 80 static_cast<std::uint16_t>(blobs::OpenFlags::write) | in TEST_F() 93 EXPECT_FALSE(handler->write(0, 0, ipmiRequest)); in TEST_F()
|
/openbmc/linux/net/core/ |
H A D | sysctl_net_core.c | 102 if (write) { in rps_default_mask_sysctl() 145 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl() 147 if (write) { in rps_sock_flow_sysctl() 206 if (write) { in flow_limit_cpu_sysctl() 263 if (!ret && write && !is_power_of_2(*ptr)) { in flow_limit_table_len_sysctl() 286 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in set_default_qdisc() 287 if (write && ret == 0) in set_default_qdisc() 301 if (!ret && write) { in proc_do_dev_weight() 333 if (write && !capable(CAP_SYS_ADMIN)) in proc_dointvec_minmax_bpf_enable() 338 if (write && !ret) { in proc_dointvec_minmax_bpf_enable() [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | grub-efi-cfg.bbclass | 62 cfgfile.write('# Automatically created by OE\n') 67 cfgfile.write('%s\n' % opt) 69 cfgfile.write('default=%s\n' % (labels.split()[0])) 73 cfgfile.write('timeout=%s\n' % timeout) 75 cfgfile.write('timeout=50\n') 102 cfgfile.write('linux /%s LABEL=%s' % (kernel, lb)) 111 cfgfile.write(' %s' % (append)) 113 cfgfile.write(' %s' % btype[1]) 114 cfgfile.write('\n') 117 cfgfile.write('initrd /initrd') [all …]
|
/openbmc/openbmc-tools/dbus-vis/ |
H A D | ipmi_capture.js | 213 g_child.stdin.write( 222 g_child.stdin.write('\x03 '); 228 g_child.stdin.write( 236 g_child.stdin.write( 249 g_child.stdin.write('\n'); 300 g_child.stdin.write( 341 g_child.stdin.write( 406 g_rz.stdin.write(data); 431 g_child.stdin.write( 459 g_child.stdin.write( [all …]
|
/openbmc/linux/samples/user_events/ |
H A D | example.c | 21 static int event_reg(int fd, const char *command, int *write, int *enabled) in event_reg() argument 34 *write = reg.write_index; in event_reg() 41 int data_fd, write; in main() local 47 if (event_reg(data_fd, "test u32 count", &write, &enabled) == -1) in main() 51 io[0].iov_base = &write; in main() 52 io[0].iov_len = sizeof(write); in main()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | vp.c | 26 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage() 33 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage() 50 if (!voltdm->read || !voltdm->write) { in omap_vp_init() 79 voltdm->write(val, vp->vpconfig); in omap_vp_init() 84 voltdm->write(val, vp->vstepmin); in omap_vp_init() 89 voltdm->write(val, vp->vstepmax); in omap_vp_init() 95 voltdm->write(val, vp->vlimitto); in omap_vp_init() 185 voltdm->write(vpconfig, vp->vpconfig); in omap_vp_forceupdate_scale() 208 if (!voltdm->read || !voltdm->write) { in omap_vp_enable() 229 voltdm->write(vpconfig, vp->vpconfig); in omap_vp_enable() [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | mxs_spi.c | 126 char *data, int length, int write, unsigned long flags) in mxs_spi_xfer_pio() argument 145 if (write) in mxs_spi_xfer_pio() 158 if (write) in mxs_spi_xfer_pio() 163 if (!write) { in mxs_spi_xfer_pio() 213 if (!write) in mxs_spi_xfer_dma() 222 if (write) in mxs_spi_xfer_dma() 241 if (write) in mxs_spi_xfer_dma() 299 if (!write) in mxs_spi_xfer_dma() 312 int write = 0; in spi_xfer() local 333 write = 1; in spi_xfer() [all …]
|
/openbmc/qemu/crypto/ |
H A D | hash-nettle.c | 49 qcrypto_nettle_write write; member 55 .write = (qcrypto_nettle_write)md5_update, 61 .write = (qcrypto_nettle_write)sha1_update, 67 .write = (qcrypto_nettle_write)sha224_update, 73 .write = (qcrypto_nettle_write)sha256_update, 79 .write = (qcrypto_nettle_write)sha384_update, 85 .write = (qcrypto_nettle_write)sha512_update, 91 .write = (qcrypto_nettle_write)ripemd160_update, 137 qcrypto_hash_alg_map[alg].write(&ctx, len, base); in qcrypto_nettle_hash_bytesv()
|
/openbmc/linux/Documentation/networking/device_drivers/atm/ |
H A D | cxacru-cf.py | 39 sys.stdout.write("\n") 40 sys.stderr.write("Error: read {0} not 4 bytes\n".format(len(buf))) 44 sys.stdout.write(" ") 45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0])) 48 sys.stdout.write("\n")
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | perf_asm.S | 1385 sync ; RDR 0 write sequence 1394 sync ; RDR 1 write sequence 1403 sync ; RDR 2 write sequence 1412 sync ; RDR 3 write sequence 1421 sync ; RDR 4 write sequence 1430 sync ; RDR 5 write sequence 1439 sync ; RDR 6 write sequence 1448 sync ; RDR 7 write sequence 1457 sync ; RDR 8 write sequence 1466 sync ; RDR 9 write sequence [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | configfs-spear-pcie-gadget | 24 inta write 1 to assert INTA and 0 to de-assert. 25 send_msi write MSI vector to be sent. 26 vendor_id used to write and read vendor id (hex) 27 device_id used to write and read device id (hex) 28 bar0_size used to write and read bar0_size 29 bar0_address used to write and read bar0 mapped area in hex. 30 bar0_rw_offset used to write and read offset of bar0 where bar0_data 32 bar0_data used to write and read data at bar0_rw_offset.
|
/openbmc/openbmc/meta-phosphor/classes/ |
H A D | license_static.bbclass | 22 f.write("<!DOCTYPE html>") 23 f.write("<html>") 24 f.write("<body>") 25 f.write("<p>") 29 f.write("</p>") 30 f.write("</body>") 31 f.write("</html>") 43 f.write("<br>".join(full_list))
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | func-write.rst | 4 .. _func-write: 7 V4L2 write() 13 v4l2-write - Write to a V4L2 device 22 .. c:function:: ssize_t write( int fd, void *buf, size_t count ) 39 :c:func:`write()` writes up to ``count`` bytes to the device 42 enables them. When ``count`` is zero, :c:func:`write()` returns 0 55 variable is set appropriately. In this case the next write will start at 61 available to write the data immediately. 67 The driver does not support multiple write streams and the device is 80 The :c:func:`write()` function is not supported by this driver,
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | prservice.py | 84 f.write("#PR_core_ver = \"%s\"\n\n" % metainfo['core_ver']); 85 f.write("#Table: %s\n" % metainfo['tbl_name']) 86 f.write("#Columns:\n") 87 f.write("#name \t type \t notn \t dflt \t pk\n") 88 f.write("#----------\t --------\t --------\t --------\t ----\n") 90 f.write("#%10s\t %8s\t %8s\t %8s\t %4s\n" % 96 f.write("\n") 99 f.write("PRSERV_LOCKDOWN = \"1\"\n\n") 110 f.write("PRAUTO$%s$%s$%s = \"%s\"\n" % 114 …f.write("PRAUTO_%s_%s = \"%s\"\n" % (str(datainfo[idx[i]]['version']),str(datainfo[idx[i]]['pkgarc…
|
/openbmc/linux/drivers/mtd/spi-nor/ |
H A D | Kconfig | 28 prompt "Software write protection at boot" 34 This option disables the software write protection on any SPI 40 Don't use this if you intent to use the software write protection 47 power-up or a reset the flash is software write protected by 50 This option disables the software write protection for these kind 52 which have non-volatile write protection bits. 54 If the software write protection will be disabled depending on 61 bool "Keep software write protection as is" 63 If you select this option the software write protection of any 64 SPI flashes will not be changed. If your flash is software write [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.sata | 5 * Read/write raw blocks from/to SATA hard disk 17 1.1 How to raw write the kernel, file system, dtb to a SATA hard disk? 22 write kernel 24 => sata write 40000 0 2000 26 write ramdisk 28 => sata write 40000 2000 8000 30 write dtb 32 => sata write 40000 a000 1000
|
/openbmc/qemu/tests/tcg/cris/bare/ |
H A D | sys.c | 22 size_t write(int fd, const void *buf, size_t count) in write() function 51 write(1, s, sizeof(s) - 1); in pass() 59 write(1, s, sizeof(s) - 1); in _fail() 60 write(1, reason, len); in _fail() 61 write(1, "\n", 1); in _fail()
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | layerappend.py | 66 f.write(self.layerconf.replace("INT", l)) 70 f.write(self.recipe) 73 f.write(self.append) 76 f.write("Layer 1 test") 79 f.write(self.append2) 82 f.write("Layer 2 test") 96 f.write("Layer 2 test")
|