Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 1101) sorted by relevance

12345678910>>...45

/linux/drivers/media/usb/dvb-usb-v2/
A Dusb_urb.c58 stream->complete(stream, in usb_urb_complete()
68 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
151 stream->udev, in usb_urb_alloc_bulk_urbs()
212 kfree(stream->buf_list[stream->buf_num]); in usb_free_stream_buffers()
231 for (stream->buf_num = 0; stream->buf_num < num; stream->buf_num++) { in usb_alloc_stream_buffers()
232 stream->buf_list[stream->buf_num] = kzalloc(size, GFP_ATOMIC); in usb_alloc_stream_buffers()
233 if (!stream->buf_list[stream->buf_num]) { in usb_alloc_stream_buffers()
242 stream->buf_list[stream->buf_num], in usb_alloc_stream_buffers()
243 (long long)stream->dma_addr[stream->buf_num]); in usb_alloc_stream_buffers()
325 ret = usb_alloc_stream_buffers(stream, stream->props.count, in usb_urb_initv2()
[all …]
/linux/drivers/media/usb/dvb-usb/
A Dusb-urb.c57 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
100 usb_free_coherent(stream->udev, stream->buf_size, in usb_free_stream_buffers()
101 stream->buf_list[stream->buf_num], in usb_free_stream_buffers()
102 stream->dma_addr[stream->buf_num]); in usb_free_stream_buffers()
118 for (stream->buf_num = 0; stream->buf_num < num; stream->buf_num++) { in usb_allocate_stream_buffers()
120 if (( stream->buf_list[stream->buf_num] = in usb_allocate_stream_buffers()
122 &stream->dma_addr[stream->buf_num]) ) == NULL) { in usb_allocate_stream_buffers()
129 stream->buf_list[stream->buf_num], (long long)stream->dma_addr[stream->buf_num]); in usb_allocate_stream_buffers()
130 memset(stream->buf_list[stream->buf_num],0,size); in usb_allocate_stream_buffers()
155 usb_fill_bulk_urb( stream->urb_list[i], stream->udev, in usb_bulk_urb_init()
[all …]
/linux/sound/core/
A Dcompress_offload.c158 data->stream.ops->free(&data->stream); in snd_compr_free()
171 stream->ops->pointer(stream, tstamp); in snd_compr_update_tstamp()
275 stream->ops->ack(stream, count); in snd_compr_write_data()
290 stream = &data->stream; in snd_compr_write()
311 retval = stream->ops->copy(stream, cbuf, avail); in snd_compr_write()
341 stream = &data->stream; in snd_compr_read()
367 retval = stream->ops->copy(stream, buf, avail); in snd_compr_read()
403 stream = &data->stream; in snd_compr_poll()
454 retval = stream->ops->get_caps(stream, &caps); in snd_compr_get_caps()
494 if (snd_BUG_ON(!(stream) || !(stream)->runtime)) in snd_compr_malloc_pages()
[all …]
/linux/drivers/media/usb/uvc/
A Duvc_video.c561 stream->clock.head = (stream->clock.head + 1) % stream->clock.size; in uvc_video_clock_decode()
923 stream->stats.stream.nb_frames++; in uvc_video_stats_update()
924 stream->stats.stream.nb_packets += stream->stats.frame.nb_packets; in uvc_video_stats_update()
925 stream->stats.stream.nb_empty += stream->stats.frame.nb_empty; in uvc_video_stats_update()
926 stream->stats.stream.nb_errors += stream->stats.frame.nb_errors; in uvc_video_stats_update()
927 stream->stats.stream.nb_invalid += stream->stats.frame.nb_invalid; in uvc_video_stats_update()
954 stream->stats.stream.start_ts); in uvc_video_stats_dump()
966 stream->stats.stream.nb_empty, in uvc_video_stats_dump()
980 stream->stats.stream.min_sof, in uvc_video_stats_dump()
981 stream->stats.stream.max_sof, in uvc_video_stats_dump()
[all …]
A Duvc_v4l2.c589 handle->stream = stream; in uvc_v4l2_open()
599 struct uvc_streaming *stream = handle->stream; in uvc_v4l2_release() local
628 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_querycap() local
667 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_enum_fmt_vid_cap() local
676 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_enum_fmt_vid_out() local
685 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_g_fmt_vid_cap() local
694 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_g_fmt_vid_out() local
703 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_s_fmt_vid_cap() local
717 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_s_fmt_vid_out() local
731 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_try_fmt_vid_cap() local
[all …]
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_stream.c45 stream->signal = stream->link->connector_signal; in update_stream_signal()
127 stream->stream_id = stream->ctx->dc_stream_id_count; in dc_stream_construct()
262 if (!stream) in program_cursor_attributes()
270 if (pipe_ctx->stream != stream) in program_cursor_attributes()
370 if (pipe_ctx->stream != stream || in program_cursor_position()
569 if (res_ctx->pipe_ctx[i].stream != stream) in dc_stream_get_vblank_counter()
597 if (pipe_ctx->stream != stream) in dc_stream_send_dp_sdp()
628 if (res_ctx->pipe_ctx[i].stream != stream) in dc_stream_get_scanoutpos()
654 if (pipe->stream == stream) in dc_stream_dmdata_status_done()
682 if (pipe_ctx->stream == stream) in dc_stream_set_dynamic_metadata()
[all …]
/linux/sound/soc/au1x/
A Ddma.c119 set_dma_addr0(stream->dma, stream->buffer->start); in au1000_dma_start()
120 set_dma_count0(stream->dma, stream->period_size >> 1); in au1000_dma_start()
122 set_dma_count1(stream->dma, stream->period_size >> 1); in au1000_dma_start()
125 set_dma_addr1(stream->dma, stream->buffer->start); in au1000_dma_start()
126 set_dma_count1(stream->dma, stream->period_size >> 1); in au1000_dma_start()
128 set_dma_count0(stream->dma, stream->period_size >> 1); in au1000_dma_start()
141 stream->buffer = stream->buffer->next; in au1000_dma_interrupt()
144 set_dma_count0(stream->dma, stream->period_size >> 1); in au1000_dma_interrupt()
148 stream->buffer = stream->buffer->next; in au1000_dma_interrupt()
151 set_dma_count1(stream->dma, stream->period_size >> 1); in au1000_dma_interrupt()
[all …]
/linux/drivers/media/v4l2-core/
A Dv4l2-jpeg.c68 if (stream->curr >= stream->end) in jpeg_get_byte()
79 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_get_word_be()
90 if (stream->curr + len > stream->end) in jpeg_skip()
119 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_reference_segment()
123 if (stream->curr + len > stream->end) in jpeg_reference_segment()
461 if (stream->curr + 6 > stream->end || in jpeg_parse_app14_data()
501 stream.end = stream.curr + len; in v4l2_jpeg_parse_header()
613 stream.end = stream.curr + len; in v4l2_jpeg_parse_frame_header()
632 stream.end = stream.curr + len; in v4l2_jpeg_parse_scan_header()
653 stream.end = stream.curr + len; in v4l2_jpeg_parse_quantization_tables()
[all …]
/linux/fs/squashfs/
A Ddecompressor_multi.c48 void *stream; member
59 wake_up(&stream->wait); in put_decomp_stream()
69 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in squashfs_decompressor_create()
70 if (!stream) in squashfs_decompressor_create()
89 stream->comp_opts); in squashfs_decompressor_create()
97 return stream; in squashfs_decompressor_create()
101 kfree(stream); in squashfs_decompressor_create()
108 struct squashfs_stream *stream = msblk->stream; in squashfs_decompressor_destroy() local
109 if (stream) { in squashfs_decompressor_destroy()
122 kfree(stream); in squashfs_decompressor_destroy()
[all …]
A Ddecompressor_single.c23 void *stream; member
33 stream = kmalloc(sizeof(*stream), GFP_KERNEL); in squashfs_decompressor_create()
37 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create()
38 if (IS_ERR(stream->stream)) { in squashfs_decompressor_create()
39 err = PTR_ERR(stream->stream); in squashfs_decompressor_create()
45 return stream; in squashfs_decompressor_create()
48 kfree(stream); in squashfs_decompressor_create()
54 struct squashfs_stream *stream = msblk->stream; in squashfs_decompressor_destroy() local
56 if (stream) { in squashfs_decompressor_destroy()
57 msblk->decompressor->free(stream->stream); in squashfs_decompressor_destroy()
[all …]
A Ddecompressor_multi_percpu.c24 void *stream; member
31 struct squashfs_stream *stream; in squashfs_decompressor_create() local
41 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create()
42 if (IS_ERR(stream->stream)) { in squashfs_decompressor_create()
43 err = PTR_ERR(stream->stream); in squashfs_decompressor_create()
55 if (!IS_ERR_OR_NULL(stream->stream)) in squashfs_decompressor_create()
56 msblk->decompressor->free(stream->stream); in squashfs_decompressor_create()
69 if (msblk->stream) { in squashfs_decompressor_destroy()
72 msblk->decompressor->free(stream->stream); in squashfs_decompressor_destroy()
85 stream = this_cpu_ptr(msblk->stream); in squashfs_decompress()
[all …]
A Dxz_wrapper.c87 stream = kmalloc(sizeof(*stream), GFP_KERNEL); in squashfs_xz_init()
88 if (stream == NULL) { in squashfs_xz_init()
95 kfree(stream); in squashfs_xz_init()
100 return stream; in squashfs_xz_init()
112 if (stream) { in squashfs_xz_free()
114 kfree(stream); in squashfs_xz_free()
129 stream->buf.in_pos = 0; in squashfs_xz_uncompress()
130 stream->buf.in_size = 0; in squashfs_xz_uncompress()
138 if (stream->buf.in_pos == stream->buf.in_size) { in squashfs_xz_uncompress()
157 if (stream->buf.out_pos == stream->buf.out_size) { in squashfs_xz_uncompress()
[all …]
/linux/sound/hda/ext/
A Dhdac_ext_stream.c56 stream->decoupled = false; in snd_hdac_ext_stream_init()
78 if (!stream) in snd_hdac_ext_stream_init_all()
104 kfree(stream); in snd_hdac_stream_free_all()
233 int stream) in snd_hdac_ext_link_set_stream_id() argument
245 int stream) in snd_hdac_ext_link_clear_stream_id() argument
268 if (stream->direction != substream->stream) in hdac_ext_link_stream_assign()
308 if (stream->direction != substream->stream) in hdac_ext_host_stream_assign()
311 if (!stream->opened) { in hdac_ext_host_stream_assign()
355 if (stream) in snd_hdac_ext_stream_assign()
390 if (stream->decoupled && !stream->link_locked) in snd_hdac_ext_stream_release()
[all …]
/linux/drivers/gpu/drm/i915/
A Di915_perf.c885 stream->perf->ops.oa_disable(stream); in gen8_oa_read()
886 stream->perf->ops.oa_enable(stream); in gen8_oa_read()
1108 stream->perf->ops.oa_disable(stream); in gen7_oa_read()
1109 stream->perf->ops.oa_enable(stream); in gen7_oa_read()
2705 stream->perf->ops.oa_enable(stream); in i915_oa_stream_enable()
2768 stream->perf->ops.oa_disable(stream); in i915_oa_stream_disable()
3065 ret = stream->ops->wait_unlocked(stream); in i915_perf_read()
3193 stream->ops->enable(stream); in i915_perf_enable_locked()
3225 stream->ops->disable(stream); in i915_perf_disable_locked()
3334 stream->ops->destroy(stream); in i915_perf_destroy_locked()
[all …]
/linux/sound/soc/
A Dsoc-pcm.c452 int stream = substream->stream; in soc_pcm_apply_msb() local
1564 int stream = substream->stream; in dpcm_runtime_setup_fe() local
1595 int stream = substream->stream; in dpcm_runtime_setup_be_format() local
1631 int stream = substream->stream; in dpcm_runtime_setup_be_chan() local
1679 int stream = substream->stream; in dpcm_runtime_setup_be_rate() local
1804 int stream = substream->stream; in dpcm_fe_dai_shutdown() local
1868 int stream = substream->stream; in dpcm_fe_dai_hw_free() local
2139 int stream = substream->stream; in dpcm_fe_dai_do_trigger() local
2226 int stream = substream->stream; in dpcm_fe_dai_trigger() local
2541 int stream = fe_substream->stream; in dpcm_fe_dai_cleanup() local
[all …]
/linux/net/sctp/
A Dstream_sched_rr.c32 if (pos == &stream->rr_list) in sctp_sched_rr_next_stream()
48 stream->rr_next = NULL; in sctp_sched_rr_unsched()
61 if (!stream->rr_next) in sctp_sched_rr_sched()
62 stream->rr_next = soute; in sctp_sched_rr_sched()
80 stream->rr_next = NULL; in sctp_sched_rr_init()
107 stream = &q->asoc->stream; in sctp_sched_rr_enqueue()
108 sctp_sched_rr_sched(stream, SCTP_SO(stream, sid)->ext); in sctp_sched_rr_enqueue()
113 struct sctp_stream *stream = &q->asoc->stream; in sctp_sched_rr_dequeue() local
122 if (stream->out_curr) in sctp_sched_rr_dequeue()
125 soute = stream->rr_next; in sctp_sched_rr_dequeue()
[all …]
A Dstream.c31 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_shrink_out()
249 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_outq_is_empty()
270 struct sctp_stream *stream = &asoc->stream; in sctp_send_reset_streams() local
384 struct sctp_stream *stream = &asoc->stream; in sctp_send_reset_assoc() local
429 struct sctp_stream *stream = &asoc->stream; in sctp_send_add_streams() local
524 struct sctp_stream *stream = &asoc->stream; in sctp_process_strreset_outreq() local
613 struct sctp_stream *stream = &asoc->stream; in sctp_process_strreset_inreq() local
691 struct sctp_stream *stream = &asoc->stream; in sctp_process_strreset_tsnreq() local
787 struct sctp_stream *stream = &asoc->stream; in sctp_process_strreset_addstrm_out() local
857 struct sctp_stream *stream = &asoc->stream; in sctp_process_strreset_addstrm_in() local
[all …]
A Dstream_sched_prio.c63 if (!SCTP_SO(stream, i)->ext) in sctp_sched_prio_get_head()
174 soute = SCTP_SO(stream, i)->ext; in sctp_sched_prio_set()
221 if (!SCTP_SO(stream, i)->ext) in sctp_sched_prio_free()
236 struct sctp_stream *stream; in sctp_sched_prio_enqueue() local
242 stream = &q->asoc->stream; in sctp_sched_prio_enqueue()
243 sctp_sched_prio_sched(stream, SCTP_SO(stream, sid)->ext); in sctp_sched_prio_enqueue()
248 struct sctp_stream *stream = &q->asoc->stream; in sctp_sched_prio_dequeue() local
260 if (stream->out_curr) { in sctp_sched_prio_dequeue()
261 soute = stream->out_curr->ext; in sctp_sched_prio_dequeue()
300 asoc = container_of(stream, struct sctp_association, stream); in sctp_sched_prio_sched_all()
[all …]
/linux/sound/soc/sprd/
A Dsprd-pcm-compress.c123 if (stream->copied_total > stream->received_total) in sprd_platform_compr_dma_complete()
124 stream->copied_total = stream->received_total; in sprd_platform_compr_dma_complete()
330 stream = devm_kzalloc(dev, sizeof(*stream), GFP_KERNEL); in sprd_platform_compr_open()
331 if (!stream) in sprd_platform_compr_open()
348 stream->dma[0].virt = stream->iram_buffer.area + SPRD_COMPR_IRAM_SIZE; in sprd_platform_compr_open()
352 stream->info_phys = stream->iram_buffer.addr + SPRD_COMPR_IRAM_SIZE + in sprd_platform_compr_open()
354 stream->info_area = stream->iram_buffer.area + SPRD_COMPR_IRAM_SIZE + in sprd_platform_compr_open()
503 ret = stream->compr_ops->drain(stream->received_total); in sprd_platform_compr_trigger()
546 dst = stream->iram_buffer.area + stream->received_stage0; in sprd_platform_compr_copy()
580 dst = stream->compr_buffer.area + stream->stage1_pointer; in sprd_platform_compr_copy()
[all …]
/linux/sound/soc/intel/atom/
A Dsst-mfld-platform-compress.c49 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in sst_platform_compr_open()
50 if (!stream) in sst_platform_compr_open()
62 stream->id = 0; in sst_platform_compr_open()
71 kfree(stream); in sst_platform_compr_open()
86 str_id = stream->id; in sst_platform_compr_free()
90 kfree(stream); in sst_platform_compr_free()
177 return stream->compr_ops->stream_start(sst->dev, stream->id); in sst_platform_compr_trigger()
181 return stream->compr_ops->stream_drop(sst->dev, stream->id); in sst_platform_compr_trigger()
185 return stream->compr_ops->stream_drain(sst->dev, stream->id); in sst_platform_compr_trigger()
193 return stream->compr_ops->stream_pause(sst->dev, stream->id); in sst_platform_compr_trigger()
[all …]
/linux/sound/xen/
A Dxen_snd_front_alsa.c224 memset(&stream->shbuf, 0, sizeof(stream->shbuf)); in stream_clear()
227 stream->pages = NULL; in stream_clear()
235 if (stream->buffer) in stream_free()
236 free_pages_exact(stream->buffer, stream->buffer_sz); in stream_free()
253 return stream; in stream_get()
378 stream->evt_pair = &front_info->evt_pairs[stream->index]; in alsa_open()
449 stream->num_pages = DIV_ROUND_UP(stream->buffer_sz, PAGE_SIZE); in shbuf_setup_backstore()
450 stream->pages = kcalloc(stream->num_pages, sizeof(struct page *), in shbuf_setup_backstore()
452 if (!stream->pages) in shbuf_setup_backstore()
456 stream->pages[i] = virt_to_page(stream->buffer + i * PAGE_SIZE); in shbuf_setup_backstore()
[all …]
/linux/drivers/media/test-drivers/vimc/
A Dvimc-streamer.c53 while (stream->pipe_size) { in vimc_streamer_pipeline_terminate()
54 stream->pipe_size--; in vimc_streamer_pipeline_terminate()
55 ved = stream->ved_pipeline[stream->pipe_size]; in vimc_streamer_pipeline_terminate()
56 stream->ved_pipeline[stream->pipe_size] = NULL; in vimc_streamer_pipeline_terminate()
87 stream->pipe_size = 0; in vimc_streamer_pipeline_init()
93 stream->ved_pipeline[stream->pipe_size++] = ved; in vimc_streamer_pipeline_init()
196 if (!stream || !ved) in vimc_streamer_s_stream()
200 if (stream->kthread) in vimc_streamer_s_stream()
207 stream->kthread = kthread_run(vimc_streamer_thread, stream, in vimc_streamer_s_stream()
219 if (!stream->kthread) in vimc_streamer_s_stream()
[all …]
/linux/lib/kunit/
A Dassert.c14 struct string_stream *stream) in kunit_base_assert_format() argument
33 struct string_stream *stream) in kunit_assert_print_msg() argument
41 struct string_stream *stream) in kunit_fail_assert_format() argument
57 string_stream_add(stream, in kunit_unary_assert_format()
61 string_stream_add(stream, in kunit_unary_assert_format()
78 string_stream_add(stream, in kunit_ptr_not_err_assert_format()
82 string_stream_add(stream, in kunit_ptr_not_err_assert_format()
115 struct string_stream *stream) in kunit_binary_assert_format() argument
123 string_stream_add(stream, in kunit_binary_assert_format()
151 string_stream_add(stream, in kunit_binary_ptr_assert_format()
[all …]
A Dstring-stream.c91 stream->gfp); in string_stream_vadd()
96 spin_lock(&stream->lock); in string_stream_vadd()
97 stream->length += len; in string_stream_vadd()
123 &stream->fragments, in string_stream_clear()
127 stream->length = 0; in string_stream_clear()
137 buf = kunit_kzalloc(stream->test, buf_len, stream->gfp); in string_stream_get_string()
177 stream = kunit_kzalloc(ctx->test, sizeof(*stream), ctx->gfp); in string_stream_init()
178 if (!stream) in string_stream_init()
181 res->data = stream; in string_stream_init()
182 stream->gfp = ctx->gfp; in string_stream_init()
[all …]
/linux/drivers/staging/media/atomisp/pci/
A Dia_css_stream_public.h183 struct ia_css_stream **stream);
192 ia_css_stream_destroy(struct ia_css_stream *stream);
202 ia_css_stream_get_info(const struct ia_css_stream *stream,
213 ia_css_stream_load(struct ia_css_stream *stream);
226 ia_css_stream_start(struct ia_css_stream *stream);
236 ia_css_stream_stop(struct ia_css_stream *stream);
245 ia_css_stream_has_stopped(struct ia_css_stream *stream);
254 ia_css_stream_unload(struct ia_css_stream *stream);
349 ia_css_stream_capture(struct ia_css_stream *stream,
365 ia_css_stream_capture_frame(struct ia_css_stream *stream,
[all …]

Completed in 83 milliseconds

12345678910>>...45