Home
last modified time | relevance | path

Searched refs:write_obj_at_addr (Results 1 – 15 of 15) sorted by relevance

/external/crosvm/devices/src/usb/xhci/
Dring_buffer.rs169 gm.write_obj_at_addr(trb.clone(), GuestAddress(0x100)) in ring_test_dequeue()
173 gm.write_obj_at_addr(trb, GuestAddress(0x100 + trb_size)) in ring_test_dequeue()
179 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + 2 * trb_size)) in ring_test_dequeue()
183 gm.write_obj_at_addr(trb, GuestAddress(0x200)).unwrap(); in ring_test_dequeue()
188 gm.write_obj_at_addr(trb, GuestAddress(0x200 + 1 * trb_size)) in ring_test_dequeue()
192 gm.write_obj_at_addr(ltrb, GuestAddress(0x200 + 2 * trb_size)) in ring_test_dequeue()
197 gm.write_obj_at_addr(trb, GuestAddress(0x300)).unwrap(); in ring_test_dequeue()
202 gm.write_obj_at_addr(trb, GuestAddress(0x300 + 1 * trb_size)) in ring_test_dequeue()
206 gm.write_obj_at_addr(ltrb, GuestAddress(0x300 + 2 * trb_size)) in ring_test_dequeue()
243 gm.write_obj_at_addr(trb.clone(), GuestAddress(0x100)) in transfer_ring_test_dequeue_failure()
[all …]
Dring_buffer_controller.rs276 gm.write_obj_at_addr(trb.clone(), GuestAddress(0x100)) in setup_mem()
280 gm.write_obj_at_addr(trb, GuestAddress(0x100 + trb_size)) in setup_mem()
286 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + 2 * trb_size)) in setup_mem()
290 gm.write_obj_at_addr(trb, GuestAddress(0x200)).unwrap(); in setup_mem()
295 gm.write_obj_at_addr(trb, GuestAddress(0x200 + 1 * trb_size)) in setup_mem()
299 gm.write_obj_at_addr(ltrb, GuestAddress(0x200 + 2 * trb_size)) in setup_mem()
304 gm.write_obj_at_addr(trb, GuestAddress(0x300)).unwrap(); in setup_mem()
309 gm.write_obj_at_addr(trb, GuestAddress(0x300 + 1 * trb_size)) in setup_mem()
313 gm.write_obj_at_addr(ltrb, GuestAddress(0x300 + 2 * trb_size)) in setup_mem()
Devent_ring.rs85 .write_obj_at_addr(trb, self.enqueue_pointer) in add_event()
250 gm.write_obj_at_addr(st_entries[0], GuestAddress(0x8)) in test_event_ring()
252 gm.write_obj_at_addr( in test_event_ring()
257 gm.write_obj_at_addr( in test_event_ring()
Ddevice_slot.rs730 .write_obj_at_addr(device_context, self.get_device_context_addr()?) in set_device_context()
754 .write_obj_at_addr( in copy_context()
/external/crosvm/x86_64/src/
Dmptable.rs150 mem.write_obj_at_addr(mpf_intel, base_mp) in setup_mptable()
177 mem.write_obj_at_addr(mpc_cpu, base_mp) in setup_mptable()
190 mem.write_obj_at_addr(mpc_ioapic, base_mp) in setup_mptable()
201 mem.write_obj_at_addr(mpc_bus, base_mp) in setup_mptable()
212 mem.write_obj_at_addr(mpc_bus, base_mp) in setup_mptable()
227 mem.write_obj_at_addr(mpc_intsrc, base_mp) in setup_mptable()
243 mem.write_obj_at_addr(mpc_intsrc, base_mp) in setup_mptable()
259 mem.write_obj_at_addr(mpc_intsrc, base_mp) in setup_mptable()
275 mem.write_obj_at_addr(mpc_intsrc, base_mp) in setup_mptable()
290 mem.write_obj_at_addr(mpc_lintsrc, base_mp) in setup_mptable()
[all …]
Dregs.rs222 .write_obj_at_addr(*entry, addr) in write_gdt_table()
231 .write_obj_at_addr(val, boot_idt_addr) in write_idt_value()
278 mem.write_obj_at_addr(boot_pdpte_addr.offset() as u64 | 0x03, boot_pml4_addr) in setup_page_tables()
282 mem.write_obj_at_addr(boot_pde_addr.offset() as u64 | 0x03, boot_pdpte_addr) in setup_page_tables()
288 mem.write_obj_at_addr((i << 21) + 0x83u64, boot_pde_addr.unchecked_add(i * 8)) in setup_page_tables()
Dsmbios.rs141 mem.write_obj_at_addr(val, curptr) in write_and_incr()
206 mem.write_obj_at_addr(smbios_ep, GuestAddress(SMBIOS_START)) in setup_smbios()
Dfdt.rs73 .write_obj_at_addr(hdr, fdt_address) in create_fdt()
Dlib.rs248 .write_obj_at_addr(params, zero_page_addr) in configure_system()
/external/crosvm/sys_util/src/
Dguest_memory.rs426 pub fn write_obj_at_addr<T: DataInit>(&self, val: T, guest_addr: GuestAddress) -> Result<()> { in write_obj_at_addr() method
603 gm.write_obj_at_addr(val1, GuestAddress(0x500)).unwrap(); in test_read_u64()
604 gm.write_obj_at_addr(val2, GuestAddress(0x1000 + 32)) in test_read_u64()
620 gm.write_obj_at_addr(val1, GuestAddress(0x500)).unwrap(); in test_ref_load_u64()
621 gm.write_obj_at_addr(val2, GuestAddress(0x1000 + 32)) in test_ref_load_u64()
701 gm.write_obj_at_addr(0x1337u16, GuestAddress(0x0)).unwrap(); in memfd_offset()
702 gm.write_obj_at_addr(0x0420u16, GuestAddress(0x10000)) in memfd_offset()
/external/crosvm/devices/src/virtio/
Dqueue.rs332 mem.write_obj_at_addr(desc_index as u32, used_elem).unwrap(); in add_used()
333 mem.write_obj_at_addr(len as u32, used_elem.unchecked_add(4)) in add_used()
341 mem.write_obj_at_addr(self.next_used.0 as u16, used_ring.unchecked_add(2)) in add_used()
Dpmem.rs167 len = match self.memory.write_obj_at_addr(response, status_address) { in process_queue()
Dblock.rs703 .write_obj_at_addr(status, request.status_addr) in process_queue()
/external/crosvm/devices/src/pci/
Dac97_bus_master.rs904 mem.write_obj_at_addr(GUEST_ADDR_BASE, pointer_addr) in start_playback()
907 mem.write_obj_at_addr(GUEST_ADDR_BASE + FRAGMENT_SIZE as u32, pointer_addr) in start_playback()
910 mem.write_obj_at_addr(IOC_MASK | (FRAGMENT_SIZE as u32) / 2, control_addr) in start_playback()
993 mem.write_obj_at_addr(GUEST_ADDR_BASE + FRAGMENT_SIZE as u32, pointer_addr) in start_capture()
995 mem.write_obj_at_addr(IOC_MASK | (FRAGMENT_SIZE as u32) / 2, control_addr) in start_capture()
/external/crosvm/kvm/src/
Dlib.rs1875 vm.get_memory().write_obj_at_addr(67u8, obj_addr).unwrap(); in get_memory()