Home
last modified time | relevance | path

Searched full:write (Results 1 – 25 of 3882) sorted by relevance

12345678910>>...156

/openbmc/openbmc/poky/bitbake/lib/
H A Dcodegen.py94 def write(self, x): member in SourceGenerator
105 self.write('# line: %s' % node.lineno)
119 self.write('else:')
126 self.write(', ')
135 self.write('=')
139 self.write('*' + node.vararg)
142 self.write('**' + node.kwarg)
147 self.write('@')
156 self.write(', ')
158 self.write(' = ')
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D026.out6 Event: l1_update; errno: 5; imm: off; once: on; write
7 write failed: Input/output error
11 Event: l1_update; errno: 5; imm: off; once: on; write -b
12 write failed: Input/output error
16 Event: l1_update; errno: 5; imm: off; once: off; write
19 write failed: Input/output error
23 Event: l1_update; errno: 5; imm: off; once: off; write -b
26 write failed: Input/output error
30 Event: l1_update; errno: 28; imm: off; once: on; write
31 write failed: No space left on device
[all …]
H A D026.out.nocache6 Event: l1_update; errno: 5; imm: off; once: on; write
7 write failed: Input/output error
11 Event: l1_update; errno: 5; imm: off; once: on; write -b
12 write failed: Input/output error
16 Event: l1_update; errno: 5; imm: off; once: off; write
19 write failed: Input/output error
23 Event: l1_update; errno: 5; imm: off; once: off; write -b
26 write failed: Input/output error
30 Event: l1_update; errno: 28; imm: off; once: on; write
31 write failed: No space left on device
[all …]
H A D07356 $QEMU_IO -c "write -P 0xa5 0 $size" "$TEST_IMG.base" | _filter_qemu_io
61 $QEMU_IO -c "write -P 0x11 0 0x10000" "$TEST_IMG" | _filter_qemu_io
62 $QEMU_IO -c "write -P 0x11 0x10000 0x10000" "$TEST_IMG.base" | _filter_qemu_io
69 $QEMU_IO -c "write -P 0x22 0x20000 0x10000" "$TEST_IMG" | _filter_qemu_io
70 $QEMU_IO -c "write -c -P 0x22 0x30000 0x10000" "$TEST_IMG" | _filter_qemu_io
77 $QEMU_IO -c "write -P 0x33 0x40000 0x20000" "$TEST_IMG" | _filter_qemu_io
78 $QEMU_IO -c "write -P 0x33 0x40000 0x20000" "$TEST_IMG.base" | _filter_qemu_io
79 $QEMU_IO -c "write -P 0 0x40000 0x10000" "$TEST_IMG" | _filter_qemu_io
80 $QEMU_IO -c "write -z 0x50000 0x10000" "$TEST_IMG" | _filter_qemu_io
88 $QEMU_IO -c "write -P 0x44 0x60000 0x10000" "$TEST_IMG.base" | _filter_qemu_io
[all …]
H A D271.out3 ### Standard write tests (backing file: yes) ###
8 write -q -P PATTERN 0 1k
10 write -q -P PATTERN 3k 512
12 write -q -P PATTERN 5k 1k
14 write -q -P PATTERN 6k 2k
16 write -q -P PATTERN 8k 6k
18 write -q -P PATTERN 15k 4k
20 write -q -P PATTERN 32k 1k
22 write -q -P PATTERN 63k 4k
25 write -q -z 2k 2k
[all …]
H A D15468 $QEMU_IO -c "write -z 0 2k" "$TEST_IMG" | _filter_qemu_io
69 $QEMU_IO -c "write -z 10k 2k" "$TEST_IMG" | _filter_qemu_io
70 $QEMU_IO -c "write -z 17k 2k" "$TEST_IMG" | _filter_qemu_io
71 $QEMU_IO -c "write -z 27k 2k" "$TEST_IMG" | _filter_qemu_io
82 $QEMU_IO -c "write -P 0x11 32k 1k" "$TEST_IMG.base" | _filter_qemu_io
83 $QEMU_IO -c "write -z 34k 1k" "$TEST_IMG" | _filter_qemu_io
89 $QEMU_IO -c "write -P 0x11 65k 1k" "$TEST_IMG.base" | _filter_qemu_io
90 $QEMU_IO -c "write -z 66k 1k" "$TEST_IMG" | _filter_qemu_io
105 $QEMU_IO -c "write -P 0x11 34k 1k" "$TEST_IMG.base" | _filter_qemu_io
106 $QEMU_IO -c "write -z 33k 1k" "$TEST_IMG" | _filter_qemu_io
[all …]
H A D1715 # (or can) read and write outside of the image size.
67 echo "write to image"
68 $QEMU_IO -c "write -P 0x0a 0 $test_size" "$(img_json)" | _filter_qemu_io
79 echo "write before image boundary"
80 $QEMU_IO -c "write $((test_size-1)) 1" "$(img_json)" | _filter_qemu_io
83 echo "write across image boundary"
84 $QEMU_IO -c "write $((test_size-1)) 2" "$(img_json)" | _filter_qemu_io
87 echo "write at image boundary"
88 $QEMU_IO -c "write $test_size 1" "$(img_json)" | _filter_qemu_io
91 echo "write after image boundary"
[all …]
H A D1794 # Test case for write zeroes with unmap
49 echo '=== Testing write zeroes with unmap ==='
60 $QEMU_IO -c "write -z -u 2M 2M" "$TEST_IMG.base" | _filter_qemu_io
61 $QEMU_IO -c "write -z 6M 2M" "$TEST_IMG.base" | _filter_qemu_io
67 $QEMU_IO -c "write -z -u 10485761 2097150" "$TEST_IMG.base" | _filter_qemu_io
68 $QEMU_IO -c "write -z 14680065 2097150" "$TEST_IMG.base" | _filter_qemu_io
74 $QEMU_IO -c "write 18M 14M" "$TEST_IMG.base" | _filter_qemu_io
75 $QEMU_IO -c "write -z -u 20M 2M" "$TEST_IMG.base" | _filter_qemu_io
76 $QEMU_IO -c "write -z 24M 6M" "$TEST_IMG.base" | _filter_qemu_io
81 $QEMU_IO -c "write -z -u 26M 2M" "$TEST_IMG.base" | _filter_qemu_io
[all …]
H A D171.out6 write to image
19 write before image boundary
23 write across image boundary
24 write failed: Input/output error
26 write at image boundary
27 write failed: Input/output error
29 write after image boundary
30 write failed: Input/output error
55 write zeroes and check
62 write zeroes across image boundary
[all …]
H A D004.out4 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
/openbmc/u-boot/arch/arm/mach-rockchip/
H A Dmake_fit_atf.py62 file.write('\t\tatf_%d {\n' % atf_index)
63 file.write('\t\t\tdescription = \"ARM Trusted Firmware\";\n')
64 file.write('\t\t\tdata = /incbin/("%s");\n' % data)
65 file.write('\t\t\ttype = "firmware";\n')
66 file.write('\t\t\tarch = "arm64";\n')
67 file.write('\t\t\tos = "arm-trusted-firmware";\n')
68 file.write('\t\t\tcompression = "none";\n')
69 file.write('\t\t\tload = <0x%08x>;\n' % phy_addr)
71 file.write('\t\t\tentry = <0x%08x>;\n' % elf_entry)
72 file.write('\t\t};\n')
[all …]
/openbmc/qemu/scripts/
H A Dfeature_to_c.py7 sys.stdout.write(' ' * indent)
8 sys.stdout.write('"')
13 sys.stdout.write('\n')
14 sys.stdout.write(' ' * indent)
15 sys.stdout.write('"')
19 sys.stdout.write('\\"')
21 sys.stdout.write('\\\\')
23 sys.stdout.write('\\n"')
26 sys.stdout.write(c.to_bytes(1, 'big').decode())
28 sys.stdout.write(f'\{c:03o}')
[all …]
/openbmc/u-boot/drivers/video/
H A Dtda19988.c28 #define REG_MAIN_CNTRL0 REG(0x00, 0x01) /* read/write */
36 #define REG_SOFTRESET REG(0x00, 0x0a) /* write */
39 #define REG_DDC_DISABLE REG(0x00, 0x0b) /* read/write */
40 #define REG_I2C_MASTER REG(0x00, 0x0d) /* read/write */
44 #define REG_FEAT_POWERDOWN REG(0x00, 0x0e) /* read/write */
48 #define REG_INT_FLAGS_0 REG(0x00, 0x0f) /* read/write */
49 #define REG_INT_FLAGS_1 REG(0x00, 0x10) /* read/write */
50 #define REG_INT_FLAGS_2 REG(0x00, 0x11) /* read/write */
52 #define REG_ENA_VP_0 REG(0x00, 0x18) /* read/write */
53 #define REG_ENA_VP_1 REG(0x00, 0x19) /* read/write */
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dopenbmc_ffdc_utils.robot51 Write Data To File
52 [Documentation] Write data to the ffdc report document
65 [Documentation] Write header message to the report document manifest
70 ... 1. Write opening statement headers message.
81 Write Data To File ${HEADER_MSG}
82 Write Data To File ${FOOTER_MSG}
83 Write Data To File Test Suite File\t\t: ${SUITE_NAME} ${\n}
84 Write Data To File Test Case Name\t\t: ${TEST_NAME}${\n}
85 Write Data To File Test Source File\t: ${SUITE_SOURCE}${\n}
86 Write Data To File Failure Time Stamp\t: ${FFDC_TIME}${\n}
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/classes/
H A Dfitimage.bbclass138 fd.write('/dts-v1/;\n\n/ {\n')
139 fd.write(d.expand('\tdescription = "fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}";\n'))
140 fd.write('\t#address-cells = <1>;\n')
146 fd.write('};\n')
152 fd.write(f'\t{section} {{\n')
158 fd.write('\t};\n')
169 fd.write(f'\t\tkernel-{kernelcount} {{\n')
170 fd.write('\t\t\tdescription = "Linux kernel";\n')
171 fd.write(f'\t\t\tdata = /incbin/("{imgpath}/{imgsource}");\n')
172 fd.write('\t\t\ttype = "kernel";\n')
[all …]
/openbmc/smbios-mdr/src/smbios-ipmi-blobs/test/
H A Dhandler_readwrite_unittest.cpp24 EXPECT_FALSE(handler.write(session, 0, data)); in TEST_F()
29 // Verify the handler checks the write flag; in TEST_F()
34 EXPECT_FALSE(handler.write(session, 0, data)); in TEST_F()
42 EXPECT_TRUE(handler.open(session, blobs::OpenFlags::write, expectedBlobId)); in TEST_F()
43 EXPECT_FALSE(handler.write(session, 0, data)); in TEST_F()
50 EXPECT_TRUE(handler.open(session, blobs::OpenFlags::write, expectedBlobId)); in TEST_F()
51 EXPECT_FALSE(handler.write(session, 1, data)); in TEST_F()
58 EXPECT_TRUE(handler.open(session, blobs::OpenFlags::write, expectedBlobId)); in TEST_F()
59 EXPECT_FALSE(handler.write(session, handlerMaxBufferSize - 1, data)); in TEST_F()
66 EXPECT_TRUE(handler.open(session, blobs::OpenFlags::write, expectedBlobId)); in TEST_F()
[all …]
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dwrite-zeroes-unmap4 # Test write zeros unmap.
50 echo "=== defaults - write zeros ==="
54 echo -e 'qemu-io none0 "write -z 0 1m"\nquit' \
60 echo "=== defaults - write zeros unmap ==="
64 echo -e 'qemu-io none0 "write -zu 0 1m"\nquit' \
71 echo "=== defaults - write actual zeros ==="
75 echo -e 'qemu-io none0 "write -P 0 0 1m"\nquit' \
81 echo "=== discard=off - write zeroes unmap ==="
85 echo -e 'qemu-io none0 "write -zu 0 1m"\nquit' \
91 echo "=== detect-zeroes=on - write actual zeros ==="
[all …]
H A Dwrite-zeroes-unmap.out1 QA output created by write-zeroes-unmap
3 === defaults - write zeros ===
7 (qemu) qemu-io none0 "write -z 0 1m"
13 === defaults - write zeros unmap ===
17 (qemu) qemu-io none0 "write -zu 0 1m"
23 === defaults - write actual zeros ===
27 (qemu) qemu-io none0 "write -P 0 0 1m"
33 === discard=off - write zeroes unmap ===
37 (qemu) qemu-io none0 "write -zu 0 1m"
43 === detect-zeroes=on - write actual zeros ===
[all …]
/openbmc/openbmc-test-automation/data/
H A Dresource_lock_table.json89 "Write": [ array
101 "Write": [ array
113 "Write": [ array
125 "Write": [ array
137 "Write": [ array
149 "Write": [ array
161 "Write": [ array
388 "write": [ array
400 "WRITE": [ array
412 "*Write": [
[all …]
/openbmc/openbmc-test-automation/lib/serial_connection/
H A Dserial_console_client.robot31 Telnet.Write \n
32 Telnet.Write exit
33 Telnet.Write \n
35 Telnet.Write \n
37 Telnet.Write ${OPENBMC_USERNAME}
38 Telnet.Write \n
40 Telnet.Write ${OPENBMC_PASSWORD}
41 Telnet.Write \n
62 Telnet.Write \n
63 Telnet.Write \n
[all …]
/openbmc/qemu/hw/intc/
H A Dloongarch_pic_kvm.c16 static void kvm_pch_pic_access_reg(int fd, uint64_t addr, void *val, bool write) in kvm_pch_pic_access_reg() argument
19 addr, val, write, &error_abort); in kvm_pch_pic_access_reg()
22 static void kvm_pch_pic_access(void *opaque, bool write) in kvm_pch_pic_access() argument
33 kvm_pch_pic_access_reg(fd, PCH_PIC_INT_MASK, &s->int_mask, write); in kvm_pch_pic_access()
34 kvm_pch_pic_access_reg(fd, PCH_PIC_HTMSI_EN, &s->htmsi_en, write); in kvm_pch_pic_access()
35 kvm_pch_pic_access_reg(fd, PCH_PIC_INT_EDGE, &s->intedge, write); in kvm_pch_pic_access()
36 kvm_pch_pic_access_reg(fd, PCH_PIC_AUTO_CTRL0, &s->auto_crtl0, write); in kvm_pch_pic_access()
37 kvm_pch_pic_access_reg(fd, PCH_PIC_AUTO_CTRL1, &s->auto_crtl1, write); in kvm_pch_pic_access()
42 kvm_pch_pic_access_reg(fd, addr, &s->route_entry[offset], write); in kvm_pch_pic_access()
47 kvm_pch_pic_access_reg(fd, addr, &s->htmsi_vector[offset], write); in kvm_pch_pic_access()
[all …]
/openbmc/u-boot/include/
H A Daxi.h37 * write() - Write a single value to a specified address on a AXI bus
38 * @dev: AXI bus to write to.
39 * @address: The address to write to.
42 * @size: The size of the data to write.
46 int (*write)(struct udevice *dev, ulong address, void *data, member
58 * @size: The size of the data to write.
66 * axi_write() - Write a single value to a specified address on a AXI bus
67 * @dev: AXI bus to write to.
68 * @address: The address to write to.
71 * @size: The size of the data to write.
[all …]
/openbmc/qemu/target/hexagon/
H A Dhex_common.py190 ## x, y read-write register
191 ## xx, yy read-write register pair
341 f.write(code_fmt(f"""\
450 f.write(code_fmt(f"""\
454 f.write(code_fmt(f"""\
459 f.write(code_fmt(f"""\
466 f.write(code_fmt(f"""\
470 f.write(code_fmt(f"""\
476 f.write(code_fmt(f"""\
480 f.write(code_fmt(f"""\
[all …]
/openbmc/u-boot/test/py/
H A Dmultiplexed_log.py17 """A file-like object used to write a single logical stream of data into
50 def write(self, data, implicit=False): member in LogfileStream
51 """Write data to the log stream.
54 data: The data to write tot he file.
65 self.logfile.write(self, data, implicit)
67 self.chained_file.write(data)
132 self.chained_file.write(msg)
133 self.logfile.write(self, msg)
164 self.logfile.write(self, output)
166 self.chained_file.write(output)
[all …]
/openbmc/phosphor-power/tools/i2c/
H A Di2c_interface.hpp143 /** @brief Write byte data to i2c
145 * @param[in] data - The data to write to the i2c device
149 virtual void write(uint8_t data) = 0;
151 /** @brief Write byte data to i2c
154 * @param[in] data - The data to write to the i2c device
158 virtual void write(uint8_t addr, uint8_t data) = 0;
160 /** @brief Write word data to i2c
162 * Uses the SMBus Write Word protocol. Writes two bytes to the device, and
166 * @param[in] data - The data to write to the i2c device
170 virtual void write(uint8_t addr, uint16_t data) = 0;
[all …]

12345678910>>...156