Home
last modified time | relevance | path

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

12345678910>>...15

/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 …]
/drivers/gpu/drm/amd/display/dc/core/
A Ddc_stream.c51 stream->signal = stream->link->connector_signal; in update_stream_signal()
243 if (pipe_ctx->stream != stream) in program_cursor_attributes()
334 dc = stream ? stream->ctx->dc : NULL; in dc_stream_program_cursor_attributes()
372 if (pipe_ctx->stream != stream || in program_cursor_position()
452 if (stream == pipe_ctx->stream) { in dc_stream_program_cursor_position()
678 if (pipe_ctx->stream != stream) in dc_stream_send_dp_sdp()
737 if (pipe->stream == stream) in dc_stream_dmdata_status_done()
767 if (pipe_ctx->stream == stream) in dc_stream_set_dynamic_metadata()
810 if (pipe->stream == stream) in dc_stream_get_pipe_ctx()
878 dc->res_pool->rmcm_3dlut[i].stream == stream) in dc_stream_get_3dlut_for_stream()
[all …]
A Ddc_link_enc_cfg.c39 if (stream) { in is_dig_link_enc_stream()
84 return stream; in get_stream_using_link_enc()
104 if (assignment.valid && assignment.stream == stream) { in remove_link_enc_assignment()
144 .stream = stream}; in add_link_enc_assignment()
147 stream->link_enc = stream->ctx->dc->res_pool->link_encoders[eng_idx]; in add_link_enc_assignment()
343 if (stream == prev_stream && stream->link == prev_stream->link && in link_enc_cfg_link_encs_assign()
456 if (stream) in link_enc_cfg_is_transmitter_mappable()
473 stream = assignment.stream; in link_enc_cfg_get_stream_using_link_enc()
478 return stream; in link_enc_cfg_get_stream_using_link_enc()
490 if (stream) in link_enc_cfg_get_link_using_link_enc()
[all …]
A Ddc_resource.c678 pipe_with_clk_src->stream, pipe->stream)) in is_sharable_clk_src()
2224 if (pipe_a->stream && !pipe_b->stream) in resource_is_pipe_topology_changed()
2544 split_pipe->stream = stream; in acquire_first_split_pipe()
2887 stream->ctx->dc, context, stream); in resource_remove_otg_master_for_stream_output()
3722 pipe_ctx->stream = stream; in acquire_resource_from_hw_enabled_state()
3847 pipe_ctx->stream = stream; in acquire_otg_master_pipe_for_stream()
4010 if (set[i].stream == stream) in planes_changed_for_existing_stream()
4036 if (set[i].stream == stream) in add_all_planes_for_stream()
4093 if (stream == set[j].stream) { in dc_validate_with_context()
4283 stream = pipe_ctx->stream; in decide_hblank_borrow()
[all …]
/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 …]
/drivers/media/usb/uvc/
A Duvc_video.c1036 stream->stats.stream.nb_frames++; in uvc_video_stats_update()
1037 stream->stats.stream.nb_packets += stream->stats.frame.nb_packets; in uvc_video_stats_update()
1038 stream->stats.stream.nb_empty += stream->stats.frame.nb_empty; in uvc_video_stats_update()
1039 stream->stats.stream.nb_errors += stream->stats.frame.nb_errors; in uvc_video_stats_update()
1040 stream->stats.stream.nb_invalid += stream->stats.frame.nb_invalid; in uvc_video_stats_update()
1068 stream->stats.stream.start_ts); in uvc_video_stats_dump()
1078 stream->stats.stream.nb_frames, in uvc_video_stats_dump()
1080 stream->stats.stream.nb_empty, in uvc_video_stats_dump()
1094 stream->stats.stream.min_sof, in uvc_video_stats_dump()
1095 stream->stats.stream.max_sof, in uvc_video_stats_dump()
[all …]
A Duvc_v4l2.c395 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_g_fmt() local
431 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_s_fmt() local
464 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_g_parm() local
500 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_s_parm() local
605 handle->stream = stream; in uvc_v4l2_open()
614 struct uvc_streaming *stream = handle->stream; in uvc_v4l2_release() local
631 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_querycap() local
646 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_enum_fmt() local
670 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_try_fmt() local
750 struct uvc_streaming *stream = handle->stream; in uvc_ioctl_s_input() local
[all …]
/drivers/media/v4l2-core/
A Dv4l2-jpeg.c184 if (stream->curr >= stream->end) in jpeg_get_byte()
187 return *stream->curr++; 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()
209 stream->curr += len; 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()
457 qk = stream->curr; in jpeg_parse_quantization_tables()
577 if (stream->curr + 6 > stream->end || in jpeg_parse_app14_data()
616 stream.curr = buf; in v4l2_jpeg_parse_header()
[all …]
/drivers/gpu/drm/xe/
A Dxe_oa.c292 available = xe_oa_circ_diff(stream, stream->oa_buffer.tail, stream->oa_buffer.head); in xe_oa_buffer_check_unlocked()
526 stream->oa_status = xe_mmio_rmw32(&stream->gt->mmio, __oa_regs(stream)->oa_status, in __xe_oa_read()
546 if (!stream->enabled || !stream->sample) in xe_oa_read()
632 struct xe_exec_queue *q = stream->exec_q ?: stream->k_exec_q; in xe_oa_submit_bb()
815 enable && stream && stream->sample ? in oag_configure_mmio_trigger()
1133 return xe_oa_emit_oa_config(stream, stream->oa_config); in xe_oa_enable_metric_set()
1638 kfree(stream); in xe_oa_destroy_locked()
1720 stream->gt = stream->hwe->gt; in xe_oa_stream_init()
1784 stream->gt->info.id, stream->hwe->name, ret); in xe_oa_stream_init()
1797 WRITE_ONCE(stream->oa_unit->exclusive_stream, stream); in xe_oa_stream_init()
[all …]
A Dxe_eu_stall.c561 if (!stream->enabled) { in xe_eu_stall_stream_read()
568 ret = wait_event_interruptible(stream->poll_wq, stream->pollin); in xe_eu_stall_stream_read()
598 kfree(stream); in xe_eu_stall_stream_free()
629 stream->bo = bo; in xe_eu_stall_data_buf_alloc()
758 if (stream->pollin) in xe_eu_stall_stream_poll_locked()
782 if (stream->enabled) in xe_eu_stall_enable_locked()
799 if (!stream->enabled) in xe_eu_stall_disable_locked()
885 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in xe_eu_stall_stream_open_locked()
886 if (!stream) in xe_eu_stall_stream_open_locked()
889 gt->eu_stall->stream = stream; in xe_eu_stall_stream_open_locked()
[all …]
/drivers/gpu/drm/i915/
A Di915_perf.c989 stream->perf->ops.oa_disable(stream); in gen8_oa_read()
990 stream->perf->ops.oa_enable(stream); in gen8_oa_read()
1202 stream->perf->ops.oa_disable(stream); in gen7_oa_read()
1203 stream->perf->ops.oa_enable(stream); in gen7_oa_read()
3060 stream->perf->ops.oa_enable(stream); in i915_oa_stream_enable()
3123 stream->perf->ops.oa_disable(stream); in i915_oa_stream_disable()
3452 ret = stream->ops->wait_unlocked(stream); in i915_perf_read()
3576 stream->ops->enable(stream); in i915_perf_enable_locked()
3608 stream->ops->disable(stream); in i915_perf_disable_locked()
3713 stream->ops->destroy(stream); in i915_perf_destroy_locked()
[all …]
/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()
93 stream->pipe_size = 0; in vimc_streamer_pipeline_init()
99 stream->ved_pipeline[stream->pipe_size++] = ved; in vimc_streamer_pipeline_init()
202 if (!stream || !ved) in vimc_streamer_s_stream()
206 if (stream->kthread) in vimc_streamer_s_stream()
213 stream->kthread = kthread_run(vimc_streamer_thread, stream, in vimc_streamer_s_stream()
225 if (!stream->kthread) in vimc_streamer_s_stream()
[all …]
/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 …]
/drivers/gpu/drm/amd/display/dc/link/
A Dlink_dpms.c775 struct dc_stream_state *stream = pipe_ctx->stream; in dp_set_dsc_on_rx() local
788 struct dc_stream_state *stream = pipe_ctx->stream; in dp_set_hblank_reduction_on_rx() local
809 struct dc_stream_state *stream = pipe_ctx->stream; in link_set_dsc_on_stream() local
949 struct dc_stream_state *stream = pipe_ctx->stream; in link_set_dsc_pps_packet() local
1050 struct dc_stream_state *stream = pipe_ctx->stream; in enable_stream_features() local
1332 struct dc_stream_state *stream = pipe_ctx->stream; in deallocate_mst_payload() local
1431 struct dc_stream_state *stream = pipe_ctx->stream; in allocate_mst_payload() local
1450 stream, in allocate_mst_payload()
1659 struct dc_stream_state *stream = pipe_ctx->stream; in update_sst_payload() local
1684 stream, in update_sst_payload()
[all …]
/drivers/staging/media/atomisp/pci/
A Dia_css_stream_public.h173 struct ia_css_stream **stream);
182 ia_css_stream_destroy(struct ia_css_stream *stream);
192 ia_css_stream_get_info(const struct ia_css_stream *stream,
207 ia_css_stream_start(struct ia_css_stream *stream);
217 ia_css_stream_stop(struct ia_css_stream *stream);
226 ia_css_stream_has_stopped(struct ia_css_stream *stream);
235 ia_css_stream_unload(struct ia_css_stream *stream);
244 ia_css_stream_get_format(const struct ia_css_stream *stream);
330 ia_css_stream_capture(struct ia_css_stream *stream,
346 ia_css_stream_capture_frame(struct ia_css_stream *stream,
[all …]
/drivers/media/platform/mediatek/jpeg/
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 …]
/drivers/soundwire/
A Dstream.c1269 m_rt->stream = stream; in sdw_master_rt_alloc()
1538 if (!stream) { in sdw_prepare_stream()
1554 __func__, stream->name, stream->state); in sdw_prepare_stream()
1623 if (!stream) { in sdw_enable_stream()
1638 __func__, stream->name, stream->state); in sdw_enable_stream()
1711 if (!stream) { in sdw_disable_stream()
1725 __func__, stream->name, stream->state); in sdw_disable_stream()
1816 if (!stream) { in sdw_deprepare_stream()
1831 __func__, stream->name, stream->state); in sdw_deprepare_stream()
1878 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in sdw_alloc_stream()
[all …]
/drivers/usb/host/
A Dehci-sched.c1006 stream = kzalloc(sizeof(*stream), mem_flags); in iso_stream_alloc()
1067 stream->bandwidth = stream->ps.usecs * 8 / in iso_stream_init()
1091 stream->ps.c_usecs = stream->ps.usecs; in iso_stream_init()
1107 stream->ps.bw_uperiod = stream->ps.bw_period << 3; in iso_stream_init()
1111 stream->bandwidth = (stream->ps.usecs + stream->ps.c_usecs) / in iso_stream_init()
1537 stream->ps.bw_phase = stream->ps.phase & in iso_stream_schedule()
1778 itd->stream = stream; in itd_link_urb()
1828 struct ehci_iso_stream *stream = itd->stream; in itd_complete() local
1941 stream); in itd_submit()
2181 sitd->stream = stream; in sitd_link_urb()
[all …]
/drivers/gpu/drm/amd/display/dc/
A Ddc_stream.h322 struct dc_stream_state *stream; member
403 struct dc_stream_state *stream,
437 struct dc_stream_state *stream,
441 struct dc_stream_state *stream,
445 struct dc_stream_state *stream,
455 struct dc_stream_state *stream,
502 struct dc_stream_state *stream);
514 struct dc_stream_state *stream,
518 struct dc_stream_state *stream,
522 struct dc_stream_state *stream,
[all …]
/drivers/gpu/drm/amd/display/dc/link/hwss/
A Dlink_hwss_dio.c64 pipe_ctx->stream->ctx->dc->link_srv->dp_trace_source_sequence(pipe_ctx->stream->link, in setup_dio_stream_encoder()
107 pipe_ctx->stream->link, in reset_dio_stream_encoder()
115 struct dc_stream_state *stream = pipe_ctx->stream; in setup_dio_stream_attribute() local
127 &stream->timing, in setup_dio_stream_attribute()
128 stream->output_color_space, in setup_dio_stream_attribute()
134 &stream->timing, in setup_dio_stream_attribute()
135 stream->phy_pix_clk, in setup_dio_stream_attribute()
140 &stream->timing, in setup_dio_stream_attribute()
146 &stream->timing); in setup_dio_stream_attribute()
277 pipe_ctx->stream->link, in enable_dio_audio_packet()
[all …]
/drivers/media/pci/intel/ipu6/
A Dipu6-isys-queue.c292 struct ipu6_isys_stream *stream = av->stream; in ipu6_isys_stream_start() local
359 struct ipu6_isys_stream *stream = av->stream; in buf_queue() local
383 if (stream->nr_streaming != stream->nr_queues) { in buf_queue()
424 ret = ipu6_fw_isys_complex_cmd(stream->isys, stream->stream_handle, in buf_queue()
536 av->stream = NULL; in ipu6_isys_stream_cleanup()
573 stream = av->stream; in start_streaming()
590 if (stream->nr_streaming != stream->nr_queues) in start_streaming()
631 struct ipu6_isys_stream *stream = av->stream; in stop_streaming() local
638 if (stream->nr_streaming == stream->nr_queues && stream->streaming) in stop_streaming()
677 stream->seq[i].sequence, stream->seq[i].timestamp); in get_sof_sequence_by_timestamp()
[all …]
/drivers/staging/media/ipu7/
A Dipu7-isys-queue.c287 struct ipu7_isys_stream *stream = av->stream; in ipu7_isys_stream_start() local
358 struct ipu7_isys_stream *stream = av->stream; in buf_queue() local
384 if (stream->nr_streaming != stream->nr_queues) { in buf_queue()
427 ret = ipu7_fw_isys_complex_cmd(stream->isys, stream->stream_handle, in buf_queue()
525 av->stream = NULL; in ipu7_isys_stream_cleanup()
558 stream = av->stream; in start_streaming()
575 if (stream->nr_streaming != stream->nr_queues) in start_streaming()
621 struct ipu7_isys_stream *stream = av->stream; in stop_streaming() local
625 if (stream->nr_streaming == stream->nr_queues && stream->streaming) in stop_streaming()
666 stream->seq[i].sequence, stream->seq[i].timestamp); in get_sof_sequence_by_timestamp()
[all …]
A Dipu7-isys-video.c362 struct ipu7_isys_stream *stream = av->stream; in ipu7_isys_fw_pin_cfg() local
447 struct ipu7_isys_stream *stream = av->stream; in start_stream_firmware() local
579 struct ipu7_isys_stream *stream = av->stream; in stop_streaming_firmware() local
604 struct ipu7_isys_stream *stream = av->stream; in close_streaming_firmware() local
632 struct ipu7_isys_stream *stream = av->stream; in ipu7_isys_video_prepare_stream() local
643 memset(stream->seq, 0, sizeof(stream->seq)); in ipu7_isys_video_prepare_stream()
648 stream->stream_source = stream->asd->source; in ipu7_isys_video_prepare_stream()
667 if (!stream) { in ipu7_isys_put_stream()
676 if (&stream->isys->streams[i] == stream) { in ipu7_isys_put_stream()
710 if (!stream) { in ipu7_isys_get_stream()
[all …]
/drivers/gpu/drm/amd/display/modules/freesync/
A Dfreesync.c144 return stream->timing.v_total; in mod_freesync_calc_v_total_from_refresh()
175 v_total = stream->timing.v_total; in mod_freesync_calc_v_total_from_refresh()
224 stream, in_out_vrr, in update_v_total_for_static_ramp()
959 build_vrr_infopacket_v3(stream->signal, vrr, app_tf, infopacket, stream->freesync_on_desktop); in mod_freesync_build_vrr_infopacket()
962 build_vrr_infopacket_v2(stream->signal, vrr, app_tf, infopacket, stream->freesync_on_desktop); in mod_freesync_build_vrr_infopacket()
967 build_vrr_infopacket_v1(stream->signal, vrr, infopacket, stream->freesync_on_desktop); in mod_freesync_build_vrr_infopacket()
999 if (stream->ctx->dc->caps.max_v_total != 0 && stream->timing.h_total != 0) { in mod_freesync_build_vrr_params()
1001 (stream->timing.h_total * (long long)calc_max_hardware_v_total(stream))); in mod_freesync_build_vrr_params()
1151 stream, in mod_freesync_handle_preflip()
1156 stream, in mod_freesync_handle_preflip()
[all …]
/drivers/gpu/drm/i915/selftests/
A Di915_perf.c117 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in test_stream()
118 if (!stream) { in test_stream()
123 stream->perf = perf; in test_stream()
127 kfree(stream); in test_stream()
128 stream = NULL; in test_stream()
134 return stream; in test_stream()
154 if (!stream) in live_sanitycheck()
157 stream_destroy(stream); in live_sanitycheck()
211 if (!stream) in live_noa_delay()
285 stream_destroy(stream); in live_noa_delay()
[all …]

Completed in 107 milliseconds

12345678910>>...15