Home
last modified time | relevance | path

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

12

/linux/sound/pci/lola/
A Dlola.c236 for (i = 0; in_sts && i < chip->pcm[CAPT].num_streams; i++) { in lola_interrupt()
250 for (i = 0; out_sts && i < chip->pcm[PLAY].num_streams; i++) { in lola_interrupt()
327 val = (1 << chip->pcm[PLAY].num_streams) - 1; in lola_irq_enable()
329 val = (1 << chip->pcm[CAPT].num_streams) - 1; in lola_irq_enable()
607 chip->pcm[CAPT].num_streams = (dever >> 0) & 0x3ff; in lola_create()
608 chip->pcm[PLAY].num_streams = (dever >> 10) & 0x3ff; in lola_create()
611 chip->pcm[CAPT].num_streams, chip->pcm[PLAY].num_streams, in lola_create()
615 if (chip->pcm[CAPT].num_streams > MAX_STREAM_IN_COUNT || in lola_create()
616 chip->pcm[PLAY].num_streams > MAX_STREAM_OUT_COUNT || in lola_create()
617 (!chip->pcm[CAPT].num_streams && in lola_create()
[all …]
A Dlola_pcm.c226 runtime->hw.channels_max = pcm->num_streams - str->index; in lola_pcm_open()
250 for (i = str->index + 1; i < pcm->num_streams; i++) { in lola_cleanup_slave_streams()
463 if (str->index + runtime->channels > pcm->num_streams) { in lola_pcm_prepare()
565 for (i = 0; bits && i < pcm->num_streams; i++) { in lola_pcm_update()
599 chip->pcm[SNDRV_PCM_STREAM_PLAYBACK].num_streams, in lola_create_pcm()
600 chip->pcm[SNDRV_PCM_STREAM_CAPTURE].num_streams, in lola_create_pcm()
607 if (chip->pcm[i].num_streams) in lola_create_pcm()
681 for (i = 0; i < pcm->num_streams; i++, nid++) { in lola_init_pcm()
A Dlola_proc.c113 for (i = 0; i < chip->pcm[CAPT].num_streams; i++, nid++) in lola_proc_codec_read()
115 for (i = 0; i < chip->pcm[PLAY].num_streams; i++, nid++) in lola_proc_codec_read()
A Dlola.h305 unsigned int num_streams; member
/linux/sound/xen/
A Dxen_snd_front_cfg.c390 int ret, i, num_streams; in cfg_device() local
415 num_streams = 0; in cfg_device()
417 snprintf(node, sizeof(node), "%d", num_streams); in cfg_device()
421 num_streams++; in cfg_device()
422 } while (num_streams < VSND_MAX_STREAM); in cfg_device()
427 for (i = 0; i < num_streams; i++) { in cfg_device()
462 for (i = 0; i < num_streams; i++) { in cfg_device()
A Dxen_snd_front.c211 int num_streams; in sndback_initwait() local
214 ret = xen_snd_front_cfg_card(front_info, &num_streams); in sndback_initwait()
219 ret = xen_snd_front_evtchnl_create_all(front_info, num_streams); in sndback_initwait()
A Dxen_snd_front_evtchnl.h82 int num_streams);
A Dxen_snd_front_evtchnl.c290 int num_streams) in xen_snd_front_evtchnl_create_all() argument
297 kcalloc(num_streams, in xen_snd_front_evtchnl_create_all()
351 front_info->num_evt_pairs = num_streams; in xen_snd_front_evtchnl_create_all()
/linux/drivers/staging/greybus/
A 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 …]
/linux/drivers/usb/cdns3/
A 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)
A 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()
A Dcdnsp-gadget.c771 unsigned int num_streams = usb_ss_max_streams(pep->endpoint.comp_desc); in cdnsp_alloc_streams() local
775 if (num_streams == 0) in cdnsp_alloc_streams()
778 if (num_streams > STREAM_NUM_STREAMS) in cdnsp_alloc_streams()
786 num_streams += 2; in cdnsp_alloc_streams()
789 num_stream_ctxs = roundup_pow_of_two(num_streams); in cdnsp_alloc_streams()
791 trace_cdnsp_stream_number(pep, num_stream_ctxs, num_streams); in cdnsp_alloc_streams()
793 ret = cdnsp_alloc_stream_info(pdev, pep, num_stream_ctxs, num_streams); in cdnsp_alloc_streams()
804 return num_streams - 1; in cdnsp_alloc_streams()
/linux/include/uapi/sound/
A Dasoc.h527 __le32 num_streams; /* number of streams */ member
551 __le32 num_streams; /* number of streams */ member
627 __le32 num_streams; /* number of streams */ member
636 __le32 num_streams; /* number of streams */ member
/linux/drivers/gpu/drm/amd/display/dc/
A Ddc_stream.h487 int num_streams,
512 int num_streams,
529 int num_streams,
/linux/sound/hda/
A Dhdac_controller.c605 int num_streams = 0; in snd_hdac_bus_alloc_stream_pages() local
613 num_streams++; in snd_hdac_bus_alloc_stream_pages()
618 if (WARN_ON(!num_streams)) in snd_hdac_bus_alloc_stream_pages()
622 num_streams * 8, &bus->posbuf); in snd_hdac_bus_alloc_stream_pages()
/linux/drivers/usb/host/
A Dxhci-debugfs.c494 epriv->stream_id, epriv->stream_info->num_streams - 1); in xhci_stream_id_show()
520 if (stream_id == 0 || stream_id >= epriv->stream_info->num_streams) in xhci_stream_id_write()
548 epriv->stream_info->num_streams, in xhci_stream_context_array_show()
554 if (id < epriv->stream_info->num_streams) in xhci_stream_context_array_show()
A Dxhci.c3372 *num_streams = max_streams; in xhci_calculate_streams_entries()
3397 if (max_streams < (*num_streams - 1)) { in xhci_calculate_streams_and_bitmask()
3401 *num_streams = max_streams+1; in xhci_calculate_streams_and_bitmask()
3471 unsigned int num_streams, gfp_t mem_flags) in xhci_alloc_streams() argument
3490 num_streams += 1; in xhci_alloc_streams()
3493 num_streams); in xhci_alloc_streams()
3520 num_eps, &num_streams, &changed_ep_bitmask); in xhci_alloc_streams()
3526 if (num_streams <= 1) { in xhci_alloc_streams()
3549 num_stream_ctxs, num_streams); in xhci_alloc_streams()
3556 num_streams, in xhci_alloc_streams()
[all …]
A Dxhci-mem.c606 unsigned int num_streams, in xhci_alloc_stream_info() argument
618 num_streams, num_stream_ctxs); in xhci_alloc_stream_info()
630 stream_info->num_streams = num_streams; in xhci_alloc_stream_info()
635 num_streams, sizeof(struct xhci_ring *), mem_flags, in xhci_alloc_stream_info()
662 for (cur_stream = 1; cur_stream < num_streams; cur_stream++) { in xhci_alloc_stream_info()
697 for (cur_stream = 1; cur_stream < num_streams; cur_stream++) { in xhci_alloc_stream_info()
763 for (cur_stream = 1; cur_stream < stream_info->num_streams; in xhci_free_stream_info()
/linux/Documentation/driver-api/usb/
A Dbulk-streams.rst35 unsigned int num_streams, gfp_t mem_flags);
38 allocate memory so the driver can use up to num_streams stream IDs. They must
/linux/tools/include/uapi/linux/
A Dusbdevice_fs.h177 unsigned int num_streams; /* Not used by USBDEVFS_FREE_STREAMS */ member
/linux/include/uapi/linux/
A Dusbdevice_fs.h177 unsigned int num_streams; /* Not used by USBDEVFS_FREE_STREAMS */ member
/linux/sound/pci/hda/
A Dhda_controller.h108 int num_streams; member
/linux/drivers/usb/core/
A Ddevio.c932 unsigned int i, num_streams, num_eps; in parse_usbdevfs_streams() local
938 if (get_user(num_streams, &streams->num_streams) || in parse_usbdevfs_streams()
946 if (num_streams_ret && (num_streams < 2 || num_streams > 65536)) in parse_usbdevfs_streams()
986 *num_streams_ret = num_streams; in parse_usbdevfs_streams()
2472 unsigned num_streams, num_eps; in proc_alloc_streams() local
2477 r = parse_usbdevfs_streams(ps, arg, &num_streams, &num_eps, in proc_alloc_streams()
2485 r = usb_alloc_streams(intf, eps, num_eps, num_streams, GFP_KERNEL); in proc_alloc_streams()
/linux/sound/soc/
A Dsoc-topology.c1931 dest->num_streams = src_v4->num_streams; in pcm_new_ver()
1932 for (i = 0; i < le32_to_cpu(dest->num_streams); i++) in pcm_new_ver()
2115 dest->num_streams = src_v4->num_streams; in link_new_ver()
2116 for (i = 0; i < le32_to_cpu(dest->num_streams); i++) in link_new_ver()
/linux/sound/hda/ext/
A Dhdac_ext_stream.c38 AZX_PPLC_MULTI * bus->num_streams + in snd_hdac_ext_stream_init()

Completed in 61 milliseconds

12