/linux/sound/pci/lola/ |
A D | lola.c | 236 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 D | lola_pcm.c | 226 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 D | lola_proc.c | 113 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 D | lola.h | 305 unsigned int num_streams; member
|
/linux/sound/xen/ |
A D | xen_snd_front_cfg.c | 390 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 D | xen_snd_front.c | 211 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 D | xen_snd_front_evtchnl.h | 82 int num_streams);
|
A D | xen_snd_front_evtchnl.c | 290 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 D | camera.c | 228 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 D | cdnsp-trace.h | 45 __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 D | cdnsp-mem.c | 564 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 D | cdnsp-gadget.c | 771 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 D | asoc.h | 527 __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 D | dc_stream.h | 487 int num_streams, 512 int num_streams, 529 int num_streams,
|
/linux/sound/hda/ |
A D | hdac_controller.c | 605 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 D | xhci-debugfs.c | 494 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 D | xhci.c | 3372 *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 D | xhci-mem.c | 606 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 D | bulk-streams.rst | 35 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 D | usbdevice_fs.h | 177 unsigned int num_streams; /* Not used by USBDEVFS_FREE_STREAMS */ member
|
/linux/include/uapi/linux/ |
A D | usbdevice_fs.h | 177 unsigned int num_streams; /* Not used by USBDEVFS_FREE_STREAMS */ member
|
/linux/sound/pci/hda/ |
A D | hda_controller.h | 108 int num_streams; member
|
/linux/drivers/usb/core/ |
A D | devio.c | 932 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 D | soc-topology.c | 1931 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 D | hdac_ext_stream.c | 38 AZX_PPLC_MULTI * bus->num_streams + in snd_hdac_ext_stream_init()
|