Home
last modified time | relevance | path

Searched refs:stream_rings (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c578 stream_info->stream_rings = kcalloc(num_streams, in cdnsp_alloc_stream_info()
581 if (!stream_info->stream_rings) in cdnsp_alloc_stream_info()
602 stream_info->stream_rings[cur_stream] = cur_ring; in cdnsp_alloc_stream_info()
628 cur_ring = stream_info->stream_rings[cur_stream]; in cdnsp_alloc_stream_info()
631 stream_info->stream_rings[cur_stream] = NULL; in cdnsp_alloc_stream_info()
636 kfree(pep->stream_info.stream_rings); in cdnsp_alloc_stream_info()
654 cur_ring = stream_info->stream_rings[cur_stream]; in cdnsp_free_stream_info()
657 stream_info->stream_rings[cur_stream] = NULL; in cdnsp_free_stream_info()
664 kfree(stream_info->stream_rings); in cdnsp_free_stream_info()
H A Dcdnsp-ring.c335 return pep->stream_info.stream_rings[stream_id]; in cdnsp_get_transfer_ring()
1200 ep_ring = pep->stream_info.stream_rings[cur_stream]; in cdnsp_handle_tx_nrdy()
1210 ep_ring = pep->stream_info.stream_rings[dev_sid]; in cdnsp_handle_tx_nrdy()
H A Dcdnsp-gadget.h773 struct cdnsp_ring **stream_rings; member
/openbmc/linux/drivers/usb/host/
H A Dxhci-mem.c618 stream_info->stream_rings = kcalloc_node( in xhci_alloc_stream_info()
621 if (!stream_info->stream_rings) in xhci_alloc_stream_info()
645 stream_info->stream_rings[cur_stream] = in xhci_alloc_stream_info()
648 cur_ring = stream_info->stream_rings[cur_stream]; in xhci_alloc_stream_info()
664 stream_info->stream_rings[cur_stream] = NULL; in xhci_alloc_stream_info()
679 cur_ring = stream_info->stream_rings[cur_stream]; in xhci_alloc_stream_info()
682 stream_info->stream_rings[cur_stream] = NULL; in xhci_alloc_stream_info()
692 kfree(stream_info->stream_rings); in xhci_alloc_stream_info()
751 cur_ring = stream_info->stream_rings[cur_stream]; in xhci_free_stream_info()
754 stream_info->stream_rings[cur_stream] = NULL; in xhci_free_stream_info()
[all …]
H A Dxhci-debugfs.c525 epriv->show_ring = epriv->stream_info->stream_rings[stream_id]; in xhci_stream_id_write()
583 epriv->show_ring = epriv->stream_info->stream_rings[1]; in xhci_debugfs_create_stream_files()
H A Dxhci-ring.c533 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
583 return ep->stream_info->stream_rings[stream_id]; in xhci_virt_ep_to_ring()
1240 ring = ep->stream_info->stream_rings[stream_id]; in xhci_kill_endpoint_urbs()
H A Dxhci.h598 struct xhci_ring **stream_rings; member