| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| H A D | i2c-mlxbf.c | 219 #define MLXBF_I2C_MASTER_CTL_WRITE_BIT BIT(28) /* Control write phase. */ 233 #define MLXBF_I2C_MASTER_WRITE_SHIFT 21 /* Control write bytes */ 243 /* Maximum bytes to read/write per SMBus transaction. */ 284 #define MLXBF_I2C_SLAVE_WRITE_BIT BIT(29) /* Control write enable. */ 289 #define MLXBF_I2C_SLAVE_WRITE_BYTES_SHIFT 22 /* Number of bytes to write. */ 780 * Note that read and write operations might be handled by a in mlxbf_i2c_smbus_start_transaction() 782 * then write command byte and set the optional SMBus specific in mlxbf_i2c_smbus_start_transaction() 944 * As specified in the standard, the max number of bytes to read/write in mlxbf_i2c_smbus_i2c_block_func() 946 * read up to 128 bytes and write up to 127 bytes. in mlxbf_i2c_smbus_i2c_block_func() 955 * to read/write in mlxbf_i2c_smbus_i2c_block_func() 1799 mlxbf_i2c_has_coalesce(struct mlxbf_i2c_priv *priv, bool *read, bool *write) mlxbf_i2c_has_coalesce() argument 2016 bool read, write, irq_is_set; mlxbf_i2c_irq() local [all...] |
| /kernel/linux/linux-6.6/tools/perf/util/ |
| H A D | header.c | 190 /* write len, incl. \0 */ in do_write_string() 334 pr_debug("failed to write buildid table\n"); in write_build_id() 510 * write number of events in write_event_desc() 529 * write number of unique id per event in write_event_desc() 541 * write event string as passed on cmdline in write_event_desc() 547 * write unique ids for this event in write_event_desc() 896 pr_err("Failed to write auxtrace index\n"); in write_auxtrace() 1440 pr_err("Failed to write MEM_TOPOLOGY, size %zd nodes\n", size); in build_mem_topology() 3383 .write = write_##func, \ 3393 .write [all...] |
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| H A D | test_offload.py | 69 logfile.write("\n" + log_get_sec() + " ") 70 logfile.write(header) 72 logfile.write("\n") 73 logfile.write(data) 344 f.write(val) 758 logfile.write("# -*-Org-*-")
|
| /kernel/linux/linux-6.6/mm/ |
| H A D | vmstat.c | 77 int sysctl_vm_numa_stat_handler(struct ctl_table *table, int write, in sysctl_vm_numa_stat_handler() argument 83 if (write) in sysctl_vm_numa_stat_handler() 85 ret = proc_dointvec_minmax(table, write, buffer, length, ppos); in sysctl_vm_numa_stat_handler() 86 if (ret || !write) in sysctl_vm_numa_stat_handler() 1908 int vmstat_refresh(struct ctl_table *table, int write, in vmstat_refresh() argument 1959 if (write) in vmstat_refresh()
|
| /third_party/backends/backend/ |
| H A D | hp-scl.c | 35 If you write modifications of your own for SANE, it is your choice 307 n = write (this->fd, data, len); in hp_nonscsi_write() 1228 /* Fill up write buffer */ in process_data_write() 1238 if ( ph->wr_left > 0 ) /* Did not fill up the write buffer ? Finished */ in process_data_write() 1241 DBG(12, "process_data_write: write %d bytes\n", ph->wr_buf_size); in process_data_write() 1242 /* Don't write data if we got a signal in the meantime */ in process_data_write() 1244 || (write (ph->outfd, ph->wr_buf, ph->wr_buf_size) != ph->wr_buf_size)) in process_data_write() 1246 DBG(1, "process_data_write: write failed: %s\n", in process_data_write() 1253 /* For large amount of data write it from data-buffer */ in process_data_write() 1257 || (write (p in process_data_write() [all...] |
| /third_party/gn/src/gn/ |
| H A D | variables.cc | 195 write 952 not handle dependent static libraries properly. This makes it easier to write 1376 the action write a depfile (see "gn help depfile"). This allows the script to 1377 dynamically write input dependencies, that might not be known until actually 1384 It may be tempting to write a script that enumerates all files in a directory 2317 "contents: Contents to write to file."; 2319 R"(contents: Contents to write to file. 2341 Does not synchronously write the file, but rather schedules it to be written
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
| H A D | TimeZoneRuleTest.java | 460 vtz_org.write(writer); in TestVTimeZoneRoundTrip() 472 vtz_new.write(writer1); in TestVTimeZoneRoundTrip() 538 vtz_org.write(writer, startTime); in TestVTimeZoneRoundTripPartial() 647 vtz.write(writer); in TestVTimeZoneHeaderProps() 678 newvtz1.write(writer, getUTCMillis(2000, Calendar.JANUARY, 1)); in TestVTimeZoneHeaderProps() 1312 foo.write(w, getUTCMillis(2005, Calendar.JANUARY, 1)); in TestVTimeZoneParse()
|
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
| H A D | TimeZoneRuleTest.java | 458 vtz_org.write(writer); in TestVTimeZoneRoundTrip() 470 vtz_new.write(writer1); in TestVTimeZoneRoundTrip() 536 vtz_org.write(writer, startTime); in TestVTimeZoneRoundTripPartial() 645 vtz.write(writer); in TestVTimeZoneHeaderProps() 676 newvtz1.write(writer, getUTCMillis(2000, Calendar.JANUARY, 1)); in TestVTimeZoneHeaderProps() 1310 foo.write(w, getUTCMillis(2005, Calendar.JANUARY, 1)); in TestVTimeZoneParse()
|
| /third_party/node/lib/ |
| H A D | net.js | 557 // of the other side sending a FIN. The standard 'write after end' 561 return stream.Duplex.prototype.write.call(this, chunk, encoding, cb); 589 // an active write in progress, so we suppress the timeout. 788 this.write = writeAfterFIN; 1203 if (this.write !== Socket.prototype.write) 1204 this.write = Socket.prototype.write;
|
| /third_party/nghttp2/src/ |
| H A D | HttpServer.cc | 601 wb_.write(data_pending_, n); in fill_wb() 624 auto n = wb_.write(data, datalen); in fill_wb() 672 while ((nwrite = write(fd_, wb_.pos, wb_.rleft())) == -1 && in write_clear() 1603 // If stream is blocked by flow control, enable write timeout. in hd_on_frame_send_callback() 1717 while ((n = write(stream->file_ent->fd, data, len)) == -1 && in on_data_chunk_recv_callback() 1966 while ((nwrite = write(fd, body.c_str(), body.size())) == -1 && in make_status_body() 1971 std::cerr << "Could not write status response body into file: errno=" in make_status_body() 2108 std::cout.write(reinterpret_cast<const char *>(&in[i + 1]), in[i]); in alpn_select_proto_cb()
|
| H A D | shrpx.cc | 418 if (write(fd, content.c_str(), content.size()) == -1) { in save_pid() 642 while ((nwrite = write(wp->ipc_fd, &ipc_event, 1)) == -1 && errno == EINTR) in ipc_send() 1880 // This makes easier to write restart script for nghttpx. Because in event_loop() 2149 timeoutconf.write = 30_s; in fill_default_config() 2163 timeoutconf.write = 30_s; in fill_default_config() 2310 "read-timeout=<DURATION>", "write-timeout=<DURATION>", in print_help() 2426 "read-timeout=<DURATION>" and "write-timeout=<DURATION>" in print_help() 2427 parameters specify the read and write timeout of the in print_help() 2432 --backend-write-timeout are used. in print_help() 2540 --backend-write in print_help() [all...] |
| /third_party/rust/crates/clap/src/builder/ |
| H A D | command.rs | 825 ok!(write!(w, "{styled}")); in write_help() 840 ok!(write!(w, "{styled}")); in write_long_help() 3950 write!(sc_names, "|--{l}").unwrap(); 3954 write!(sc_names, "|-{s}").unwrap(); 4047 write!(sc_names, "|--{l}").unwrap(); in _build_bin_names_internal() 4051 write!(sc_names, "|-{s}").unwrap(); in _build_bin_names_internal() 4685 write!(f, "{}", self.name) in from()
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
| H A D | gen_builtin_symbols.py | 44 return os.write(str.data(), str.length()); 2209 outfile_cpp.write(output_cpp) 2213 outfile_cpp.write(output_cpp) 2217 outfile_header.write(output_header) 2221 outfile_cpp.write(output_cpp) 2226 outfile_header.write(output_header) 2230 outfile_h.write(output_h)
|
| /third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
| H A D | Blitter.cpp | 422 bool Blitter::write(Float4 &c, Pointer<Byte> element, const State &state) in write() function in sw::Blitter 851 bool Blitter::write(Int4 &c, Pointer<Byte> element, const State &state) in write() function in sw::Blitter 1255 if(!write(constantColorI, d, state)) in generate() 1264 if(!write(constantColorF, d, state)) in generate() 1291 if(!write(color, d, state)) in generate() 1376 if(!write(color, d, state)) in generate()
|
| /kernel/linux/linux-5.10/sound/pci/ac97/ |
| H A D | ac97_codec.c | 261 * snd_ac97_write - write a value on the given register 266 * Writes a value on the given register. This will invoke the write 279 ac97->bus->ops->write(ac97, AC97_RESET, 0); /* reset audio codec */ in snd_ac97_write() 281 ac97->bus->ops->write(ac97, reg, value); in snd_ac97_write() 317 * snd_ac97_write_cache - write a value on the given register and update the cache 332 ac97->bus->ops->write(ac97, reg, value); in snd_ac97_write_cache() 361 ac97->bus->ops->write(ac97, reg, value); in snd_ac97_update() 409 ac97->bus->ops->write(ac97, reg, new); in snd_ac97_update_bits_nolock() 429 ac97->bus->ops->write(ac97, AC97_AD_SERIAL_CFG, in snd_ac97_ad18xx_update_pcm_bits() 433 ac97->bus->ops->write(ac9 in snd_ac97_ad18xx_update_pcm_bits() [all...] |
| /kernel/linux/linux-6.6/sound/pci/ac97/ |
| H A D | ac97_codec.c | 260 * snd_ac97_write - write a value on the given register 265 * Writes a value on the given register. This will invoke the write 278 ac97->bus->ops->write(ac97, AC97_RESET, 0); /* reset audio codec */ in snd_ac97_write() 280 ac97->bus->ops->write(ac97, reg, value); in snd_ac97_write() 316 * snd_ac97_write_cache - write a value on the given register and update the cache 331 ac97->bus->ops->write(ac97, reg, value); in snd_ac97_write_cache() 360 ac97->bus->ops->write(ac97, reg, value); in snd_ac97_update() 408 ac97->bus->ops->write(ac97, reg, new); in snd_ac97_update_bits_nolock() 428 ac97->bus->ops->write(ac97, AC97_AD_SERIAL_CFG, in snd_ac97_ad18xx_update_pcm_bits() 432 ac97->bus->ops->write(ac9 in snd_ac97_ad18xx_update_pcm_bits() [all...] |
| /kernel/linux/linux-5.10/kernel/trace/ |
| H A D | trace.c | 281 export->write(export, entry, size); in trace_process_export() 383 if (WARN_ON_ONCE(!export->write)) in register_ftrace_export() 656 * @m: The seq_file structure to write into 690 * Always recreate a new array. The write is an all or nothing in trace_pid_write() 1005 * __trace_puts - write a constant string into the trace buffer. 1007 * @str: The constant string to write 1060 * __trace_bputs - write the pointer to a constant string into trace buffer 1062 * @str: The constant string to write to the buffer to 1622 * The parser is not finished with the last write, in trace_get_user() 2652 * buffer to write th 2835 tracepoint_printk_sysctl(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) tracepoint_printk_sysctl() argument [all...] |
| /kernel/linux/linux-5.10/mm/ |
| H A D | hugetlb.c | 1632 * Find and lock address space (mapping) in write mode. 3454 static int proc_hugetlb_doulongvec_minmax(struct ctl_table *table, int write, in proc_hugetlb_doulongvec_minmax() argument 3467 return proc_doulongvec_minmax(&dup_table, write, buffer, length, ppos); in proc_hugetlb_doulongvec_minmax() 3471 struct ctl_table *table, int write, in hugetlb_sysctl_handler_common() 3481 ret = proc_hugetlb_doulongvec_minmax(table, write, buffer, length, ppos, in hugetlb_sysctl_handler_common() 3486 if (write) in hugetlb_sysctl_handler_common() 3493 int hugetlb_sysctl_handler(struct ctl_table *table, int write, in hugetlb_sysctl_handler() argument 3497 return hugetlb_sysctl_handler_common(false, table, write, in hugetlb_sysctl_handler() 3502 int hugetlb_mempolicy_sysctl_handler(struct ctl_table *table, int write, in hugetlb_mempolicy_sysctl_handler() argument 3505 return hugetlb_sysctl_handler_common(true, table, write, in hugetlb_mempolicy_sysctl_handler() 3470 hugetlb_sysctl_handler_common(bool obey_mempolicy, struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) hugetlb_sysctl_handler_common() argument 3510 hugetlb_overcommit_handler(struct ctl_table *table, int write, void *buffer, size_t *length, loff_t *ppos) hugetlb_overcommit_handler() argument 5592 follow_huge_addr(struct mm_struct *mm, unsigned long address, int write) follow_huge_addr() argument [all...] |
| /kernel/linux/linux-6.6/arch/x86/kvm/svm/ |
| H A D | svm.c | 786 int write) in set_shadow_msr_intercept() 800 if (write) in set_shadow_msr_intercept() 801 set_bit(slot, svm->shadow_msr_intercept.write); in set_shadow_msr_intercept() 803 clear_bit(slot, svm->shadow_msr_intercept.write); in set_shadow_msr_intercept() 840 u32 msr, int read, int write) in set_msr_interception_bitmap() 857 if (write && !kvm_msr_allowed(vcpu, msr, KVM_MSR_FILTER_WRITE)) in set_msr_interception_bitmap() 858 write = 0; in set_msr_interception_bitmap() 868 write ? clear_bit(bit_write, &tmp) : set_bit(bit_write, &tmp); in set_msr_interception_bitmap() 877 int read, int write) in set_msr_interception() 879 set_shadow_msr_intercept(vcpu, msr, read, write); in set_msr_interception() 785 set_shadow_msr_intercept(struct kvm_vcpu *vcpu, u32 msr, int read, int write) set_shadow_msr_intercept() argument 839 set_msr_interception_bitmap(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr, int read, int write) set_msr_interception_bitmap() argument 876 set_msr_interception(struct kvm_vcpu *vcpu, u32 *msrpm, u32 msr, int read, int write) set_msr_interception() argument 950 u32 write = test_bit(i, svm->shadow_msr_intercept.write); svm_msr_filter_changed() local [all...] |
| /foundation/graphic/graphic_surface/surface/test/unittest/ |
| H A D | buffer_client_producer_remote_test.cpp | 117 write(pipe1Fd[1], buf, sizeof(buf)); in SetUpTestCase() 141 write(pipeFd[1], buf, sizeof(buf)); in TearDownTestCase()
|
| /foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
| H A D | hcodec_dfx.cpp | 401 ofs.write(va, totalSize); in DumpSurfaceBuffer() 468 ofs.write(va, omxBuffer->filledLen); in DumpLinearBuffer()
|
| /foundation/multimedia/media_library/frameworks/native/c_api/ |
| H A D | media_asset_change_request_impl.cpp | 98 MEDIA_LIBRARY_OPERATION_NOT_SUPPORTED, "Failed to open write cache handler,ret: %{public}d", ret); in GetWriteCacheHandler() 316 CHECK_AND_RETURN_RET_LOG(ret >= 0, false, "Failed to write cache, ret: %{public}d", ret); in SubmitCacheExecute() 330 CHECK_AND_RETURN_RET_LOG(cacheFd >= 0, false, "Failed to open write cache handler, err: %{public}d", cacheFd); in AddResourceExecute() 334 CHECK_AND_RETURN_RET_LOG(AddResourceByMode(uniqueFd, mode), false, "Faild to write cache file"); in AddResourceExecute() 402 "Failed to write by security component, ret: %{public}d", ret); in WriteBySecurityComponent() 477 ssize_t written = write(destFd.Get(), (char*)dataBuffer + offset, length - offset); in CopyDataBufferToMediaLibrary() 594 ssize_t written = write(destFd.Get(), (char*)dataBuffer + offset, length - offset); in WriteCacheByArrayBuffer() 596 "Failed to write data buffer to cache file, return %{public}d", static_cast<int>(written)); in WriteCacheByArrayBuffer()
|
| /foundation/resourceschedule/memmgr/common/src/ |
| H A D | kernel_interface.cpp | 62 if (write(fd, content, strlen(content)) < 0) { in EchoToPath() 63 HILOGE("echo %{public}s > %{public}s failed: write failed", content, path); in EchoToPath() 139 if (write(fd, content.c_str(), strlen(content.c_str())) < 0) { in WriteToFile() 140 HILOGE("echo %{public}s %{public}s %{public}s failed: write failed", in WriteToFile()
|
| /kernel/linux/linux-5.10/drivers/firmware/efi/ |
| H A D | efivars.c | 295 * Generic read/write functions that call the specific functions of 550 attr->write = efivar_create; in create_efivars_bin_attributes() 561 attr->write = efivar_delete; in create_efivars_bin_attributes()
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| H A D | sram242x.S | 81 str r10, [r0] @ write dll_status and return counter 177 str r1, [r2] @ write out new SDRC_DLLA_CTRL
|