Home
last modified time | relevance | path

Searched refs:Write (Results 1 – 25 of 102) sorted by relevance

12345

/system/dev/lib/mock_mmio_reg/
A Dmock_mmio_reg.cpp45 (*mock_regs)[off].Write(*reinterpret_cast<const uint8_t*>(value)); in mmio_fake_write()
48 (*mock_regs)[off].Write(*reinterpret_cast<const uint16_t*>(value)); in mmio_fake_write()
51 (*mock_regs)[off].Write(*reinterpret_cast<const uint32_t*>(value)); in mmio_fake_write()
54 (*mock_regs)[off].Write(*reinterpret_cast<const uint64_t*>(value)); in mmio_fake_write()
/system/uapp/audio/
A Dwav-sink.cpp81 res = Write(&riff_chunk, sizeof(riff_chunk)); in SetFormat()
88 res = Write(&wav_hdr, sizeof(wav_hdr)); in SetFormat()
97 res = Write(&riff_chunk, sizeof(riff_chunk)); in SetFormat()
114 zx_status_t res = Write(buffer, amt); in PutFrames()
147 res = Write(&riff_chunk, sizeof(riff_chunk)); in Finalize()
162 res = Write(&riff_chunk, sizeof(riff_chunk)); in Finalize()
/system/dev/bus/pci/
A Dconfig.h137 virtual void Write(const PciReg8 addr, uint8_t val) const = 0;
138 virtual void Write(const PciReg16 addr, uint16_t val) const = 0;
139 virtual void Write(const PciReg32 addr, uint32_t val) const = 0;
161 void Write(const PciReg8 addr, uint8_t val) const final;
162 void Write(const PciReg16 addr, uint16_t val) const final;
163 void Write(const PciReg32 addr, uint32_t val) const final;
188 void Write(const PciReg8 addr, uint8_t val) const final;
189 void Write(const PciReg16 addr, uint16_t val) const final;
190 void Write(const PciReg32 addr, uint32_t val) const final;
A Dconfig.cpp107 void MmioConfig::Write(PciReg8 addr, uint8_t val) const { in Write() function in pci::MmioConfig
112 void MmioConfig::Write(PciReg16 addr, uint16_t val) const { in Write() function in pci::MmioConfig
117 void MmioConfig::Write(PciReg32 addr, uint32_t val) const { in Write() function in pci::MmioConfig
158 void ProxyConfig::Write(PciReg8 addr, uint8_t val) const { in Write() function in pci::ProxyConfig
162 void ProxyConfig::Write(PciReg16 addr, uint16_t val) const { in Write() function in pci::ProxyConfig
166 void ProxyConfig::Write(PciReg32 addr, uint32_t val) const { in Write() function in pci::ProxyConfig
/system/dev/block/mtk-sdmmc/
A Dtest-overrides.cpp30 void ddk::MmioBuffer::Write<uint32_t>(uint32_t val, zx_off_t offs) const { in Write() function in ddk::MmioBuffer
34 (*mock_regs)[offs].Write(val); in Write()
/system/core/devmgr/devmgr/
A Dfidl.cpp26 return msg.Write(dev->hrpc.get(), 0); in dh_send_remove_device()
68 return msg.Write(dh->hrpc(), 0); in dh_send_create_device()
87 return msg.Write(dh->hrpc(), 0); in dh_send_create_device_stub()
113 return msg.Write(dev->hrpc.get(), 0); in dh_send_bind_driver()
131 return msg.Write(dev->hrpc.get(), 0); in dh_send_connect_proxy()
146 return msg.Write(dev->hrpc.get(), 0); in dh_send_suspend()
/system/dev/audio/lib/simple-audio-stream/
A Dsimple-audio-stream.cpp127 (void) channel.Write(&notif, sizeof(notif)); in NotifyPlugDetect()
139 return rb_channel_->Write(&notif, sizeof(notif)); in NotifyPosition()
355 res = channel->Write(&resp, sizeof(resp)); in OnGetStreamFormats()
470 return channel->Write(&resp, sizeof(resp)); in OnGetGain()
540 return channel->Write(&resp, sizeof(resp)); in OnPlugDetect()
550 return channel->Write(&resp, sizeof(resp)); in OnGetUniqueId()
577 return channel->Write(&resp, sizeof(resp)); in OnGetString()
588 return channel->Write(&resp, sizeof(resp)); in OnGetFifoDepth()
614 return channel->Write(&resp, sizeof(resp)); in OnGetBuffer()
631 return channel->Write(&resp, sizeof(resp)); in OnStart()
[all …]
/system/dev/nand/broker/test/
A Dbroker-test.cpp70 bool Write(const zx::vmo& vmo, const fuchsia_nand_BrokerRequest& request,
279 ASSERT_TRUE(device.Write(vmo, request, &status)); in ReadWriteLimitsTest()
289 ASSERT_TRUE(device.Write(vmo, request, &status)); in ReadWriteLimitsTest()
298 ASSERT_TRUE(device.Write(vmo, request, &status)); in ReadWriteLimitsTest()
308 ASSERT_TRUE(device.Write(vmo, request, &status)); in ReadWriteLimitsTest()
316 ASSERT_TRUE(device.Write(vmo, request, &status)); in ReadWriteLimitsTest()
371 ASSERT_TRUE(device.Write(vmo, request)); in ReadWriteTest()
399 ASSERT_TRUE(device.Write(vmo, request)); in ReadWriteOobTest()
437 ASSERT_TRUE(device.Write(vmo, request)); in ReadWriteDataAndOobTest()
469 ASSERT_TRUE(device.Write(vmo, request)); in EraseTest()
[all …]
/system/dev/nand/broker/
A Dbroker.cpp80 zx_status_t Write(const fuchsia_nand_BrokerRequest& request) { in Write() function in __anon1e6fee670111::Broker
110 zx_status_t Write(void* ctx, const fuchsia_nand_BrokerRequest* request, fidl_txn_t* txn) { in Write() function
112 zx_status_t status = device->Write(*request); in Write()
125 .Write = Write,
/system/dev/audio/gauss-pdm-input/
A Dgauss-pdm-input-stream.cpp321 res = channel->Write(&resp, sizeof(resp)); in OnGetStreamFormats()
470 rb_channel_->Write(&resp, sizeof(resp)); in IrqThread()
494 return channel->Write(&resp, sizeof(resp)); in OnGetGain()
509 return channel->Write(&resp, sizeof(resp)); in OnSetGain()
524 return channel->Write(&resp, sizeof(resp)); in OnPlugDetect()
535 return channel->Write(&resp, sizeof(resp)); in OnGetUniqueId()
562 return channel->Write(&resp, sizeof(resp)); in OnGetString()
576 return channel->Write(&resp, sizeof(resp)); in OnGetFifoDepth()
689 res = channel->Write(&resp, sizeof(resp)); in OnGetBuffer()
709 return channel->Write(&resp, sizeof(resp)); in OnStart()
[all …]
/system/dev/block/ftl/test/
A Dftl-test.cpp77 ASSERT_EQ(ZX_OK, ftl.volume()->Write(150, 2, buffer.get())); in ReadWriteTest()
93 ASSERT_EQ(ZX_OK, ftl->volume()->Write(page_num, 1, buffer.get())); in WritePage()
105 ASSERT_EQ(ZX_OK, ftl.volume()->Write(150, 2, buffer.get())); in ReAttachTest()
111 ASSERT_EQ(ZX_OK, ftl.volume()->Write(150, 2, buffer.get())); in ReAttachTest()
237 ASSERT_EQ(ZX_OK, volume_->Write(page, 1, page_buffer_.get())); in SingleLoop()
248 ASSERT_EQ(ZX_OK, volume_->Write(page, count, page_buffer_.get())); in SingleLoop()
260 ASSERT_EQ(ZX_OK, volume_->Write(page, 1, page_buffer_.get())); in SingleLoop()
/system/dev/audio/gauss-tdm/
A Dgauss-tdm-stream.cpp371 res = channel->Write(&resp, sizeof(resp)); in OnGetStreamFormatsLocked()
470 return channel->Write(&resp, sizeof(resp)); in OnSetStreamFormatLocked()
487 return channel->Write(&resp, sizeof(resp)); in OnGetGainLocked()
516 return channel->Write(&resp, sizeof(resp)); in OnSetGainLocked()
528 return channel->Write(&resp, sizeof(resp)); in OnPlugDetectLocked()
539 return channel->Write(&resp, sizeof(resp)); in OnGetUniqueIdLocked()
566 return channel->Write(&resp, sizeof(resp)); in OnGetStringLocked()
578 return channel->Write(&resp, sizeof(resp)); in OnGetFifoDepthLocked()
661 res = channel->Write(&resp, sizeof(resp)); in OnGetBufferLocked()
740 return channel->Write(&resp, sizeof(resp)); in OnStartLocked()
[all …]
/system/host/fidl/compiler/
A Dmain.cpp243 void Write(std::ostringstream output, std::fstream file) { in Write() function
395 Write(generator.ProduceHeader(), std::move(output_file)); in compile()
400 Write(generator.ProduceClient(), std::move(output_file)); in compile()
405 Write(generator.ProduceServer(), std::move(output_file)); in compile()
410 Write(generator.Produce(), std::move(output_file)); in compile()
415 Write(generator.Produce(), std::move(output_file)); in compile()
/system/ulib/intel-hda/codec-utils/
A Dstream-base.cpp104 res = codec_channel_->Write(&req, sizeof(req)); in Activate()
152 codec_channel_->Write(&req, sizeof(req)); in Deactivate()
299 return codec_channel_->Write(&cmd, sizeof(cmd)); in SendCodecCommandLocked()
428 res = channel->Write(&resp, sizeof(resp)); in DoGetStreamFormatsLocked()
513 res = codec_channel_->Write(&req, sizeof(req)); in DoSetStreamFormatLocked()
536 res = channel->Write(&resp, sizeof(resp)); in DoSetStreamFormatLocked()
552 return channel->Write(&resp, sizeof(resp)); in DoGetGainLocked()
570 return channel->Write(&resp, sizeof(resp)); in DoSetGainLocked()
588 return channel->Write(&resp, sizeof(resp)); in DoPlugDetectLocked()
600 return channel->Write(&resp, sizeof(resp)); in DoGetUniqueIdLocked()
[all …]
/system/dev/audio/usb-audio/
A Dusb-audio-stream.cpp447 res = channel->Write(&resp, sizeof(resp)); in OnGetStreamFormatsLocked()
610 return channel->Write(&resp, sizeof(resp)); in OnSetStreamFormatLocked()
632 return channel->Write(&resp, sizeof(resp)); in OnGetGainLocked()
687 return channel->Write(&resp, sizeof(resp)); in OnPlugDetectLocked()
699 return channel->Write(&resp, sizeof(resp)); in OnGetUniqueIdLocked()
732 return channel->Write(&resp, sizeof(resp)); in OnGetStringLocked()
743 return channel->Write(&resp, sizeof(resp)); in OnGetFifoDepthLocked()
827 res = channel->Write(&resp, sizeof(resp)); in OnGetBufferLocked()
848 return channel->Write(&resp, sizeof(resp)); in OnStartLocked()
857 return channel->Write(&resp, sizeof(resp)); in OnStartLocked()
[all …]
/system/fidl/fuchsia-nand/
A Dbroker.fidl9 // Defines a Read/Write/Erase request to be sent to the nand driver.
29 3: Write(BrokerRequest request) -> (zx.status status);
/system/dev/display/intel-i915/
A Dgtt.cpp97 controller_->mmio_space()->Write<uint64_t>(pte, get_pte_offset(i)); in Init()
125 controller_->mmio_space()->Write<uint64_t>(pte, get_pte_offset(pte_idx++)); in SetupForMexec()
184 gtt_->controller_->mmio_space()->Write<uint64_t>(pte, get_pte_offset(pte_idx++)); in PopulateRegion()
204 mmio_space->Write<uint64_t>(pte, pte_offset); in ClearRegion()
260 mmio_space->Write<uint64_t>(entry ^ kRotatedFlag, dest_offset); in SetRotation()
/system/ulib/ftl/include/lib/ftl/
A Dvolume.h54 virtual zx_status_t Write(uint32_t first_page, int num_pages, const void* buffer) = 0;
87 zx_status_t Write(uint32_t first_page, int num_pages, const void* buffer) final;
/system/host/banjo/compiler/
A Dmain.cpp271 void Write(std::ostringstream output, Stream file) { in Write() function
404 Write(generator.ProduceHeader(), std::move(output_file)); in main()
409 Write(generator.ProduceHeader(), std::move(output_file)); in main()
414 Write(generator.ProduceInternalHeader(), std::move(output_file)); in main()
419 Write(generator.Produce(), std::move(output_file)); in main()
/system/dev/input/goodix/
A Dgt92xx.cpp88 Write(GT_REG_TOUCH_STATUS, 0); in Thread()
183 Write(GT_REG_TOUCH_STATUS, 0); in Init()
199 reset_gpio_.Write(1); // Release the reset in HWReset()
307 zx_status_t Gt92xxDevice::Write(uint16_t addr, uint8_t val) { in Write() function in goodix::Gt92xxDevice
/system/ulib/fs/
A Dpseudo-file.cpp102 zx_status_t BufferedPseudoFile::Content::Write(const void* data, size_t length, size_t offset, in Write() function in fs::BufferedPseudoFile::Content
130 zx_status_t status = Write(data, length, input_length_, out_actual); in Append()
215 zx_status_t UnbufferedPseudoFile::Content::Write(const void* data, size_t length, size_t offset, in Write() function in fs::UnbufferedPseudoFile::Content
238 zx_status_t status = Write(data, length, 0u, out_actual); in Append()
/system/dev/audio/intel-hda/dsp/
A Dintel-dsp-stream.cpp79 res = stream_channel()->Write(&resp, sizeof(resp), std::move(client_endpoint)); in ProcessSetStreamFmt()
211 return client_rb_channel_->Write(&resp, sizeof(resp)); in ProcessRbRequest()
219 return client_rb_channel_->Write(&req, req_size, std::move(rxed_handle)); in ProcessRbRequest()
275 return channel->Write(&resp, sizeof(resp)); in ProcessClientRbRequest()
283 return rb_channel_->Write(&req, req_size); in ProcessClientRbRequest()
/system/ulib/hwreg/include/hwreg/
A Dmmio.h22 template <class IntType> void Write(uint32_t offset, IntType val) { in Write() function
/system/dev/ethernet/aml-ethernet-s912/
A Daml-ethernet.cpp31 gpios_[PHY_RESET]->Write(0); in EthBoardResetPhy()
33 gpios_[PHY_RESET]->Write(1); in EthBoardResetPhy()
/system/ulib/minfs/include/minfs/
A Dsuperblock.h60 void Write(WriteTxn* txn);

Completed in 58 milliseconds

12345