/openbmc/qemu/target/hexagon/ |
H A D | gen_shortcode.py | 27 f.write(f"DEF_SHORTCODE({tag}, {hex_common.semdict[tag]})\n") 38 f.write("#ifndef DEF_SHORTCODE\n") 39 f.write("#define DEF_SHORTCODE(TAG,SHORTCODE) /* Nothing */\n") 40 f.write("#endif\n") 59 f.write("#undef DEF_SHORTCODE\n")
|
H A D | gen_idef_parser_funcs.py | 53 f.write('#include "macros.inc"\n\n') 155 f.write(f"{tag}({', '.join(arguments)}) {{\n") 156 f.write(" ") 158 f.write("size4u_t EA; ") 159 f.write(f"{hex_common.semdict[tag]}\n") 160 f.write("}\n\n")
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | main.py | 71 def __init__(self, write, options): argument 72 self.write = write 76 self.write(msg) 80 self.write(msg) 84 self.write(msg) 88 self.write(msg) 91 def write(s): function 93 return Writer(write, options) 150 f.write(time * 10)
|
/openbmc/linux/scripts/coccinelle/api/ |
H A D | stream_open.cocci | 7 // between read and write. 111 .write = write_f, 188 // XXX for simplicity require no .{read/write}_iter and no .splice_{read/write} for now. 202 // read & write 214 .write = writestream, 248 + nonseekable_open /* read & write (was deadlock) */ 274 // read, but not write 322 // write, but not read 329 .write = writestream, 355 + nonseekable_open /* write only */ [all …]
|
/openbmc/phosphor-ipmi-blobs/test/ |
H A D | manager_write_unittest.cpp | 21 EXPECT_FALSE(mgr.write(sess, ofs, data)); in TEST() 33 uint16_t flags = OpenFlags::write, sess; in TEST() 42 EXPECT_CALL(*m1ptr, write(sess, ofs, data)).WillOnce(Return(false)); in TEST() 44 EXPECT_FALSE(mgr.write(sess, ofs, data)); in TEST() 65 EXPECT_FALSE(mgr.write(sess, ofs, data)); in TEST() 77 uint16_t flags = OpenFlags::write, sess; in TEST() 86 EXPECT_CALL(*m1ptr, write(sess, ofs, data)).WillOnce(Return(true)); in TEST() 88 EXPECT_TRUE(mgr.write(sess, ofs, data)); in TEST()
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | lists.py | 31 gdb.write("list_for_each: Uninitialized list '{}' treated as empty\n" 72 gdb.write("Starting with: {}\n".format(c)) 74 gdb.write('head is not accessible\n') 81 gdb.write('prev.next != current: ' 91 gdb.write('prev is not accessible: ' 99 gdb.write('next.prev != current: ' 109 gdb.write('next is not accessible: ' 118 gdb.write("list is consistent: {} node(s)\n".format(nb))
|
H A D | modules.py | 71 gdb.write( 83 gdb.write("{address} {name:<19} {size:>8} {ref}".format( 93 gdb.write("{separator}{name}".format( 98 gdb.write("\n") 105 gdb.write("Unrecognized command\n") 127 gdb.write(s) 129 gdb.write("0x%x is not in any module text section\n" % addr)
|
H A D | slab.py | 210 gdb.write("%d %s" % (loc['count'], str(addr).split(' ')[-1])) 212 gdb.write("%d <not-available>" % loc['count']) 215 gdb.write(" waste=%d/%d" % (loc['count'] * loc['waste'], loc['waste'])) 220 gdb.write(" age=%d" % loc['min_time']) 223 gdb.write(" pid=%d-%d" % (loc['min_pid'], loc['max_pid'])) 225 gdb.write(" pid=%d" % loc['min_pid']) 230 gdb.write(" cpus=") 232 gdb.write("%d," % i) 233 gdb.write("\n") 237 gdb.write("\n") [all …]
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_qoriq.c | 47 ptp_qoriq->write(®s->ctrl_regs->tmr_cnt_l, lo); in tmr_cnt_write() 48 ptp_qoriq->write(®s->ctrl_regs->tmr_cnt_h, hi); in tmr_cnt_write() 70 ptp_qoriq->write(®s->ctrl_regs->tmroff_l, lo); in tmr_offset_write() 71 ptp_qoriq->write(®s->ctrl_regs->tmroff_h, hi); in tmr_offset_write() 88 ptp_qoriq->write(®s->alarm_regs->tmr_alarm1_l, lo); in set_alarm() 89 ptp_qoriq->write(®s->alarm_regs->tmr_alarm1_h, hi); in set_alarm() 102 ptp_qoriq->write(®s->fiper_regs->tmr_fiper3, in set_fipers() 518 ptp_qoriq->write = qoriq_write_le; in ptp_qoriq_init() 521 ptp_qoriq->write = qoriq_write_be; in ptp_qoriq_init() 557 ptp_qoriq->write(®s->fiper_regs->tmr_fiper3, in ptp_qoriq_init() [all …]
|
/openbmc/openbmc/meta-phosphor/classes/ |
H A D | obmc-phosphor-discovery-service.bbclass | 72 fd.write('<?xml version="1.0" ?>\n') 73 fd.write('<!DOCTYPE service-group SYSTEM "avahi-service.dtd">\n') 74 fd.write('<service-group>\n') 75 fd.write(' <name replace-wildcards="yes">%s on %%h</name>\n' 77 fd.write(' <service>\n') 78 fd.write(' <type>%s</type>\n' % service_type) 79 fd.write(' <port>%s</port>\n' % service_port) 84 fd.write(' <txt-record>%s</txt-record>\n' % txt_record) 87 fd.write(' </service>\n') 88 fd.write('</service-group>\n') [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | st,stm32-fmc2-ebi-props.yaml | 25 8: Synchronous read synchronous write PSRAM. 26 9: Synchronous read asynchronous write PSRAM. 27 10: Synchronous read synchronous write NOR. 28 11: Synchronous read asynchronous write NOR. 117 st,fmc2-ebi-cs-write-address-setup-ns: 121 st,fmc2-ebi-cs-write-address-hold-ns: 126 st,fmc2-ebi-cs-write-data-setup-ns: 130 st,fmc2-ebi-cs-write-bus-turnaround-ns: 132 write transaction and the next transaction in nanoseconds. 134 st,fmc2-ebi-cs-write-data-hold-ns: [all …]
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | compaction-times.py | 206 sys.stdout.write("total: %s\n" % chead.str()) 249 sys.stdout.write(usage) 250 sys.stdout.write("\n") 251 sys.stdout.write("-h display this help\n") 252 sys.stdout.write("-p display by process\n") 253 sys.stdout.write("-pv display by process (verbose)\n") 254 sys.stdout.write("-t display stall times only\n") 255 sys.stdout.write("-m display stats for migration\n") 256 sys.stdout.write("-fs display stats for free scanner\n") 257 sys.stdout.write("-ms display stats for migration scanner\n") [all …]
|
/openbmc/openbmc/meta-security/lib/oeqa/runtime/cases/ |
H A D | clamav.py | 18 f.write("nameserver 8.8.8.8") 19 f.write(os.linesep) 20 f.write("nameserver 8.8.4.4") 21 f.write(os.linesep) 22 f.write("nameserver 127.0.0.1") 23 f.write(os.linesep)
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | osc.py | 153 f.write("[general]\n") 154 f.write("apiurl = %s://%s\n" % (proto, ud.host)) 155 f.write("su-wrapper = su -c\n") 156 f.write("build-root = %s\n" % d.getVar('WORKDIR')) 157 f.write("urllist = %s\n" % d.getVar("OSCURLLIST")) 158 f.write("extra-pkgs = gzip\n") 159 f.write("\n") 160 f.write("[%s://%s]\n" % (proto, ud.host)) 161 f.write("user = %s\n" % ud.parm["user"]) 162 f.write("pass = %s\n" % ud.parm["pswd"])
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | stream.hpp | 186 write(&value, 1); in operator <<() 198 write(&value, 1); in operator <<() 211 write(&data, 2); in operator <<() 224 write(&data, 4); in operator <<() 237 write(&data, 8); in operator <<() 253 write(value.data(), value.size()); in operator <<() 270 write(value.data(), value.size()); in operator <<() 331 void write(const void* in, std::size_t size) in write() function in openpower::pels::Stream
|
/openbmc/openpower-hw-diags/attn/pel/ |
H A D | stream.hpp | 186 write(&value, 1); in operator <<() 198 write(&value, 1); in operator <<() 211 write(&data, 2); in operator <<() 224 write(&data, 4); in operator <<() 237 write(&data, 8); in operator <<() 253 write(value.data(), value.size()); in operator <<() 270 write(value.data(), value.size()); in operator <<() 331 void write(const void* in, std::size_t size) in write() function in attn::pel::Stream
|
/openbmc/phosphor-pid-control/sensors/ |
H A D | pluggable.cpp | 27 void PluggableSensor::write(double value) in write() function in pid_control::PluggableSensor 29 _writer->write(value); in write() 32 void PluggableSensor::write(double value, bool force, int64_t* written) in write() function in pid_control::PluggableSensor 34 _writer->write(value, force, written); in write()
|
/openbmc/phosphor-power/phosphor-regulators/tools/ |
H A D | validate-regulators-config.py | 81 sys.stderr.write( 95 sys.stderr.write( 117 sys.stderr.write( 136 sys.stderr.write( 155 sys.stderr.write( 174 sys.stderr.write( 198 sys.stderr.write( 234 sys.stderr.write( 254 sys.stderr.write( 275 sys.stderr.write( [all …]
|
/openbmc/openpower-hw-diags/util/ |
H A D | bin_stream.hpp | 154 void write(void* s, size_t n) in write() function in util::BinFileWriter 156 iv_stream.write(static_cast<char*>(s), n); in write() 175 write(&r, sizeof(r)); in operator <<() 184 write(&r, sizeof(r)); in operator <<() 193 write(&r, sizeof(r)); in operator <<() 202 write(&r, sizeof(r)); in operator <<()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 49 char *write; member 77 .write = "r11 = *(u8 *)($ctx + sk_buff::__mono_tc_offset);" 88 .write = "*(u32 *)($ctx + sk_buff::priority) = $src;", 93 .write = "*(u32 *)($ctx + sk_buff::mark) = $src;", 108 .write = "*(u16 *)($ctx + sk_buff::tc_index) = $src;", 131 .write = "*(u32 *)($ctx + sock::sk_mark) = $src;", 136 .write = "*(u32 *)($ctx + sock::sk_priority) = $src;", 148 .write = "*(u64 *)($ctx + bpf_sysctl_kern::tmp_reg) = r9;" 848 if (test->write || test->write_st || test->write_stx) { in run_one_testcase() 872 if (test->write || test->write_stx) { in run_one_testcase() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 048 | 67 io_pattern write 524288 $CLUSTER_SIZE $CLUSTER_SIZE 4 45 87 io_pattern write 1228800 $CLUSTER_SIZE 0 1 67 89 io_pattern write 0 $CLUSTER_SIZE 0 1 123 94 io_pattern write 0 512 0 1 100 96 io_pattern write 512 512 0 1 101
|
/openbmc/pldm/tools/fw-update/ |
H A D | pldm_fwup_pkg_creator.py | 79 pldm_fw_up_pkg.write( 113 pldm_fw_up_pkg.write( 173 pldm_fw_up_pkg.write(package_header_identifier) 180 pldm_fw_up_pkg.write( 351 pldm_fw_up_pkg.write(struct.pack("<B", device_id_record_count)) 412 pldm_fw_up_pkg.write( 425 pldm_fw_up_pkg.write(record_descriptors) 486 pldm_fw_up_pkg.write(struct.pack("<H", len(components))) 550 pldm_fw_up_pkg.write( 606 pldm_fw_up_pkg.write(struct.pack("<H", file_size)) [all …]
|
/openbmc/linux/arch/mips/mm/ |
H A D | fault.c | 38 static void __do_page_fault(struct pt_regs *regs, unsigned long write, in __do_page_fault() argument 53 current->comm, current->pid, field, address, write, in __do_page_fault() 111 if (write) { in __do_page_fault() 122 field, address, write, in __do_page_fault() 133 field, address, write, in __do_page_fault() 197 tsk->thread.error_code = write; in __do_page_fault() 203 write ? "write access to" : "read access from", in __do_page_fault() 264 write ? "write access to" : "read access from", in __do_page_fault() 324 unsigned long write, unsigned long address) in do_page_fault() argument 329 __do_page_fault(regs, write, address); in do_page_fault()
|
H A D | tlbex-fault.S | 13 .macro tlb_do_page_fault, write 14 NESTED(tlb_do_page_fault_\write, PT_SIZE, sp) 21 li a1, \write 24 END(tlb_do_page_fault_\write)
|
/openbmc/bmcweb/scripts/ |
H A D | generate_schema_enums.py | 72 redfish_defs_file.write( 81 redfish_defs_file.write("enum class {}{{\n".format(element.name)) 87 redfish_defs_file.write(" {},\n".format(value)) 89 redfish_defs_file.write("};\n\n") 99 redfish_defs_file.write( 103 redfish_defs_file.write( 107 redfish_defs_file.write("});\n\n") 111 redfish_defs_file.write("}\n// clang-format on\n")
|