Home
last modified time | relevance | path

Searched refs:num_streams (Results 1 – 22 of 22) sorted by relevance

/drivers/staging/greybus/
Dcamera.c228 for (i = 0; i < resp->num_streams; i++) { in gb_camera_get_max_pkt_size()
283 if (resp->num_streams > nstreams) { in gb_camera_configure_streams_validate_response()
285 resp->num_streams, nstreams); in gb_camera_configure_streams_validate_response()
289 for (i = 0; i < resp->num_streams; i++) { in gb_camera_configure_streams_validate_response()
522 unsigned int *num_streams, in gb_camera_configure_streams() argument
529 unsigned int nstreams = *num_streams; in gb_camera_configure_streams()
549 req->num_streams = nstreams; in gb_camera_configure_streams()
587 *num_streams = resp->num_streams; in gb_camera_configure_streams()
589 for (i = 0; i < resp->num_streams; ++i) { in gb_camera_configure_streams()
619 if (resp->num_streams == 0) in gb_camera_configure_streams()
[all …]
/drivers/usb/cdns3/
Dcdnsp-trace.h45 __field(unsigned int, num_streams)
55 __entry->num_streams = pep->stream_info.num_streams;
63 __entry->enabled, __entry->num_streams, __entry->td_count,
804 TP_PROTO(struct cdnsp_ep *pep, int num_stream_ctxs, int num_streams),
805 TP_ARGS(pep, num_stream_ctxs, num_streams),
809 __field(int, num_streams)
813 __entry->num_streams = num_streams;
817 __entry->num_streams)
Dcdnsp-mem.c564 unsigned int num_streams) in cdnsp_alloc_stream_info() argument
574 stream_info->num_streams = num_streams; in cdnsp_alloc_stream_info()
578 stream_info->stream_rings = kcalloc(num_streams, in cdnsp_alloc_stream_info()
599 for (cur_stream = 1; cur_stream < num_streams; cur_stream++) { in cdnsp_alloc_stream_info()
627 for (cur_stream = 1; cur_stream < num_streams; cur_stream++) { in cdnsp_alloc_stream_info()
652 for (cur_stream = 1; cur_stream < stream_info->num_streams; in cdnsp_free_stream_info()
Dcdnsp-gadget.c767 unsigned int num_streams = usb_ss_max_streams(pep->endpoint.comp_desc); in cdnsp_alloc_streams() local
771 if (num_streams == 0) in cdnsp_alloc_streams()
774 if (num_streams > STREAM_NUM_STREAMS) in cdnsp_alloc_streams()
782 num_streams += 2; in cdnsp_alloc_streams()
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()
800 return num_streams - 1; in cdnsp_alloc_streams()
Dcdnsp-gadget.h774 unsigned int num_streams; member
1499 unsigned int num_streams);
Dcdnsp-ring.c329 if (stream_id == 0 || stream_id >= pep->stream_info.num_streams) { in cdnsp_get_transfer_ring()
366 for (stream_id = 1; stream_id < stream_info->num_streams; stream_id++) { in cdnsp_ring_doorbell_for_active_rings()
1196 for (cur_stream = 1; cur_stream < pep->stream_info.num_streams; in cdnsp_handle_tx_nrdy()
/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h490 int num_streams,
515 int num_streams,
532 int num_streams,
/drivers/usb/host/
Dxhci-debugfs.c495 epriv->stream_id, epriv->stream_info->num_streams - 1); in xhci_stream_id_show()
521 if (stream_id == 0 || stream_id >= epriv->stream_info->num_streams) in xhci_stream_id_write()
549 epriv->stream_info->num_streams, in xhci_stream_context_array_show()
555 if (id < epriv->stream_info->num_streams) in xhci_stream_context_array_show()
Dxhci-mem.c608 unsigned int num_streams, in xhci_alloc_stream_info() argument
620 num_streams, num_stream_ctxs); in xhci_alloc_stream_info()
632 stream_info->num_streams = num_streams; in xhci_alloc_stream_info()
637 num_streams, sizeof(struct xhci_ring *), mem_flags, in xhci_alloc_stream_info()
664 for (cur_stream = 1; cur_stream < num_streams; cur_stream++) { in xhci_alloc_stream_info()
699 for (cur_stream = 1; cur_stream < num_streams; cur_stream++) { in xhci_alloc_stream_info()
770 for (cur_stream = 1; cur_stream < stream_info->num_streams; in xhci_free_stream_info()
Dxhci.c3414 unsigned int *num_streams, unsigned int *num_stream_ctxs) in xhci_calculate_streams_entries() argument
3419 *num_stream_ctxs = roundup_pow_of_two(*num_streams); in xhci_calculate_streams_entries()
3431 *num_streams = max_streams; in xhci_calculate_streams_entries()
3442 unsigned int *num_streams, u32 *changed_ep_bitmask) in xhci_calculate_streams_and_bitmask() argument
3456 if (max_streams < (*num_streams - 1)) { in xhci_calculate_streams_and_bitmask()
3460 *num_streams = max_streams+1; in xhci_calculate_streams_and_bitmask()
3530 unsigned int num_streams, gfp_t mem_flags) in xhci_alloc_streams() argument
3549 num_streams += 1; in xhci_alloc_streams()
3552 num_streams); in xhci_alloc_streams()
3579 num_eps, &num_streams, &changed_ep_bitmask); in xhci_alloc_streams()
[all …]
Dxhci.h854 unsigned int num_streams; member
2082 unsigned int num_streams,
Dxhci-ring.c491 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
538 if (stream_id == 0 || stream_id >= ep->stream_info->num_streams) { in xhci_virt_ep_to_ring()
1188 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in xhci_kill_endpoint_urbs()
Dxhci-hub.c557 for (s = 1; s < ep->stream_info->num_streams; s++) in xhci_ring_device()
/drivers/usb/core/
Ddevio.c942 unsigned int i, num_streams, num_eps; in parse_usbdevfs_streams() local
948 if (get_user(num_streams, &streams->num_streams) || in parse_usbdevfs_streams()
956 if (num_streams_ret && (num_streams < 2 || num_streams > 65536)) in parse_usbdevfs_streams()
996 *num_streams_ret = num_streams; in parse_usbdevfs_streams()
2486 unsigned num_streams, num_eps; in proc_alloc_streams() local
2491 r = parse_usbdevfs_streams(ps, arg, &num_streams, &num_eps, in proc_alloc_streams()
2499 r = usb_alloc_streams(intf, eps, num_eps, num_streams, GFP_KERNEL); in proc_alloc_streams()
Dhcd.c2038 unsigned int num_streams, gfp_t mem_flags) in usb_alloc_streams() argument
2063 num_streams, mem_flags); in usb_alloc_streams()
/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3-sva.c478 if (master->num_streams != 1) in arm_smmu_master_iopf_supported()
Darm-smmu-v3.h701 unsigned int num_streams; member
Darm-smmu-v3.c990 for (i = 0; i < master->num_streams; i++) { in arm_smmu_sync_cd()
1787 for (i = 0; i < master->num_streams; i++) { in arm_smmu_atc_inv_master()
1833 for (i = 0; i < master->num_streams; i++) { in arm_smmu_atc_inv_domain()
2270 for (i = 0; i < master->num_streams; ++i) { in arm_smmu_install_ste_for_dev()
2571 master->num_streams = fwspec->num_ids; in arm_smmu_insert_master()
/drivers/net/wireless/ath/ath10k/
Dwmi.c4662 u8 tpc, num_streams, preamble, ch, stm_idx; in ath10k_tpc_config_get_rate() local
4664 num_streams = ATH10K_HW_NSS(rate_code); in ath10k_tpc_config_get_rate()
4676 stm_idx = num_streams - 1; in ath10k_tpc_config_get_rate()
4677 if (num_chains <= num_streams) in ath10k_tpc_config_get_rate()
4937 u8 tpc, num_streams, preamble, ch, stm_idx; in ath10k_wmi_tpc_final_get_rate() local
4941 num_streams = ATH10K_HW_NSS(rate_code); in ath10k_wmi_tpc_final_get_rate()
4944 stm_idx = num_streams - 1; in ath10k_wmi_tpc_final_get_rate()
5018 if (num_chains <= num_streams) in ath10k_wmi_tpc_final_get_rate()
/drivers/usb/gadget/udc/
Ddummy_hcd.c2555 unsigned int num_streams, gfp_t mem_flags) in dummy_alloc_streams() argument
2560 int ret_streams = num_streams; in dummy_alloc_streams()
/drivers/gpu/drm/amd/display/dc/core/
Ddc.c371 struct dc_stream_state **streams, int num_streams, in dc_stream_get_crtc_position() argument
681 int num_streams, in dc_stream_set_static_screen_params() argument
688 for (i = 0; i < num_streams; i++) { in dc_stream_set_static_screen_params()
/drivers/usb/usbip/
Dvhci_hcd.c1298 unsigned int num_streams, gfp_t mem_flags) in vhci_alloc_streams() argument