Home
last modified time | relevance | path

Searched refs:trb_address_map (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/usb/cdns3/
Dcdnsp-mem.c193 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()
[all …]
Dcdnsp-gadget.h778 struct radix_tree_root trb_address_map; member
1268 struct radix_tree_root *trb_address_map; member
/linux-6.12.1/drivers/usb/host/
Dxhci-mem.c191 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()
[all …]
Dxhci.h581 struct radix_tree_root trb_address_map; member
1363 struct radix_tree_root *trb_address_map; member