Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/gpu/drm/amd/display/modules/inc/
Dmod_freesync.h117 struct dc_stream_state **streams, int num_streams,
125 struct dc_stream_state **streams, int num_streams,
158 struct dc_stream_state **streams, int num_streams);
161 struct dc_stream_state **streams, int num_streams);
164 struct dc_stream_state **streams, int num_streams,
168 struct dc_stream_state **streams, int num_streams,
/Linux-v4.19/drivers/gpu/drm/amd/display/modules/freesync/
Dfreesync.c368 int num_streams, in adjust_vmin_vmax() argument
373 if (num_streams == 0 || streams == NULL || num_streams > 1) in adjust_vmin_vmax()
380 num_streams, v_total_min, in adjust_vmin_vmax()
599 struct dc_stream_state **streams, int num_streams) in set_freesync_on_streams() argument
605 if (num_streams == 0 || streams == NULL || num_streams > 1) in set_freesync_on_streams()
608 for (stream_idx = 0; stream_idx < num_streams; stream_idx++) { in set_freesync_on_streams()
644 num_streams, map_index, in set_freesync_on_streams()
671 num_streams, map_index, in set_freesync_on_streams()
690 num_streams, map_index, in set_freesync_on_streams()
709 num_streams, map_index, in set_freesync_on_streams()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h262 int num_streams,
268 int num_streams,
285 int num_streams,
294 int num_streams,
300 int num_streams,
/Linux-v4.19/sound/pci/lola/
Dlola.c250 for (i = 0; in_sts && i < chip->pcm[CAPT].num_streams; i++) { in lola_interrupt()
264 for (i = 0; out_sts && i < chip->pcm[PLAY].num_streams; i++) { in lola_interrupt()
341 val = (1 << chip->pcm[PLAY].num_streams) - 1; in lola_irq_enable()
343 val = (1 << chip->pcm[CAPT].num_streams) - 1; in lola_irq_enable()
657 chip->pcm[CAPT].num_streams = (dever >> 0) & 0x3ff; in lola_create()
658 chip->pcm[PLAY].num_streams = (dever >> 10) & 0x3ff; in lola_create()
661 chip->pcm[CAPT].num_streams, chip->pcm[PLAY].num_streams, in lola_create()
665 if (chip->pcm[CAPT].num_streams > MAX_STREAM_IN_COUNT || in lola_create()
666 chip->pcm[PLAY].num_streams > MAX_STREAM_OUT_COUNT || in lola_create()
667 (!chip->pcm[CAPT].num_streams && in lola_create()
[all …]
Dlola_pcm.c239 runtime->hw.channels_max = pcm->num_streams - str->index; in lola_pcm_open()
263 for (i = str->index + 1; i < pcm->num_streams; i++) { in lola_cleanup_slave_streams()
477 if (str->index + runtime->channels > pcm->num_streams) { in lola_pcm_prepare()
579 for (i = 0; bits && i < pcm->num_streams; i++) { in lola_pcm_update()
615 chip->pcm[SNDRV_PCM_STREAM_PLAYBACK].num_streams, in lola_create_pcm()
616 chip->pcm[SNDRV_PCM_STREAM_CAPTURE].num_streams, in lola_create_pcm()
623 if (chip->pcm[i].num_streams) in lola_create_pcm()
703 for (i = 0; i < pcm->num_streams; i++, nid++) { in lola_init_pcm()
Dlola_proc.c126 for (i = 0; i < chip->pcm[CAPT].num_streams; i++, nid++) in lola_proc_codec_read()
128 for (i = 0; i < chip->pcm[PLAY].num_streams; i++, nid++) in lola_proc_codec_read()
Dlola.h318 unsigned int num_streams; member
Dlola_mixer.c139 chip->mixer.src_stream_outs = chip->pcm[PLAY].num_streams; in lola_init_mixer_widget()
143 chip->mixer.dest_stream_ins = chip->pcm[CAPT].num_streams; in lola_init_mixer_widget()
/Linux-v4.19/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.c210 int num_streams; in sndback_initwait() local
213 ret = xen_snd_front_cfg_card(front_info, &num_streams); in sndback_initwait()
218 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.c294 int num_streams) in xen_snd_front_evtchnl_create_all() argument
301 kcalloc(num_streams, in xen_snd_front_evtchnl_create_all()
355 front_info->num_evt_pairs = num_streams; in xen_snd_front_evtchnl_create_all()
/Linux-v4.19/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 …]
/Linux-v4.19/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
/Linux-v4.19/sound/hda/
Dhdac_controller.c573 int num_streams = 0; in snd_hdac_bus_alloc_stream_pages() local
580 num_streams++; in snd_hdac_bus_alloc_stream_pages()
585 if (WARN_ON(!num_streams)) in snd_hdac_bus_alloc_stream_pages()
589 num_streams * 8, &bus->posbuf); in snd_hdac_bus_alloc_stream_pages()
/Linux-v4.19/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
/Linux-v4.19/include/uapi/linux/
Dusbdevice_fs.h155 unsigned int num_streams; /* Not used by USBDEVFS_FREE_STREAMS */ member
/Linux-v4.19/drivers/usb/host/
Dxhci-mem.c598 if (stream_id >= ep->stream_info->num_streams) in xhci_stream_id_to_ring()
614 unsigned int num_streams, in xhci_alloc_stream_info() argument
626 num_streams, num_stream_ctxs); in xhci_alloc_stream_info()
638 stream_info->num_streams = num_streams; in xhci_alloc_stream_info()
643 num_streams, sizeof(struct xhci_ring *), mem_flags, in xhci_alloc_stream_info()
670 for (cur_stream = 1; cur_stream < num_streams; cur_stream++) { in xhci_alloc_stream_info()
705 for (cur_stream = 1; cur_stream < num_streams; cur_stream++) { in xhci_alloc_stream_info()
771 for (cur_stream = 1; cur_stream < stream_info->num_streams; in xhci_free_stream_info()
Dxhci.c3155 unsigned int *num_streams, unsigned int *num_stream_ctxs) in xhci_calculate_streams_entries() argument
3160 *num_stream_ctxs = roundup_pow_of_two(*num_streams); in xhci_calculate_streams_entries()
3172 *num_streams = max_streams; in xhci_calculate_streams_entries()
3183 unsigned int *num_streams, u32 *changed_ep_bitmask) in xhci_calculate_streams_and_bitmask() argument
3197 if (max_streams < (*num_streams - 1)) { in xhci_calculate_streams_and_bitmask()
3201 *num_streams = max_streams+1; in xhci_calculate_streams_and_bitmask()
3271 unsigned int num_streams, gfp_t mem_flags) in xhci_alloc_streams() argument
3290 num_streams += 1; in xhci_alloc_streams()
3293 num_streams); in xhci_alloc_streams()
3320 num_eps, &num_streams, &changed_ep_bitmask); in xhci_alloc_streams()
[all …]
/Linux-v4.19/sound/pci/hda/
Dhda_controller.h129 int num_streams; member
Dhda_tegra.c395 chip->num_streams = chip->playback_streams + chip->capture_streams; in hda_tegra_first_init()
/Linux-v4.19/drivers/usb/core/
Ddevio.c884 unsigned int i, num_streams, num_eps; in parse_usbdevfs_streams() local
890 if (get_user(num_streams, &streams->num_streams) || in parse_usbdevfs_streams()
898 if (num_streams_ret && (num_streams < 2 || num_streams > 65536)) in parse_usbdevfs_streams()
938 *num_streams_ret = num_streams; in parse_usbdevfs_streams()
2307 unsigned num_streams, num_eps; in proc_alloc_streams() local
2312 r = parse_usbdevfs_streams(ps, arg, &num_streams, &num_eps, in proc_alloc_streams()
2320 r = usb_alloc_streams(intf, eps, num_eps, num_streams, GFP_KERNEL); in proc_alloc_streams()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc.c191 struct dc_stream_state **streams, int num_streams, in dc_stream_adjust_vmin_vmax() argument
216 struct dc_stream_state **streams, int num_streams, in dc_stream_get_crtc_position() argument
366 int num_streams, in dc_stream_set_static_screen_events() argument
374 for (i = 0; i < num_streams; i++) { in dc_stream_set_static_screen_events()
/Linux-v4.19/sound/soc/
Dsoc-topology.c1874 dest->num_streams = src_v4->num_streams; in pcm_new_ver()
1875 for (i = 0; i < dest->num_streams; i++) in pcm_new_ver()
2045 dest->num_streams = src_v4->num_streams; in link_new_ver()
2046 for (i = 0; i < dest->num_streams; i++) in link_new_ver()
/Linux-v4.19/sound/hda/ext/
Dhdac_ext_stream.c46 AZX_PPLC_MULTI * bus->num_streams + in snd_hdac_ext_stream_init()

12