/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | usb_urb.c | 16 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->udev->dev, in usb_urb_complete() 79 int usb_urb_killv2(struct usb_data_stream *stream) in usb_urb_killv2() argument 82 for (i = 0; i < stream->urbs_submitted; i++) { in usb_urb_killv2() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | usb-urb.c | 17 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 82 for (i = 0; i < stream->urbs_initialized; i++) { in usb_urb_submit() 84 if ((ret = usb_submit_urb(stream->urb_list[i],GFP_ATOMIC))) { in usb_urb_submit() [all …]
|
/openbmc/u-boot/fs/jffs2/ |
H A D | mini_inflate.c | 25 static void init_stream(struct bitstream *stream, unsigned char *data, in init_stream() argument 28 stream->error = NO_ERROR; in init_stream() 29 stream->memcpy = inflate_memcpy; in init_stream() 30 stream->decoded = 0; in init_stream() 31 stream->data = data; in init_stream() 32 stream->bit = 0; /* The first bit of the stream is the lsb of the in init_stream() 37 stream->codes.bits = 8; in init_stream() 38 stream->codes.num_symbols = 19; in init_stream() 39 stream->codes.lengths = stream->code_lengths; in init_stream() 40 stream->codes.symbols = stream->code_symbols; in init_stream() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_stream.c | 40 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 62 stream->sink = dc_sink_data; in dc_stream_construct() [all …]
|
/openbmc/linux/sound/core/ |
H A D | compress_offload.c | 52 struct snd_compr_stream stream; member 114 INIT_DELAYED_WORK(&data->stream.error_work, error_delayed_work); in snd_compr_open() 116 data->stream.ops = compr->ops; in snd_compr_open() 117 data->stream.direction = dirn; in snd_compr_open() 118 data->stream.private_data = compr->private_data; in snd_compr_open() 119 data->stream.device = compr; in snd_compr_open() 128 data->stream.runtime = runtime; in snd_compr_open() 131 ret = compr->ops->open(&data->stream); in snd_compr_open() 144 struct snd_compr_runtime *runtime = data->stream.runtime; in snd_compr_free() 146 cancel_delayed_work_sync(&data->stream.error_work); in snd_compr_free() [all …]
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A D | uvc_video.c | 158 static void uvc_fixup_video_ctrl(struct uvc_streaming *stream, in uvc_fixup_video_ctrl() 177 if (usb_match_one_id(stream->dev->intf, &elgato_cam_link_4k) && in uvc_fixup_video_ctrl() 181 uvc_dbg(stream->dev, VIDEO, in uvc_fixup_video_ctrl() 189 for (i = 0; i < stream->nformats; ++i) { in uvc_fixup_video_ctrl() 190 if (stream->formats[i].index == ctrl->bFormatIndex) { in uvc_fixup_video_ctrl() 191 format = &stream->formats[i]; in uvc_fixup_video_ctrl() 211 stream->dev->uvc_version < 0x0110)) in uvc_fixup_video_ctrl() 225 stream->dev->quirks & UVC_QUIRK_FIX_BANDWIDTH && in uvc_fixup_video_ctrl() 226 stream->intf->num_altsetting > 1) { in uvc_fixup_video_ctrl() 244 if (stream in uvc_video_ctrl_size() 137 uvc_fixup_video_ctrl(struct uvc_streaming * stream,struct uvc_streaming_control * ctrl) uvc_fixup_video_ctrl() argument 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 621 uvc_video_clock_reset(struct uvc_streaming * stream) uvc_video_clock_reset() argument 631 uvc_video_clock_init(struct uvc_streaming * stream) uvc_video_clock_init() argument 648 uvc_video_clock_cleanup(struct uvc_streaming * stream) uvc_video_clock_cleanup() argument 742 uvc_video_clock_update(struct uvc_streaming * stream,struct vb2_v4l2_buffer * vbuf,struct uvc_buffer * buf) uvc_video_clock_update() argument 850 uvc_video_stats_decode(struct uvc_streaming * stream,const u8 * data,int len) uvc_video_stats_decode() argument 963 uvc_video_stats_update(struct uvc_streaming * stream) uvc_video_stats_update() argument 997 uvc_video_stats_dump(struct uvc_streaming * stream,char * buf,size_t size) uvc_video_stats_dump() argument 1042 uvc_video_stats_start(struct uvc_streaming * stream) uvc_video_stats_start() argument 1048 uvc_video_stats_stop(struct uvc_streaming * stream) uvc_video_stats_stop() argument 1093 uvc_video_decode_start(struct uvc_streaming * stream,struct uvc_buffer * buf,const u8 * data,int len) uvc_video_decode_start() argument 1196 uvc_stream_dir(struct uvc_streaming * stream) uvc_stream_dir() argument 1204 uvc_stream_to_dmadev(struct uvc_streaming * stream) uvc_stream_to_dmadev() argument 1278 uvc_video_decode_end(struct uvc_streaming * stream,struct uvc_buffer * buf,const u8 * data,int len) uvc_video_decode_end() argument 1304 uvc_video_encode_header(struct uvc_streaming * stream,struct uvc_buffer * buf,u8 * data,int len) uvc_video_encode_header() argument 1313 uvc_video_encode_data(struct uvc_streaming * stream,struct uvc_buffer * buf,u8 * data,int len) uvc_video_encode_data() argument 1347 uvc_video_decode_meta(struct uvc_streaming * stream,struct uvc_buffer * meta_buf,const u8 * mem,unsigned int length) uvc_video_decode_meta() argument 1420 uvc_video_validate_buffer(const struct uvc_streaming * stream,struct uvc_buffer * buf) uvc_video_validate_buffer() argument 1432 uvc_video_next_buffers(struct uvc_streaming * stream,struct uvc_buffer ** video_buf,struct uvc_buffer ** meta_buf) uvc_video_next_buffers() argument 1458 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_decode_isoc() local 1504 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_decode_bulk() local 1577 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_encode_bulk() local 1622 struct uvc_streaming *stream = uvc_urb->stream; uvc_video_complete() local 1692 uvc_free_urb_buffers(struct uvc_streaming * stream) uvc_free_urb_buffers() argument 1712 uvc_alloc_urb_buffer(struct uvc_streaming * stream,struct uvc_urb * uvc_urb,gfp_t gfp_flags) uvc_alloc_urb_buffer() argument 1748 uvc_alloc_urb_buffers(struct uvc_streaming * stream,unsigned int size,unsigned int psize,gfp_t gfp_flags) uvc_alloc_urb_buffers() argument 1798 uvc_video_stop_transfer(struct uvc_streaming * stream,int free_buffers) uvc_video_stop_transfer() argument 1846 uvc_init_video_isoc(struct uvc_streaming * stream,struct usb_host_endpoint * ep,gfp_t gfp_flags) uvc_init_video_isoc() argument 1898 uvc_init_video_bulk(struct uvc_streaming * stream,struct usb_host_endpoint * ep,gfp_t gfp_flags) uvc_init_video_bulk() argument 1948 uvc_video_start_transfer(struct uvc_streaming * stream,gfp_t gfp_flags) uvc_video_start_transfer() argument 2080 uvc_video_suspend(struct uvc_streaming * stream) uvc_video_suspend() argument 2099 uvc_video_resume(struct uvc_streaming * stream,int reset) uvc_video_resume() argument 2140 uvc_video_init(struct uvc_streaming * stream) uvc_video_init() argument 2259 uvc_video_start_streaming(struct uvc_streaming * stream) uvc_video_start_streaming() argument 2286 uvc_video_stop_streaming(struct uvc_streaming * stream) uvc_video_stop_streaming() argument [all...] |
/openbmc/linux/sound/soc/au1x/ |
H A D | dma.c | 42 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->period_size == period_bytes && in au1000_setup_dma_link() [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-jpeg.c | 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->end) in jpeg_get_word_be() 82 word = get_unaligned_be16(stream->curr); in jpeg_get_word_be() 83 stream->curr += sizeof(__be16); in jpeg_get_word_be() 88 static int jpeg_skip(struct jpeg_stream *stream, size_t len) in jpeg_skip() argument 90 if (stream->curr + len > stream->end) in jpeg_skip() 93 stream->curr += len; in jpeg_skip() [all …]
|
/openbmc/linux/fs/squashfs/ |
H A D | decompressor_multi.c | 47 void *stream; member 53 struct squashfs_stream *stream) in put_decomp_stream() argument 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() 72 stream->comp_opts = comp_opts; in squashfs_decompressor_create() [all …]
|
H A D | decompressor_single.c | 23 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->stream); in squashfs_decompressor_create() 44 mutex_init(&stream->mutex); in squashfs_decompressor_create() 45 return stream; in squashfs_decompressor_create() 48 kfree(stream); in squashfs_decompressor_create() [all …]
|
H A D | xz_wrapper.c | 84 struct squashfs_xz *stream; in squashfs_xz_init() local 87 stream = kmalloc(sizeof(*stream), GFP_KERNEL); in squashfs_xz_init() 88 if (stream == NULL) { in squashfs_xz_init() 93 stream->state = xz_dec_init(XZ_PREALLOC, comp_opts->dict_size); in squashfs_xz_init() 94 if (stream->state == NULL) { in squashfs_xz_init() 95 kfree(stream); in squashfs_xz_init() 100 return stream; in squashfs_xz_init() 110 struct squashfs_xz *stream = strm; in squashfs_xz_free() local 112 if (stream) { in squashfs_xz_free() 113 xz_dec_end(stream->state); in squashfs_xz_free() [all …]
|
H A D | zlib_wrapper.c | 26 z_stream *stream = kmalloc(sizeof(z_stream), GFP_KERNEL); in zlib_init() local 27 if (stream == NULL) in zlib_init() 29 stream->workspace = vmalloc(zlib_inflate_workspacesize()); in zlib_init() 30 if (stream->workspace == NULL) in zlib_init() 33 return stream; in zlib_init() 37 kfree(stream); in zlib_init() 44 z_stream *stream = strm; in zlib_free() local 46 if (stream) in zlib_free() 47 vfree(stream->workspace); in zlib_free() 48 kfree(stream); in zlib_free() [all …]
|
H A D | decompressor_multi_percpu.c | 23 void *stream; member 30 struct squashfs_stream *stream; in squashfs_decompressor_create() local 39 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create() 40 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create() 41 if (IS_ERR(stream->stream)) { in squashfs_decompressor_create() 42 err = PTR_ERR(stream->stream); in squashfs_decompressor_create() 45 local_lock_init(&stream->lock); in squashfs_decompressor_create() 53 stream = per_cpu_ptr(percpu, cpu); in squashfs_decompressor_create() 54 if (!IS_ERR_OR_NULL(stream->stream)) in squashfs_decompressor_create() 55 msblk->decompressor->free(stream->stream); in squashfs_decompressor_create() [all …]
|
/openbmc/linux/net/sctp/ |
H A D | stream_sched_rr.c | 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() 42 sctp_sched_rr_next_stream(stream); in sctp_sched_rr_unsched() 47 if (list_empty(&stream->rr_list)) in sctp_sched_rr_unsched() 48 stream->rr_next = NULL; in sctp_sched_rr_unsched() [all …]
|
H A D | stream.c | 25 static void sctp_stream_shrink_out(struct sctp_stream *stream, __u16 outcnt) in sctp_stream_shrink_out() argument 31 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_shrink_out() 55 static void sctp_stream_free_ext(struct sctp_stream *stream, __u16 sid) in sctp_stream_free_ext() argument 59 if (!SCTP_SO(stream, sid)->ext) in sctp_stream_free_ext() 62 sched = sctp_sched_ops_from_stream(stream); in sctp_stream_free_ext() 63 sched->free_sid(stream, sid); in sctp_stream_free_ext() 64 kfree(SCTP_SO(stream, sid)->ext); in sctp_stream_free_ext() 65 SCTP_SO(stream, sid)->ext = NULL; in sctp_stream_free_ext() 72 static void sctp_stream_outq_migrate(struct sctp_stream *stream, in sctp_stream_outq_migrate() argument 77 if (stream->outcnt > outcnt) in sctp_stream_outq_migrate() [all …]
|
/openbmc/linux/sound/soc/ |
H A D | soc-pcm.c | 52 int stream) in snd_soc_dpcm_stream_lock_irq() 54 snd_pcm_stream_lock_irq(snd_soc_dpcm_get_substream(rtd, stream)); in snd_soc_dpcm_stream_lock_irq() 57 #define snd_soc_dpcm_stream_lock_irqsave_nested(rtd, stream, flags) \ 58 snd_pcm_stream_lock_irqsave_nested(snd_soc_dpcm_get_substream(rtd, stream), flags) argument 61 int stream) in snd_soc_dpcm_stream_unlock_irq() 63 snd_pcm_stream_unlock_irq(snd_soc_dpcm_get_substream(rtd, stream)); in snd_soc_dpcm_stream_unlock_irq() 66 #define snd_soc_dpcm_stream_unlock_irqrestore(rtd, stream, flags) \ 67 snd_pcm_stream_unlock_irqrestore(snd_soc_dpcm_get_substream(rtd, stream), flags) argument 110 int stream, char *buf, size_t size) in dpcm_show_state() 112 struct snd_pcm_hw_params *params = &fe->dpcm[stream] in dpcm_show_state() 53 snd_soc_dpcm_stream_lock_irq(struct snd_soc_pcm_runtime * rtd,int stream) snd_soc_dpcm_stream_lock_irq() argument 62 snd_soc_dpcm_stream_unlock_irq(struct snd_soc_pcm_runtime * rtd,int stream) snd_soc_dpcm_stream_unlock_irq() argument 111 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 242 dpcm_create_debugfs_state(struct snd_soc_dpcm * dpcm,int stream) dpcm_create_debugfs_state() argument 258 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 274 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 293 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 567 snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_hardware * hw,int stream) snd_soc_runtime_calc_hw() argument 1224 dpcm_be_connect(struct snd_soc_pcm_runtime * fe,struct snd_soc_pcm_runtime * be,int stream) dpcm_be_connect() argument 1274 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 1342 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 1409 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 1555 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 1839 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 3026 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 3046 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 3078 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 3095 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 3113 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...] |
/openbmc/linux/lib/kunit/ |
H A D | string-stream.c | 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, const char *fmt, ...) in string_stream_add() argument 79 result = string_stream_vadd(stream, fmt, args); in string_stream_add() 85 static void string_stream_clear(struct string_stream *stream) in string_stream_clear() argument [all …]
|
H A D | assert.c | 15 struct string_stream *stream) in kunit_assert_prologue() argument 28 string_stream_add(stream, "%s FAILED at %s:%d\n", in kunit_assert_prologue() 34 struct string_stream *stream) in kunit_assert_print_msg() argument 37 string_stream_add(stream, "\n%pV", message); in kunit_assert_print_msg() 42 struct string_stream *stream) in kunit_fail_assert_format() argument 44 string_stream_add(stream, "%pV", message); in kunit_fail_assert_format() 50 struct string_stream *stream) in kunit_unary_assert_format() argument 57 string_stream_add(stream, in kunit_unary_assert_format() 61 string_stream_add(stream, in kunit_unary_assert_format() 64 kunit_assert_print_msg(message, stream); in kunit_unary_assert_format() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 430 struct i915_perf_regs *__oa_regs(struct i915_perf_stream *stream) in __oa_regs() argument 432 return &stream->engine->oa_group->regs; in __oa_regs() 435 static u32 gen12_oa_hw_tail_read(struct i915_perf_stream *stream) in gen12_oa_hw_tail_read() argument 437 struct intel_uncore *uncore = stream->uncore; in gen12_oa_hw_tail_read() 439 return intel_uncore_read(uncore, __oa_regs(stream)->oa_tail_ptr) & in gen12_oa_hw_tail_read() 443 static u32 gen8_oa_hw_tail_read(struct i915_perf_stream *stream) in gen8_oa_hw_tail_read() argument 445 struct intel_uncore *uncore = stream->uncore; in gen8_oa_hw_tail_read() 450 static u32 gen7_oa_hw_tail_read(struct i915_perf_stream *stream) in gen7_oa_hw_tail_read() argument 452 struct intel_uncore *uncore = stream->uncore; in gen7_oa_hw_tail_read() 461 static u64 oa_report_id(struct i915_perf_stream *stream, void *report) in oa_report_id() argument [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | stream_test.cpp | 29 Stream stream{data}; in TEST() local 33 stream >> v; in TEST() 38 stream >> v; in TEST() 43 stream >> v; in TEST() 48 stream >> v; in TEST() 53 stream.read(v, 5); in TEST() 57 EXPECT_EQ(stream.remaining(), 0); in TEST() 61 EXPECT_THROW(stream >> v, std::out_of_range); in TEST() 67 Stream stream(data); in TEST() local 73 stream << v3 << v2 << v4 << v1; in TEST() [all …]
|
/openbmc/linux/sound/soc/intel/atom/ |
H A D | sst-mfld-platform-compress.c | 47 struct sst_runtime_stream *stream; in sst_platform_compr_open() local 49 stream = kzalloc(sizeof(*stream), GFP_KERNEL); in sst_platform_compr_open() 50 if (!stream) in sst_platform_compr_open() 53 spin_lock_init(&stream->status_lock); in sst_platform_compr_open() 61 stream->compr_ops = sst->compr_ops; in sst_platform_compr_open() 62 stream->id = 0; in sst_platform_compr_open() 67 sst_set_stream_status(stream, SST_PLATFORM_INIT); in sst_platform_compr_open() 68 runtime->private_data = stream; in sst_platform_compr_open() 71 kfree(stream); in sst_platform_compr_open() 78 struct sst_runtime_stream *stream; in sst_platform_compr_free() local [all …]
|
/openbmc/linux/sound/soc/sprd/ |
H A D | sprd-pcm-compress.c | 107 struct sprd_compr_stream *stream = runtime->private_data; in sprd_platform_compr_drain_notify() local 109 memset(stream->info_area, 0, sizeof(struct sprd_compr_playinfo)); in sprd_platform_compr_drain_notify() 118 struct sprd_compr_stream *stream = runtime->private_data; in sprd_platform_compr_dma_complete() local 119 struct sprd_compr_dma *dma = &stream->dma[1]; in sprd_platform_compr_dma_complete() 122 stream->copied_total += dma->trans_len; in sprd_platform_compr_dma_complete() 123 if (stream->copied_total > stream->received_total) in sprd_platform_compr_dma_complete() 124 stream->copied_total = stream->received_total; in sprd_platform_compr_dma_complete() 135 struct sprd_compr_stream *stream = runtime->private_data; in sprd_platform_compr_dma_config() local 140 struct sprd_compr_dma *dma = &stream->dma[channel]; in sprd_platform_compr_dma_config() 174 src_addr = stream->iram_buffer.addr; in sprd_platform_compr_dma_config() [all …]
|
/openbmc/linux/drivers/media/test-drivers/vimc/ |
H A D | vimc-streamer.c | 48 static void vimc_streamer_pipeline_terminate(struct vimc_stream *stream) in vimc_streamer_pipeline_terminate() argument 53 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() 79 static int vimc_streamer_pipeline_init(struct vimc_stream *stream, in vimc_streamer_pipeline_init() argument 87 stream->pipe_size = 0; in vimc_streamer_pipeline_init() 88 while (stream->pipe_size < VIMC_STREAMER_PIPELINE_MAX_SIZE) { in vimc_streamer_pipeline_init() 90 vimc_streamer_pipeline_terminate(stream); in vimc_streamer_pipeline_init() 93 stream->ved_pipeline[stream->pipe_size++] = ved; in vimc_streamer_pipeline_init() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_stream_public.h | 181 struct ia_css_stream **stream); 190 ia_css_stream_destroy(struct ia_css_stream *stream); 200 ia_css_stream_get_info(const struct ia_css_stream *stream, 215 ia_css_stream_start(struct ia_css_stream *stream); 225 ia_css_stream_stop(struct ia_css_stream *stream); 234 ia_css_stream_has_stopped(struct ia_css_stream *stream); 243 ia_css_stream_unload(struct ia_css_stream *stream); 252 ia_css_stream_get_format(const struct ia_css_stream *stream); 262 ia_css_stream_get_two_pixels_per_clock(const struct ia_css_stream *stream); 272 ia_css_stream_set_output_padded_width(struct ia_css_stream *stream, [all …]
|
/openbmc/linux/drivers/slimbus/ |
H A D | stream.c | 123 static int slim_connect_port_channel(struct slim_stream_runtime *stream, in slim_connect_port_channel() argument 126 struct slim_device *sdev = stream->dev; in slim_connect_port_channel() 130 DEFINE_SLIM_LDEST_TXN(txn, mc, 6, stream->dev->laddr, &msg); in slim_connect_port_channel() 143 static int slim_disconnect_port(struct slim_stream_runtime *stream, in slim_disconnect_port() argument 146 struct slim_device *sdev = stream->dev; in slim_disconnect_port() 150 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_disconnect_port() 159 static int slim_deactivate_remove_channel(struct slim_stream_runtime *stream, in slim_deactivate_remove_channel() argument 162 struct slim_device *sdev = stream->dev; in slim_deactivate_remove_channel() 166 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_deactivate_remove_channel() 270 static int slim_define_channel_content(struct slim_stream_runtime *stream, in slim_define_channel_content() argument [all …]
|