Home
last modified time | relevance | path

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

12345678910>>...65

/openbmc/linux/drivers/media/usb/dvb-usb-v2/
H 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 …]
/openbmc/linux/drivers/media/usb/dvb-usb/
H 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 …]
/openbmc/u-boot/fs/jffs2/
H A Dmini_inflate.c39 stream->codes.lengths = stream->code_lengths; in init_stream()
40 stream->codes.symbols = stream->code_symbols; in init_stream()
41 stream->codes.count = stream->code_count; in init_stream()
42 stream->codes.first = stream->code_first; in init_stream()
43 stream->codes.pos = stream->code_pos; in init_stream()
49 stream->lengths.count = stream->length_count; in init_stream()
50 stream->lengths.first = stream->length_first; in init_stream()
51 stream->lengths.pos = stream->length_pos; in init_stream()
59 stream->distance.pos = stream->distance_pos; in init_stream()
116 stream->memcpy(dest, stream->data, length); in decompress_none()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c43 stream->signal = stream->link->connector_signal; in update_stream_signal()
124 stream->stream_id = stream->ctx->dc_stream_id_count; in dc_stream_construct()
267 if (pipe_ctx->stream != stream) in program_cursor_attributes()
412 if (pipe_ctx->stream != stream || in program_cursor_position()
585 if (res_ctx->pipe_ctx[i].stream != stream || !tg) in dc_stream_get_vblank_counter()
613 if (pipe_ctx->stream != stream) in dc_stream_send_dp_sdp()
644 if (res_ctx->pipe_ctx[i].stream != stream || !tg) in dc_stream_get_scanoutpos()
670 if (pipe->stream == stream) in dc_stream_dmdata_status_done()
698 if (pipe_ctx->stream == stream) in dc_stream_set_dynamic_metadata()
739 if (pipe->stream == stream) in dc_stream_get_pipe_ctx()
[all …]
/openbmc/linux/sound/core/
H 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 …]
/openbmc/linux/drivers/media/usb/uvc/
H A Duvc_video.c613 stream->clock.head = (stream->clock.head + 1) % stream->clock.size; in uvc_video_clock_decode()
977 stream->stats.stream.nb_frames++; in uvc_video_stats_update()
978 stream->stats.stream.nb_packets += stream->stats.frame.nb_packets; in uvc_video_stats_update()
979 stream->stats.stream.nb_empty += stream->stats.frame.nb_empty; in uvc_video_stats_update()
980 stream->stats.stream.nb_errors += stream->stats.frame.nb_errors; in uvc_video_stats_update()
981 stream->stats.stream.nb_invalid += stream->stats.frame.nb_invalid; in uvc_video_stats_update()
1009 stream->stats.stream.start_ts); in uvc_video_stats_dump()
1021 stream->stats.stream.nb_empty, in uvc_video_stats_dump()
1035 stream->stats.stream.min_sof, in uvc_video_stats_dump()
1036 stream->stats.stream.max_sof, in uvc_video_stats_dump()
[all …]
/openbmc/linux/sound/soc/au1x/
H 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 …]
/openbmc/linux/drivers/media/v4l2-core/
H 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 …]
/openbmc/linux/fs/squashfs/
H 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 …]
H 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 …]
H 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 …]
H 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 …]
H A Ddecompressor_multi_percpu.c23 void *stream; member
30 struct squashfs_stream *stream; in squashfs_decompressor_create() local
40 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create()
41 if (IS_ERR(stream->stream)) { in squashfs_decompressor_create()
42 err = PTR_ERR(stream->stream); in squashfs_decompressor_create()
54 if (!IS_ERR_OR_NULL(stream->stream)) in squashfs_decompressor_create()
55 msblk->decompressor->free(stream->stream); in squashfs_decompressor_create()
68 if (msblk->stream) { in squashfs_decompressor_destroy()
71 msblk->decompressor->free(stream->stream); in squashfs_decompressor_destroy()
86 stream = this_cpu_ptr(percpu); in squashfs_decompress()
[all …]
/openbmc/linux/net/sctp/
H 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 …]
H A Dstream_sched_fc.c62 INIT_LIST_HEAD(&stream->fc_list); in sctp_sched_fc_init()
101 struct sctp_stream *stream; in sctp_sched_fc_enqueue() local
107 stream = &q->asoc->stream; in sctp_sched_fc_enqueue()
108 sctp_sched_fc_sched(stream, SCTP_SO(stream, sid)->ext); in sctp_sched_fc_enqueue()
113 struct sctp_stream *stream = &q->asoc->stream; in sctp_sched_fc_dequeue() local
122 if (stream->out_curr) in sctp_sched_fc_dequeue()
123 soute = stream->out_curr->ext; in sctp_sched_fc_dequeue()
135 struct sctp_stream *stream = &q->asoc->stream; in sctp_sched_fc_dequeue_done() local
174 asoc = container_of(stream, struct sctp_association, stream); in sctp_sched_fc_sched_all()
178 if (SCTP_SO(stream, sid)->ext) in sctp_sched_fc_sched_all()
[all …]
/openbmc/linux/lib/kunit/
H 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 …]
H 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 …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dstream_test.cpp33 stream >> v; in TEST()
38 stream >> v; in TEST()
43 stream >> v; in TEST()
48 stream >> v; in TEST()
96 stream << v1; in TEST()
100 stream >> e1; in TEST()
107 stream << v2; in TEST()
112 stream >> e2; in TEST()
118 stream << v3; in TEST()
121 stream.offset(stream.offset() - 1); in TEST()
[all …]
/openbmc/linux/sound/soc/
H A Dsoc-pcm.c493 int stream = substream->stream; in soc_pcm_apply_msb() local
1688 int stream = substream->stream; in dpcm_runtime_setup_fe() local
1723 int stream = substream->stream; in dpcm_runtime_setup_be_format() local
1759 int stream = substream->stream; in dpcm_runtime_setup_be_chan() local
1807 int stream = substream->stream; in dpcm_runtime_setup_be_rate() local
1926 int stream = substream->stream; in dpcm_fe_dai_shutdown() local
1992 int stream = substream->stream; in dpcm_fe_dai_hw_free() local
2329 int stream = substream->stream; in dpcm_fe_dai_do_trigger() local
2416 int stream = substream->stream; in dpcm_fe_dai_trigger() local
2722 int stream = fe_substream->stream; in dpcm_fe_dai_cleanup() local
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_perf.c1000 stream->perf->ops.oa_disable(stream); in gen8_oa_read()
1001 stream->perf->ops.oa_enable(stream); in gen8_oa_read()
1224 stream->perf->ops.oa_disable(stream); in gen7_oa_read()
1225 stream->perf->ops.oa_enable(stream); in gen7_oa_read()
3091 stream->perf->ops.oa_enable(stream); in i915_oa_stream_enable()
3154 stream->perf->ops.oa_disable(stream); in i915_oa_stream_disable()
3509 ret = stream->ops->wait_unlocked(stream); in i915_perf_read()
3633 stream->ops->enable(stream); in i915_perf_enable_locked()
3665 stream->ops->disable(stream); in i915_perf_disable_locked()
3770 stream->ops->destroy(stream); in i915_perf_destroy_locked()
[all …]
/openbmc/linux/sound/soc/intel/atom/
H 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 …]
/openbmc/linux/drivers/media/test-drivers/vimc/
H 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 …]
/openbmc/linux/sound/soc/sprd/
H 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 …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H 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 …]
/openbmc/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_dec_parse.c22 if (stream->curr >= stream->size) in read_byte()
24 return stream->addr[stream->curr++]; in read_byte()
32 byte = read_byte(stream); in read_word_be()
36 byte = read_byte(stream); in read_word_be()
49 read_byte(stream); in read_skip()
56 struct mtk_jpeg_stream stream; in mtk_jpeg_do_parse() local
58 stream.addr = src_addr_va; in mtk_jpeg_do_parse()
59 stream.size = src_size; in mtk_jpeg_do_parse()
60 stream.curr = 0; in mtk_jpeg_do_parse()
66 byte = read_byte(&stream); in mtk_jpeg_do_parse()
[all …]

12345678910>>...65