Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/sound/pci/lola/
Dlola.c237 for (i = 0; in_sts && i < chip->pcm[CAPT].num_streams; i++) { in lola_interrupt()
251 for (i = 0; out_sts && i < chip->pcm[PLAY].num_streams; i++) { in lola_interrupt()
328 val = (1 << chip->pcm[PLAY].num_streams) - 1; in lola_irq_enable()
330 val = (1 << chip->pcm[CAPT].num_streams) - 1; in lola_irq_enable()
644 chip->pcm[CAPT].num_streams = (dever >> 0) & 0x3ff; in lola_create()
645 chip->pcm[PLAY].num_streams = (dever >> 10) & 0x3ff; in lola_create()
648 chip->pcm[CAPT].num_streams, chip->pcm[PLAY].num_streams, in lola_create()
652 if (chip->pcm[CAPT].num_streams > MAX_STREAM_IN_COUNT || in lola_create()
653 chip->pcm[PLAY].num_streams > MAX_STREAM_OUT_COUNT || in lola_create()
654 (!chip->pcm[CAPT].num_streams && in lola_create()
[all …]
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()
687 for (i = 0; i < pcm->num_streams; i++, nid++) { in lola_init_pcm()
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()
/kernel/linux/linux-5.10/sound/xen/
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()
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()
Dxen_snd_front_evtchnl.h82 int num_streams);
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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/include/uapi/sound/
Dasoc.h521 __le32 num_streams; /* number of streams */ member
545 __le32 num_streams; /* number of streams */ member
621 __le32 num_streams; /* number of streams */ member
630 __le32 num_streams; /* number of streams */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/sound/
Dasoc.h304 __le32 num_streams; member
316 __le32 num_streams; member
370 __le32 num_streams; member
377 __le32 num_streams; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/sound/
Dasoc.h316 __le32 num_streams; member
328 __le32 num_streams; member
382 __le32 num_streams; member
389 __le32 num_streams; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h454 int num_streams,
471 int num_streams,
488 int num_streams,
/kernel/linux/linux-5.10/sound/hda/
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()
/kernel/linux/linux-5.10/drivers/usb/host/
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()
Dxhci-mem.c607 if (stream_id >= ep->stream_info->num_streams) in xhci_stream_id_to_ring()
623 unsigned int num_streams, in xhci_alloc_stream_info() argument
635 num_streams, num_stream_ctxs); in xhci_alloc_stream_info()
647 stream_info->num_streams = num_streams; in xhci_alloc_stream_info()
652 num_streams, sizeof(struct xhci_ring *), mem_flags, in xhci_alloc_stream_info()
679 for (cur_stream = 1; cur_stream < num_streams; cur_stream++) { in xhci_alloc_stream_info()
714 for (cur_stream = 1; cur_stream < num_streams; cur_stream++) { in xhci_alloc_stream_info()
780 for (cur_stream = 1; cur_stream < stream_info->num_streams; in xhci_free_stream_info()
Dxhci.c3314 unsigned int *num_streams, unsigned int *num_stream_ctxs) in xhci_calculate_streams_entries() argument
3319 *num_stream_ctxs = roundup_pow_of_two(*num_streams); in xhci_calculate_streams_entries()
3331 *num_streams = max_streams; in xhci_calculate_streams_entries()
3342 unsigned int *num_streams, u32 *changed_ep_bitmask) in xhci_calculate_streams_and_bitmask() argument
3356 if (max_streams < (*num_streams - 1)) { in xhci_calculate_streams_and_bitmask()
3360 *num_streams = max_streams+1; in xhci_calculate_streams_and_bitmask()
3430 unsigned int num_streams, gfp_t mem_flags) in xhci_alloc_streams() argument
3449 num_streams += 1; in xhci_alloc_streams()
3452 num_streams); in xhci_alloc_streams()
3479 num_eps, &num_streams, &changed_ep_bitmask); in xhci_alloc_streams()
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
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
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dusbdevice_fs.h99 unsigned int num_streams; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dusbdevice_fs.h177 unsigned int num_streams; /* Not used by USBDEVFS_FREE_STREAMS */ member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dusbdevice_fs.h177 unsigned int num_streams; /* Not used by USBDEVFS_FREE_STREAMS */ member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dusbdevice_fs.h122 unsigned int num_streams; member
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_controller.h110 int num_streams; member
/kernel/linux/linux-5.10/drivers/usb/core/
Ddevio.c931 unsigned int i, num_streams, num_eps; in parse_usbdevfs_streams() local
937 if (get_user(num_streams, &streams->num_streams) || in parse_usbdevfs_streams()
945 if (num_streams_ret && (num_streams < 2 || num_streams > 65536)) in parse_usbdevfs_streams()
985 *num_streams_ret = num_streams; in parse_usbdevfs_streams()
2394 unsigned num_streams, num_eps; in proc_alloc_streams() local
2399 r = parse_usbdevfs_streams(ps, arg, &num_streams, &num_eps, in proc_alloc_streams()
2407 r = usb_alloc_streams(intf, eps, num_eps, num_streams, GFP_KERNEL); in proc_alloc_streams()
/kernel/linux/linux-5.10/sound/soc/
Dsoc-topology.c2078 dest->num_streams = src_v4->num_streams; in pcm_new_ver()
2079 for (i = 0; i < le32_to_cpu(dest->num_streams); i++) in pcm_new_ver()
2262 dest->num_streams = src_v4->num_streams; in link_new_ver()
2263 for (i = 0; i < le32_to_cpu(dest->num_streams); i++) in link_new_ver()
/kernel/linux/linux-5.10/sound/hda/ext/
Dhdac_ext_stream.c38 AZX_PPLC_MULTI * bus->num_streams + in snd_hdac_ext_stream_init()

12