/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 | 53 struct snd_compr_stream stream; member 59 static void snd_compr_task_free_all(struct snd_compr_stream *stream); 61 static inline void snd_compr_task_free_all(struct snd_compr_stream *stream) { } in snd_compr_task_free_all() argument 65 * a note on stream states used: 67 * SNDRV_PCM_STATE_OPEN: When stream has been opened. 68 * SNDRV_PCM_STATE_SETUP: When stream has been initialized. This is done by 71 * SNDRV_PCM_STATE_PREPARED: When a stream has been written to (for 72 * playback only). User after setting up stream writes the data buffer 73 * before starting the stream. 74 * SNDRV_PCM_STATE_RUNNING: When stream has been started and is [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_stream.c | 48 void update_stream_signal(struct dc_stream_state *stream, struct dc_sink *sink) in update_stream_signal() argument 51 stream->signal = stream->link->connector_signal; in update_stream_signal() 53 stream->signal = sink->sink_signal; in update_stream_signal() 55 if (dc_is_dvi_signal(stream->signal)) { in update_stream_signal() 56 if (stream->ctx->dc->caps.dual_link_dvi && in update_stream_signal() 57 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal() 59 stream->signal = SIGNAL_TYPE_DVI_DUAL_LINK; in update_stream_signal() 61 stream->signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in update_stream_signal() 65 bool dc_stream_construct(struct dc_stream_state *stream, in dc_stream_construct() argument 70 stream->sink = dc_sink_data; in dc_stream_construct() [all …]
|
H A D | dc_link_enc_cfg.c | 31 /* Check whether stream is supported by DIG link encoders. */ 32 static bool is_dig_link_enc_stream(struct dc_stream_state *stream) in is_dig_link_enc_stream() argument 39 if (stream) { in is_dig_link_enc_stream() 40 for (i = 0; i < stream->ctx->dc->res_pool->res_cap->num_dig_link_enc; i++) { in is_dig_link_enc_stream() 41 link_enc = stream->ctx->dc->res_pool->link_encoders[i]; in is_dig_link_enc_stream() 43 /* Need to check link signal type rather than stream signal type which may not in is_dig_link_enc_stream() 46 if (link_enc && ((uint32_t)stream->link->connector_signal & link_enc->output_signals)) { in is_dig_link_enc_stream() 47 if (dc_is_dp_signal(stream->signal)) { in is_dig_link_enc_stream() 51 stream->ctx->dc->link_srv->dp_decide_link_settings(stream, &link_settings); in is_dig_link_enc_stream() 79 /* Return stream using DIG link encoder resource. NULL if unused. */ [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_stream_public.h | 31 IA_CSS_INPUT_MODE_PRBS, /** data from pseudo-random bit stream */ 44 stream */ 59 enum atomisp_input_format format; /** Format of input stream. This data 74 enum atomisp_input_format format; /** Format of input stream. This data 80 /* Input stream description. This describes how input will flow into the 135 /* Stream info, this struct describes properties of a stream after it has been 143 /* @brief Load default stream configuration 144 * @param[in,out] stream_config The stream configuration. 147 * This function will reset the stream configuration to the default state: 160 /* @brief Creates a stream [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(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 …]
|
/linux/lib/kunit/ |
H A D | string-stream.c | 3 * C++ stream style string builder used in KUnit for building messages. 14 #include "string-stream.h" 41 int string_stream_vadd(struct string_stream *stream, in string_stream_vadd() argument 61 if (stream->append_newlines) in string_stream_vadd() 67 frag_container = alloc_string_stream_fragment(buf_len, stream->gfp); in string_stream_vadd() 71 if (stream->append_newlines) { in string_stream_vadd() 82 spin_lock(&stream->lock); in string_stream_vadd() 83 stream->length += result_len; in string_stream_vadd() 84 list_add_tail(&frag_container->node, &stream->fragments); in string_stream_vadd() 85 spin_unlock(&stream->lock); in string_stream_vadd() [all …]
|
H A D | assert_test.c | 7 #include "string-stream.h" 40 /* this function is used to get a "char *" string from the string stream and defer its cleanup */ 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() [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() [all …]
|
H A D | stream.c | 10 * This file contains sctp stream maniuplation primitives and helpers. 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() 68 /* Migrates chunks from stream queues to new stream queues if needed, [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->fc_list); in sctp_sched_fc_init() [all …]
|
H A D | stream_sched_prio.c | 7 * These functions manipulate sctp stream queue/scheduling. 26 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() 114 /* Try to move to the next stream */ in sctp_sched_prio_unsched() [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_oa.c | 137 static u32 xe_oa_circ_diff(struct xe_oa_stream *stream, u32 tail, u32 head) in xe_oa_circ_diff() argument 140 tail + stream->oa_buffer.circ_size - head; in xe_oa_circ_diff() 143 static u32 xe_oa_circ_incr(struct xe_oa_stream *stream, u32 ptr, u32 n) in xe_oa_circ_incr() argument 145 return ptr + n >= stream->oa_buffer.circ_size ? in xe_oa_circ_incr() 146 ptr + n - stream->oa_buffer.circ_size : ptr + n; in xe_oa_circ_incr() 192 static const struct xe_oa_regs *__oa_regs(struct xe_oa_stream *stream) in __oa_regs() argument 194 return &stream->hwe->oa_unit->regs; in __oa_regs() 197 static u32 xe_oa_hw_tail_read(struct xe_oa_stream *stream) in xe_oa_hw_tail_read() argument 199 return xe_mmio_read32(&stream->gt->mmio, __oa_regs(stream)->oa_tail_ptr) & in xe_oa_hw_tail_read() 206 static u64 oa_report_id(struct xe_oa_stream *stream, void *report) in oa_report_id() argument [all …]
|
/linux/drivers/media/test-drivers/vimc/ |
H A D | vimc-streamer.c | 40 * vimc_streamer_pipeline_terminate - Disable stream in all ved in stream 42 * @stream: the pointer to the stream structure with the pipeline to be 45 * Calls s_stream to disable the stream in each entity of the pipeline 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() 67 * vimc_streamer_pipeline_init - Initializes the stream structure 69 * @stream: the pointer to the stream structure to be initialized [all …]
|
/linux/drivers/slimbus/ |
H A D | stream.c | 55 * The Presence rate of a constant bitrate stream is mean flow rate of the 56 * stream expressed in occupied Segments of that Data Channel per second. 90 * slim_stream_allocate() - Allocate a new SLIMbus Stream 92 * @name: name of the stream 95 * a new SLIMbus stream and return a valid stream runtime pointer for client 96 * to use it in subsequent stream apis. state of stream is set to ALLOCATED 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 [all …]
|
/linux/sound/soc/intel/atom/ |
H A D | sst-mfld-platform-compress.c | 23 /* compress stream operations */ 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() [all …]
|
/linux/drivers/soundwire/ |
H A D | stream.c | 5 * stream.c - SoundWire Bus stream operations. 264 * @m_rt: Master stream runtime 372 * @m_rt: Master stream runtime 675 * explicitly preparing a stream or handling an in sdw_bank_switch() 676 * already-prepared stream otherwise. in sdw_bank_switch() 679 m_rt->stream->state == SDW_STREAM_CONFIGURED) in sdw_bank_switch() 697 if (m_rt->stream->state != SDW_STREAM_ENABLED) in sdw_bank_switch() 781 * @multi_link: whether this is a multi-link stream with hardware-based sync in do_bank_switch() 813 static int do_bank_switch(struct sdw_stream_runtime *stream) in do_bank_switch() 777 do_bank_switch(struct sdw_stream_runtime * stream) do_bank_switch() argument 926 sdw_slave_port_free(struct sdw_slave * slave,struct sdw_stream_runtime * stream) sdw_slave_port_free() argument 1091 sdw_slave_rt_find(struct sdw_slave * slave,struct sdw_stream_runtime * stream) sdw_slave_rt_find() argument 1116 sdw_slave_rt_free(struct sdw_slave * slave,struct sdw_stream_runtime * stream) sdw_slave_rt_free() argument 1129 sdw_master_rt_find(struct sdw_bus * bus,struct sdw_stream_runtime * stream) sdw_master_rt_find() argument 1152 sdw_master_rt_alloc(struct sdw_bus * bus,struct sdw_stream_runtime * stream) sdw_master_rt_alloc() argument 1219 sdw_master_rt_free(struct sdw_master_runtime * m_rt,struct sdw_stream_runtime * stream) sdw_master_rt_free() argument 1247 sdw_config_stream(struct device * dev,struct sdw_stream_runtime * stream,struct sdw_stream_config * stream_config,bool is_slave) sdw_config_stream() argument 1323 sdw_acquire_bus_lock(struct sdw_stream_runtime * stream) sdw_acquire_bus_lock() argument 1345 sdw_release_bus_lock(struct sdw_stream_runtime * stream) sdw_release_bus_lock() argument 1357 _sdw_prepare_stream(struct sdw_stream_runtime * stream,bool update_params) _sdw_prepare_stream() argument 1437 sdw_prepare_stream(struct sdw_stream_runtime * stream) sdw_prepare_stream() argument 1480 _sdw_enable_stream(struct sdw_stream_runtime * stream) _sdw_enable_stream() argument 1523 sdw_enable_stream(struct sdw_stream_runtime * stream) sdw_enable_stream() argument 1555 _sdw_disable_stream(struct sdw_stream_runtime * stream) _sdw_disable_stream() argument 1611 sdw_disable_stream(struct sdw_stream_runtime * stream) sdw_disable_stream() argument 1642 _sdw_deprepare_stream(struct sdw_stream_runtime * stream) _sdw_deprepare_stream() argument 1691 sdw_deprepare_stream(struct sdw_stream_runtime * stream) sdw_deprepare_stream() argument 1754 struct sdw_stream_runtime *stream; sdw_alloc_stream() local 1853 sdw_release_stream(struct sdw_stream_runtime * stream) sdw_release_stream() argument 1872 sdw_stream_add_master(struct sdw_bus * bus,struct sdw_stream_config * stream_config,const struct sdw_port_config * port_config,unsigned int num_ports,struct sdw_stream_runtime * stream) sdw_stream_add_master() argument 1950 sdw_stream_remove_master(struct sdw_bus * bus,struct sdw_stream_runtime * stream) sdw_stream_remove_master() argument 1992 sdw_stream_add_slave(struct sdw_slave * slave,struct sdw_stream_config * stream_config,const struct sdw_port_config * port_config,unsigned int num_ports,struct sdw_stream_runtime * stream) sdw_stream_add_slave() argument 2093 sdw_stream_remove_slave(struct sdw_slave * slave,struct sdw_stream_runtime * stream) sdw_stream_remove_slave() argument [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 = 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/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->buffer_sz = 0; in stream_clear() 222 stream->pages = NULL; in stream_clear() [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 36 * descriptor representing a stream of GPU metrics which can then be read() as 37 * a stream of sample records. 56 * i915 perf file descriptors represent a "stream" instead of an "event"; where 57 * a perf event primarily corresponds to a single 64bit value, while a stream 61 * of related counters. Samples for an i915 perf stream capturing OA metrics 64 * selected by the user opening the stream. Perf has support for grouping 68 * i915 perf stream configurations are provided as an array of u64 (key,value) 343 * struct perf_open_properties - for validated properties given to open a stream 362 * to open a stream of metrics the configuration is built up in the structure 431 struct i915_perf_regs *__oa_regs(struct i915_perf_stream *stream) in __oa_regs() argument 436 gen12_oa_hw_tail_read(struct i915_perf_stream * stream) gen12_oa_hw_tail_read() argument 444 gen8_oa_hw_tail_read(struct i915_perf_stream * stream) gen8_oa_hw_tail_read() argument 451 gen7_oa_hw_tail_read(struct i915_perf_stream * stream) gen7_oa_hw_tail_read() argument 462 oa_report_id(struct i915_perf_stream * stream,void * report) oa_report_id() argument 467 oa_report_reason(struct i915_perf_stream * stream,void * report) oa_report_reason() argument 475 oa_report_id_clear(struct i915_perf_stream * stream,u32 * report) oa_report_id_clear() argument 483 oa_report_ctx_invalid(struct i915_perf_stream * stream,void * report) oa_report_ctx_invalid() argument 489 oa_timestamp(struct i915_perf_stream * stream,void * report) oa_timestamp() argument 496 oa_timestamp_clear(struct i915_perf_stream * stream,u32 * report) oa_timestamp_clear() argument 504 oa_context_id(struct i915_perf_stream * stream,u32 * report) oa_context_id() argument 511 oa_context_id_squash(struct i915_perf_stream * stream,u32 * report) oa_context_id_squash() argument 542 oa_buffer_check_unlocked(struct i915_perf_stream * stream) oa_buffer_check_unlocked() argument 624 append_oa_status(struct i915_perf_stream * stream,char __user * buf,size_t count,size_t * offset,enum drm_i915_perf_record_type type) append_oa_status() argument 660 append_oa_sample(struct i915_perf_stream * stream,char __user * buf,size_t count,size_t * offset,const u8 * report) append_oa_sample() argument 724 gen8_append_oa_reports(struct i915_perf_stream * stream,char __user * buf,size_t count,size_t * offset) gen8_append_oa_reports() argument 943 gen8_oa_read(struct i915_perf_stream * stream,char __user * buf,size_t count,size_t * offset) gen8_oa_read() argument 1034 gen7_append_oa_reports(struct i915_perf_stream * stream,char __user * buf,size_t count,size_t * offset) gen7_append_oa_reports() argument 1148 gen7_oa_read(struct i915_perf_stream * stream,char __user * buf,size_t count,size_t * offset) gen7_oa_read() argument 1231 i915_oa_wait_unlocked(struct i915_perf_stream * stream) i915_oa_wait_unlocked() argument 1251 i915_oa_poll_wait(struct i915_perf_stream * stream,struct file * file,poll_table * wait) i915_oa_poll_wait() argument 1270 i915_oa_read(struct i915_perf_stream * stream,char __user * buf,size_t count,size_t * offset) i915_oa_read() argument 1278 oa_pin_context(struct i915_perf_stream * stream) oa_pin_context() argument 1410 gen12_get_render_context_id(struct i915_perf_stream * stream) gen12_get_render_context_id() argument 1522 oa_get_render_ctx_id(struct i915_perf_stream * stream) oa_get_render_ctx_id() argument 1612 oa_put_render_ctx_id(struct i915_perf_stream * stream) oa_put_render_ctx_id() argument 1627 free_oa_buffer(struct i915_perf_stream * stream) free_oa_buffer() argument 1636 free_oa_configs(struct i915_perf_stream * stream) free_oa_configs() argument 1646 free_noa_wait(struct i915_perf_stream * stream) free_noa_wait() argument 1661 i915_oa_stream_destroy(struct i915_perf_stream * stream) i915_oa_stream_destroy() argument 1696 gen7_init_oa_buffer(struct i915_perf_stream * stream) gen7_init_oa_buffer() argument 1741 gen8_init_oa_buffer(struct i915_perf_stream * stream) gen8_init_oa_buffer() argument 1794 gen12_init_oa_buffer(struct i915_perf_stream * stream) gen12_init_oa_buffer() argument 1848 alloc_oa_buffer(struct i915_perf_stream * stream) alloc_oa_buffer() argument 1910 save_restore_register(struct i915_perf_stream * stream,u32 * cs,bool save,i915_reg_t reg,u32 offset,u32 dword_count) save_restore_register() argument 1932 alloc_noa_wait(struct i915_perf_stream * stream) alloc_noa_wait() argument 2189 alloc_oa_config_buffer(struct i915_perf_stream * stream,struct i915_oa_config * oa_config) alloc_oa_config_buffer() argument 2277 get_oa_vma(struct i915_perf_stream * stream,struct i915_oa_config * oa_config) get_oa_vma() argument 2302 emit_oa_config(struct i915_perf_stream * stream,struct i915_oa_config * oa_config,struct intel_context * ce,struct i915_active * active) emit_oa_config() argument 2372 oa_context(struct i915_perf_stream * stream) oa_context() argument 2378 hsw_enable_metric_set(struct i915_perf_stream * stream,struct i915_active * active) hsw_enable_metric_set() argument 2403 hsw_disable_metric_set(struct i915_perf_stream * stream) hsw_disable_metric_set() argument 2445 gen8_update_reg_state_unlocked(const struct intel_context * ce,const struct i915_perf_stream * stream) gen8_update_reg_state_unlocked() argument 2576 gen8_configure_context(struct i915_perf_stream * stream,struct i915_gem_context * ctx,struct flex * flex,unsigned int count) gen8_configure_context() argument 2606 gen12_configure_oar_context(struct i915_perf_stream * stream,struct i915_active * active) gen12_configure_oar_context() argument 2682 oa_configure_all_contexts(struct i915_perf_stream * stream,struct flex * regs,size_t num_regs,struct i915_active * active) oa_configure_all_contexts() argument 2752 lrc_configure_all_contexts(struct i915_perf_stream * stream,const struct i915_oa_config * oa_config,struct i915_active * active) lrc_configure_all_contexts() argument 2794 gen8_enable_metric_set(struct i915_perf_stream * stream,struct i915_active * active) gen8_enable_metric_set() argument 2844 oag_report_ctx_switches(const struct i915_perf_stream * stream) oag_report_ctx_switches() argument 2852 gen12_enable_metric_set(struct i915_perf_stream * stream,struct i915_active * active) gen12_enable_metric_set() argument 2916 gen8_disable_metric_set(struct i915_perf_stream * stream) gen8_disable_metric_set() argument 2926 gen11_disable_metric_set(struct i915_perf_stream * stream) gen11_disable_metric_set() argument 2937 gen12_disable_metric_set(struct i915_perf_stream * stream) gen12_disable_metric_set() argument 2967 gen7_oa_enable(struct i915_perf_stream * stream) gen7_oa_enable() argument 2997 gen8_oa_enable(struct i915_perf_stream * stream) gen8_oa_enable() argument 3023 gen12_oa_enable(struct i915_perf_stream * stream) gen12_oa_enable() argument 3053 i915_oa_stream_enable(struct i915_perf_stream * stream) i915_oa_stream_enable() argument 3065 gen7_oa_disable(struct i915_perf_stream * stream) gen7_oa_disable() argument 3077 gen8_oa_disable(struct i915_perf_stream * stream) gen8_oa_disable() argument 3089 gen12_oa_disable(struct i915_perf_stream * stream) gen12_oa_disable() argument 3118 i915_oa_stream_disable(struct i915_perf_stream * stream) i915_oa_stream_disable() argument 3135 i915_perf_stream_enable_sync(struct i915_perf_stream * stream) i915_perf_stream_enable_sync() argument 3228 i915_oa_stream_init(struct i915_perf_stream * stream,struct drm_i915_perf_open_param * param,struct perf_open_properties * props) i915_oa_stream_init() argument 3396 struct i915_perf_stream *stream; i915_oa_init_reg_state() local 3430 struct i915_perf_stream *stream = file->private_data; i915_perf_read() local 3484 struct i915_perf_stream *stream = oa_poll_check_timer_cb() local 3510 i915_perf_poll_locked(struct i915_perf_stream * stream,struct file * file,poll_table * wait) i915_perf_poll_locked() argument 3545 struct i915_perf_stream *stream = file->private_data; i915_perf_poll() local 3565 i915_perf_enable_locked(struct i915_perf_stream * stream) i915_perf_enable_locked() argument 3594 i915_perf_disable_locked(struct i915_perf_stream * stream) i915_perf_disable_locked() argument 3609 i915_perf_config_locked(struct i915_perf_stream * stream,unsigned long metrics_set) i915_perf_config_locked() argument 3652 i915_perf_ioctl_locked(struct i915_perf_stream * stream,unsigned int cmd,unsigned long arg) i915_perf_ioctl_locked() argument 3685 struct i915_perf_stream *stream = file->private_data; i915_perf_ioctl() local 3705 i915_perf_destroy_locked(struct i915_perf_stream * stream) i915_perf_destroy_locked() argument 3732 struct i915_perf_stream *stream = file->private_data; i915_perf_release() local 3796 struct i915_perf_stream *stream = NULL; i915_perf_open_ioctl_locked() 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. 164 stream_update.stream = pipes[i]->stream; in link_set_all_streams_dpms_off_for_link() 166 pipes[i]->stream, &stream_update, in link_set_all_streams_dpms_off_for_link() 189 pipe->stream->link == link; in is_master_pipe_for_link() 209 pipe->stream->dpms_off == false) { in link_get_master_pipes_with_dpms_on() 222 pipe_ctx->stream->ctx->dc_bios->integrated_info; in get_ext_hdmi_settings() [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-jpeg.c | 41 #define SOS 0xffda /* start of stream */ 97 * interchange format JPEG stream or an abbreviated format table specification 98 * data stream. Specifies the huffman table used for encoding the luminance DC 110 * interchange format JPEG stream or an abbreviated format table specification 111 * data stream. Specifies the huffman table used for encoding the luminance AC 135 * stream or an abbreviated format table specification data stream. 148 * interchange format JPEG stream or an abbreviated format table specification 149 * data stream. Specifies the huffman table used for encoding the chrominance 172 * struct jpeg_stream - JPEG byte stream 173 * @curr: current position in stream [all …]
|
/linux/Documentation/driver-api/soundwire/ |
H A D | stream.rst | 2 Audio Stream in SoundWire 5 An audio stream is a logical or virtual connection created between 16 audio stream contains one or more channels of data. All channels within 17 stream must have same sample rate and same sample size. 19 Assume a stream with two channels (Left & Right) is opened using SoundWire 20 interface. Below are some ways a stream can be represented in SoundWire. 22 Stream Sample in memory (System memory, DSP memory or FIFOs) :: 28 Example 1: Stereo Stream with L and R channels is rendered from Master to 41 Example 2: Stereo Stream with L and R channels is captured from Slave to 55 Example 3: Stereo Stream with L and R channels is rendered by Master. Each [all …]
|