Home
last modified time | relevance | path

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

12345678910>>...53

/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/drivers/gpu/drm/amd/display/dc/core/
A Ddc_stream.c49 stream->signal = stream->link->connector_signal; in update_stream_signal()
138 stream->stream_id = stream->ctx->dc_stream_id_count; in dc_stream_assign_stream_id()
240 if (pipe_ctx->stream != stream) in program_cursor_attributes()
312 dc = stream ? stream->ctx->dc : NULL; in dc_stream_program_cursor_attributes()
350 if (pipe_ctx->stream != stream || in program_cursor_position()
431 if (stream == pipe_ctx->stream) { in dc_stream_program_cursor_position()
668 if (pipe_ctx->stream != stream) in dc_stream_send_dp_sdp()
727 if (pipe->stream == stream) in dc_stream_dmdata_status_done()
757 if (pipe_ctx->stream == stream) in dc_stream_set_dynamic_metadata()
800 if (pipe->stream == stream) in dc_stream_get_pipe_ctx()
[all …]
/linux/sound/core/
A Dcompress_offload.c157 data->stream.ops->free(&data->stream); in snd_compr_free()
170 stream->ops->pointer(stream, tstamp); in snd_compr_update_tstamp()
274 stream->ops->ack(stream, count); in snd_compr_write_data()
289 stream = &data->stream; in snd_compr_write()
309 retval = stream->ops->copy(stream, cbuf, avail); in snd_compr_write()
338 stream = &data->stream; in snd_compr_read()
362 retval = stream->ops->copy(stream, buf, avail); in snd_compr_read()
394 stream = &data->stream; in snd_compr_poll()
442 retval = stream->ops->get_caps(stream, &caps); in snd_compr_get_caps()
479 if (snd_BUG_ON(!(stream) || !(stream)->runtime)) in snd_compr_malloc_pages()
[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/usb/uvc/
A Duvc_video.c1000 stream->stats.stream.nb_frames++; in uvc_video_stats_update()
1001 stream->stats.stream.nb_packets += stream->stats.frame.nb_packets; in uvc_video_stats_update()
1002 stream->stats.stream.nb_empty += stream->stats.frame.nb_empty; in uvc_video_stats_update()
1003 stream->stats.stream.nb_errors += stream->stats.frame.nb_errors; in uvc_video_stats_update()
1004 stream->stats.stream.nb_invalid += stream->stats.frame.nb_invalid; in uvc_video_stats_update()
1032 stream->stats.stream.start_ts); in uvc_video_stats_dump()
1042 stream->stats.stream.nb_frames, in uvc_video_stats_dump()
1044 stream->stats.stream.nb_empty, in uvc_video_stats_dump()
1058 stream->stats.stream.min_sof, in uvc_video_stats_dump()
1059 stream->stats.stream.max_sof, in uvc_video_stats_dump()
[all …]
/linux/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.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 …]
/linux/drivers/media/v4l2-core/
A Dv4l2-jpeg.c184 if (stream->curr >= stream->end) in jpeg_get_byte()
195 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_get_word_be()
206 if (stream->curr + len > stream->end) in jpeg_skip()
235 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_reference_segment()
239 if (stream->curr + len > stream->end) in jpeg_reference_segment()
577 if (stream->curr + 6 > stream->end || in jpeg_parse_app14_data()
617 stream.end = stream.curr + len; in v4l2_jpeg_parse_header()
729 stream.end = stream.curr + len; in v4l2_jpeg_parse_frame_header()
748 stream.end = stream.curr + len; in v4l2_jpeg_parse_scan_header()
769 stream.end = stream.curr + len; in v4l2_jpeg_parse_quantization_tables()
[all …]
/linux/lib/kunit/
A Dstring-stream.c82 spin_lock(&stream->lock); in string_stream_vadd()
109 &stream->fragments, in string_stream_clear()
113 stream->length = 0; in string_stream_clear()
161 stream = kzalloc(sizeof(*stream), gfp); in alloc_string_stream()
162 if (!stream) in alloc_string_stream()
165 stream->gfp = gfp; in alloc_string_stream()
169 return stream; in alloc_string_stream()
180 kfree(stream); in string_stream_destroy()
195 if (IS_ERR(stream)) in kunit_alloc_string_stream()
196 return stream; in kunit_alloc_string_stream()
[all …]
A Dassert_test.c53 struct string_stream *stream; in kunit_test_assert_prologue() local
71 string_stream_clear(stream); in kunit_test_assert_prologue()
94 string_stream_clear(stream); in verify_assert_print_msg()
101 struct string_stream *stream; in kunit_test_assert_print_msg() local
128 string_stream_clear(stream); in validate_assert()
139 struct string_stream *stream; in kunit_test_unary_assert_format() local
160 struct string_stream *stream; in kunit_test_ptr_not_err_assert_format() local
174 stream, 1, "null"); in kunit_test_ptr_not_err_assert_format()
185 struct string_stream *stream; in kunit_test_binary_assert_format() local
219 stream, 3, "3", "2", "=="); in kunit_test_binary_assert_format()
[all …]
A Dstring-stream-test.c43 struct string_stream *stream; in string_stream_managed_init_test() local
59 struct string_stream *stream; in string_stream_unmanaged_init_test() local
92 string_stream_clear(stream); in string_stream_destroy_stub()
93 kfree(stream); in string_stream_destroy_stub()
165 struct string_stream *stream; in string_stream_line_add_test() local
183 string_stream_add(stream, line); in string_stream_line_add_test()
221 struct string_stream *stream; in string_stream_variable_length_line_test() local
381 struct string_stream *stream; in string_stream_append_empty_string_test() local
404 struct string_stream *stream; in string_stream_no_auto_newline_test() local
427 struct string_stream *stream; in string_stream_auto_newline_test() local
[all …]
/linux/drivers/gpu/drm/xe/
A Dxe_oa.c265 pollin = xe_oa_circ_diff(stream, stream->oa_buffer.tail, in xe_oa_buffer_check_unlocked()
484 stream->oa_status = xe_mmio_rmw32(stream->gt, __oa_regs(stream)->oa_status, in __xe_oa_read()
504 if (!stream->enabled || !stream->sample) in xe_oa_read()
752 xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_ctrl, __oa_ccs_select(stream)); in xe_oa_configure_oac_context()
782 enable && stream && stream->sample ? in oag_configure_mmio_trigger()
801 xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_debug, in xe_oa_disable_metric_set()
974 xe_mmio_write32(stream->gt, __oa_regs(stream)->oa_ctx_ctrl, stream->periodic ? in xe_oa_enable_metric_set()
997 return xe_oa_emit_oa_config(stream, stream->oa_config); in xe_oa_enable_metric_set()
1357 stream->gt = stream->hwe->gt; in xe_oa_stream_init()
1424 stream->gt->info.id, stream->hwe->name, ret); in xe_oa_stream_init()
[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()
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 …]
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 …]
/linux/drivers/gpu/drm/i915/
A Di915_perf.c986 stream->perf->ops.oa_disable(stream); in gen8_oa_read()
987 stream->perf->ops.oa_enable(stream); in gen8_oa_read()
1199 stream->perf->ops.oa_disable(stream); in gen7_oa_read()
1200 stream->perf->ops.oa_enable(stream); in gen7_oa_read()
3057 stream->perf->ops.oa_enable(stream); in i915_oa_stream_enable()
3120 stream->perf->ops.oa_disable(stream); in i915_oa_stream_disable()
3450 ret = stream->ops->wait_unlocked(stream); in i915_perf_read()
3574 stream->ops->enable(stream); in i915_perf_enable_locked()
3606 stream->ops->disable(stream); in i915_perf_disable_locked()
3711 stream->ops->destroy(stream); in i915_perf_destroy_locked()
[all …]
/linux/sound/soc/
A Dsoc-pcm.c583 int stream = substream->stream; in soc_pcm_apply_msb() local
1787 int stream = substream->stream; in dpcm_runtime_setup_fe() local
1823 int stream = substream->stream; in dpcm_runtime_setup_be_format() local
1860 int stream = substream->stream; in dpcm_runtime_setup_be_chan() local
1908 int stream = substream->stream; in dpcm_runtime_setup_be_rate() local
2027 int stream = substream->stream; in dpcm_fe_dai_shutdown() local
2093 int stream = substream->stream; in dpcm_fe_dai_hw_free() local
2430 int stream = substream->stream; in dpcm_fe_dai_do_trigger() local
2509 int stream = substream->stream; in dpcm_fe_dai_trigger() local
2784 int stream = fe_substream->stream; in dpcm_fe_dai_cleanup() local
[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/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/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/drivers/slimbus/
A Dstream.c419 if (!stream->ports || !stream->num_ports) in slim_stream_disable()
423 ctrl->disable_stream(stream); in slim_stream_disable()
430 slim_deactivate_remove_channel(stream, &stream->ports[i]); in slim_stream_disable()
453 if (!stream->ports || !stream->num_ports) in slim_stream_unprepare()
457 slim_disconnect_port(stream, &stream->ports[i]); in slim_stream_unprepare()
459 kfree(stream->ports); in slim_stream_unprepare()
460 stream->ports = NULL; in slim_stream_unprepare()
461 stream->num_ports = 0; in slim_stream_unprepare()
484 list_del(&stream->node); in slim_stream_free()
487 kfree(stream->name); in slim_stream_free()
[all …]

Completed in 96 milliseconds

12345678910>>...53