/kernel/linux/linux-5.10/sound/soc/intel/atom/sst/ |
H A D | sst_pvt.c | 91 "stream failed %d\n", block->ret_code); in sst_wait_interruptible() 184 * @drv_id: stream id or private id 204 * sst_clean_stream - clean the stream context 206 * @stream: stream structure 208 * this function resets the stream contexts 211 void sst_clean_stream(struct stream_info *stream) in sst_clean_stream() argument 213 stream->status = STREAM_UN_INIT; in sst_clean_stream() 214 stream->prev = STREAM_UN_INIT; in sst_clean_stream() 215 mutex_lock(&stream in sst_clean_stream() [all...] |
/kernel/linux/linux-5.10/sound/soc/sh/ |
H A D | dma-sh7760.c | 123 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_open() 157 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_close() 179 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_hw_params() 202 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in camelot_prepare() 246 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_trigger() 274 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pos()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | core_types.h | 71 const struct dc_stream_state *stream, 121 struct dc_stream_state *stream); 133 struct dc_stream_state *stream); 140 struct dc_stream_state *stream); 170 struct dc_stream_state *stream); 310 struct dc_stream_state *stream; member 389 * @stream_status: The planes on a given stream
|
/kernel/linux/linux-6.6/net/sctp/ |
H A D | chunk.c | 99 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_datamsg_destroy() 108 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_datamsg_destroy() 177 sctp_datachk_len(&asoc->stream)); in sctp_datamsg_from_user() 262 chunk = asoc->stream.si->make_datafrag(asoc, sinfo, len, frag, in sctp_datamsg_from_user() 315 SCTP_SO(&chunk->asoc->stream, in sctp_chunk_abandoned() 330 SCTP_SO(&chunk->asoc->stream, in sctp_chunk_abandoned()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | patch_si3054.c | 145 val &= 0xff << (8 * (substream->stream != SNDRV_PCM_STREAM_PLAYBACK)); in si3054_pcm_prepare() 146 val |= ((stream_tag & 0xf) << 4) << (8 * (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)); in si3054_pcm_prepare() 192 info->stream[SNDRV_PCM_STREAM_PLAYBACK] = si3054_pcm; in si3054_build_pcms() 193 info->stream[SNDRV_PCM_STREAM_CAPTURE] = si3054_pcm; in si3054_build_pcms() 194 info->stream[SNDRV_PCM_STREAM_PLAYBACK].nid = codec->core.mfg; in si3054_build_pcms() 195 info->stream[SNDRV_PCM_STREAM_CAPTURE].nid = codec->core.mfg; in si3054_build_pcms()
|
/kernel/linux/linux-6.6/sound/soc/sh/ |
H A D | dma-sh7760.c | 123 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_open() 157 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_close() 179 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_hw_params() 201 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in camelot_prepare() 245 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_trigger() 273 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pos()
|
/kernel/linux/linux-6.6/sound/soc/intel/atom/sst/ |
H A D | sst_pvt.c | 91 "stream failed %d\n", block->ret_code); in sst_wait_interruptible() 184 * @drv_id: stream id or private id 204 * sst_clean_stream - clean the stream context 206 * @stream: stream structure 208 * this function resets the stream contexts 211 void sst_clean_stream(struct stream_info *stream) in sst_clean_stream() argument 213 stream->status = STREAM_UN_INIT; in sst_clean_stream() 214 stream->prev = STREAM_UN_INIT; in sst_clean_stream() 215 mutex_lock(&stream in sst_clean_stream() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_replay.h | 42 bool amdgpu_dm_replay_enable(struct dc_stream_state *stream, bool enable); 44 bool amdgpu_dm_replay_disable(struct dc_stream_state *stream);
|
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | cadence_master.c | 1238 struct sdw_cdns_pdi **stream, in cdns_allocate_pdi() 1255 *stream = pdi; in cdns_allocate_pdi() 1268 struct sdw_cdns_streams *stream; in sdw_cdns_pdi_init() local 1277 stream = &cdns->pcm; in sdw_cdns_pdi_init() 1282 ret = cdns_allocate_pdi(cdns, &stream->bd, in sdw_cdns_pdi_init() 1283 stream->num_bd, offset); in sdw_cdns_pdi_init() 1287 offset += stream->num_bd; in sdw_cdns_pdi_init() 1289 ret = cdns_allocate_pdi(cdns, &stream->in, in sdw_cdns_pdi_init() 1290 stream->num_in, offset); in sdw_cdns_pdi_init() 1294 offset += stream in sdw_cdns_pdi_init() 1237 cdns_allocate_pdi(struct sdw_cdns *cdns, struct sdw_cdns_pdi **stream, u32 num, u32 pdi_offset) cdns_allocate_pdi() argument 1753 cdns_set_sdw_stream(struct snd_soc_dai *dai, void *stream, int direction) cdns_set_sdw_stream() argument 1868 sdw_cdns_alloc_pdi(struct sdw_cdns *cdns, struct sdw_cdns_streams *stream, u32 ch, u32 dir, int dai_id) sdw_cdns_alloc_pdi() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/au88x0/ |
H A D | au88x0_core.c | 2104 dir: direction of stream. Uses same values as substream->stream. 2112 stream_t *stream; in vortex_adb_allocroute() local 2129 stream = &vortex->dma_adb[dma]; in vortex_adb_allocroute() 2130 stream->dma = dma; in vortex_adb_allocroute() 2131 stream->dir = dir; in vortex_adb_allocroute() 2132 stream->type = type; in vortex_adb_allocroute() 2141 if (stream->type != VORTEX_PCM_SPDIF) { in vortex_adb_allocroute() 2144 stream->resources, en, in vortex_adb_allocroute() 2146 memset(stream in vortex_adb_allocroute() 2349 stream_t *stream = &(vortex->dma_adb[adbdma]); vortex_adb_setsrc() local [all...] |
/kernel/linux/linux-6.6/sound/pci/au88x0/ |
H A D | au88x0_core.c | 2104 dir: direction of stream. Uses same values as substream->stream. 2112 stream_t *stream; in vortex_adb_allocroute() local 2129 stream = &vortex->dma_adb[dma]; in vortex_adb_allocroute() 2130 stream->dma = dma; in vortex_adb_allocroute() 2131 stream->dir = dir; in vortex_adb_allocroute() 2132 stream->type = type; in vortex_adb_allocroute() 2141 if (stream->type != VORTEX_PCM_SPDIF) { in vortex_adb_allocroute() 2144 stream->resources, en, in vortex_adb_allocroute() 2147 memset(stream in vortex_adb_allocroute() 2350 stream_t *stream = &(vortex->dma_adb[adbdma]); vortex_adb_setsrc() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_compat_css20.c | 407 if (!stream_env->stream) in __destroy_stream() 411 && ia_css_stream_stop(stream_env->stream) != 0) { in __destroy_stream() 412 dev_err(isp->dev, "stop stream failed.\n"); in __destroy_stream() 419 if (ia_css_stream_has_stopped(stream_env->stream)) in __destroy_stream() 423 dev_warn(isp->dev, "stop stream timeout.\n"); in __destroy_stream() 433 if (ia_css_stream_destroy(stream_env->stream)) { in __destroy_stream() 434 dev_err(isp->dev, "destroy stream failed.\n"); in __destroy_stream() 438 stream_env->stream = NULL; in __destroy_stream() 477 pipe_index, multi_pipes, &stream_env->stream) != 0) in __create_stream() 479 if (ia_css_stream_get_info(stream_env->stream, in __create_stream() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/power/ |
H A D | power_helpers.c | 856 * @stream: [input] dc stream state pointer 877 const struct dc_stream_state *stream) in mod_power_calc_psr_configs() 887 num_vblank_lines = stream->timing.v_total - in mod_power_calc_psr_configs() 888 stream->timing.v_addressable - in mod_power_calc_psr_configs() 889 stream->timing.v_border_top - in mod_power_calc_psr_configs() 890 stream->timing.v_border_bottom; in mod_power_calc_psr_configs() 892 vblank_time_in_us = (stream->timing.h_total * num_vblank_lines * 1000) / (stream->timing.pix_clk_100hz / 10); in mod_power_calc_psr_configs() 894 line_time_in_us = ((stream in mod_power_calc_psr_configs() 875 mod_power_calc_psr_configs(struct psr_config *psr_config, struct dc_link *link, const struct dc_stream_state *stream) mod_power_calc_psr_configs() argument 936 mod_power_only_edp(const struct dc_state *context, const struct dc_stream_state *stream) mod_power_only_edp() argument 941 psr_su_set_dsc_slice_height(struct dc *dc, struct dc_link *link, struct dc_stream_state *stream, struct psr_config *config) psr_su_set_dsc_slice_height() argument [all...] |
/kernel/linux/linux-5.10/sound/hda/ |
H A D | hdac_stream.c | 3 * HD-audio stream operations 52 * snd_hdac_stream_init - initialize each stream (aka device) 54 * @azx_dev: HD-audio core stream object to initialize 55 * @idx: stream index number 56 * @direction: stream direction (SNDRV_PCM_STREAM_PLAYBACK or SNDRV_PCM_STREAM_CAPTURE) 59 * Assign the starting bdl address to each stream (device) and initialize. 78 * snd_hdac_stream_start - start a stream 79 * @azx_dev: HD-audio core stream to start 82 * Start a stream, set start_wallclk and set the running flag. 125 * snd_hdac_stream_clear - stop a stream DM 130 int stream; snd_hdac_stream_clear() local 181 struct hdac_stream *stream; snd_hdac_stop_streams() local [all...] |
/kernel/linux/linux-5.10/sound/soc/intel/catpt/ |
H A D | loader.c | 91 struct catpt_stream_runtime *stream; in catpt_store_streams_context() local 93 list_for_each_entry(stream, &cdev->stream_list, node) { in catpt_store_streams_context() 97 off = stream->persistent->start; in catpt_store_streams_context() 98 size = resource_size(stream->persistent); in catpt_store_streams_context() 99 dev_dbg(cdev->dev, "storing stream %d ctx: off 0x%08x size %d\n", in catpt_store_streams_context() 100 stream->info.stream_hw_id, off, size); in catpt_store_streams_context() 181 struct catpt_stream_runtime *stream; in catpt_restore_streams_context() local 183 list_for_each_entry(stream, &cdev->stream_list, node) { in catpt_restore_streams_context() 187 off = stream->persistent->start; in catpt_restore_streams_context() 188 size = resource_size(stream in catpt_restore_streams_context() [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/catpt/ |
H A D | loader.c | 91 struct catpt_stream_runtime *stream; in catpt_store_streams_context() local 93 list_for_each_entry(stream, &cdev->stream_list, node) { in catpt_store_streams_context() 97 off = stream->persistent->start; in catpt_store_streams_context() 98 size = resource_size(stream->persistent); in catpt_store_streams_context() 99 dev_dbg(cdev->dev, "storing stream %d ctx: off 0x%08x size %d\n", in catpt_store_streams_context() 100 stream->info.stream_hw_id, off, size); in catpt_store_streams_context() 181 struct catpt_stream_runtime *stream; in catpt_restore_streams_context() local 183 list_for_each_entry(stream, &cdev->stream_list, node) { in catpt_restore_streams_context() 187 off = stream->persistent->start; in catpt_restore_streams_context() 188 size = resource_size(stream in catpt_restore_streams_context() [all...] |
/kernel/linux/linux-6.6/sound/soc/ti/ |
H A D | davinci-i2s.c | 190 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_mcbsp_start() 390 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in davinci_i2s_hw_params() 514 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in davinci_i2s_hw_params() 529 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_prepare() 573 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_trigger() 596 int playback = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); in davinci_i2s_shutdown() 607 int stream; in davinci_i2s_dai_probe() local 609 for_each_pcm_streams(stream) in davinci_i2s_dai_probe() 610 snd_soc_dai_dma_data_set(dai, stream, &dev->dma_data[stream]); in davinci_i2s_dai_probe() [all...] |
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | rkisp.c | 527 rkisp_rawrd_set_pic_size(dev, dev->dmarx_dev.stream[RKISP_STREAM_RAWRD2].out_fmt.width,
in rkisp_trigger_read_back() 528 dev->dmarx_dev.stream[RKISP_STREAM_RAWRD2].out_fmt.height);
in rkisp_trigger_read_back() 748 /* check output stream is off */
in rkisp_check_idle() 813 if (dev->cap_dev.stream[RKISP_STREAM_SP].interlaced) {
in rkisp_config_ism() 1017 /* subdev stream off */
in rkisp_restart_monitor() 1048 /* subdev stream on */
in rkisp_restart_monitor() 1426 if (dev->cap_dev.stream[RKISP_STREAM_SP].interlaced) {
in rkisp_config_isp() 1597 readl(dev->base_addr + CIF_VI_ID), dev->cap_dev.stream[RKISP_STREAM_SP].streaming,
in rkisp_config_cif() 1598 dev->cap_dev.stream[RKISP_STREAM_MP].streaming);
in rkisp_config_cif() 1640 v4l2_warn(&dev->v4l2_dev, "waiting on params stream o in rkisp_start_3a_run() 2485 struct rkisp_stream *stream; rkisp_global_update_mi() local 2563 struct rkisp_stream *stream; rkisp_rx_buf_pool_init() local 2672 struct rkisp_stream *stream = NULL; rkisp_subdev_link_setup() local [all...] |
H A D | common.c | 320 struct rkisp_stream *stream; in rkisp_alloc_common_dummy_buf() local 335 stream = &isp->cap_dev.stream[j]; in rkisp_alloc_common_dummy_buf() 336 if (!stream->linked) { in rkisp_alloc_common_dummy_buf() 339 val = stream->out_isp_fmt.fmt_type == FMT_FBC in rkisp_alloc_common_dummy_buf() 340 ? stream->out_fmt.plane_fmt[1].sizeimage in rkisp_alloc_common_dummy_buf() 341 : stream->out_fmt.plane_fmt[0].bytesperline * stream->out_fmt.height; in rkisp_alloc_common_dummy_buf()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | rkisp.c | 553 dev->dmarx_dev.stream[RKISP_STREAM_RAWRD2].out_fmt.width, in rkisp_trigger_read_back() 554 dev->dmarx_dev.stream[RKISP_STREAM_RAWRD2].out_fmt.height); in rkisp_trigger_read_back() 766 /* check output stream is off */ in rkisp_check_idle() 825 if (dev->cap_dev.stream[RKISP_STREAM_SP].interlaced) in rkisp_config_ism() 1018 /* subdev stream off */ in rkisp_restart_monitor() 1049 /* subdev stream on */ in rkisp_restart_monitor() 1455 if (dev->cap_dev.stream[RKISP_STREAM_SP].interlaced) { in rkisp_config_isp() 1642 dev->cap_dev.stream[RKISP_STREAM_SP].streaming, in rkisp_config_cif() 1643 dev->cap_dev.stream[RKISP_STREAM_MP].streaming); in rkisp_config_cif() 1686 "waiting on params stream o in rkisp_start_3a_run() 2503 struct rkisp_stream *stream; rkisp_global_update_mi() local 2579 struct rkisp_stream *stream; rkisp_rx_buf_pool_init() local 2693 struct rkisp_stream *stream = NULL; rkisp_subdev_link_setup() local [all...] |
H A D | common.c | 314 struct rkisp_stream *stream; in rkisp_alloc_common_dummy_buf() local 327 stream = &isp->cap_dev.stream[j]; in rkisp_alloc_common_dummy_buf() 328 if (!stream->linked) in rkisp_alloc_common_dummy_buf() 330 val = stream->out_isp_fmt.fmt_type == FMT_FBC ? in rkisp_alloc_common_dummy_buf() 331 stream->out_fmt.plane_fmt[1].sizeimage : in rkisp_alloc_common_dummy_buf() 332 stream->out_fmt.plane_fmt[0].bytesperline * in rkisp_alloc_common_dummy_buf() 333 stream->out_fmt.height; in rkisp_alloc_common_dummy_buf()
|
/kernel/linux/linux-5.10/net/wireless/ |
H A D | wext-core.c | 1130 char *iwe_stream_add_event(struct iw_request_info *info, char *stream, in iwe_stream_add_event() argument 1138 if (likely((stream + event_len) < ends)) { in iwe_stream_add_event() 1141 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); in iwe_stream_add_event() 1142 memcpy(stream + lcp_len, &iwe->u, in iwe_stream_add_event() 1144 stream += event_len; in iwe_stream_add_event() 1147 return stream; in iwe_stream_add_event() 1151 char *iwe_stream_add_point(struct iw_request_info *info, char *stream, in iwe_stream_add_point() argument 1159 if (likely((stream + event_len) < ends)) { in iwe_stream_add_point() 1161 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); in iwe_stream_add_point() 1162 memcpy(stream in iwe_stream_add_point() [all...] |
/kernel/linux/linux-6.6/net/wireless/ |
H A D | wext-core.c | 1149 char *iwe_stream_add_event(struct iw_request_info *info, char *stream, in iwe_stream_add_event() argument 1157 if (likely((stream + event_len) < ends)) { in iwe_stream_add_event() 1160 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); in iwe_stream_add_event() 1161 memcpy(stream + lcp_len, &iwe->u, in iwe_stream_add_event() 1163 stream += event_len; in iwe_stream_add_event() 1166 return stream; in iwe_stream_add_event() 1170 char *iwe_stream_add_point(struct iw_request_info *info, char *stream, in iwe_stream_add_point() argument 1178 if (likely((stream + event_len) < ends)) { in iwe_stream_add_point() 1180 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); in iwe_stream_add_point() 1181 memcpy(stream in iwe_stream_add_point() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | processor.c | 186 static void pte_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent, uint64_t page, int level) in pte_dump() argument 199 fprintf(stream, "%*s%s: %lx: %lx at %p\n", indent, "", type[level], pte, *ptep, ptep); in pte_dump() 200 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level + 1); in pte_dump() 205 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent) in virt_dump() argument 217 fprintf(stream, "%*spgd: %lx: %lx at %p\n", indent, "", pgd, *ptep, ptep); in virt_dump() 218 pte_dump(stream, vm, indent + 1, pte_addr(vm, *ptep), level); in virt_dump() 304 void vcpu_dump(FILE *stream, struct kvm_vm *vm, uint32_t vcpuid, uint8_t indent) in vcpu_dump() argument 311 fprintf(stream, "%*spstate: 0x%.16lx pc: 0x%.16lx\n", in vcpu_dump()
|
/kernel/linux/linux-5.10/drivers/soundwire/ |
H A D | generic_bandwidth_allocation.c | 51 rate = m_rt->stream->params.rate; in sdw_compute_slave_ports() 52 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports() 80 * of the stream, which indicates that they operate in in sdw_compute_slave_ports() 100 rate = m_rt->stream->params.rate; in sdw_compute_master_ports() 101 bps = m_rt->stream->params.bps; in sdw_compute_master_ports() 160 m_rt->stream->params.bps; in _sdw_compute_port_params() 184 rate = m_rt->stream->params.rate; in sdw_compute_group_params() 185 bps = m_rt->stream->params.bps; in sdw_compute_group_params() 253 rate = m_rt->stream->params.rate; in sdw_get_group_count()
|