Lines Matching refs:trb_address_map

191 static int xhci_insert_segment_mapping(struct radix_tree_root *trb_address_map,  in xhci_insert_segment_mapping()  argument
201 if (radix_tree_lookup(trb_address_map, key)) in xhci_insert_segment_mapping()
207 ret = radix_tree_insert(trb_address_map, in xhci_insert_segment_mapping()
213 static void xhci_remove_segment_mapping(struct radix_tree_root *trb_address_map, in xhci_remove_segment_mapping() argument
219 if (radix_tree_lookup(trb_address_map, key)) in xhci_remove_segment_mapping()
220 radix_tree_delete(trb_address_map, key); in xhci_remove_segment_mapping()
224 struct radix_tree_root *trb_address_map, in xhci_update_stream_segment_mapping() argument
234 if (WARN_ON_ONCE(trb_address_map == NULL)) in xhci_update_stream_segment_mapping()
239 ret = xhci_insert_segment_mapping(trb_address_map, in xhci_update_stream_segment_mapping()
254 xhci_remove_segment_mapping(trb_address_map, seg); in xhci_update_stream_segment_mapping()
267 if (WARN_ON_ONCE(ring->trb_address_map == NULL)) in xhci_remove_stream_mapping()
272 xhci_remove_segment_mapping(ring->trb_address_map, seg); in xhci_remove_stream_mapping()
279 return xhci_update_stream_segment_mapping(ring->trb_address_map, ring, in xhci_update_stream_mapping()
440 ret = xhci_update_stream_segment_mapping(ring->trb_address_map, in xhci_ring_expansion()
574 return radix_tree_lookup(&ep->stream_info->trb_address_map, in xhci_dma_to_transfer_ring()
636 INIT_RADIX_TREE(&stream_info->trb_address_map, GFP_ATOMIC); in xhci_alloc_stream_info()
651 cur_ring->trb_address_map = &stream_info->trb_address_map; in xhci_alloc_stream_info()