Lines Matching refs:ltrb
176 let mut ltrb = LinkTrb::new(); in ring_test_dequeue() localVariable
177 ltrb.set_trb_type(TrbType::Link); in ring_test_dequeue()
178 ltrb.set_ring_segment_pointer(0x200); in ring_test_dequeue()
179 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + 2 * trb_size)) in ring_test_dequeue()
191 ltrb.set_ring_segment_pointer(0x300); in ring_test_dequeue()
192 gm.write_obj_at_addr(ltrb, GuestAddress(0x200 + 2 * trb_size)) in ring_test_dequeue()
205 ltrb.set_ring_segment_pointer(0x100); in ring_test_dequeue()
206 gm.write_obj_at_addr(ltrb, GuestAddress(0x300 + 2 * trb_size)) in ring_test_dequeue()
250 let mut ltrb = LinkTrb::new(); in transfer_ring_test_dequeue_failure() localVariable
251 ltrb.set_trb_type(TrbType::Link); in transfer_ring_test_dequeue_failure()
252 ltrb.set_ring_segment_pointer(0x200); in transfer_ring_test_dequeue_failure()
253 ltrb.set_toggle_cycle(true); in transfer_ring_test_dequeue_failure()
254 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + 2 * trb_size)) in transfer_ring_test_dequeue_failure()
282 let mut ltrb = LinkTrb::new(); in ring_test_toggle_cycle() localVariable
283 ltrb.set_trb_type(TrbType::Link); in ring_test_toggle_cycle()
284 ltrb.set_ring_segment_pointer(0x100); in ring_test_toggle_cycle()
285 ltrb.set_toggle_cycle(true); in ring_test_toggle_cycle()
286 ltrb.set_cycle(false); in ring_test_toggle_cycle()
287 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + trb_size)) in ring_test_toggle_cycle()
325 let mut ltrb = LinkTrb::new(); in ring_test_toggle_cycle() localVariable
326 ltrb.set_trb_type(TrbType::Link); in ring_test_toggle_cycle()
327 ltrb.set_ring_segment_pointer(0x100); in ring_test_toggle_cycle()
328 ltrb.set_toggle_cycle(true); in ring_test_toggle_cycle()
329 ltrb.set_cycle(true); // Producer cycle state is now 1. in ring_test_toggle_cycle()
330 gm.write_obj_at_addr(ltrb, GuestAddress(0x100 + trb_size)) in ring_test_toggle_cycle()