Home
last modified time | relevance | path

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

12345678910>>...35

/linux/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->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 …]
/linux/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
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 …]
/linux/sound/core/
H A Dcompress_offload.c46 struct snd_compr_stream stream; member
52 static void snd_compr_task_free_all(struct snd_compr_stream *stream);
54 static inline void snd_compr_task_free_all(struct snd_compr_stream *stream) { } in snd_compr_task_free_all() argument
116 INIT_DELAYED_WORK(&data->stream.error_work, error_delayed_work); in snd_compr_open()
118 data->stream.ops = compr->ops; in snd_compr_open()
119 data->stream.direction = dirn; in snd_compr_open()
120 data->stream.private_data = compr->private_data; in snd_compr_open()
121 data->stream.device = compr; in snd_compr_open()
133 data->stream.runtime = runtime; in snd_compr_open()
136 ret = compr->ops->open(&data->stream); in snd_compr_open()
[all …]
/linux/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()
104 au1000_dma_stop(struct audio_stream * stream) au1000_dma_stop() argument
110 au1000_dma_start(struct audio_stream * stream) au1000_dma_start() argument
135 struct audio_stream *stream = (struct audio_stream *)ptr; au1000_dma_interrupt() local
232 struct audio_stream *stream = ss_to_as(substream, component); alchemy_pcm_hw_params() local
242 struct audio_stream *stream = ss_to_as(substream, component); alchemy_pcm_hw_free() local
250 struct audio_stream *stream = ss_to_as(substream, component); alchemy_pcm_trigger() local
270 struct audio_stream *stream = ss_to_as(ss, component); alchemy_pcm_pointer() local
[all...]
/linux/fs/squashfs/
H A Ddecompressor_multi.c47 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_obj(*stream); in squashfs_decompressor_create()
69 if (!stream) in squashfs_decompressor_create()
72 stream->comp_opts = comp_opts; in squashfs_decompressor_create()
[all …]
H A Ddecompressor_single.c23 void *stream; member
30 struct squashfs_stream *stream; in squashfs_decompressor_create() local
33 stream = kmalloc_obj(*stream); 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 Dxz_wrapper.c84 struct squashfs_xz *stream; in squashfs_xz_init() local
87 stream = kmalloc_obj(*stream); 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 Dzlib_wrapper.c26 z_stream *stream = kmalloc_obj(z_stream); 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 Ddecompressor_multi_percpu.c23 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 …]
/linux/drivers/gpu/drm/xe/
H A Dxe_oa.c150 static u32 xe_oa_circ_diff(struct xe_oa_stream *stream, u32 tail, u32 head) in xe_oa_circ_diff() argument
153 tail + stream->oa_buffer.circ_size - head; in xe_oa_circ_diff()
156 static u32 xe_oa_circ_incr(struct xe_oa_stream *stream, u32 ptr, u32 n) in xe_oa_circ_incr() argument
158 return ptr + n >= stream->oa_buffer.circ_size ? in xe_oa_circ_incr()
159 ptr + n - stream->oa_buffer.circ_size : ptr + n; in xe_oa_circ_incr()
205 static const struct xe_oa_regs *__oa_regs(struct xe_oa_stream *stream) in __oa_regs() argument
207 return &stream->oa_unit->regs; in __oa_regs()
210 static u32 xe_oa_hw_tail_read(struct xe_oa_stream *stream) in xe_oa_hw_tail_read() argument
212 return xe_mmio_read32(&stream->gt->mmio, __oa_regs(stream)->oa_tail_ptr) & in xe_oa_hw_tail_read()
219 static u64 oa_report_id(struct xe_oa_stream *stream, u32 report_offset) in oa_report_id() argument
[all …]
/linux/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...]
H A Dstream.c34 static void sctp_stream_shrink_out(struct sctp_stream *stream, __u16 outcnt) in sctp_stream_shrink_out() argument
40 asoc = container_of(stream, struct sctp_association, stream); in sctp_stream_shrink_out()
64 static void sctp_stream_free_ext(struct sctp_stream *stream, __u16 sid) in sctp_stream_free_ext() argument
68 if (!SCTP_SO(stream, sid)->ext) in sctp_stream_free_ext()
71 sched = sctp_sched_ops_from_stream(stream); in sctp_stream_free_ext()
72 sched->free_sid(stream, sid); in sctp_stream_free_ext()
73 kfree(SCTP_SO(stream, sid)->ext); in sctp_stream_free_ext()
74 SCTP_SO(stream, sid)->ext = NULL; in sctp_stream_free_ext()
81 static void sctp_stream_outq_migrate(struct sctp_stream *stream, in sctp_stream_outq_migrate() argument
86 if (stream->outcnt > outcnt) in sctp_stream_outq_migrate()
[all …]
H A Dstream_sched_fc.c7 * These functions manipulate sctp stream queue/scheduling.
25 static void sctp_sched_fc_unsched_all(struct sctp_stream *stream);
27 static int sctp_sched_wfq_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_wfq_set() argument
30 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_wfq_set()
39 static int sctp_sched_wfq_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_wfq_get() argument
42 struct sctp_stream_out_ext *soute = SCTP_SO(stream, sid)->ext; in sctp_sched_wfq_get()
48 static int sctp_sched_fc_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_set() argument
54 static int sctp_sched_fc_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_fc_get() argument
60 static int sctp_sched_fc_init(struct sctp_stream *stream) in sctp_sched_fc_init() argument
62 INIT_LIST_HEAD(&stream in sctp_sched_fc_init()
67 sctp_sched_fc_init_sid(struct sctp_stream * stream,__u16 sid,gfp_t gfp) sctp_sched_fc_init_sid() argument
79 sctp_sched_fc_free_sid(struct sctp_stream * stream,__u16 sid) sctp_sched_fc_free_sid() argument
83 sctp_sched_fc_sched(struct sctp_stream * stream,struct sctp_stream_out_ext * soute) sctp_sched_fc_sched() argument
101 struct sctp_stream *stream; sctp_sched_fc_enqueue() local
113 struct sctp_stream *stream = &q->asoc->stream; sctp_sched_fc_dequeue() local
135 struct sctp_stream *stream = &q->asoc->stream; sctp_sched_fc_dequeue_done() local
169 sctp_sched_fc_sched_all(struct sctp_stream * stream) sctp_sched_fc_sched_all() argument
183 sctp_sched_fc_unsched_all(struct sctp_stream * stream) sctp_sched_fc_unsched_all() argument
[all...]
H A Dstream_sched.c7 * These functions manipulate sctp stream queue/scheduling.
25 static int sctp_sched_fcfs_set(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_set() argument
31 static int sctp_sched_fcfs_get(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_get() argument
38 static int sctp_sched_fcfs_init(struct sctp_stream *stream) in sctp_sched_fcfs_init() argument
43 static int sctp_sched_fcfs_init_sid(struct sctp_stream *stream, __u16 sid, in sctp_sched_fcfs_init_sid() argument
49 static void sctp_sched_fcfs_free_sid(struct sctp_stream *stream, __u16 sid) in sctp_sched_fcfs_free_sid() argument
60 struct sctp_stream *stream = &q->asoc->stream; in sctp_sched_fcfs_dequeue() local
67 if (stream->out_curr) { in sctp_sched_fcfs_dequeue()
68 ch = list_entry(stream in sctp_sched_fcfs_dequeue()
86 sctp_sched_fcfs_sched_all(struct sctp_stream * stream) sctp_sched_fcfs_sched_all() argument
90 sctp_sched_fcfs_unsched_all(struct sctp_stream * stream) sctp_sched_fcfs_unsched_all() argument
131 sctp_sched_free_sched(struct sctp_stream * stream) sctp_sched_free_sched() argument
264 sctp_sched_init_sid(struct sctp_stream * stream,__u16 sid,gfp_t gfp) sctp_sched_init_sid() argument
273 sctp_sched_ops_from_stream(struct sctp_stream * stream) sctp_sched_ops_from_stream() argument
[all...]
H A Dstream_sched_prio.c26 static void sctp_sched_prio_unsched_all(struct sctp_stream *stream);
41 struct sctp_stream *stream, int prio, gfp_t gfp) in sctp_sched_prio_new_head() argument
59 struct sctp_stream *stream, int prio, gfp_t gfp) in sctp_sched_prio_get_head() argument
67 list_for_each_entry(p, &stream->prio_list, prio_sched) { in sctp_sched_prio_get_head()
75 for (i = 0; i < stream->outcnt; i++) { in sctp_sched_prio_get_head()
76 if (!SCTP_SO(stream, i)->ext) in sctp_sched_prio_get_head()
79 p = SCTP_SO(stream, i)->ext->prio_head; in sctp_sched_prio_get_head()
90 return sctp_sched_prio_new_head(stream, prio, gfp); in sctp_sched_prio_get_head()
130 static void sctp_sched_prio_sched(struct sctp_stream *stream, in sctp_sched_prio_sched() argument
153 list_for_each_entry(prio, &stream->prio_list, prio_sched) { in sctp_sched_prio_sched()
[all …]
/linux/sound/soc/
H A Dsoc-pcm.c43 static int snd_soc_dpcm_can_fe_update(struct snd_soc_pcm_runtime *fe, int stream)
45 if (fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE)
53 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_update() argument
55 if ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) || in snd_soc_dpcm_can_be_update()
56 ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_BE) && in snd_soc_dpcm_can_be_update()
57 be->dpcm[stream].runtime_update)) in snd_soc_dpcm_can_be_update()
64 int stream, in snd_soc_dpcm_check_state() argument
73 for_each_dpcm_fe(be, stream, dpcm) { in snd_soc_dpcm_check_state()
78 state = dpcm->fe->dpcm[stream].state; in snd_soc_dpcm_check_state()
96 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop() argument
[all …]
/linux/lib/kunit/
H A Dassert_test.c41 static char *get_str_from_stream(struct kunit *test, struct string_stream *stream) in get_str_from_stream() argument
43 char *str = string_stream_get_string(stream); in get_str_from_stream()
53 struct string_stream *stream; in kunit_test_assert_prologue() local
60 stream = kunit_alloc_string_stream(test, GFP_KERNEL); in kunit_test_assert_prologue()
61 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, stream); in kunit_test_assert_prologue()
64 kunit_assert_prologue(&location, KUNIT_EXPECTATION, stream); in kunit_test_assert_prologue()
65 str = get_str_from_stream(test, stream); in kunit_test_assert_prologue()
71 string_stream_clear(stream); in kunit_test_assert_prologue()
72 kunit_assert_prologue(&location, KUNIT_ASSERTION, stream); in kunit_test_assert_prologue()
73 str = get_str_from_stream(test, stream); in kunit_test_assert_prologue()
[all …]
/linux/sound/soc/intel/atom/
H A Dsst-mfld-platform-compress.c48 struct sst_runtime_stream *stream; in sst_platform_compr_open() local
50 stream = kzalloc_obj(*stream); in sst_platform_compr_open()
51 if (!stream) in sst_platform_compr_open()
54 spin_lock_init(&stream->status_lock); in sst_platform_compr_open()
62 stream->compr_ops = sst->compr_ops; in sst_platform_compr_open()
63 stream->id = 0; in sst_platform_compr_open()
68 sst_set_stream_status(stream, SST_PLATFORM_INIT); in sst_platform_compr_open()
69 runtime->private_data = stream; in sst_platform_compr_open()
72 kfree(stream); in sst_platform_compr_open()
79 struct sst_runtime_stream *stream; in sst_platform_compr_free() local
[all …]
/linux/sound/soc/sprd/
H A Dsprd-pcm-compress.c107 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 …]
/linux/drivers/slimbus/
H A Dstream.c125 static int slim_connect_port_channel(struct slim_stream_runtime *stream, in slim_connect_port_channel() argument
128 struct slim_device *sdev = stream->dev; in slim_connect_port_channel()
132 DEFINE_SLIM_LDEST_TXN(txn, mc, 6, stream->dev->laddr, &msg); in slim_connect_port_channel()
145 static int slim_disconnect_port(struct slim_stream_runtime *stream, in slim_disconnect_port() argument
148 struct slim_device *sdev = stream->dev; in slim_disconnect_port()
152 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_disconnect_port()
161 static int slim_deactivate_remove_channel(struct slim_stream_runtime *stream, in slim_deactivate_remove_channel() argument
164 struct slim_device *sdev = stream->dev; in slim_deactivate_remove_channel()
168 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_deactivate_remove_channel()
272 static int slim_define_channel_content(struct slim_stream_runtime *stream, in slim_define_channel_content() argument
[all …]
/linux/sound/xen/
H A Dxen_snd_front_alsa.c212 static void stream_clear(struct xen_snd_front_pcm_stream_info *stream) in stream_clear() argument
214 stream->is_open = false; in stream_clear()
215 stream->be_cur_frame = 0; in stream_clear()
216 stream->out_frames = 0; in stream_clear()
217 atomic_set(&stream->hw_ptr, 0); in stream_clear()
218 xen_snd_front_evtchnl_pair_clear(stream->evt_pair); in stream_clear()
219 memset(&stream->shbuf, 0, sizeof(stream->shbuf)); in stream_clear()
220 stream->buffer = NULL; in stream_clear()
221 stream in stream_clear()
226 stream_free(struct xen_snd_front_pcm_stream_info * stream) stream_free() argument
241 struct xen_snd_front_pcm_stream_info *stream; stream_get() local
254 struct xen_snd_front_pcm_stream_info *stream = rule->private; alsa_hw_rule() local
352 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); alsa_open() local
428 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); alsa_close() local
434 shbuf_setup_backstore(struct xen_snd_front_pcm_stream_info * stream,size_t buffer_sz) shbuf_setup_backstore() argument
458 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); alsa_hw_params() local
498 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); alsa_hw_free() local
508 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); alsa_prepare() local
542 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); alsa_trigger() local
573 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); xen_snd_front_alsa_handle_cur_pos() local
594 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); alsa_pointer() local
603 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); alsa_pb_copy() local
618 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); alsa_cap_copy() local
637 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); alsa_pb_fill_silence() local
[all...]
/linux/drivers/staging/media/atomisp/pci/
H A Dia_css_stream_public.h173 struct ia_css_stream **stream);
182 ia_css_stream_destroy(struct ia_css_stream *stream);
192 ia_css_stream_get_info(const struct ia_css_stream *stream,
207 ia_css_stream_start(struct ia_css_stream *stream);
217 ia_css_stream_stop(struct ia_css_stream *stream);
226 ia_css_stream_has_stopped(struct ia_css_stream *stream);
235 ia_css_stream_unload(struct ia_css_stream *stream);
244 ia_css_stream_get_format(const struct ia_css_stream *stream);
254 ia_css_stream_get_two_pixels_per_clock(const struct ia_css_stream *stream);
264 ia_css_stream_set_output_padded_width(struct ia_css_stream *stream,
[all …]
/linux/drivers/media/platform/mediatek/jpeg/
H A Dmtk_jpeg_dec_parse.c20 static int read_byte(struct mtk_jpeg_stream *stream) in read_byte() argument
22 if (stream->curr >= stream->size) in read_byte()
24 return stream->addr[stream->curr++]; in read_byte()
27 static int read_word_be(struct mtk_jpeg_stream *stream, u32 *word) in read_word_be() argument
32 byte = read_byte(stream); in read_word_be()
36 byte = read_byte(stream); in read_word_be()
44 static void read_skip(struct mtk_jpeg_stream *stream, long len) in read_skip() argument
49 read_byte(stream); in read_skip()
56 struct mtk_jpeg_stream stream; in mtk_jpeg_do_parse() local
58 stream.addr = src_addr_va; in mtk_jpeg_do_parse()
[all …]
/linux/sound/soc/sof/amd/
H A Dacp-pcm.c24 struct acp_dsp_stream *stream = runtime->private_data; in acp_pcm_hw_params() local
30 stream->num_pages = PFN_UP(runtime->dma_bytes); in acp_pcm_hw_params()
31 stream->dmab = substream->runtime->dma_buffer_p; in acp_pcm_hw_params()
33 ret = acp_dsp_stream_config(sdev, stream); in acp_pcm_hw_params()
40 platform_params->phy_addr = stream->reg_offset; in acp_pcm_hw_params()
41 platform_params->stream_tag = stream->stream_tag; in acp_pcm_hw_params()
48 index = stream->stream_tag - 1; in acp_pcm_hw_params()
59 struct acp_dsp_stream *stream; in acp_pcm_open() local
61 stream = acp_dsp_stream_get(sdev, 0); in acp_pcm_open()
62 if (!stream) in acp_pcm_open()
[all …]
/linux/sound/soc/sof/
H A Dpcm.c53 "error: period elapsed for unknown stream!\n"); in snd_sof_pcm_period_elapsed()
65 queue_work(system_highpri_wq, &spcm->stream[substream->stream].period_elapsed_work); in snd_sof_pcm_period_elapsed()
89 spcm->stream[dir].list = list; in sof_pcm_setup_connected_widgets()
94 spcm->stream[dir].list = NULL; in sof_pcm_setup_connected_widgets()
138 spcm_dbg(spcm, substream->stream, "Entry: hw_params\n"); in sof_pcm_hw_params()
154 if (spcm->prepared[substream->stream] && pcm_ops && pcm_ops->hw_free) { in sof_pcm_hw_params()
159 spcm->prepared[substream->stream] = false; in sof_pcm_hw_params()
162 platform_params = &spcm->platform_params[substream->stream]; in sof_pcm_hw_params()
165 spcm_err(spcm, substream->stream, "platfor in sof_pcm_hw_params()
585 int stream = SNDRV_PCM_STREAM_PLAYBACK; sof_pcm_new() local
[all...]

12345678910>>...35