| /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 …]
|
| /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 …]
|
| /linux/sound/core/ |
| H A D | compress_offload.c | 47 struct snd_compr_stream stream; 53 static void snd_compr_task_free_all(struct snd_compr_stream *stream); 55 static inline void snd_compr_task_free_all(struct snd_compr_stream *stream) { } 59 * a note on stream states used: 61 * SNDRV_PCM_STATE_OPEN: When stream has been opened. 62 * SNDRV_PCM_STATE_SETUP: When stream has been initialized. This is done by 65 * SNDRV_PCM_STATE_PREPARED: When a stream has been written to (for 66 * playback only). User after setting up stream writes the data buffer 67 * before starting the stream. 68 * SNDRV_PCM_STATE_RUNNING: When stream ha 46 struct snd_compr_stream stream; global() member 54 snd_compr_task_free_all(struct snd_compr_stream * stream) snd_compr_task_free_all() argument 183 snd_compr_update_tstamp(struct snd_compr_stream * stream,struct snd_compr_tstamp64 * tstamp) snd_compr_update_tstamp() argument 210 snd_compr_calc_avail(struct snd_compr_stream * stream,struct snd_compr_avail64 * avail) snd_compr_calc_avail() argument 246 snd_compr_get_avail(struct snd_compr_stream * stream) snd_compr_get_avail() argument 260 snd_compr_ioctl_avail(struct snd_compr_stream * stream,unsigned long arg,bool is_32bit) snd_compr_ioctl_avail() argument 294 snd_compr_write_data(struct snd_compr_stream * stream,const char __user * buf,size_t count) snd_compr_write_data() argument 328 struct snd_compr_stream *stream; snd_compr_write() local 379 struct snd_compr_stream *stream; snd_compr_read() local 426 snd_compr_get_poll(struct snd_compr_stream * stream) snd_compr_get_poll() argument 437 struct snd_compr_stream *stream; snd_compr_poll() local 499 snd_compr_get_caps(struct snd_compr_stream * stream,unsigned long arg) snd_compr_get_caps() argument 519 snd_compr_get_codec_caps(struct snd_compr_stream * stream,unsigned long arg) snd_compr_get_codec_caps() argument 540 snd_compr_malloc_pages(struct snd_compr_stream * stream,size_t size) snd_compr_malloc_pages() argument 563 snd_compr_free_pages(struct snd_compr_stream * stream) snd_compr_free_pages() argument 584 snd_compr_allocate_buffer(struct snd_compr_stream * stream,struct snd_compr_params * params) snd_compr_allocate_buffer() argument 625 snd_compress_check_input(struct snd_compr_stream * stream,struct snd_compr_params * params) snd_compress_check_input() argument 653 snd_compr_set_params(struct snd_compr_stream * stream,unsigned long arg) snd_compr_set_params() argument 694 snd_compr_get_params(struct snd_compr_stream * stream,unsigned long arg) snd_compr_get_params() argument 714 snd_compr_get_metadata(struct snd_compr_stream * stream,unsigned long arg) snd_compr_get_metadata() argument 736 snd_compr_set_metadata(struct snd_compr_stream * stream,unsigned long arg) snd_compr_set_metadata() argument 756 snd_compr_tstamp(struct snd_compr_stream * stream,unsigned long arg,bool is_32bit) snd_compr_tstamp() argument 779 snd_compr_pause(struct snd_compr_stream * stream) snd_compr_pause() argument 802 snd_compr_resume(struct snd_compr_stream * stream) snd_compr_resume() argument 825 snd_compr_start(struct snd_compr_stream * stream) snd_compr_start() argument 846 snd_compr_stop(struct snd_compr_stream * stream) snd_compr_stop() argument 874 struct snd_compr_stream *stream; error_delayed_work() local 895 snd_compr_stop_error(struct snd_compr_stream * stream,snd_pcm_state_t state) snd_compr_stop_error() argument 911 snd_compress_wait_for_drain(struct snd_compr_stream * stream) snd_compress_wait_for_drain() argument 946 snd_compr_drain(struct snd_compr_stream * stream) snd_compr_drain() argument 972 snd_compr_next_track(struct snd_compr_stream * stream) snd_compr_next_track() argument 998 snd_compr_partial_drain(struct snd_compr_stream * stream) snd_compr_partial_drain() argument 1037 snd_compr_find_task(struct snd_compr_stream * stream,__u64 seqno) snd_compr_find_task() argument 1057 snd_compr_seqno_next(struct snd_compr_stream * stream) snd_compr_seqno_next() argument 1065 snd_compr_task_new(struct snd_compr_stream * stream,struct snd_compr_task * utask) snd_compr_task_new() argument 1116 snd_compr_task_create(struct snd_compr_stream * stream,unsigned long arg) snd_compr_task_create() argument 1149 snd_compr_task_start(struct snd_compr_stream * stream,struct snd_compr_task * utask) snd_compr_task_start() argument 1178 snd_compr_task_start_ioctl(struct snd_compr_stream * stream,unsigned long arg) snd_compr_task_start_ioctl() argument 1196 snd_compr_task_stop_one(struct snd_compr_stream * stream,struct snd_compr_task_runtime * task) snd_compr_task_stop_one() argument 1208 snd_compr_task_free_one(struct snd_compr_stream * stream,struct snd_compr_task_runtime * task) snd_compr_task_free_one() argument 1218 snd_compr_task_free_all(struct snd_compr_stream * stream) snd_compr_task_free_all() argument 1229 snd_compr_task_seq(struct snd_compr_stream * stream,unsigned long arg,snd_compr_seq_func_t fcn) snd_compr_task_seq() argument 1256 snd_compr_task_status(struct snd_compr_stream * stream,struct snd_compr_task_status * status) snd_compr_task_status() argument 1270 snd_compr_task_status_ioctl(struct snd_compr_stream * stream,unsigned long arg) snd_compr_task_status_ioctl() argument 1295 snd_compr_task_finished(struct snd_compr_stream * stream,struct snd_compr_task_runtime * task) snd_compr_task_finished() argument 1312 struct snd_compr_stream *stream; snd_compr_ioctl() local [all...] |
| /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 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 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_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 D | decompressor_single.c | 23 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 D | xz_wrapper.c | 84 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 D | zlib_wrapper.c | 26 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 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 …]
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_perfcntr.c | 21 #define fifo_count(stream) \ argument 22 (CIRC_CNT((stream)->fifo.head, (stream)->fifo.tail, (stream)->fifo_size)) 23 #define fifo_count_to_end(stream) \ argument 24 (CIRC_CNT_TO_END(smp_load_acquire(&(stream)->fifo.head), (stream)->fifo.tail, (stream)->fifo_size)) 26 #define fifo_space(stream) \ argument 27 (CIRC_SPACE((stream) 30 msm_perfcntr_resume_locked(struct msm_perfcntr_stream * stream) msm_perfcntr_resume_locked() argument 57 msm_perfcntr_suspend_locked(struct msm_perfcntr_stream * stream) msm_perfcntr_suspend_locked() argument 89 struct msm_perfcntr_stream *stream = file->private_data; msm_perfcntrs_stream_release() local 124 struct msm_perfcntr_stream *stream = file->private_data; msm_perfcntrs_stream_poll() local 140 struct msm_perfcntr_stream *stream = file->private_data; msm_perfcntrs_stream_read() local 177 struct msm_perfcntr_stream *stream = sel_worker() local 214 sample_write(struct msm_perfcntr_stream * stream,int * head,const void * buf,size_t sz) sample_write() argument 230 sample_write_u32(struct msm_perfcntr_stream * stream,int * head,uint32_t val) sample_write_u32() argument 236 sample_write_u64(struct msm_perfcntr_stream * stream,int * head,uint64_t val) sample_write_u64() argument 244 struct msm_perfcntr_stream *stream = sample_worker() local 310 struct msm_perfcntr_stream *stream = sample_timer() local 593 msm_perfcntr_group_idx(const struct msm_perfcntr_stream * stream,uint32_t n) msm_perfcntr_group_idx() argument 614 msm_perfcntr_counter_base(const struct msm_perfcntr_stream * stream,uint32_t group_idx) msm_perfcntr_counter_base() argument [all...] |
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_oa.c | 151 static u32 xe_oa_circ_diff(struct xe_oa_stream *stream, u32 tail, u32 head) in xe_oa_circ_diff() 154 tail + stream->oa_buffer.circ_size - head; in xe_oa_circ_diff() 157 static u32 xe_oa_circ_incr(struct xe_oa_stream *stream, u32 ptr, u32 n) in xe_oa_circ_incr() 159 return ptr + n >= stream->oa_buffer.circ_size ? in xe_oa_circ_incr() 160 ptr + n - stream->oa_buffer.circ_size : ptr + n; in xe_oa_circ_incr() 206 static const struct xe_oa_regs *__oa_regs(struct xe_oa_stream *stream) in __oa_regs() 208 return &stream->oa_unit->regs; in __oa_regs() 211 static u32 xe_oa_hw_tail_read(struct xe_oa_stream *stream) in xe_oa_hw_tail_read() 213 return xe_mmio_read32(&stream->gt->mmio, __oa_regs(stream) in xe_oa_hw_tail_read() 150 xe_oa_circ_diff(struct xe_oa_stream * stream,u32 tail,u32 head) xe_oa_circ_diff() argument 156 xe_oa_circ_incr(struct xe_oa_stream * stream,u32 ptr,u32 n) xe_oa_circ_incr() argument 205 __oa_regs(struct xe_oa_stream * stream) __oa_regs() argument 210 xe_oa_hw_tail_read(struct xe_oa_stream * stream) xe_oa_hw_tail_read() argument 219 oa_report_id(struct xe_oa_stream * stream,u32 report_offset) oa_report_id() argument 228 oa_report_id_clear(struct xe_oa_stream * stream,u32 report_offset) oa_report_id_clear() argument 237 oa_timestamp(struct xe_oa_stream * stream,u32 report_offset) oa_timestamp() argument 246 oa_timestamp_clear(struct xe_oa_stream * stream,u32 report_offset) oa_timestamp_clear() argument 260 xe_oa_buffer_check_unlocked(struct xe_oa_stream * stream) xe_oa_buffer_check_unlocked() argument 317 struct xe_oa_stream *stream = xe_oa_poll_check_timer_cb() local 329 xe_oa_copy_to_user(struct xe_oa_stream * stream,void __user * dst,u32 report_offset,u32 len) xe_oa_copy_to_user() argument 338 xe_oa_append_report(struct xe_oa_stream * stream,char __user * buf,size_t count,size_t * offset,u32 report_offset) xe_oa_append_report() argument 367 xe_oa_append_reports(struct xe_oa_stream * stream,char __user * buf,size_t count,size_t * offset) xe_oa_append_reports() argument 422 xe_oa_init_oa_buffer(struct xe_oa_stream * stream) xe_oa_init_oa_buffer() argument 468 __oa_ccs_select(struct xe_oa_stream * stream) __oa_ccs_select() argument 481 __oactrl_used_bits(struct xe_oa_stream * stream) __oactrl_used_bits() argument 487 xe_oa_enable(struct xe_oa_stream * stream) xe_oa_enable() argument 510 xe_oa_disable(struct xe_oa_stream * stream) xe_oa_disable() argument 529 xe_oa_wait_unlocked(struct xe_oa_stream * stream) xe_oa_wait_unlocked() argument 542 __xe_oa_read(struct xe_oa_stream * stream,char __user * buf,size_t count,size_t * offset) __xe_oa_read() argument 561 struct xe_oa_stream *stream = file->private_data; xe_oa_read() local 601 xe_oa_poll_locked(struct xe_oa_stream * stream,struct file * file,poll_table * wait) xe_oa_poll_locked() argument 622 struct xe_oa_stream *stream = file->private_data; xe_oa_poll() local 648 xe_oa_submit_bb(struct xe_oa_stream * stream,enum xe_oa_submit_deps deps,struct xe_bb * bb) xe_oa_submit_bb() argument 718 xe_oa_free_oa_buffer(struct xe_oa_stream * stream) xe_oa_free_oa_buffer() argument 724 xe_oa_free_configs(struct xe_oa_stream * stream) xe_oa_free_configs() argument 734 xe_oa_load_with_lri(struct xe_oa_stream * stream,struct xe_oa_reg * reg_lri,u32 count) xe_oa_load_with_lri() argument 763 xe_oa_configure_oar_context(struct xe_oa_stream * stream,bool enable) xe_oa_configure_oar_context() argument 789 xe_oa_configure_oac_context(struct xe_oa_stream * stream,bool enable) xe_oa_configure_oac_context() argument 818 xe_oa_configure_oa_context(struct xe_oa_stream * stream,bool enable) xe_oa_configure_oa_context() argument 833 oag_configure_mmio_trigger(const struct xe_oa_stream * stream,bool enable) oag_configure_mmio_trigger() argument 841 xe_oa_disable_metric_set(struct xe_oa_stream * stream) xe_oa_disable_metric_set() argument 877 xe_oa_stream_destroy(struct xe_oa_stream * stream) xe_oa_stream_destroy() argument 904 xe_oa_alloc_oa_buffer(struct xe_oa_stream * stream,size_t size) xe_oa_alloc_oa_buffer() argument 936 __xe_oa_alloc_config_buffer(struct xe_oa_stream * stream,struct xe_oa_config * oa_config) __xe_oa_alloc_config_buffer() argument 966 xe_oa_alloc_config_buffer(struct xe_oa_stream * stream,struct xe_oa_config * oa_config) xe_oa_alloc_config_buffer() argument 983 xe_oa_update_last_fence(struct xe_oa_stream * stream,struct dma_fence * fence) xe_oa_update_last_fence() argument 1026 xe_oa_emit_oa_config(struct xe_oa_stream * stream,struct xe_oa_config * config) xe_oa_emit_oa_config() argument 1093 oag_report_ctx_switches(const struct xe_oa_stream * stream) oag_report_ctx_switches() argument 1102 oag_buf_size_select(const struct xe_oa_stream * stream) oag_buf_size_select() argument 1110 xe_oa_enable_metric_set(struct xe_oa_stream * stream) xe_oa_enable_metric_set() argument 1435 xe_oa_parse_syncs(struct xe_oa * oa,struct xe_oa_stream * stream,struct xe_oa_open_param * param) xe_oa_parse_syncs() argument 1481 xe_oa_stream_enable(struct xe_oa_stream * stream) xe_oa_stream_enable() argument 1493 xe_oa_stream_disable(struct xe_oa_stream * stream) xe_oa_stream_disable() argument 1505 xe_oa_enable_preempt_timeslice(struct xe_oa_stream * stream) xe_oa_enable_preempt_timeslice() argument 1521 xe_oa_disable_preempt_timeslice(struct xe_oa_stream * stream) xe_oa_disable_preempt_timeslice() argument 1542 xe_oa_enable_locked(struct xe_oa_stream * stream) xe_oa_enable_locked() argument 1560 xe_oa_disable_locked(struct xe_oa_stream * stream) xe_oa_disable_locked() argument 1576 xe_oa_config_locked(struct xe_oa_stream * stream,u64 arg) xe_oa_config_locked() argument 1616 xe_oa_status_locked(struct xe_oa_stream * stream,unsigned long arg) xe_oa_status_locked() argument 1637 xe_oa_info_locked(struct xe_oa_stream * stream,unsigned long arg) xe_oa_info_locked() argument 1648 xe_oa_ioctl_locked(struct xe_oa_stream * stream,unsigned int cmd,unsigned long arg) xe_oa_ioctl_locked() argument 1672 struct xe_oa_stream *stream = file->private_data; xe_oa_ioctl() local 1682 xe_oa_destroy_locked(struct xe_oa_stream * stream) xe_oa_destroy_locked() argument 1698 struct xe_oa_stream *stream = file->private_data; xe_oa_release() local 1715 struct xe_oa_stream *stream = file->private_data; xe_oa_mmap() local 1753 xe_oa_stream_init(struct xe_oa_stream * stream,struct xe_oa_open_param * param) xe_oa_stream_init() argument 1855 struct xe_oa_stream *stream; xe_oa_stream_open_ioctl_locked() local [all...] |
| /linux/net/sctp/ |
| H A D | stream_sched_rr.c | 7 * 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 D | stream.c | 10 * This file contains sctp stream maniuplation primitives and helpers. 34 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, si in sctp_stream_free_ext() 81 sctp_stream_outq_migrate(struct sctp_stream * stream,struct sctp_stream * new,__u16 outcnt) sctp_stream_outq_migrate() argument 105 sctp_stream_alloc_out(struct sctp_stream * stream,__u16 outcnt,gfp_t gfp) sctp_stream_alloc_out() argument 122 sctp_stream_alloc_in(struct sctp_stream * stream,__u16 incnt,gfp_t gfp) sctp_stream_alloc_in() argument 139 sctp_stream_init(struct sctp_stream * stream,__u16 outcnt,__u16 incnt,gfp_t gfp) sctp_stream_init() argument 173 sctp_stream_init_ext(struct sctp_stream * stream,__u16 sid) sctp_stream_init_ext() argument 192 sctp_stream_free(struct sctp_stream * stream) sctp_stream_free() argument 204 sctp_stream_clear(struct sctp_stream * stream) sctp_stream_clear() argument 217 sctp_stream_update(struct sctp_stream * stream,struct sctp_stream * new) sctp_stream_update() argument 250 sctp_stream_outq_is_empty(struct sctp_stream * stream,__u16 str_nums,__be16 * str_list) sctp_stream_outq_is_empty() argument 277 struct sctp_stream *stream = &asoc->stream; sctp_send_reset_streams() local 395 struct sctp_stream *stream = &asoc->stream; sctp_send_reset_assoc() local 440 struct sctp_stream *stream = &asoc->stream; sctp_send_add_streams() local 538 struct sctp_stream *stream = &asoc->stream; sctp_process_strreset_outreq() local 628 struct sctp_stream *stream = &asoc->stream; sctp_process_strreset_inreq() local 709 struct sctp_stream *stream = &asoc->stream; sctp_process_strreset_tsnreq() local 805 struct sctp_stream *stream = &asoc->stream; sctp_process_strreset_addstrm_out() local 876 struct sctp_stream *stream = &asoc->stream; sctp_process_strreset_addstrm_in() local 940 struct sctp_stream *stream = &asoc->stream; sctp_process_strreset_resp() local [all...] |
| H A D | stream_sched_fc.c | 7 * 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 D | stream_sched.c | 7 * 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...] |
| /linux/sound/soc/ |
| H A D | soc-pcm.c | 44 static int snd_soc_dpcm_can_fe_update(struct snd_soc_pcm_runtime *fe, int stream) 46 if (fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) 54 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_update() 56 if ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_FE) || in snd_soc_dpcm_can_be_update() 57 ((fe->dpcm[stream].runtime_update == SND_SOC_DPCM_UPDATE_BE) && in snd_soc_dpcm_can_be_update() 58 be->dpcm[stream].runtime_update)) in snd_soc_dpcm_can_be_update() 65 int stream, in snd_soc_dpcm_check_state() 74 for_each_dpcm_fe(be, stream, dpcm) { in snd_soc_dpcm_check_state() 79 state = dpcm->fe->dpcm[stream].state; in snd_soc_dpcm_check_state() 94 * are not running, paused or suspended for the specified stream directio 53 snd_soc_dpcm_can_be_update(struct snd_soc_pcm_runtime * fe,struct snd_soc_pcm_runtime * be,int stream) snd_soc_dpcm_can_be_update() argument 64 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 96 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 112 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 129 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 181 dpcm_show_state(struct snd_soc_pcm_runtime * fe,int stream,char * buf,size_t size) dpcm_show_state() argument 242 int stream; dpcm_state_read_file() local 288 dpcm_create_debugfs_state(struct snd_soc_dpcm * dpcm,int stream) dpcm_create_debugfs_state() argument 310 dpcm_create_debugfs_state(struct snd_soc_dpcm * dpcm,int stream) dpcm_create_debugfs_state() argument 326 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 342 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 361 snd_soc_runtime_action(struct snd_soc_pcm_runtime * rtd,int stream,int action) snd_soc_runtime_action() argument 657 int stream = substream->stream; soc_pcm_apply_msb() local 744 snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_hardware * hw,int stream) snd_soc_runtime_calc_hw() argument 1427 dpcm_be_connect(struct snd_soc_pcm_runtime * fe,struct snd_soc_pcm_runtime * be,int stream) dpcm_be_connect() argument 1476 dpcm_be_reparent(struct snd_soc_pcm_runtime * fe,struct snd_soc_pcm_runtime * be,int stream) dpcm_be_reparent() argument 1505 dpcm_be_disconnect(struct snd_soc_pcm_runtime * fe,int stream) dpcm_be_disconnect() argument 1545 dpcm_get_be(struct snd_soc_card * card,struct snd_soc_dapm_widget * widget,int stream) dpcm_get_be() argument 1595 int stream; dpcm_end_walk_at_be() local 1612 dpcm_path_get(struct snd_soc_pcm_runtime * fe,int stream,struct snd_soc_dapm_widget_list ** list) dpcm_path_get() argument 1641 dpcm_be_is_active(struct snd_soc_dpcm * dpcm,int stream,struct snd_soc_dapm_widget_list * list) dpcm_be_is_active() argument 1662 dpcm_prune_paths(struct snd_soc_pcm_runtime * fe,int stream,struct snd_soc_dapm_widget_list ** list_) dpcm_prune_paths() argument 1685 dpcm_add_paths(struct snd_soc_pcm_runtime * fe,int stream,struct snd_soc_dapm_widget_list ** list_) dpcm_add_paths() argument 1754 dpcm_clear_pending_state(struct snd_soc_pcm_runtime * fe,int stream) dpcm_clear_pending_state() argument 1762 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 1806 dpcm_be_dai_startup(struct snd_soc_pcm_runtime * fe,int stream) dpcm_be_dai_startup() argument 1879 int stream = substream->stream; dpcm_runtime_setup_fe() local 1910 int stream = substream->stream; dpcm_runtime_setup_be_format() local 1946 int stream = substream->stream; dpcm_runtime_setup_be_chan() local 1994 int stream = substream->stream; dpcm_runtime_setup_be_rate() local 2026 dpcm_apply_symmetry(struct snd_pcm_substream * fe_substream,int stream) dpcm_apply_symmetry() argument 2076 int stream = fe_substream->stream, ret = 0; dpcm_fe_dai_startup() local 2113 int stream = substream->stream; dpcm_fe_dai_shutdown() local 2135 dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime * fe,int stream) dpcm_be_dai_hw_free() argument 2179 int stream = substream->stream; dpcm_fe_dai_hw_free() local 2200 dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime * fe,int stream) dpcm_be_dai_hw_params() argument 2282 int ret, stream = substream->stream; dpcm_fe_dai_hw_params() local 2311 dpcm_be_dai_trigger(struct snd_soc_pcm_runtime * fe,int stream,int cmd) dpcm_be_dai_trigger() argument 2516 int stream = substream->stream; dpcm_fe_dai_do_trigger() local 2580 int stream = substream->stream; dpcm_fe_dai_trigger() local 2594 dpcm_be_dai_prepare(struct snd_soc_pcm_runtime * fe,int stream) dpcm_be_dai_prepare() argument 2640 int stream = substream->stream, ret = 0; dpcm_fe_dai_prepare() local 2672 dpcm_run_update_shutdown(struct snd_soc_pcm_runtime * fe,int stream) dpcm_run_update_shutdown() argument 2691 dpcm_run_update_startup(struct snd_soc_pcm_runtime * fe,int stream) dpcm_run_update_startup() argument 2767 int stream; soc_dpcm_fe_runtime_update() local 2862 int stream = fe_substream->stream; dpcm_fe_dai_cleanup() local 2892 int stream = fe_substream->stream; dpcm_fe_dai_open() local 3127 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime * be,int stream) snd_soc_dpcm_get_substream() argument [all...] |
| /linux/lib/kunit/ |
| H A D | assert_test.c | 41 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 D | sst-mfld-platform-compress.c | 48 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 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 in sprd_platform_compr_dma_config() local 269 struct sprd_compr_stream *stream = runtime->private_data; sprd_platform_compr_set_params() local 335 struct sprd_compr_stream *stream; sprd_platform_compr_open() local 409 struct sprd_compr_stream *stream = runtime->private_data; sprd_platform_compr_free() local 436 struct sprd_compr_stream *stream = runtime->private_data; sprd_platform_compr_trigger() local 532 struct sprd_compr_stream *stream = runtime->private_data; sprd_platform_compr_pointer() local 547 struct sprd_compr_stream *stream = runtime->private_data; sprd_platform_compr_copy() local [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/link/ |
| H A D | link_dpms.c | 27 * This file owns the programming sequence of stream's dpms state associated 28 * with the link and link's enable/disable sequences as result of the stream's 31 * TODO - The reason link owns stream's dpms programming sequence is 34 * stream state programming sequence. This creates a gray area where the 35 * boundary between link and stream is not clearly defined. 173 * current state results in the stream pointers in the pipe_ctx structs in link_set_all_streams_dpms_off_for_link() 177 streams[i] = pipes[i]->stream; in link_set_all_streams_dpms_off_for_link() 180 stream_update.stream = streams[i]; in link_set_all_streams_dpms_off_for_link() 206 pipe->stream->link == link; in is_master_pipe_for_link() 226 pipe->stream in link_get_master_pipes_with_dpms_on() 697 struct dc_stream_state *stream = pipe_ctx->stream; dp_set_dsc_on_rx() local 710 struct dc_stream_state *stream = pipe_ctx->stream; dp_set_hblank_reduction_on_rx() local 731 struct dc_stream_state *stream = pipe_ctx->stream; link_set_dsc_on_stream() local 892 struct dc_stream_state *stream = pipe_ctx->stream; link_set_dsc_pps_packet() local 1004 struct dc_stream_state *stream = pipe_ctx->stream; enable_stream_features() local 1071 get_pbn_per_slot(struct dc_stream_state * stream) get_pbn_per_slot() argument 1308 struct dc_stream_state *stream = pipe_ctx->stream; deallocate_mst_payload() local 1386 struct dc_stream_state *stream = pipe_ctx->stream; allocate_mst_payload() local 1463 link_calculate_sst_avg_time_slots_per_mtp(const struct dc_stream_state * stream,const struct dc_link * link) link_calculate_sst_avg_time_slots_per_mtp() argument 1483 write_128b_132b_sst_payload_allocation_table(const struct dc_stream_state * stream,struct dc_link * link,struct link_mst_stream_allocation_table * proposed_table,bool allocate) write_128b_132b_sst_payload_allocation_table() argument 1593 struct dc_stream_state *stream = pipe_ctx->stream; update_sst_payload() local 1675 struct dc_stream_state *stream = pipe_ctx->stream; link_reduce_mst_payload() local 1742 struct dc_stream_state *stream = pipe_ctx->stream; link_increase_mst_payload() local 1859 struct dc_stream_state *stream = pipe_ctx->stream; enable_link_hdmi() local 1939 struct dc_stream_state *stream = pipe_ctx->stream; enable_link_hdmi_frl() local 2041 struct dc_stream_state *stream = pipe_ctx->stream; enable_link_dp() local 2170 struct dc_stream_state *stream = pipe_ctx->stream; enable_link_lvds() local 2243 struct dc_stream_state *stream = pipe_ctx->stream; enable_link() local 2305 allocate_usb4_bandwidth_for_stream(struct dc_stream_state * stream,int stream_bw) allocate_usb4_bandwidth_for_stream() argument 2358 allocate_usb4_bandwidth(struct dc_stream_state * stream) allocate_usb4_bandwidth() argument 2376 deallocate_usb4_bandwidth(struct dc_stream_state * stream) deallocate_usb4_bandwidth() argument 2398 struct dc_stream_state *stream = pipe_ctx->stream; link_set_dpms_off() local 2516 struct dc_stream_state *stream = pipe_ctx->stream; link_set_dpms_on_pre_enable_link() local 2664 struct dc_stream_state *stream = pipe_ctx->stream; link_set_dpms_on_enable_link() local 2707 struct dc_stream_state *stream = pipe_ctx->stream; link_set_dpms_on_post_enable_link() local [all...] |
| /linux/drivers/slimbus/ |
| H A D | stream.c | 125 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 D | xen_snd_front_alsa.c | 212 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 D | ia_css_stream_public.h | 173 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 D | mtk_jpeg_dec_parse.c | 20 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/fs/netfs/ |
| H A D | write_issue.c | 25 * stream may also be of various sizes (in cifs, for example, the sizes are 29 * The sequence in each stream may contain gaps and noncontiguous subrequests 160 struct netfs_io_stream *stream, in netfs_prepare_write() argument 174 subreq = netfs_alloc_subrequest(wreq, stream->source); in netfs_prepare_write() 178 subreq->stream_nr = stream->stream_nr; in netfs_prepare_write() 185 stream->sreq_max_len = UINT_MAX; in netfs_prepare_write() 186 stream->sreq_max_segs = INT_MAX; in netfs_prepare_write() 187 switch (stream->source) { in netfs_prepare_write() 190 stream->sreq_max_len = wreq->wsize; in netfs_prepare_write() 200 if (stream in netfs_prepare_write() 230 netfs_do_issue_write(struct netfs_io_stream * stream,struct netfs_io_subrequest * subreq) netfs_do_issue_write() argument 259 netfs_reissue_write(struct netfs_io_stream * stream,struct netfs_io_subrequest * subreq,struct iov_iter * source) netfs_reissue_write() argument 279 netfs_issue_write(struct netfs_io_request * wreq,struct netfs_io_stream * stream) netfs_issue_write() argument 298 netfs_advance_write(struct netfs_io_request * wreq,struct netfs_io_stream * stream,uoff_t start,size_t len,bool to_eof) netfs_advance_write() argument 345 struct netfs_io_stream *stream; netfs_write_folio() local 544 struct netfs_io_stream *stream = &wreq->io_streams[s]; netfs_end_issue_write() local 636 struct netfs_io_stream *stream; netfs_write_folio_single() local [all...] |