Home
last modified time | relevance | path

Searched refs:stream (Results 1 - 25 of 1632) sorted by relevance

12345678910>>...66

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c40 void update_stream_signal(struct dc_stream_state *stream, struct dc_sink *sink) in update_stream_signal() argument
43 stream->signal = stream->link->connector_signal; in update_stream_signal()
45 stream->signal = sink->sink_signal; in update_stream_signal()
47 if (dc_is_dvi_signal(stream->signal)) { in update_stream_signal()
48 if (stream->ctx->dc->caps.dual_link_dvi && in update_stream_signal()
49 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal()
51 stream->signal = SIGNAL_TYPE_DVI_DUAL_LINK; in update_stream_signal()
53 stream->signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in update_stream_signal()
57 static bool dc_stream_construct(struct dc_stream_state *stream, in dc_stream_construct() argument
130 dc_stream_destruct(struct dc_stream_state *stream) dc_stream_destruct() argument
139 dc_stream_retain(struct dc_stream_state *stream) dc_stream_retain() argument
146 struct dc_stream_state *stream = container_of(kref, struct dc_stream_state, refcount); dc_stream_free() local
152 dc_stream_release(struct dc_stream_state *stream) dc_stream_release() argument
162 struct dc_stream_state *stream; dc_create_stream_for_sink() local
185 dc_copy_stream(const struct dc_stream_state *stream) dc_copy_stream() argument
219 dc_stream_get_status_from_state( struct dc_state *state, struct dc_stream_state *stream) dc_stream_get_status_from_state() argument
243 dc_stream_get_status( struct dc_stream_state *stream) dc_stream_get_status() argument
250 program_cursor_attributes( struct dc *dc, struct dc_stream_state *stream, const struct dc_cursor_attributes *attributes) program_cursor_attributes() argument
308 is_subvp_high_refresh_candidate(struct dc_stream_state *stream) is_subvp_high_refresh_candidate() argument
337 dc_stream_set_cursor_attributes( struct dc_stream_state *stream, const struct dc_cursor_attributes *attributes) dc_stream_set_cursor_attributes() argument
395 program_cursor_position( struct dc *dc, struct dc_stream_state *stream, const struct dc_cursor_position *position) program_cursor_position() argument
433 dc_stream_set_cursor_position( struct dc_stream_state *stream, const struct dc_cursor_position *position) dc_stream_set_cursor_position() argument
470 dc_stream_add_writeback(struct dc *dc, struct dc_stream_state *stream, struct dc_writeback_info *wb_info) dc_stream_add_writeback() argument
522 dc_stream_remove_writeback(struct dc *dc, struct dc_stream_state *stream, uint32_t dwb_pipe_inst) dc_stream_remove_writeback() argument
575 dc_stream_get_vblank_counter(const struct dc_stream_state *stream) dc_stream_get_vblank_counter() argument
594 dc_stream_send_dp_sdp(const struct dc_stream_state *stream, const uint8_t *custom_sdp_message, unsigned int sdp_message_size) dc_stream_send_dp_sdp() argument
629 dc_stream_get_scanoutpos(const struct dc_stream_state *stream, uint32_t *v_blank_start, uint32_t *v_blank_end, uint32_t *h_position, uint32_t *v_position) dc_stream_get_scanoutpos() argument
660 dc_stream_dmdata_status_done(struct dc *dc, struct dc_stream_state *stream) dc_stream_dmdata_status_done() argument
680 dc_stream_set_dynamic_metadata(struct dc *dc, struct dc_stream_state *stream, struct dc_dmdata_attributes *attr) dc_stream_set_dynamic_metadata() argument
721 dc_stream_add_dsc_to_resource(struct dc *dc, struct dc_state *state, struct dc_stream_state *stream) dc_stream_add_dsc_to_resource() argument
732 dc_stream_get_pipe_ctx(struct dc_stream_state *stream) dc_stream_get_pipe_ctx() argument
746 dc_stream_log(const struct dc *dc, const struct dc_stream_state *stream) dc_stream_log() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
H A Dusb-urb.c17 struct usb_data_stream *stream = urb->context; in usb_urb_complete() local
48 stream->complete(stream, b + urb->iso_frame_desc[i].offset, urb->iso_frame_desc[i].actual_length); in usb_urb_complete()
57 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
66 int usb_urb_kill(struct usb_data_stream *stream) in usb_urb_kill() argument
69 for (i = 0; i < stream->urbs_submitted; i++) { in usb_urb_kill()
73 usb_kill_urb(stream->urb_list[i]); in usb_urb_kill()
75 stream->urbs_submitted = 0; in usb_urb_kill()
79 int usb_urb_submit(struct usb_data_stream *stream) in usb_urb_submit() argument
94 usb_free_stream_buffers(struct usb_data_stream *stream) usb_free_stream_buffers() argument
111 usb_allocate_stream_buffers(struct usb_data_stream *stream, int num, unsigned long size) usb_allocate_stream_buffers() argument
138 usb_bulk_urb_init(struct usb_data_stream *stream) usb_bulk_urb_init() argument
168 usb_isoc_urb_init(struct usb_data_stream *stream) usb_isoc_urb_init() argument
213 usb_urb_init(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_init() argument
238 usb_urb_exit(struct usb_data_stream *stream) usb_urb_exit() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/
H A Dusb-urb.c17 struct usb_data_stream *stream = urb->context; in usb_urb_complete() local
48 stream->complete(stream, b + urb->iso_frame_desc[i].offset, urb->iso_frame_desc[i].actual_length); in usb_urb_complete()
57 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
66 int usb_urb_kill(struct usb_data_stream *stream) in usb_urb_kill() argument
69 for (i = 0; i < stream->urbs_submitted; i++) { in usb_urb_kill()
73 usb_kill_urb(stream->urb_list[i]); in usb_urb_kill()
75 stream->urbs_submitted = 0; in usb_urb_kill()
79 int usb_urb_submit(struct usb_data_stream *stream) in usb_urb_submit() argument
94 usb_free_stream_buffers(struct usb_data_stream *stream) usb_free_stream_buffers() argument
111 usb_allocate_stream_buffers(struct usb_data_stream *stream, int num, unsigned long size) usb_allocate_stream_buffers() argument
138 usb_bulk_urb_init(struct usb_data_stream *stream) usb_bulk_urb_init() argument
168 usb_isoc_urb_init(struct usb_data_stream *stream) usb_isoc_urb_init() argument
213 usb_urb_init(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_init() argument
238 usb_urb_exit(struct usb_data_stream *stream) usb_urb_exit() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c16 int usb_urb_reconfig(struct usb_data_stream *stream,
21 struct usb_data_stream *stream = urb->context; in usb_urb_complete() local
26 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete()
42 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete()
53 dev_dbg(&stream->udev->dev, in usb_urb_complete()
58 stream->complete(stream, in usb_urb_complete()
68 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
71 dev_err(&stream in usb_urb_complete()
79 usb_urb_killv2(struct usb_data_stream *stream) usb_urb_killv2() argument
91 usb_urb_submitv2(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_submitv2() argument
117 usb_urb_free_urbs(struct usb_data_stream *stream) usb_urb_free_urbs() argument
136 usb_urb_alloc_bulk_urbs(struct usb_data_stream *stream) usb_urb_alloc_bulk_urbs() argument
163 usb_urb_alloc_isoc_urbs(struct usb_data_stream *stream) usb_urb_alloc_isoc_urbs() argument
207 usb_free_stream_buffers(struct usb_data_stream *stream) usb_free_stream_buffers() argument
221 usb_alloc_stream_buffers(struct usb_data_stream *stream, int num, unsigned long size) usb_alloc_stream_buffers() argument
250 usb_urb_reconfig(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_reconfig() argument
306 usb_urb_initv2(struct usb_data_stream *stream, const struct usb_data_stream_properties *props) usb_urb_initv2() argument
347 usb_urb_exitv2(struct usb_data_stream *stream) usb_urb_exitv2() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c16 int usb_urb_reconfig(struct usb_data_stream *stream,
21 struct usb_data_stream *stream = urb->context; in usb_urb_complete() local
26 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete()
42 dev_dbg_ratelimited(&stream->udev->dev, in usb_urb_complete()
53 dev_dbg(&stream->udev->dev, in usb_urb_complete()
58 stream->complete(stream, in usb_urb_complete()
68 stream->complete(stream, b, urb->actual_length); in usb_urb_complete()
71 dev_err(&stream in usb_urb_complete()
79 usb_urb_killv2(struct usb_data_stream *stream) usb_urb_killv2() argument
91 usb_urb_submitv2(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_submitv2() argument
117 usb_urb_free_urbs(struct usb_data_stream *stream) usb_urb_free_urbs() argument
136 usb_urb_alloc_bulk_urbs(struct usb_data_stream *stream) usb_urb_alloc_bulk_urbs() argument
163 usb_urb_alloc_isoc_urbs(struct usb_data_stream *stream) usb_urb_alloc_isoc_urbs() argument
207 usb_free_stream_buffers(struct usb_data_stream *stream) usb_free_stream_buffers() argument
221 usb_alloc_stream_buffers(struct usb_data_stream *stream, int num, unsigned long size) usb_alloc_stream_buffers() argument
250 usb_urb_reconfig(struct usb_data_stream *stream, struct usb_data_stream_properties *props) usb_urb_reconfig() argument
306 usb_urb_initv2(struct usb_data_stream *stream, const struct usb_data_stream_properties *props) usb_urb_initv2() argument
347 usb_urb_exitv2(struct usb_data_stream *stream) usb_urb_exitv2() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/uvc/
H A Duvc_video.c137 static void uvc_fixup_video_ctrl(struct uvc_streaming *stream, in uvc_fixup_video_ctrl() argument
156 if (usb_match_one_id(stream->dev->intf, &elgato_cam_link_4k) && in uvc_fixup_video_ctrl()
160 uvc_dbg(stream->dev, VIDEO, in uvc_fixup_video_ctrl()
168 for (i = 0; i < stream->nformats; ++i) { in uvc_fixup_video_ctrl()
169 if (stream->formats[i].index == ctrl->bFormatIndex) { in uvc_fixup_video_ctrl()
170 format = &stream->formats[i]; in uvc_fixup_video_ctrl()
190 stream->dev->uvc_version < 0x0110)) in uvc_fixup_video_ctrl()
204 stream->dev->quirks & UVC_QUIRK_FIX_BANDWIDTH && in uvc_fixup_video_ctrl()
205 stream->intf->num_altsetting > 1) { in uvc_fixup_video_ctrl()
223 if (stream in uvc_fixup_video_ctrl()
241 uvc_video_ctrl_size(struct uvc_streaming *stream) uvc_video_ctrl_size() argument
255 uvc_get_video_ctrl(struct uvc_streaming *stream, struct uvc_streaming_control *ctrl, int probe, u8 query) uvc_get_video_ctrl() argument
345 uvc_set_video_ctrl(struct uvc_streaming *stream, struct uvc_streaming_control *ctrl, int probe) uvc_set_video_ctrl() argument
390 uvc_probe_video(struct uvc_streaming *stream, struct uvc_streaming_control *probe) uvc_probe_video() argument
451 uvc_commit_video(struct uvc_streaming *stream, struct uvc_streaming_control *probe) uvc_commit_video() argument
470 uvc_video_clock_decode(struct uvc_streaming *stream, struct uvc_buffer *buf, const u8 *data, int len) uvc_video_clock_decode() argument
581 uvc_video_clock_reset(struct uvc_streaming *stream) uvc_video_clock_reset() argument
591 uvc_video_clock_init(struct uvc_streaming *stream) uvc_video_clock_init() argument
608 uvc_video_clock_cleanup(struct uvc_streaming *stream) uvc_video_clock_cleanup() argument
702 uvc_video_clock_update(struct uvc_streaming *stream, struct vb2_v4l2_buffer *vbuf, struct uvc_buffer *buf) uvc_video_clock_update() argument
810 uvc_video_stats_decode(struct uvc_streaming *stream, const u8 *data, int len) uvc_video_stats_decode() argument
923 uvc_video_stats_update(struct uvc_streaming *stream) uvc_video_stats_update() argument
957 uvc_video_stats_dump(struct uvc_streaming *stream, char *buf, size_t size) uvc_video_stats_dump() argument
1002 uvc_video_stats_start(struct uvc_streaming *stream) uvc_video_stats_start() argument
1008 uvc_video_stats_stop(struct uvc_streaming *stream) uvc_video_stats_stop() argument
1053 uvc_video_decode_start(struct uvc_streaming *stream, struct uvc_buffer *buf, const u8 *data, int len) uvc_video_decode_start() argument
1155 uvc_stream_dir( struct uvc_streaming *stream) uvc_stream_dir() argument
1164 uvc_stream_to_dmadev(struct uvc_streaming *stream) uvc_stream_to_dmadev() argument
1238 uvc_video_decode_end(struct uvc_streaming *stream, struct uvc_buffer *buf, const u8 *data, int len) uvc_video_decode_end() argument
1264 uvc_video_encode_header(struct uvc_streaming *stream, struct uvc_buffer *buf, u8 *data, int len) uvc_video_encode_header() argument
1273 uvc_video_encode_data(struct uvc_streaming *stream, struct uvc_buffer *buf, u8 *data, int len) uvc_video_encode_data() argument
1307 uvc_video_decode_meta(struct uvc_streaming *stream, struct uvc_buffer *meta_buf, const u8 *mem, unsigned int length) uvc_video_decode_meta() argument
1380 uvc_video_validate_buffer(const struct uvc_streaming *stream, struct uvc_buffer *buf) uvc_video_validate_buffer() argument
1392 uvc_video_next_buffers(struct uvc_streaming *stream, struct uvc_buffer **video_buf, struct uvc_buffer **meta_buf) uvc_video_next_buffers() argument
1418 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_decode_isoc() local
1464 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_decode_bulk() local
1537 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_encode_bulk() local
1582 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_complete() local
1652 uvc_free_urb_buffers(struct uvc_streaming *stream) uvc_free_urb_buffers() argument
1672 uvc_alloc_urb_buffer(struct uvc_streaming *stream, struct uvc_urb *uvc_urb, gfp_t gfp_flags) uvc_alloc_urb_buffer() argument
1708 uvc_alloc_urb_buffers(struct uvc_streaming *stream, unsigned int size, unsigned int psize, gfp_t gfp_flags) uvc_alloc_urb_buffers() argument
1758 uvc_video_stop_transfer(struct uvc_streaming *stream, int free_buffers) uvc_video_stop_transfer() argument
1806 uvc_init_video_isoc(struct uvc_streaming *stream, struct usb_host_endpoint *ep, gfp_t gfp_flags) uvc_init_video_isoc() argument
1858 uvc_init_video_bulk(struct uvc_streaming *stream, struct usb_host_endpoint *ep, gfp_t gfp_flags) uvc_init_video_bulk() argument
1908 uvc_video_start_transfer(struct uvc_streaming *stream, gfp_t gfp_flags) uvc_video_start_transfer() argument
2040 uvc_video_suspend(struct uvc_streaming *stream) uvc_video_suspend() argument
2059 uvc_video_resume(struct uvc_streaming *stream, int reset) uvc_video_resume() argument
2100 uvc_video_init(struct uvc_streaming *stream) uvc_video_init() argument
2219 uvc_video_start_streaming(struct uvc_streaming *stream) uvc_video_start_streaming() argument
2246 uvc_video_stop_streaming(struct uvc_streaming *stream) uvc_video_stop_streaming() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/au1x/
H A Ddma.c42 struct audio_stream stream[2]; /* playback & capture */ member
45 static void au1000_release_dma_link(struct audio_stream *stream) in au1000_release_dma_link() argument
50 stream->period_size = 0; in au1000_release_dma_link()
51 stream->periods = 0; in au1000_release_dma_link()
52 pointer = stream->buffer; in au1000_release_dma_link()
59 } while (pointer != stream->buffer); in au1000_release_dma_link()
60 stream->buffer = NULL; in au1000_release_dma_link()
63 static int au1000_setup_dma_link(struct audio_stream *stream, in au1000_setup_dma_link() argument
67 struct snd_pcm_substream *substream = stream->substream; in au1000_setup_dma_link()
75 if (stream in au1000_setup_dma_link()
105 au1000_dma_stop(struct audio_stream *stream) au1000_dma_stop() argument
111 au1000_dma_start(struct audio_stream *stream) au1000_dma_start() argument
136 struct audio_stream *stream = (struct audio_stream *)ptr; au1000_dma_interrupt() local
233 struct audio_stream *stream = ss_to_as(substream, component); alchemy_pcm_hw_params() local
243 struct audio_stream *stream = ss_to_as(substream, component); alchemy_pcm_hw_free() local
251 struct audio_stream *stream = ss_to_as(substream, component); alchemy_pcm_trigger() local
271 struct audio_stream *stream = ss_to_as(ss, component); alchemy_pcm_pointer() local
[all...]
/kernel/linux/linux-6.6/sound/soc/au1x/
H A Ddma.c42 struct audio_stream stream[2]; /* playback & capture */ member
45 static void au1000_release_dma_link(struct audio_stream *stream) in au1000_release_dma_link() argument
50 stream->period_size = 0; in au1000_release_dma_link()
51 stream->periods = 0; in au1000_release_dma_link()
52 pointer = stream->buffer; in au1000_release_dma_link()
59 } while (pointer != stream->buffer); in au1000_release_dma_link()
60 stream->buffer = NULL; in au1000_release_dma_link()
63 static int au1000_setup_dma_link(struct audio_stream *stream, in au1000_setup_dma_link() argument
67 struct snd_pcm_substream *substream = stream->substream; in au1000_setup_dma_link()
75 if (stream in au1000_setup_dma_link()
105 au1000_dma_stop(struct audio_stream *stream) au1000_dma_stop() argument
111 au1000_dma_start(struct audio_stream *stream) au1000_dma_start() argument
136 struct audio_stream *stream = (struct audio_stream *)ptr; au1000_dma_interrupt() local
233 struct audio_stream *stream = ss_to_as(substream, component); alchemy_pcm_hw_params() local
243 struct audio_stream *stream = ss_to_as(substream, component); alchemy_pcm_hw_free() local
251 struct audio_stream *stream = ss_to_as(substream, component); alchemy_pcm_trigger() local
271 struct audio_stream *stream = ss_to_as(ss, component); alchemy_pcm_pointer() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c42 void update_stream_signal(struct dc_stream_state *stream, struct dc_sink *sink) in update_stream_signal() argument
45 stream->signal = stream->link->connector_signal; in update_stream_signal()
47 stream->signal = sink->sink_signal; in update_stream_signal()
49 if (dc_is_dvi_signal(stream->signal)) { in update_stream_signal()
50 if (stream->ctx->dc->caps.dual_link_dvi && in update_stream_signal()
51 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal()
53 stream->signal = SIGNAL_TYPE_DVI_DUAL_LINK; in update_stream_signal()
55 stream->signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in update_stream_signal()
59 static bool dc_stream_construct(struct dc_stream_state *stream, in dc_stream_construct() argument
133 dc_stream_destruct(struct dc_stream_state *stream) dc_stream_destruct() argument
142 dc_stream_retain(struct dc_stream_state *stream) dc_stream_retain() argument
149 struct dc_stream_state *stream = container_of(kref, struct dc_stream_state, refcount); dc_stream_free() local
155 dc_stream_release(struct dc_stream_state *stream) dc_stream_release() argument
165 struct dc_stream_state *stream; dc_create_stream_for_sink() local
188 dc_copy_stream(const struct dc_stream_state *stream) dc_copy_stream() argument
218 dc_stream_get_status_from_state( struct dc_state *state, struct dc_stream_state *stream) dc_stream_get_status_from_state() argument
239 dc_stream_get_status( struct dc_stream_state *stream) dc_stream_get_status() argument
267 dc_stream_set_cursor_attributes( struct dc_stream_state *stream, const struct dc_cursor_attributes *attributes) dc_stream_set_cursor_attributes() argument
334 dc_stream_set_cursor_position( struct dc_stream_state *stream, const struct dc_cursor_position *position) dc_stream_set_cursor_position() argument
399 dc_stream_add_writeback(struct dc *dc, struct dc_stream_state *stream, struct dc_writeback_info *wb_info) dc_stream_add_writeback() argument
469 dc_stream_remove_writeback(struct dc *dc, struct dc_stream_state *stream, uint32_t dwb_pipe_inst) dc_stream_remove_writeback() argument
527 dc_stream_get_vblank_counter(const struct dc_stream_state *stream) dc_stream_get_vblank_counter() argument
546 dc_stream_send_dp_sdp(const struct dc_stream_state *stream, const uint8_t *custom_sdp_message, unsigned int sdp_message_size) dc_stream_send_dp_sdp() argument
581 dc_stream_get_scanoutpos(const struct dc_stream_state *stream, uint32_t *v_blank_start, uint32_t *v_blank_end, uint32_t *h_position, uint32_t *v_position) dc_stream_get_scanoutpos() argument
612 dc_stream_dmdata_status_done(struct dc *dc, struct dc_stream_state *stream) dc_stream_dmdata_status_done() argument
632 dc_stream_set_dynamic_metadata(struct dc *dc, struct dc_stream_state *stream, struct dc_dmdata_attributes *attr) dc_stream_set_dynamic_metadata() argument
673 dc_stream_add_dsc_to_resource(struct dc *dc, struct dc_state *state, struct dc_stream_state *stream) dc_stream_add_dsc_to_resource() argument
684 dc_stream_log(const struct dc *dc, const struct dc_stream_state *stream) dc_stream_log() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
H A Duvc_video.c129 static void uvc_fixup_video_ctrl(struct uvc_streaming *stream, in uvc_fixup_video_ctrl() argument
151 if (usb_match_one_id(stream->dev->intf, &elgato_cam_link_4k) && in uvc_fixup_video_ctrl()
155 /* uvc_dbg(stream->dev, VIDEO, in uvc_fixup_video_ctrl()
163 for (i = 0; i < stream->nformats; ++i) { in uvc_fixup_video_ctrl()
164 if (stream->format[i].index == ctrl->bFormatIndex) { in uvc_fixup_video_ctrl()
165 format = &stream->format[i]; in uvc_fixup_video_ctrl()
185 stream->dev->uvc_version < 0x0110)) in uvc_fixup_video_ctrl()
198 stream->dev->quirks & UVC_QUIRK_FIX_BANDWIDTH && in uvc_fixup_video_ctrl()
199 stream->intf->num_altsetting > 1) { in uvc_fixup_video_ctrl()
216 if (stream in uvc_fixup_video_ctrl()
233 uvc_video_ctrl_size(struct uvc_streaming *stream) uvc_video_ctrl_size() argument
247 uvc_get_video_ctrl(struct uvc_streaming *stream, struct uvc_streaming_control *ctrl, int probe, u8 query) uvc_get_video_ctrl() argument
334 uvc_set_video_ctrl(struct uvc_streaming *stream, struct uvc_streaming_control *ctrl, int probe) uvc_set_video_ctrl() argument
379 uvc_probe_video(struct uvc_streaming *stream, struct uvc_streaming_control *probe) uvc_probe_video() argument
441 uvc_commit_video(struct uvc_streaming *stream, struct uvc_streaming_control *probe) uvc_commit_video() argument
460 uvc_video_clock_decode(struct uvc_streaming *stream, struct uvc_buffer *buf, const u8 *data, int len) uvc_video_clock_decode() argument
566 uvc_video_clock_reset(struct uvc_streaming *stream) uvc_video_clock_reset() argument
576 uvc_video_clock_init(struct uvc_streaming *stream) uvc_video_clock_init() argument
593 uvc_video_clock_cleanup(struct uvc_streaming *stream) uvc_video_clock_cleanup() argument
687 uvc_video_clock_update(struct uvc_streaming *stream, struct vb2_v4l2_buffer *vbuf, struct uvc_buffer *buf) uvc_video_clock_update() argument
794 uvc_video_stats_decode(struct uvc_streaming *stream, const u8 *data, int len) uvc_video_stats_decode() argument
906 uvc_video_stats_update(struct uvc_streaming *stream) uvc_video_stats_update() argument
941 uvc_video_stats_dump(struct uvc_streaming *stream, char *buf, size_t size) uvc_video_stats_dump() argument
985 uvc_video_stats_start(struct uvc_streaming *stream) uvc_video_stats_start() argument
991 uvc_video_stats_stop(struct uvc_streaming *stream) uvc_video_stats_stop() argument
1035 uvc_video_decode_start(struct uvc_streaming *stream, struct uvc_buffer *buf, const u8 *data, int len) uvc_video_decode_start() argument
1191 uvc_video_decode_end(struct uvc_streaming *stream, struct uvc_buffer *buf, const u8 *data, int len) uvc_video_decode_end() argument
1216 uvc_video_encode_header(struct uvc_streaming *stream, struct uvc_buffer *buf, u8 *data, int len) uvc_video_encode_header() argument
1225 uvc_video_encode_data(struct uvc_streaming *stream, struct uvc_buffer *buf, u8 *data, int len) uvc_video_encode_data() argument
1259 uvc_video_decode_meta(struct uvc_streaming *stream, struct uvc_buffer *meta_buf, const u8 *mem, unsigned int length) uvc_video_decode_meta() argument
1332 uvc_video_validate_buffer(const struct uvc_streaming *stream, struct uvc_buffer *buf) uvc_video_validate_buffer() argument
1344 uvc_video_next_buffers(struct uvc_streaming *stream, struct uvc_buffer **video_buf, struct uvc_buffer **meta_buf) uvc_video_next_buffers() argument
1370 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_decode_isoc() local
1415 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_decode_bulk() local
1485 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_encode_bulk() local
1530 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_complete() local
1594 uvc_free_urb_buffers(struct uvc_streaming *stream) uvc_free_urb_buffers() argument
1625 uvc_alloc_urb_buffers(struct uvc_streaming *stream, unsigned int size, unsigned int psize, gfp_t gfp_flags) uvc_alloc_urb_buffers() argument
1680 uvc_video_stop_transfer(struct uvc_streaming *stream, int free_buffers) uvc_video_stop_transfer() argument
1736 uvc_init_video_isoc(struct uvc_streaming *stream, struct usb_host_endpoint *ep, gfp_t gfp_flags) uvc_init_video_isoc() argument
1792 uvc_init_video_bulk(struct uvc_streaming *stream, struct usb_host_endpoint *ep, gfp_t gfp_flags) uvc_init_video_bulk() argument
1844 uvc_video_start_transfer(struct uvc_streaming *stream, gfp_t gfp_flags) uvc_video_start_transfer() argument
1972 uvc_video_suspend(struct uvc_streaming *stream) uvc_video_suspend() argument
1991 uvc_video_resume(struct uvc_streaming *stream, int reset) uvc_video_resume() argument
2031 uvc_video_init(struct uvc_streaming *stream) uvc_video_init() argument
2129 uvc_video_start_streaming(struct uvc_streaming *stream) uvc_video_start_streaming() argument
2156 uvc_video_stop_streaming(struct uvc_streaming *stream) uvc_video_stop_streaming() argument
[all...]
/kernel/linux/linux-5.10/fs/squashfs/
H A Ddecompressor_multi.c48 void *stream; member
54 struct squashfs_stream *stream) in put_decomp_stream()
56 mutex_lock(&stream->mutex); in put_decomp_stream()
57 list_add(&decomp_strm->list, &stream->strm_list); in put_decomp_stream()
58 mutex_unlock(&stream->mutex); in put_decomp_stream()
59 wake_up(&stream->wait); in put_decomp_stream()
65 struct squashfs_stream *stream; in squashfs_decompressor_create() local
69 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in squashfs_decompressor_create()
70 if (!stream) in squashfs_decompressor_create()
53 put_decomp_stream(struct decomp_stream *decomp_strm, struct squashfs_stream *stream) put_decomp_stream() argument
108 struct squashfs_stream *stream = msblk->stream; squashfs_decompressor_destroy() local
127 get_decomp_stream(struct squashfs_sb_info *msblk, struct squashfs_stream *stream) get_decomp_stream() argument
188 struct squashfs_stream *stream = msblk->stream; squashfs_decompress() local
[all...]
H A Ddecompressor_single.c23 void *stream; member
30 struct squashfs_stream *stream; in squashfs_decompressor_create() local
33 stream = kmalloc(sizeof(*stream), GFP_KERNEL); in squashfs_decompressor_create()
34 if (stream == NULL) 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 in squashfs_decompressor_create()
54 struct squashfs_stream *stream = msblk->stream; squashfs_decompressor_destroy() local
67 struct squashfs_stream *stream = msblk->stream; squashfs_decompress() local
[all...]
/kernel/linux/linux-6.6/fs/squashfs/
H A Ddecompressor_multi.c47 void *stream; member
53 struct squashfs_stream *stream) in put_decomp_stream()
55 mutex_lock(&stream->mutex); in put_decomp_stream()
56 list_add(&decomp_strm->list, &stream->strm_list); in put_decomp_stream()
57 mutex_unlock(&stream->mutex); in put_decomp_stream()
58 wake_up(&stream->wait); in put_decomp_stream()
64 struct squashfs_stream *stream; in squashfs_decompressor_create() local
68 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in squashfs_decompressor_create()
69 if (!stream) in squashfs_decompressor_create()
52 put_decomp_stream(struct decomp_stream *decomp_strm, struct squashfs_stream *stream) put_decomp_stream() argument
107 struct squashfs_stream *stream = msblk->stream; squashfs_decompressor_destroy() local
126 get_decomp_stream(struct squashfs_sb_info *msblk, struct squashfs_stream *stream) get_decomp_stream() argument
187 struct squashfs_stream *stream = msblk->stream; squashfs_decompress() local
[all...]
/kernel/linux/linux-6.6/sound/core/
H A Dcompress_offload.c52 struct snd_compr_stream stream; member
58 * a note on stream states used:
60 * SNDRV_PCM_STATE_OPEN: When stream has been opened.
61 * SNDRV_PCM_STATE_SETUP: When stream has been initialized. This is done by
64 * SNDRV_PCM_STATE_PREPARED: When a stream has been written to (for
65 * playback only). User after setting up stream writes the data buffer
66 * before starting the stream.
67 * SNDRV_PCM_STATE_RUNNING: When stream has been started and is
69 * SNDRV_PCM_STATE_DRAINING: When stream is draining current data. This is done
71 * SNDRV_PCM_STATE_PAUSED: When stream i
166 snd_compr_update_tstamp(struct snd_compr_stream *stream, struct snd_compr_tstamp *tstamp) snd_compr_update_tstamp() argument
181 snd_compr_calc_avail(struct snd_compr_stream *stream, struct snd_compr_avail *avail) snd_compr_calc_avail() argument
217 snd_compr_get_avail(struct snd_compr_stream *stream) snd_compr_get_avail() argument
225 snd_compr_ioctl_avail(struct snd_compr_stream *stream, unsigned long arg) snd_compr_ioctl_avail() argument
248 snd_compr_write_data(struct snd_compr_stream *stream, const char __user *buf, size_t count) snd_compr_write_data() argument
283 struct snd_compr_stream *stream; snd_compr_write() local
334 struct snd_compr_stream *stream; snd_compr_read() local
385 snd_compr_get_poll(struct snd_compr_stream *stream) snd_compr_get_poll() argument
396 struct snd_compr_stream *stream; snd_compr_poll() local
445 snd_compr_get_caps(struct snd_compr_stream *stream, unsigned long arg) snd_compr_get_caps() argument
465 snd_compr_get_codec_caps(struct snd_compr_stream *stream, unsigned long arg) snd_compr_get_codec_caps() argument
489 snd_compr_malloc_pages(struct snd_compr_stream *stream, size_t size) snd_compr_malloc_pages() argument
512 snd_compr_free_pages(struct snd_compr_stream *stream) snd_compr_free_pages() argument
533 snd_compr_allocate_buffer(struct snd_compr_stream *stream, struct snd_compr_params *params) snd_compr_allocate_buffer() argument
587 snd_compr_set_params(struct snd_compr_stream *stream, unsigned long arg) snd_compr_set_params() argument
631 snd_compr_get_params(struct snd_compr_stream *stream, unsigned long arg) snd_compr_get_params() argument
654 snd_compr_get_metadata(struct snd_compr_stream *stream, unsigned long arg) snd_compr_get_metadata() argument
676 snd_compr_set_metadata(struct snd_compr_stream *stream, unsigned long arg) snd_compr_set_metadata() argument
697 snd_compr_tstamp(struct snd_compr_stream *stream, unsigned long arg) snd_compr_tstamp() argument
709 snd_compr_pause(struct snd_compr_stream *stream) snd_compr_pause() argument
732 snd_compr_resume(struct snd_compr_stream *stream) snd_compr_resume() argument
755 snd_compr_start(struct snd_compr_stream *stream) snd_compr_start() argument
776 snd_compr_stop(struct snd_compr_stream *stream) snd_compr_stop() argument
804 struct snd_compr_stream *stream; error_delayed_work() local
827 snd_compr_stop_error(struct snd_compr_stream *stream, snd_pcm_state_t state) snd_compr_stop_error() argument
843 snd_compress_wait_for_drain(struct snd_compr_stream *stream) snd_compress_wait_for_drain() argument
878 snd_compr_drain(struct snd_compr_stream *stream) snd_compr_drain() argument
904 snd_compr_next_track(struct snd_compr_stream *stream) snd_compr_next_track() argument
930 snd_compr_partial_drain(struct snd_compr_stream *stream) snd_compr_partial_drain() argument
969 struct snd_compr_stream *stream; snd_compr_ioctl() local
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-jpeg.c41 #define SOS 0xffda /* start of stream */
56 * struct jpeg_stream - JPEG byte stream
57 * @curr: current position in stream
66 static int jpeg_get_byte(struct jpeg_stream *stream) in jpeg_get_byte() argument
68 if (stream->curr >= stream->end) in jpeg_get_byte()
71 return *stream->curr++; in jpeg_get_byte()
75 static int jpeg_get_word_be(struct jpeg_stream *stream) in jpeg_get_word_be() argument
79 if (stream->curr + sizeof(__be16) > stream in jpeg_get_word_be()
88 jpeg_skip(struct jpeg_stream *stream, size_t len) jpeg_skip() argument
98 jpeg_next_marker(struct jpeg_stream *stream) jpeg_next_marker() argument
114 jpeg_reference_segment(struct jpeg_stream *stream, struct v4l2_jpeg_reference *segment) jpeg_reference_segment() argument
155 jpeg_parse_frame_header(struct jpeg_stream *stream, u16 sof_marker, struct v4l2_jpeg_frame_header *frame_header) jpeg_parse_frame_header() argument
251 jpeg_parse_scan_header(struct jpeg_stream *stream, struct v4l2_jpeg_scan_header *scan_header) jpeg_parse_scan_header() argument
304 jpeg_parse_quantization_tables(struct jpeg_stream *stream, u8 precision, struct v4l2_jpeg_reference *tables) jpeg_parse_quantization_tables() argument
358 jpeg_parse_huffman_tables(struct jpeg_stream *stream, struct v4l2_jpeg_reference *tables) jpeg_parse_huffman_tables() argument
416 jpeg_parse_restart_interval(struct jpeg_stream *stream, u16 *restart_interval) jpeg_parse_restart_interval() argument
436 jpeg_skip_segment(struct jpeg_stream *stream) jpeg_skip_segment() argument
449 jpeg_parse_app14_data(struct jpeg_stream *stream, enum v4l2_jpeg_app14_tf *tf) jpeg_parse_app14_data() argument
496 struct jpeg_stream stream; v4l2_jpeg_parse_header() local
610 struct jpeg_stream stream; v4l2_jpeg_parse_frame_header() local
629 struct jpeg_stream stream; v4l2_jpeg_parse_scan_header() local
650 struct jpeg_stream stream; v4l2_jpeg_parse_quantization_tables() local
671 struct jpeg_stream stream; v4l2_jpeg_parse_huffman_tables() local
[all...]
/kernel/linux/linux-5.10/sound/core/
H A Dcompress_offload.c54 struct snd_compr_stream stream; member
60 * a note on stream states used:
62 * SNDRV_PCM_STATE_OPEN: When stream has been opened.
63 * SNDRV_PCM_STATE_SETUP: When stream has been initialized. This is done by
66 * SNDRV_PCM_STATE_PREPARED: When a stream has been written to (for
67 * playback only). User after setting up stream writes the data buffer
68 * before starting the stream.
69 * SNDRV_PCM_STATE_RUNNING: When stream has been started and is
71 * SNDRV_PCM_STATE_DRAINING: When stream is draining current data. This is done
73 * SNDRV_PCM_STATE_PAUSED: When stream i
168 snd_compr_update_tstamp(struct snd_compr_stream *stream, struct snd_compr_tstamp *tstamp) snd_compr_update_tstamp() argument
183 snd_compr_calc_avail(struct snd_compr_stream *stream, struct snd_compr_avail *avail) snd_compr_calc_avail() argument
219 snd_compr_get_avail(struct snd_compr_stream *stream) snd_compr_get_avail() argument
227 snd_compr_ioctl_avail(struct snd_compr_stream *stream, unsigned long arg) snd_compr_ioctl_avail() argument
250 snd_compr_write_data(struct snd_compr_stream *stream, const char __user *buf, size_t count) snd_compr_write_data() argument
285 struct snd_compr_stream *stream; snd_compr_write() local
336 struct snd_compr_stream *stream; snd_compr_read() local
387 snd_compr_get_poll(struct snd_compr_stream *stream) snd_compr_get_poll() argument
398 struct snd_compr_stream *stream; snd_compr_poll() local
447 snd_compr_get_caps(struct snd_compr_stream *stream, unsigned long arg) snd_compr_get_caps() argument
467 snd_compr_get_codec_caps(struct snd_compr_stream *stream, unsigned long arg) snd_compr_get_codec_caps() argument
491 snd_compr_malloc_pages(struct snd_compr_stream *stream, size_t size) snd_compr_malloc_pages() argument
514 snd_compr_free_pages(struct snd_compr_stream *stream) snd_compr_free_pages() argument
535 snd_compr_allocate_buffer(struct snd_compr_stream *stream, struct snd_compr_params *params) snd_compr_allocate_buffer() argument
589 snd_compr_set_params(struct snd_compr_stream *stream, unsigned long arg) snd_compr_set_params() argument
630 snd_compr_get_params(struct snd_compr_stream *stream, unsigned long arg) snd_compr_get_params() argument
653 snd_compr_get_metadata(struct snd_compr_stream *stream, unsigned long arg) snd_compr_get_metadata() argument
675 snd_compr_set_metadata(struct snd_compr_stream *stream, unsigned long arg) snd_compr_set_metadata() argument
696 snd_compr_tstamp(struct snd_compr_stream *stream, unsigned long arg) snd_compr_tstamp() argument
708 snd_compr_pause(struct snd_compr_stream *stream) snd_compr_pause() argument
720 snd_compr_resume(struct snd_compr_stream *stream) snd_compr_resume() argument
732 snd_compr_start(struct snd_compr_stream *stream) snd_compr_start() argument
753 snd_compr_stop(struct snd_compr_stream *stream) snd_compr_stop() argument
780 struct snd_compr_stream *stream; error_delayed_work() local
801 snd_compr_stop_error(struct snd_compr_stream *stream, snd_pcm_state_t state) snd_compr_stop_error() argument
817 snd_compress_wait_for_drain(struct snd_compr_stream *stream) snd_compress_wait_for_drain() argument
852 snd_compr_drain(struct snd_compr_stream *stream) snd_compr_drain() argument
878 snd_compr_next_track(struct snd_compr_stream *stream) snd_compr_next_track() argument
904 snd_compr_partial_drain(struct snd_compr_stream *stream) snd_compr_partial_drain() argument
943 struct snd_compr_stream *stream; snd_compr_ioctl() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_perf.c36 * descriptor representing a stream of GPU metrics which can then be read() as
37 * a stream of sample records.
56 * i915 perf file descriptors represent a "stream" instead of an "event"; where
57 * a perf event primarily corresponds to a single 64bit value, while a stream
61 * of related counters. Samples for an i915 perf stream capturing OA metrics
64 * selected by the user opening the stream. Perf has support for grouping
68 * i915 perf stream configurations are provided as an array of u64 (key,value)
327 * struct perf_open_properties - for validated properties given to open a stream
346 * to open a stream of metrics the configuration is built up in the structure
414 static u32 gen12_oa_hw_tail_read(struct i915_perf_stream *stream) in gen12_oa_hw_tail_read() argument
422 gen8_oa_hw_tail_read(struct i915_perf_stream *stream) gen8_oa_hw_tail_read() argument
429 gen7_oa_hw_tail_read(struct i915_perf_stream *stream) gen7_oa_hw_tail_read() argument
461 oa_buffer_check_unlocked(struct i915_perf_stream *stream) oa_buffer_check_unlocked() argument
559 append_oa_status(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset, enum drm_i915_perf_record_type type) append_oa_status() argument
595 append_oa_sample(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset, const u8 *report) append_oa_sample() argument
644 gen8_append_oa_reports(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset) gen8_append_oa_reports() argument
853 gen8_oa_read(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset) gen8_oa_read() argument
941 gen7_append_oa_reports(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset) gen7_append_oa_reports() argument
1066 gen7_oa_read(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset) gen7_oa_read() argument
1148 i915_oa_wait_unlocked(struct i915_perf_stream *stream) i915_oa_wait_unlocked() argument
1168 i915_oa_poll_wait(struct i915_perf_stream *stream, struct file *file, poll_table *wait) i915_oa_poll_wait() argument
1187 i915_oa_read(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset) i915_oa_read() argument
1195 oa_pin_context(struct i915_perf_stream *stream) oa_pin_context() argument
1246 oa_get_render_ctx_id(struct i915_perf_stream *stream) oa_get_render_ctx_id() argument
1328 oa_put_render_ctx_id(struct i915_perf_stream *stream) oa_put_render_ctx_id() argument
1343 free_oa_buffer(struct i915_perf_stream *stream) free_oa_buffer() argument
1352 free_oa_configs(struct i915_perf_stream *stream) free_oa_configs() argument
1362 free_noa_wait(struct i915_perf_stream *stream) free_noa_wait() argument
1367 i915_oa_stream_destroy(struct i915_perf_stream *stream) i915_oa_stream_destroy() argument
1399 gen7_init_oa_buffer(struct i915_perf_stream *stream) gen7_init_oa_buffer() argument
1445 gen8_init_oa_buffer(struct i915_perf_stream *stream) gen8_init_oa_buffer() argument
1499 gen12_init_oa_buffer(struct i915_perf_stream *stream) gen12_init_oa_buffer() argument
1554 alloc_oa_buffer(struct i915_perf_stream *stream) alloc_oa_buffer() argument
1604 save_restore_register(struct i915_perf_stream *stream, u32 *cs, bool save, i915_reg_t reg, u32 offset, u32 dword_count) save_restore_register() argument
1627 alloc_noa_wait(struct i915_perf_stream *stream) alloc_noa_wait() argument
1839 alloc_oa_config_buffer(struct i915_perf_stream *stream, struct i915_oa_config *oa_config) alloc_oa_config_buffer() argument
1911 get_oa_vma(struct i915_perf_stream *stream, struct i915_oa_config *oa_config) get_oa_vma() argument
1936 emit_oa_config(struct i915_perf_stream *stream, struct i915_oa_config *oa_config, struct intel_context *ce, struct i915_active *active) emit_oa_config() argument
2008 oa_context(struct i915_perf_stream *stream) oa_context() argument
2014 hsw_enable_metric_set(struct i915_perf_stream *stream, struct i915_active *active) hsw_enable_metric_set() argument
2039 hsw_disable_metric_set(struct i915_perf_stream *stream) hsw_disable_metric_set() argument
2080 gen8_update_reg_state_unlocked(const struct intel_context *ce, const struct i915_perf_stream *stream) gen8_update_reg_state_unlocked() argument
2241 gen12_configure_oar_context(struct i915_perf_stream *stream, struct i915_active *active) gen12_configure_oar_context() argument
2315 oa_configure_all_contexts(struct i915_perf_stream *stream, struct flex *regs, size_t num_regs, struct i915_active *active) oa_configure_all_contexts() argument
2384 gen12_configure_all_contexts(struct i915_perf_stream *stream, const struct i915_oa_config *oa_config, struct i915_active *active) gen12_configure_all_contexts() argument
2401 lrc_configure_all_contexts(struct i915_perf_stream *stream, const struct i915_oa_config *oa_config, struct i915_active *active) lrc_configure_all_contexts() argument
2442 gen8_enable_metric_set(struct i915_perf_stream *stream, struct i915_active *active) gen8_enable_metric_set() argument
2492 oag_report_ctx_switches(const struct i915_perf_stream *stream) oag_report_ctx_switches() argument
2500 gen12_enable_metric_set(struct i915_perf_stream *stream, struct i915_active *active) gen12_enable_metric_set() argument
2550 gen8_disable_metric_set(struct i915_perf_stream *stream) gen8_disable_metric_set() argument
2560 gen10_disable_metric_set(struct i915_perf_stream *stream) gen10_disable_metric_set() argument
2571 gen12_disable_metric_set(struct i915_perf_stream *stream) gen12_disable_metric_set() argument
2586 gen7_oa_enable(struct i915_perf_stream *stream) gen7_oa_enable() argument
2616 gen8_oa_enable(struct i915_perf_stream *stream) gen8_oa_enable() argument
2642 gen12_oa_enable(struct i915_perf_stream *stream) gen12_oa_enable() argument
2670 i915_oa_stream_enable(struct i915_perf_stream *stream) i915_oa_stream_enable() argument
2682 gen7_oa_disable(struct i915_perf_stream *stream) gen7_oa_disable() argument
2694 gen8_oa_disable(struct i915_perf_stream *stream) gen8_oa_disable() argument
2706 gen12_oa_disable(struct i915_perf_stream *stream) gen12_oa_disable() argument
2735 i915_oa_stream_disable(struct i915_perf_stream *stream) i915_oa_stream_disable() argument
2752 i915_perf_stream_enable_sync(struct i915_perf_stream *stream) i915_perf_stream_enable_sync() argument
2819 i915_oa_stream_init(struct i915_perf_stream *stream, struct drm_i915_perf_open_param *param, struct perf_open_properties *props) i915_oa_stream_init() argument
2979 struct i915_perf_stream *stream; i915_oa_init_reg_state() local
3013 struct i915_perf_stream *stream = file->private_data; i915_perf_read() local
3068 struct i915_perf_stream *stream = oa_poll_check_timer_cb() local
3097 i915_perf_poll_locked(struct i915_perf_stream *stream, struct file *file, poll_table *wait) i915_perf_poll_locked() argument
3132 struct i915_perf_stream *stream = file->private_data; i915_perf_poll() local
3153 i915_perf_enable_locked(struct i915_perf_stream *stream) i915_perf_enable_locked() argument
3182 i915_perf_disable_locked(struct i915_perf_stream *stream) i915_perf_disable_locked() argument
3197 i915_perf_config_locked(struct i915_perf_stream *stream, unsigned long metrics_set) i915_perf_config_locked() argument
3243 i915_perf_ioctl_locked(struct i915_perf_stream *stream, unsigned int cmd, unsigned long arg) i915_perf_ioctl_locked() argument
3276 struct i915_perf_stream *stream = file->private_data; i915_perf_ioctl() local
3297 i915_perf_destroy_locked(struct i915_perf_stream *stream) i915_perf_destroy_locked() argument
3324 struct i915_perf_stream *stream = file->private_data; i915_perf_release() local
3383 struct i915_perf_stream *stream = NULL; i915_perf_open_ioctl_locked() local
[all...]
/kernel/linux/linux-5.10/net/sctp/
H A Dstream_sched_rr.c7 * These functions manipulate sctp stream queue/scheduling.
25 static void sctp_sched_rr_unsched_all(struct sctp_stream *stream);
27 static void sctp_sched_rr_next_stream(struct sctp_stream *stream) in sctp_sched_rr_next_stream() argument
31 pos = stream->rr_next->rr_list.next; in sctp_sched_rr_next_stream()
32 if (pos == &stream->rr_list) in sctp_sched_rr_next_stream()
34 stream->rr_next = list_entry(pos, struct sctp_stream_out_ext, rr_list); in sctp_sched_rr_next_stream()
37 static void sctp_sched_rr_unsched(struct sctp_stream *stream, in sctp_sched_rr_unsched() argument
40 if (stream->rr_next == soute) in sctp_sched_rr_unsched()
41 /* Try to move to the next stream */ in sctp_sched_rr_unsched()
42 sctp_sched_rr_next_stream(stream); in sctp_sched_rr_unsched()
51 sctp_sched_rr_sched(struct sctp_stream *stream, struct sctp_stream_out_ext *soute) sctp_sched_rr_sched() argument
65 sctp_sched_rr_set(struct sctp_stream *stream, __u16 sid, __u16 prio, gfp_t gfp) sctp_sched_rr_set() argument
71 sctp_sched_rr_get(struct sctp_stream *stream, __u16 sid, __u16 *value) sctp_sched_rr_get() argument
77 sctp_sched_rr_init(struct sctp_stream *stream) sctp_sched_rr_init() argument
85 sctp_sched_rr_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp) sctp_sched_rr_init_sid() argument
93 sctp_sched_rr_free_sid(struct sctp_stream *stream, __u16 sid) sctp_sched_rr_free_sid() argument
97 sctp_sched_rr_free(struct sctp_stream *stream) sctp_sched_rr_free() argument
105 struct sctp_stream *stream; sctp_sched_rr_enqueue() local
117 struct sctp_stream *stream = &q->asoc->stream; sctp_sched_rr_dequeue() local
154 sctp_sched_rr_sched_all(struct sctp_stream *stream) sctp_sched_rr_sched_all() argument
171 sctp_sched_rr_unsched_all(struct sctp_stream *stream) sctp_sched_rr_unsched_all() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-jpeg.c41 #define SOS 0xffda /* start of stream */
55 * struct jpeg_stream - JPEG byte stream
56 * @curr: current position in stream
65 static int jpeg_get_byte(struct jpeg_stream *stream) in jpeg_get_byte() argument
67 if (stream->curr >= stream->end) in jpeg_get_byte()
70 return *stream->curr++; in jpeg_get_byte()
74 static int jpeg_get_word_be(struct jpeg_stream *stream) in jpeg_get_word_be() argument
78 if (stream->curr + sizeof(__be16) > stream in jpeg_get_word_be()
87 jpeg_skip(struct jpeg_stream *stream, size_t len) jpeg_skip() argument
97 jpeg_next_marker(struct jpeg_stream *stream) jpeg_next_marker() argument
113 jpeg_reference_segment(struct jpeg_stream *stream, struct v4l2_jpeg_reference *segment) jpeg_reference_segment() argument
154 jpeg_parse_frame_header(struct jpeg_stream *stream, u16 sof_marker, struct v4l2_jpeg_frame_header *frame_header) jpeg_parse_frame_header() argument
250 jpeg_parse_scan_header(struct jpeg_stream *stream, struct v4l2_jpeg_scan_header *scan_header) jpeg_parse_scan_header() argument
303 jpeg_parse_quantization_tables(struct jpeg_stream *stream, u8 precision, struct v4l2_jpeg_reference *tables) jpeg_parse_quantization_tables() argument
357 jpeg_parse_huffman_tables(struct jpeg_stream *stream, struct v4l2_jpeg_reference *tables) jpeg_parse_huffman_tables() argument
415 jpeg_parse_restart_interval(struct jpeg_stream *stream, u16 *restart_interval) jpeg_parse_restart_interval() argument
435 jpeg_skip_segment(struct jpeg_stream *stream) jpeg_skip_segment() argument
462 struct jpeg_stream stream; v4l2_jpeg_parse_header() local
565 struct jpeg_stream stream; v4l2_jpeg_parse_frame_header() local
584 struct jpeg_stream stream; v4l2_jpeg_parse_scan_header() local
605 struct jpeg_stream stream; v4l2_jpeg_parse_quantization_tables() local
626 struct jpeg_stream stream; v4l2_jpeg_parse_huffman_tables() local
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dstream_sched_rr.c7 * These functions manipulate sctp stream queue/scheduling.
25 static void sctp_sched_rr_unsched_all(struct sctp_stream *stream);
27 static void sctp_sched_rr_next_stream(struct sctp_stream *stream) in sctp_sched_rr_next_stream() argument
31 pos = stream->rr_next->rr_list.next; in sctp_sched_rr_next_stream()
32 if (pos == &stream->rr_list) in sctp_sched_rr_next_stream()
34 stream->rr_next = list_entry(pos, struct sctp_stream_out_ext, rr_list); in sctp_sched_rr_next_stream()
37 static void sctp_sched_rr_unsched(struct sctp_stream *stream, in sctp_sched_rr_unsched() argument
40 if (stream->rr_next == soute) in sctp_sched_rr_unsched()
41 /* Try to move to the next stream */ in sctp_sched_rr_unsched()
42 sctp_sched_rr_next_stream(stream); in sctp_sched_rr_unsched()
51 sctp_sched_rr_sched(struct sctp_stream *stream, struct sctp_stream_out_ext *soute) sctp_sched_rr_sched() argument
65 sctp_sched_rr_set(struct sctp_stream *stream, __u16 sid, __u16 prio, gfp_t gfp) sctp_sched_rr_set() argument
71 sctp_sched_rr_get(struct sctp_stream *stream, __u16 sid, __u16 *value) sctp_sched_rr_get() argument
77 sctp_sched_rr_init(struct sctp_stream *stream) sctp_sched_rr_init() argument
85 sctp_sched_rr_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp) sctp_sched_rr_init_sid() argument
93 sctp_sched_rr_free_sid(struct sctp_stream *stream, __u16 sid) sctp_sched_rr_free_sid() argument
100 struct sctp_stream *stream; sctp_sched_rr_enqueue() local
112 struct sctp_stream *stream = &q->asoc->stream; sctp_sched_rr_dequeue() local
149 sctp_sched_rr_sched_all(struct sctp_stream *stream) sctp_sched_rr_sched_all() argument
166 sctp_sched_rr_unsched_all(struct sctp_stream *stream) sctp_sched_rr_unsched_all() argument
[all...]
/kernel/linux/linux-6.6/lib/kunit/
H A Dstring-stream.c3 * C++ stream style string builder used in KUnit for building messages.
13 #include "string-stream.h"
42 int string_stream_vadd(struct string_stream *stream, in string_stream_vadd() argument
58 frag_container = alloc_string_stream_fragment(stream->test, in string_stream_vadd()
60 stream->gfp); in string_stream_vadd()
65 spin_lock(&stream->lock); in string_stream_vadd()
66 stream->length += len; in string_stream_vadd()
67 list_add_tail(&frag_container->node, &stream->fragments); in string_stream_vadd()
68 spin_unlock(&stream->lock); in string_stream_vadd()
73 int string_stream_add(struct string_stream *stream, cons argument
85 string_stream_clear(struct string_stream *stream) string_stream_clear() argument
100 string_stream_get_string(struct string_stream *stream) string_stream_get_string() argument
118 string_stream_append(struct string_stream *stream, struct string_stream *other) string_stream_append() argument
131 string_stream_is_empty(struct string_stream *stream) string_stream_is_empty() argument
138 struct string_stream *stream; alloc_string_stream() local
152 string_stream_destroy(struct string_stream *stream) string_stream_destroy() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/
H A Dsoc-pcm.c53 int stream) in snd_soc_dpcm_stream_lock_irq()
55 snd_pcm_stream_lock_irq(snd_soc_dpcm_get_substream(rtd, stream)); in snd_soc_dpcm_stream_lock_irq()
58 #define snd_soc_dpcm_stream_lock_irqsave_nested(rtd, stream, flags) \
59 snd_pcm_stream_lock_irqsave_nested(snd_soc_dpcm_get_substream(rtd, stream), flags)
62 int stream) in snd_soc_dpcm_stream_unlock_irq()
64 snd_pcm_stream_unlock_irq(snd_soc_dpcm_get_substream(rtd, stream)); in snd_soc_dpcm_stream_unlock_irq()
67 #define snd_soc_dpcm_stream_unlock_irqrestore(rtd, stream, flags) \
68 snd_pcm_stream_unlock_irqrestore(snd_soc_dpcm_get_substream(rtd, stream), flags)
111 int stream, char *buf, size_t size) in dpcm_show_state()
113 struct snd_pcm_hw_params *params = &fe->dpcm[stream] in dpcm_show_state()
52 snd_soc_dpcm_stream_lock_irq(struct snd_soc_pcm_runtime *rtd, int stream) snd_soc_dpcm_stream_lock_irq() argument
61 snd_soc_dpcm_stream_unlock_irq(struct snd_soc_pcm_runtime *rtd, int stream) snd_soc_dpcm_stream_unlock_irq() argument
110 dpcm_show_state(struct snd_soc_pcm_runtime *fe, int stream, char *buf, size_t size) dpcm_show_state() argument
172 int stream; dpcm_state_read_file() local
220 dpcm_create_debugfs_state(struct snd_soc_dpcm *dpcm, int stream) dpcm_create_debugfs_state() argument
241 dpcm_create_debugfs_state(struct snd_soc_dpcm *dpcm, int stream) dpcm_create_debugfs_state() argument
257 dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe, int stream, enum snd_soc_dpcm_update state) dpcm_set_fe_update_state() argument
273 dpcm_set_be_update_state(struct snd_soc_pcm_runtime *be, int stream, enum snd_soc_dpcm_update state) dpcm_set_be_update_state() argument
292 snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, int stream, int action) snd_soc_runtime_action() argument
493 int stream = substream->stream; soc_pcm_apply_msb() local
566 snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hardware *hw, int stream) snd_soc_runtime_calc_hw() argument
1223 dpcm_be_connect(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) dpcm_be_connect() argument
1273 dpcm_be_reparent(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) dpcm_be_reparent() argument
1303 dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_disconnect() argument
1341 dpcm_get_be(struct snd_soc_card *card, struct snd_soc_dapm_widget *widget, int stream) dpcm_get_be() argument
1392 int stream; dpcm_end_walk_at_be() local
1408 dpcm_path_get(struct snd_soc_pcm_runtime *fe, int stream, struct snd_soc_dapm_widget_list **list) dpcm_path_get() argument
1440 dpcm_be_is_active(struct snd_soc_dpcm *dpcm, int stream, struct snd_soc_dapm_widget_list *list) dpcm_be_is_active() argument
1461 dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream, struct snd_soc_dapm_widget_list **list_) dpcm_prune_paths() argument
1484 dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, struct snd_soc_dapm_widget_list **list_) dpcm_add_paths() argument
1554 dpcm_process_paths(struct snd_soc_pcm_runtime *fe, int stream, struct snd_soc_dapm_widget_list **list, int new) dpcm_process_paths() argument
1563 dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream) dpcm_clear_pending_state() argument
1571 dpcm_be_dai_stop(struct snd_soc_pcm_runtime *fe, int stream, int do_hw_free, struct snd_soc_dpcm *last) dpcm_be_dai_stop() argument
1615 dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_dai_startup() argument
1688 int stream = substream->stream; dpcm_runtime_setup_fe() local
1723 int stream = substream->stream; dpcm_runtime_setup_be_format() local
1759 int stream = substream->stream; dpcm_runtime_setup_be_chan() local
1807 int stream = substream->stream; dpcm_runtime_setup_be_rate() local
1838 dpcm_apply_symmetry(struct snd_pcm_substream *fe_substream, int stream) dpcm_apply_symmetry() argument
1889 int stream = fe_substream->stream, ret = 0; dpcm_fe_dai_startup() local
1926 int stream = substream->stream; dpcm_fe_dai_shutdown() local
1948 dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_dai_hw_free() argument
1992 int stream = substream->stream; dpcm_fe_dai_hw_free() local
2013 dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_dai_hw_params() argument
2095 int ret, stream = substream->stream; dpcm_fe_dai_hw_params() local
2124 dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, int cmd) dpcm_be_dai_trigger() argument
2329 int stream = substream->stream; dpcm_fe_dai_do_trigger() local
2416 int stream = substream->stream; dpcm_fe_dai_trigger() local
2430 dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_dai_prepare() argument
2470 int stream = substream->stream, ret = 0; dpcm_fe_dai_prepare() local
2507 dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream) dpcm_run_update_shutdown() argument
2540 dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) dpcm_run_update_startup() argument
2633 int stream; soc_dpcm_fe_runtime_update() local
2722 int stream = fe_substream->stream; dpcm_fe_dai_cleanup() local
2752 int stream = fe_substream->stream; dpcm_fe_dai_open() local
2789 int stream; soc_get_playback_capture() local
3016 snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream) snd_soc_dpcm_fe_can_update() argument
3025 snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) snd_soc_dpcm_be_can_update() argument
3038 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream) snd_soc_dpcm_get_substream() argument
3044 snd_soc_dpcm_check_state(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream, const enum snd_soc_dpcm_state *states, int num_states) snd_soc_dpcm_check_state() argument
3077 snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) snd_soc_dpcm_can_be_free_stop() argument
3094 snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) snd_soc_dpcm_can_be_params() argument
3112 snd_soc_dpcm_can_be_prepared(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) snd_soc_dpcm_can_be_prepared() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_perf.c36 * descriptor representing a stream of GPU metrics which can then be read() as
37 * a stream of sample records.
56 * i915 perf file descriptors represent a "stream" instead of an "event"; where
57 * a perf event primarily corresponds to a single 64bit value, while a stream
61 * of related counters. Samples for an i915 perf stream capturing OA metrics
64 * selected by the user opening the stream. Perf has support for grouping
68 * i915 perf stream configurations are provided as an array of u64 (key,value)
342 * struct perf_open_properties - for validated properties given to open a stream
361 * to open a stream of metrics the configuration is built up in the structure
430 struct i915_perf_regs *__oa_regs(struct i915_perf_stream *stream) in __oa_regs() argument
435 gen12_oa_hw_tail_read(struct i915_perf_stream *stream) gen12_oa_hw_tail_read() argument
443 gen8_oa_hw_tail_read(struct i915_perf_stream *stream) gen8_oa_hw_tail_read() argument
450 gen7_oa_hw_tail_read(struct i915_perf_stream *stream) gen7_oa_hw_tail_read() argument
461 oa_report_id(struct i915_perf_stream *stream, void *report) oa_report_id() argument
466 oa_report_reason(struct i915_perf_stream *stream, void *report) oa_report_reason() argument
474 oa_report_id_clear(struct i915_perf_stream *stream, u32 *report) oa_report_id_clear() argument
482 oa_report_ctx_invalid(struct i915_perf_stream *stream, void *report) oa_report_ctx_invalid() argument
488 oa_timestamp(struct i915_perf_stream *stream, void *report) oa_timestamp() argument
495 oa_timestamp_clear(struct i915_perf_stream *stream, u32 *report) oa_timestamp_clear() argument
503 oa_context_id(struct i915_perf_stream *stream, u32 *report) oa_context_id() argument
510 oa_context_id_squash(struct i915_perf_stream *stream, u32 *report) oa_context_id_squash() argument
541 oa_buffer_check_unlocked(struct i915_perf_stream *stream) oa_buffer_check_unlocked() argument
630 append_oa_status(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset, enum drm_i915_perf_record_type type) append_oa_status() argument
666 append_oa_sample(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset, const u8 *report) append_oa_sample() argument
730 gen8_append_oa_reports(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset) gen8_append_oa_reports() argument
957 gen8_oa_read(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset) gen8_oa_read() argument
1048 gen7_append_oa_reports(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset) gen7_append_oa_reports() argument
1173 gen7_oa_read(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset) gen7_oa_read() argument
1256 i915_oa_wait_unlocked(struct i915_perf_stream *stream) i915_oa_wait_unlocked() argument
1276 i915_oa_poll_wait(struct i915_perf_stream *stream, struct file *file, poll_table *wait) i915_oa_poll_wait() argument
1295 i915_oa_read(struct i915_perf_stream *stream, char __user *buf, size_t count, size_t *offset) i915_oa_read() argument
1303 oa_pin_context(struct i915_perf_stream *stream) oa_pin_context() argument
1435 gen12_get_render_context_id(struct i915_perf_stream *stream) gen12_get_render_context_id() argument
1547 oa_get_render_ctx_id(struct i915_perf_stream *stream) oa_get_render_ctx_id() argument
1637 oa_put_render_ctx_id(struct i915_perf_stream *stream) oa_put_render_ctx_id() argument
1652 free_oa_buffer(struct i915_perf_stream *stream) free_oa_buffer() argument
1661 free_oa_configs(struct i915_perf_stream *stream) free_oa_configs() argument
1671 free_noa_wait(struct i915_perf_stream *stream) free_noa_wait() argument
1686 i915_oa_stream_destroy(struct i915_perf_stream *stream) i915_oa_stream_destroy() argument
1729 gen7_init_oa_buffer(struct i915_perf_stream *stream) gen7_init_oa_buffer() argument
1774 gen8_init_oa_buffer(struct i915_perf_stream *stream) gen8_init_oa_buffer() argument
1827 gen12_init_oa_buffer(struct i915_perf_stream *stream) gen12_init_oa_buffer() argument
1881 alloc_oa_buffer(struct i915_perf_stream *stream) alloc_oa_buffer() argument
1943 save_restore_register(struct i915_perf_stream *stream, u32 *cs, bool save, i915_reg_t reg, u32 offset, u32 dword_count) save_restore_register() argument
1965 alloc_noa_wait(struct i915_perf_stream *stream) alloc_noa_wait() argument
2222 alloc_oa_config_buffer(struct i915_perf_stream *stream, struct i915_oa_config *oa_config) alloc_oa_config_buffer() argument
2310 get_oa_vma(struct i915_perf_stream *stream, struct i915_oa_config *oa_config) get_oa_vma() argument
2335 emit_oa_config(struct i915_perf_stream *stream, struct i915_oa_config *oa_config, struct intel_context *ce, struct i915_active *active) emit_oa_config() argument
2405 oa_context(struct i915_perf_stream *stream) oa_context() argument
2411 hsw_enable_metric_set(struct i915_perf_stream *stream, struct i915_active *active) hsw_enable_metric_set() argument
2436 hsw_disable_metric_set(struct i915_perf_stream *stream) hsw_disable_metric_set() argument
2477 gen8_update_reg_state_unlocked(const struct intel_context *ce, const struct i915_perf_stream *stream) gen8_update_reg_state_unlocked() argument
2609 gen8_configure_context(struct i915_perf_stream *stream, struct i915_gem_context *ctx, struct flex *flex, unsigned int count) gen8_configure_context() argument
2639 gen12_configure_oar_context(struct i915_perf_stream *stream, struct i915_active *active) gen12_configure_oar_context() argument
2715 oa_configure_all_contexts(struct i915_perf_stream *stream, struct flex *regs, size_t num_regs, struct i915_active *active) oa_configure_all_contexts() argument
2785 gen12_configure_all_contexts(struct i915_perf_stream *stream, const struct i915_oa_config *oa_config, struct i915_active *active) gen12_configure_all_contexts() argument
2805 lrc_configure_all_contexts(struct i915_perf_stream *stream, const struct i915_oa_config *oa_config, struct i915_active *active) lrc_configure_all_contexts() argument
2847 gen8_enable_metric_set(struct i915_perf_stream *stream, struct i915_active *active) gen8_enable_metric_set() argument
2897 oag_report_ctx_switches(const struct i915_perf_stream *stream) oag_report_ctx_switches() argument
2905 gen12_enable_metric_set(struct i915_perf_stream *stream, struct i915_active *active) gen12_enable_metric_set() argument
2979 gen8_disable_metric_set(struct i915_perf_stream *stream) gen8_disable_metric_set() argument
2989 gen11_disable_metric_set(struct i915_perf_stream *stream) gen11_disable_metric_set() argument
3000 gen12_disable_metric_set(struct i915_perf_stream *stream) gen12_disable_metric_set() argument
3034 gen7_oa_enable(struct i915_perf_stream *stream) gen7_oa_enable() argument
3064 gen8_oa_enable(struct i915_perf_stream *stream) gen8_oa_enable() argument
3090 gen12_oa_enable(struct i915_perf_stream *stream) gen12_oa_enable() argument
3120 i915_oa_stream_enable(struct i915_perf_stream *stream) i915_oa_stream_enable() argument
3132 gen7_oa_disable(struct i915_perf_stream *stream) gen7_oa_disable() argument
3144 gen8_oa_disable(struct i915_perf_stream *stream) gen8_oa_disable() argument
3156 gen12_oa_disable(struct i915_perf_stream *stream) gen12_oa_disable() argument
3185 i915_oa_stream_disable(struct i915_perf_stream *stream) i915_oa_stream_disable() argument
3202 i915_perf_stream_enable_sync(struct i915_perf_stream *stream) i915_perf_stream_enable_sync() argument
3296 i915_oa_stream_init(struct i915_perf_stream *stream, struct drm_i915_perf_open_param *param, struct perf_open_properties *props) i915_oa_stream_init() argument
3489 struct i915_perf_stream *stream; i915_oa_init_reg_state() local
3523 struct i915_perf_stream *stream = file->private_data; i915_perf_read() local
3577 struct i915_perf_stream *stream = oa_poll_check_timer_cb() local
3603 i915_perf_poll_locked(struct i915_perf_stream *stream, struct file *file, poll_table *wait) i915_perf_poll_locked() argument
3638 struct i915_perf_stream *stream = file->private_data; i915_perf_poll() local
3658 i915_perf_enable_locked(struct i915_perf_stream *stream) i915_perf_enable_locked() argument
3687 i915_perf_disable_locked(struct i915_perf_stream *stream) i915_perf_disable_locked() argument
3702 i915_perf_config_locked(struct i915_perf_stream *stream, unsigned long metrics_set) i915_perf_config_locked() argument
3745 i915_perf_ioctl_locked(struct i915_perf_stream *stream, unsigned int cmd, unsigned long arg) i915_perf_ioctl_locked() argument
3778 struct i915_perf_stream *stream = file->private_data; i915_perf_ioctl() local
3798 i915_perf_destroy_locked(struct i915_perf_stream *stream) i915_perf_destroy_locked() argument
3825 struct i915_perf_stream *stream = file->private_data; i915_perf_release() local
3890 struct i915_perf_stream *stream = NULL; i915_perf_open_ioctl_locked() local
[all...]
/kernel/linux/linux-5.10/lib/kunit/
H A Dassert.c11 #include "string-stream.h"
14 struct string_stream *stream) in kunit_base_assert_format()
27 string_stream_add(stream, "%s FAILED at %s:%d\n", in kunit_base_assert_format()
33 struct string_stream *stream) in kunit_assert_print_msg()
36 string_stream_add(stream, "\n%pV", &assert->message); in kunit_assert_print_msg()
41 struct string_stream *stream) in kunit_fail_assert_format()
43 kunit_base_assert_format(assert, stream); in kunit_fail_assert_format()
44 string_stream_add(stream, "%pV", &assert->message); in kunit_fail_assert_format()
49 struct string_stream *stream) in kunit_unary_assert_format()
54 kunit_base_assert_format(assert, stream); in kunit_unary_assert_format()
13 kunit_base_assert_format(const struct kunit_assert *assert, struct string_stream *stream) kunit_base_assert_format() argument
32 kunit_assert_print_msg(const struct kunit_assert *assert, struct string_stream *stream) kunit_assert_print_msg() argument
40 kunit_fail_assert_format(const struct kunit_assert *assert, struct string_stream *stream) kunit_fail_assert_format() argument
48 kunit_unary_assert_format(const struct kunit_assert *assert, struct string_stream *stream) kunit_unary_assert_format() argument
67 kunit_ptr_not_err_assert_format(const struct kunit_assert *assert, struct string_stream *stream) kunit_ptr_not_err_assert_format() argument
88 kunit_binary_assert_format(const struct kunit_assert *assert, struct string_stream *stream) kunit_binary_assert_format() argument
110 kunit_binary_ptr_assert_format(const struct kunit_assert *assert, struct string_stream *stream) kunit_binary_ptr_assert_format() argument
132 kunit_binary_str_assert_format(const struct kunit_assert *assert, struct string_stream *stream) kunit_binary_str_assert_format() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-pcm.c62 int stream, char *buf, size_t size) in dpcm_show_state()
64 struct snd_pcm_hw_params *params = &fe->dpcm[stream].hw_params; in dpcm_show_state()
72 stream ? "Capture" : "Playback"); in dpcm_show_state()
75 dpcm_state_string(fe->dpcm[stream].state)); in dpcm_show_state()
77 if ((fe->dpcm[stream].state >= SND_SOC_DPCM_STATE_HW_PARAMS) && in dpcm_show_state()
78 (fe->dpcm[stream].state <= SND_SOC_DPCM_STATE_STOP)) in dpcm_show_state()
89 if (list_empty(&fe->dpcm[stream].be_clients)) { in dpcm_show_state()
96 for_each_dpcm_be(fe, stream, dpcm) { in dpcm_show_state()
105 dpcm_state_string(be->dpcm[stream].state)); in dpcm_show_state()
107 if ((be->dpcm[stream] in dpcm_show_state()
61 dpcm_show_state(struct snd_soc_pcm_runtime *fe, int stream, char *buf, size_t size) dpcm_show_state() argument
126 int stream; dpcm_state_read_file() local
175 dpcm_create_debugfs_state(struct snd_soc_dpcm *dpcm, int stream) dpcm_create_debugfs_state() argument
196 dpcm_create_debugfs_state(struct snd_soc_dpcm *dpcm, int stream) dpcm_create_debugfs_state() argument
219 snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, int stream, int action) snd_soc_runtime_action() argument
464 int stream = substream->stream; soc_pcm_apply_msb() local
501 snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hardware *hw, int stream) snd_soc_runtime_calc_hw() argument
1111 dpcm_be_connect(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) dpcm_be_connect() argument
1146 dpcm_be_reparent(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) dpcm_be_reparent() argument
1176 dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_disconnect() argument
1207 dpcm_get_be(struct snd_soc_card *card, struct snd_soc_dapm_widget *widget, int stream) dpcm_get_be() argument
1255 int stream; dpcm_end_walk_at_be() local
1270 dpcm_path_get(struct snd_soc_pcm_runtime *fe, int stream, struct snd_soc_dapm_widget_list **list) dpcm_path_get() argument
1297 dpcm_be_is_active(struct snd_soc_dpcm *dpcm, int stream, struct snd_soc_dapm_widget_list *list) dpcm_be_is_active() argument
1319 dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream, struct snd_soc_dapm_widget_list **list_) dpcm_prune_paths() argument
1342 dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, struct snd_soc_dapm_widget_list **list_) dpcm_add_paths() argument
1401 dpcm_process_paths(struct snd_soc_pcm_runtime *fe, int stream, struct snd_soc_dapm_widget_list **list, int new) dpcm_process_paths() argument
1410 dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream) dpcm_clear_pending_state() argument
1422 dpcm_be_dai_startup_unwind(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_dai_startup_unwind() argument
1451 dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_dai_startup() argument
1538 dpcm_init_runtime_hw(struct snd_pcm_runtime *runtime, struct snd_soc_pcm_stream *stream) dpcm_init_runtime_hw() argument
1558 int stream = substream->stream; dpcm_runtime_merge_format() local
1594 int stream = substream->stream; dpcm_runtime_merge_chan() local
1649 int stream = substream->stream; dpcm_runtime_merge_rate() local
1716 dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe, int stream, enum snd_soc_dpcm_update state) dpcm_set_fe_update_state() argument
1732 dpcm_apply_symmetry(struct snd_pcm_substream *fe_substream, int stream) dpcm_apply_symmetry() argument
1791 int stream = fe_substream->stream, ret = 0; dpcm_fe_dai_startup() local
1828 dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_dai_shutdown() argument
1871 int stream = substream->stream; dpcm_fe_dai_shutdown() local
1891 dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_dai_hw_free() argument
1937 int err, stream = substream->stream; dpcm_fe_dai_hw_free() local
1961 dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_dai_hw_params() argument
2042 int ret, stream = substream->stream; dpcm_fe_dai_hw_params() local
2088 dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, int cmd) dpcm_be_dai_trigger() argument
2219 int stream = substream->stream; dpcm_fe_dai_do_trigger() local
2306 int stream = substream->stream; dpcm_fe_dai_trigger() local
2320 dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream) dpcm_be_dai_prepare() argument
2362 int stream = substream->stream, ret = 0; dpcm_fe_dai_prepare() local
2401 dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream) dpcm_run_update_shutdown() argument
2442 dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) dpcm_run_update_startup() argument
2533 int stream; soc_dpcm_fe_runtime_update() local
2630 int stream = fe_substream->stream; dpcm_fe_dai_cleanup() local
2660 int stream = fe_substream->stream; dpcm_fe_dai_open() local
2696 int stream; soc_new_pcm() local
2884 snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream) snd_soc_dpcm_fe_can_update() argument
2893 snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) snd_soc_dpcm_be_can_update() argument
2906 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream) snd_soc_dpcm_get_substream() argument
2912 snd_soc_dpcm_check_state(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream, const enum snd_soc_dpcm_state *states, int num_states) snd_soc_dpcm_check_state() argument
2948 snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) snd_soc_dpcm_can_be_free_stop() argument
2965 snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) snd_soc_dpcm_can_be_params() argument
2983 snd_soc_dpcm_can_be_prepared(struct snd_soc_pcm_runtime *fe, struct snd_soc_pcm_runtime *be, int stream) snd_soc_dpcm_can_be_prepared() argument
[all...]

Completed in 867 milliseconds

12345678910>>...66