Home
last modified time | relevance | path

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

12345678910>>...48

/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/
A Ddc_stream.c43 stream->signal = stream->link->connector_signal; in update_stream_signal()
125 stream->stream_id = stream->ctx->dc_stream_id_count; in dc_stream_construct()
268 if (pipe_ctx->stream != stream) in program_cursor_attributes()
386 if (pipe_ctx->stream != stream || in program_cursor_position()
589 if (res_ctx->pipe_ctx[i].stream != stream) in dc_stream_get_vblank_counter()
617 if (pipe_ctx->stream != stream) in dc_stream_send_dp_sdp()
648 if (res_ctx->pipe_ctx[i].stream != stream) in dc_stream_get_scanoutpos()
674 if (pipe->stream == stream) in dc_stream_dmdata_status_done()
702 if (pipe_ctx->stream == stream) in dc_stream_set_dynamic_metadata()
743 if (pipe->stream == stream) in dc_stream_get_pipe_ctx()
[all …]
/linux-6.3-rc2/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-6.3-rc2/drivers/media/usb/uvc/
A Duvc_video.c573 stream->clock.head = (stream->clock.head + 1) % stream->clock.size; in uvc_video_clock_decode()
937 stream->stats.stream.nb_frames++; in uvc_video_stats_update()
938 stream->stats.stream.nb_packets += stream->stats.frame.nb_packets; in uvc_video_stats_update()
939 stream->stats.stream.nb_empty += stream->stats.frame.nb_empty; in uvc_video_stats_update()
940 stream->stats.stream.nb_errors += stream->stats.frame.nb_errors; in uvc_video_stats_update()
941 stream->stats.stream.nb_invalid += stream->stats.frame.nb_invalid; in uvc_video_stats_update()
969 stream->stats.stream.start_ts); in uvc_video_stats_dump()
981 stream->stats.stream.nb_empty, in uvc_video_stats_dump()
995 stream->stats.stream.min_sof, in uvc_video_stats_dump()
996 stream->stats.stream.max_sof, in uvc_video_stats_dump()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/fs/squashfs/
A Ddecompressor_multi.c47 void *stream; member
58 wake_up(&stream->wait); in put_decomp_stream()
68 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in squashfs_decompressor_create()
69 if (!stream) in squashfs_decompressor_create()
88 stream->comp_opts); in squashfs_decompressor_create()
96 return stream; in squashfs_decompressor_create()
100 kfree(stream); in squashfs_decompressor_create()
107 struct squashfs_stream *stream = msblk->stream; in squashfs_decompressor_destroy() local
108 if (stream) { in squashfs_decompressor_destroy()
121 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 Dzlib_wrapper.c27 if (stream == NULL) in zlib_init()
30 if (stream->workspace == NULL) in zlib_init()
33 return stream; in zlib_init()
37 kfree(stream); in zlib_init()
44 z_stream *stream = strm; in zlib_free() local
46 if (stream) in zlib_free()
47 vfree(stream->workspace); in zlib_free()
48 kfree(stream); in zlib_free()
59 z_stream *stream = strm; in zlib_uncompress() local
63 stream->avail_in = 0; in zlib_uncompress()
[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()
142 if (stream->buf.in_pos == stream->buf.in_size) { in squashfs_xz_uncompress()
161 if (stream->buf.out_pos == stream->buf.out_size) { in squashfs_xz_uncompress()
[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()
87 stream = this_cpu_ptr(percpu); in squashfs_decompress()
[all …]
/linux-6.3-rc2/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()
106 stream = &q->asoc->stream; in sctp_sched_rr_enqueue()
107 sctp_sched_rr_sched(stream, SCTP_SO(stream, sid)->ext); in sctp_sched_rr_enqueue()
112 struct sctp_stream *stream = &q->asoc->stream; in sctp_sched_rr_dequeue() local
121 if (stream->out_curr) in sctp_sched_rr_dequeue()
124 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()
247 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_outq_is_empty()
268 struct sctp_stream *stream = &asoc->stream; in sctp_send_reset_streams() local
382 struct sctp_stream *stream = &asoc->stream; in sctp_send_reset_assoc() local
427 struct sctp_stream *stream = &asoc->stream; in sctp_send_add_streams() local
522 struct sctp_stream *stream = &asoc->stream; in sctp_process_strreset_outreq() local
611 struct sctp_stream *stream = &asoc->stream; in sctp_process_strreset_inreq() local
689 struct sctp_stream *stream = &asoc->stream; in sctp_process_strreset_tsnreq() local
785 struct sctp_stream *stream = &asoc->stream; in sctp_process_strreset_addstrm_out() local
855 struct sctp_stream *stream = &asoc->stream; in sctp_process_strreset_addstrm_in() local
[all …]
/linux-6.3-rc2/lib/kunit/
A Dstring-stream.c60 stream->gfp); in string_stream_vadd()
65 spin_lock(&stream->lock); in string_stream_vadd()
66 stream->length += len; in string_stream_vadd()
92 &stream->fragments, in string_stream_clear()
96 stream->length = 0; in string_stream_clear()
106 buf = kunit_kzalloc(stream->test, buf_len, stream->gfp); in string_stream_get_string()
140 stream = kunit_kzalloc(test, sizeof(*stream), gfp); in alloc_string_stream()
141 if (!stream) in alloc_string_stream()
144 stream->gfp = gfp; in alloc_string_stream()
145 stream->test = test; in alloc_string_stream()
[all …]
A Dassert.c15 struct string_stream *stream) in kunit_assert_prologue() 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()
123 string_stream_add(stream, in kunit_binary_assert_format()
153 string_stream_add(stream, in kunit_binary_ptr_assert_format()
193 string_stream_add(stream, in kunit_binary_str_assert_format()
245 string_stream_add(stream, in kunit_mem_assert_format()
249 string_stream_add(stream, in kunit_mem_assert_format()
[all …]
/linux-6.3-rc2/sound/soc/
A Dsoc-pcm.c506 int stream = substream->stream; in soc_pcm_apply_msb() local
1663 int stream = substream->stream; in dpcm_runtime_setup_fe() local
1694 int stream = substream->stream; in dpcm_runtime_setup_be_format() local
1730 int stream = substream->stream; in dpcm_runtime_setup_be_chan() local
1778 int stream = substream->stream; in dpcm_runtime_setup_be_rate() local
1897 int stream = substream->stream; in dpcm_fe_dai_shutdown() local
1963 int stream = substream->stream; in dpcm_fe_dai_hw_free() local
2300 int stream = substream->stream; in dpcm_fe_dai_do_trigger() local
2387 int stream = substream->stream; in dpcm_fe_dai_trigger() local
2687 int stream = fe_substream->stream; in dpcm_fe_dai_cleanup() local
[all …]
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Di915_perf.c897 stream->perf->ops.oa_disable(stream); in gen8_oa_read()
898 stream->perf->ops.oa_enable(stream); in gen8_oa_read()
1121 stream->perf->ops.oa_disable(stream); in gen7_oa_read()
1122 stream->perf->ops.oa_enable(stream); in gen7_oa_read()
3009 stream->perf->ops.oa_enable(stream); in i915_oa_stream_enable()
3072 stream->perf->ops.oa_disable(stream); in i915_oa_stream_disable()
3420 ret = stream->ops->wait_unlocked(stream); in i915_perf_read()
3544 stream->ops->enable(stream); in i915_perf_enable_locked()
3576 stream->ops->disable(stream); in i915_perf_disable_locked()
3681 stream->ops->destroy(stream); in i915_perf_destroy_locked()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/staging/media/atomisp/pci/
A Dia_css_stream_public.h181 struct ia_css_stream **stream);
190 ia_css_stream_destroy(struct ia_css_stream *stream);
200 ia_css_stream_get_info(const struct ia_css_stream *stream,
215 ia_css_stream_start(struct ia_css_stream *stream);
225 ia_css_stream_stop(struct ia_css_stream *stream);
234 ia_css_stream_has_stopped(struct ia_css_stream *stream);
243 ia_css_stream_unload(struct ia_css_stream *stream);
338 ia_css_stream_capture(struct ia_css_stream *stream,
354 ia_css_stream_capture_frame(struct ia_css_stream *stream,
475 ia_css_stream_request_flash(struct ia_css_stream *stream);
[all …]
/linux-6.3-rc2/drivers/slimbus/
A Dstream.c417 if (!stream->ports || !stream->num_ports) in slim_stream_disable()
421 ctrl->disable_stream(stream); in slim_stream_disable()
428 slim_deactivate_remove_channel(stream, &stream->ports[i]); in slim_stream_disable()
451 if (!stream->ports || !stream->num_ports) in slim_stream_unprepare()
455 slim_disconnect_port(stream, &stream->ports[i]); in slim_stream_unprepare()
457 kfree(stream->ports); in slim_stream_unprepare()
458 stream->ports = NULL; in slim_stream_unprepare()
459 stream->num_ports = 0; in slim_stream_unprepare()
482 list_del(&stream->node); in slim_stream_free()
485 kfree(stream->name); in slim_stream_free()
[all …]
/linux-6.3-rc2/drivers/media/platform/mediatek/jpeg/
A Dmtk_jpeg_dec_parse.c27 if (stream->curr >= stream->size) in read_byte()
29 return stream->addr[stream->curr++]; in read_byte()
37 byte = read_byte(stream); in read_word_be()
41 byte = read_byte(stream); in read_word_be()
54 read_byte(stream); in read_skip()
61 struct mtk_jpeg_stream stream; in mtk_jpeg_do_parse() local
63 stream.addr = src_addr_va; in mtk_jpeg_do_parse()
64 stream.size = src_size; in mtk_jpeg_do_parse()
65 stream.curr = 0; in mtk_jpeg_do_parse()
71 byte = read_byte(&stream); in mtk_jpeg_do_parse()
[all …]

Completed in 76 milliseconds

12345678910>>...48