/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-trace.h | 800 TP_PROTO(struct cdnsp_ep *pep, int num_stream_ctxs, int num_streams), 801 TP_ARGS(pep, num_stream_ctxs, num_streams), 804 __field(int, num_stream_ctxs) 808 __entry->num_stream_ctxs = num_stream_ctxs; 812 __get_str(name), __entry->num_stream_ctxs,
|
H A D | cdnsp-mem.c | 529 pep->stream_info.num_stream_ctxs; in cdnsp_alloc_stream_ctx() 563 unsigned int num_stream_ctxs, in cdnsp_alloc_stream_info() 575 stream_info->num_stream_ctxs = num_stream_ctxs; in cdnsp_alloc_stream_info() 590 sizeof(struct cdnsp_stream_ctx) * num_stream_ctxs); in cdnsp_alloc_stream_info() 561 cdnsp_alloc_stream_info(struct cdnsp_device *pdev, struct cdnsp_ep *pep, unsigned int num_stream_ctxs, unsigned int num_streams) cdnsp_alloc_stream_info() argument
|
H A D | cdnsp-gadget.c | 752 max_primary_streams = fls(stream_info->num_stream_ctxs) - 2; in cdnsp_setup_streams_ep_input_ctx() 768 unsigned int num_stream_ctxs; in cdnsp_alloc_streams() local 785 num_stream_ctxs = roundup_pow_of_two(num_streams); in cdnsp_alloc_streams() 787 trace_cdnsp_stream_number(pep, num_stream_ctxs, num_streams); in cdnsp_alloc_streams() 789 ret = cdnsp_alloc_stream_info(pdev, pep, num_stream_ctxs, num_streams); in cdnsp_alloc_streams()
|
H A D | cdnsp-gadget.h | 764 * @num_stream_ctxs: Number of streams. 776 unsigned int num_stream_ctxs; member 1498 unsigned int num_stream_ctxs,
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-mem.c | 540 unsigned int num_stream_ctxs, in xhci_free_stream_ctx() 544 size_t size = sizeof(struct xhci_stream_ctx) * num_stream_ctxs; in xhci_free_stream_ctx() 568 unsigned int num_stream_ctxs, dma_addr_t *dma, in xhci_alloc_stream_ctx() 572 size_t size = sizeof(struct xhci_stream_ctx) * num_stream_ctxs; in xhci_alloc_stream_ctx() 622 unsigned int num_stream_ctxs, in xhci_alloc_stream_info() 635 num_streams, num_stream_ctxs); in xhci_alloc_stream_info() 648 stream_info->num_stream_ctxs = num_stream_ctxs; in xhci_alloc_stream_info() 659 num_stream_ctxs, &stream_info->ctx_array_dma, in xhci_alloc_stream_info() 664 sizeof(struct xhci_stream_ctx)*num_stream_ctxs); in xhci_alloc_stream_info() 539 xhci_free_stream_ctx(struct xhci_hcd *xhci, unsigned int num_stream_ctxs, struct xhci_stream_ctx *stream_ctx, dma_addr_t dma) xhci_free_stream_ctx() argument 567 xhci_alloc_stream_ctx(struct xhci_hcd *xhci, unsigned int num_stream_ctxs, dma_addr_t *dma, gfp_t mem_flags) xhci_alloc_stream_ctx() argument 621 xhci_alloc_stream_info(struct xhci_hcd *xhci, unsigned int num_stream_ctxs, unsigned int num_streams, unsigned int max_packet, gfp_t mem_flags) xhci_alloc_stream_info() argument [all...] |
H A D | xhci-debugfs.c | 550 epriv->stream_info->num_stream_ctxs); in xhci_stream_context_array_show() 552 for (id = 0; id < epriv->stream_info->num_stream_ctxs; id++) { in xhci_stream_context_array_show()
|
H A D | xhci.c | 3348 unsigned int *num_streams, unsigned int *num_stream_ctxs) in xhci_calculate_streams_entries() 3353 *num_stream_ctxs = roundup_pow_of_two(*num_streams); in xhci_calculate_streams_entries() 3361 if (*num_stream_ctxs > max_streams) { in xhci_calculate_streams_entries() 3364 *num_stream_ctxs = max_streams; in xhci_calculate_streams_entries() 3472 unsigned int num_stream_ctxs; in xhci_alloc_streams() local 3540 xhci_calculate_streams_entries(xhci, &num_streams, &num_stream_ctxs); in xhci_alloc_streams() 3542 num_stream_ctxs, num_streams); in xhci_alloc_streams() 3548 num_stream_ctxs, in xhci_alloc_streams() 3347 xhci_calculate_streams_entries(struct xhci_hcd *xhci, unsigned int *num_streams, unsigned int *num_stream_ctxs) xhci_calculate_streams_entries() argument
|
H A D | xhci.h | 855 unsigned int num_stream_ctxs; member 2055 unsigned int num_stream_ctxs,
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-mem.c | 531 unsigned int num_stream_ctxs, in xhci_free_stream_ctx() 535 size_t size = sizeof(struct xhci_stream_ctx) * num_stream_ctxs; in xhci_free_stream_ctx() 556 unsigned int num_stream_ctxs, dma_addr_t *dma, in xhci_alloc_stream_ctx() 560 size_t size = size_mul(sizeof(struct xhci_stream_ctx), num_stream_ctxs); in xhci_alloc_stream_ctx() 590 unsigned int num_stream_ctxs, in xhci_alloc_stream_info() 602 num_streams, num_stream_ctxs); in xhci_alloc_stream_info() 615 stream_info->num_stream_ctxs = num_stream_ctxs; in xhci_alloc_stream_info() 626 num_stream_ctxs, &stream_info->ctx_array_dma, in xhci_alloc_stream_info() 688 stream_info->num_stream_ctxs, in xhci_alloc_stream_info() 530 xhci_free_stream_ctx(struct xhci_hcd *xhci, unsigned int num_stream_ctxs, struct xhci_stream_ctx *stream_ctx, dma_addr_t dma) xhci_free_stream_ctx() argument 555 xhci_alloc_stream_ctx(struct xhci_hcd *xhci, unsigned int num_stream_ctxs, dma_addr_t *dma, gfp_t mem_flags) xhci_alloc_stream_ctx() argument 589 xhci_alloc_stream_info(struct xhci_hcd *xhci, unsigned int num_stream_ctxs, unsigned int num_streams, unsigned int max_packet, gfp_t mem_flags) xhci_alloc_stream_info() argument [all...] |
H A D | xhci-debugfs.c | 550 epriv->stream_info->num_stream_ctxs); in xhci_stream_context_array_show() 552 for (id = 0; id < epriv->stream_info->num_stream_ctxs; id++) { in xhci_stream_context_array_show()
|
H A D | xhci.c | 3240 unsigned int *num_streams, unsigned int *num_stream_ctxs) in xhci_calculate_streams_entries() 3245 *num_stream_ctxs = roundup_pow_of_two(*num_streams); in xhci_calculate_streams_entries() 3253 if (*num_stream_ctxs > max_streams) { in xhci_calculate_streams_entries() 3256 *num_stream_ctxs = max_streams; in xhci_calculate_streams_entries() 3364 unsigned int num_stream_ctxs; in xhci_alloc_streams() local 3432 xhci_calculate_streams_entries(xhci, &num_streams, &num_stream_ctxs); in xhci_alloc_streams() 3434 num_stream_ctxs, num_streams); in xhci_alloc_streams() 3440 num_stream_ctxs, in xhci_alloc_streams() 3239 xhci_calculate_streams_entries(struct xhci_hcd *xhci, unsigned int *num_streams, unsigned int *num_stream_ctxs) xhci_calculate_streams_entries() argument
|
H A D | xhci.h | 858 unsigned int num_stream_ctxs; member 2093 unsigned int num_stream_ctxs,
|