Lines Matching refs:trb_address_map

193 static int cdnsp_insert_segment_mapping(struct radix_tree_root *trb_address_map,  in cdnsp_insert_segment_mapping()  argument
204 if (radix_tree_lookup(trb_address_map, key)) in cdnsp_insert_segment_mapping()
211 ret = radix_tree_insert(trb_address_map, key, ring); in cdnsp_insert_segment_mapping()
217 static void cdnsp_remove_segment_mapping(struct radix_tree_root *trb_address_map, in cdnsp_remove_segment_mapping() argument
223 if (radix_tree_lookup(trb_address_map, key)) in cdnsp_remove_segment_mapping()
224 radix_tree_delete(trb_address_map, key); in cdnsp_remove_segment_mapping()
227 static int cdnsp_update_stream_segment_mapping(struct radix_tree_root *trb_address_map, in cdnsp_update_stream_segment_mapping() argument
239 ret = cdnsp_insert_segment_mapping(trb_address_map, ring, seg, in cdnsp_update_stream_segment_mapping()
254 cdnsp_remove_segment_mapping(trb_address_map, seg); in cdnsp_update_stream_segment_mapping()
269 cdnsp_remove_segment_mapping(ring->trb_address_map, seg); in cdnsp_remove_stream_mapping()
276 return cdnsp_update_stream_segment_mapping(ring->trb_address_map, ring, in cdnsp_update_stream_mapping()
445 ret = cdnsp_update_stream_segment_mapping(ring->trb_address_map, in cdnsp_ring_expansion()
546 return radix_tree_lookup(&pep->stream_info.trb_address_map, in cdnsp_dma_to_transfer_ring()
591 INIT_RADIX_TREE(&stream_info->trb_address_map, GFP_ATOMIC); in cdnsp_alloc_stream_info()
608 cur_ring->trb_address_map = &stream_info->trb_address_map; in cdnsp_alloc_stream_info()