hstream 57 include/sound/hdaudio_ext.h struct hdac_stream hstream; hstream 76 include/sound/hdaudio_ext.h #define hdac_stream(s) (&(s)->hstream) hstream 78 include/sound/hdaudio_ext.h container_of(s, struct hdac_ext_stream, hstream) hstream 105 include/sound/hdaudio_ext.h void snd_hdac_ext_link_stream_start(struct hdac_ext_stream *hstream); hstream 106 include/sound/hdaudio_ext.h void snd_hdac_ext_link_stream_clear(struct hdac_ext_stream *hstream); hstream 107 include/sound/hdaudio_ext.h void snd_hdac_ext_link_stream_reset(struct hdac_ext_stream *hstream); hstream 57 sound/hda/ext/hdac_ext_stream.c snd_hdac_stream_init(bus, &stream->hstream, idx, direction, tag); hstream 118 sound/hda/ext/hdac_ext_stream.c struct hdac_stream *hstream = &stream->hstream; hstream 120 sound/hda/ext/hdac_ext_stream.c int mask = AZX_PPCTL_PROCEN(hstream->index); hstream 201 sound/hda/ext/hdac_ext_stream.c struct hdac_stream *hstream = &stream->hstream; hstream 209 sound/hda/ext/hdac_ext_stream.c (hstream->stream_tag << AZX_PPLCCTL_STRM_SHIFT); hstream 256 sound/hda/ext/hdac_ext_stream.c struct hdac_ext_stream *hstream = container_of(stream, hstream 258 sound/hda/ext/hdac_ext_stream.c hstream); hstream 263 sound/hda/ext/hdac_ext_stream.c if (hstream->decoupled && !hstream->link_locked) { hstream 264 sound/hda/ext/hdac_ext_stream.c res = hstream; hstream 268 sound/hda/ext/hdac_ext_stream.c if (!hstream->link_locked) { hstream 269 sound/hda/ext/hdac_ext_stream.c snd_hdac_ext_stream_decouple(bus, hstream, true); hstream 270 sound/hda/ext/hdac_ext_stream.c res = hstream; hstream 296 sound/hda/ext/hdac_ext_stream.c struct hdac_ext_stream *hstream = container_of(stream, hstream 298 sound/hda/ext/hdac_ext_stream.c hstream); hstream 303 sound/hda/ext/hdac_ext_stream.c if (!hstream->decoupled) hstream 304 sound/hda/ext/hdac_ext_stream.c snd_hdac_ext_stream_decouple(bus, hstream, true); hstream 305 sound/hda/ext/hdac_ext_stream.c res = hstream; hstream 311 sound/hda/ext/hdac_ext_stream.c res->hstream.opened = 1; hstream 312 sound/hda/ext/hdac_ext_stream.c res->hstream.running = 0; hstream 313 sound/hda/ext/hdac_ext_stream.c res->hstream.substream = substream; hstream 341 sound/hda/ext/hdac_ext_stream.c struct hdac_ext_stream *hstream = NULL; hstream 348 sound/hda/ext/hdac_ext_stream.c hstream = container_of(stream, hstream 349 sound/hda/ext/hdac_ext_stream.c struct hdac_ext_stream, hstream); hstream 350 sound/hda/ext/hdac_ext_stream.c return hstream; hstream 373 sound/hda/ext/hdac_ext_stream.c struct hdac_bus *bus = stream->hstream.bus; hstream 377 sound/hda/ext/hdac_ext_stream.c snd_hdac_stream_release(&stream->hstream); hstream 383 sound/hda/ext/hdac_ext_stream.c snd_hdac_stream_release(&stream->hstream); hstream 387 sound/hda/ext/hdac_ext_stream.c if (stream->decoupled && !stream->hstream.opened) hstream 539 sound/hda/ext/hdac_ext_stream.c snd_hdac_stream_writel(&stream->hstream, SD_LPIB, value); hstream 65 sound/soc/intel/skylake/skl-pcm.c struct hdac_stream *hstream = hdac_stream(stream); hstream 66 sound/soc/intel/skylake/skl-pcm.c struct hdac_bus *bus = hstream->bus; hstream 137 sound/soc/intel/skylake/skl-pcm.c struct hdac_stream *hstream; hstream 141 sound/soc/intel/skylake/skl-pcm.c hstream = snd_hdac_get_stream(bus, params->stream, hstream 143 sound/soc/intel/skylake/skl-pcm.c if (!hstream) hstream 146 sound/soc/intel/skylake/skl-pcm.c stream = stream_to_hdac_ext_stream(hstream); hstream 184 sound/soc/intel/skylake/skl-pcm.c struct hdac_stream *hstream; hstream 189 sound/soc/intel/skylake/skl-pcm.c hstream = snd_hdac_get_stream(bus, params->stream, hstream 191 sound/soc/intel/skylake/skl-pcm.c if (!hstream) hstream 194 sound/soc/intel/skylake/skl-pcm.c stream = stream_to_hdac_ext_stream(hstream); hstream 206 sound/soc/intel/skylake/skl-pcm.c stream_tag = hstream->stream_tag; hstream 207 sound/soc/intel/skylake/skl-pcm.c if (stream->hstream.direction == SNDRV_PCM_STREAM_PLAYBACK) { hstream 1184 sound/soc/intel/skylake/skl-pcm.c struct hdac_ext_stream *hstream = get_hdac_ext_stream(substream); hstream 1212 sound/soc/intel/skylake/skl-pcm.c hdac_stream(hstream)->index)); hstream 1218 sound/soc/intel/skylake/skl-pcm.c hdac_stream(hstream)->index)); hstream 1219 sound/soc/intel/skylake/skl-pcm.c pos = snd_hdac_stream_get_pos_posbuf(hdac_stream(hstream)); hstream 1222 sound/soc/intel/skylake/skl-pcm.c if (pos >= hdac_stream(hstream)->bufsize) hstream 71 sound/soc/sof/intel/hda-dai.c struct hdac_ext_stream *hstream = hstream 76 sound/soc/sof/intel/hda-dai.c hda_stream = hstream_to_sof_hda_stream(hstream); hstream 79 sound/soc/sof/intel/hda-dai.c if (!hstream->link_locked) { hstream 87 sound/soc/sof/intel/hda-dai.c res = hstream; hstream 91 sound/soc/sof/intel/hda-dai.c res = hstream; hstream 122 sound/soc/sof/intel/hda-dai.c struct hdac_stream *hstream = &stream->hstream; hstream 123 sound/soc/sof/intel/hda-dai.c unsigned char stream_tag = hstream->stream_tag; hstream 124 sound/soc/sof/intel/hda-dai.c struct hdac_bus *bus = hstream->bus; hstream 140 sound/soc/sof/intel/hda-dai.c if (stream->hstream.direction == SNDRV_PCM_STREAM_PLAYBACK) { hstream 202 sound/soc/sof/intel/hda-dai.c struct hdac_stream *hstream = substream->runtime->private_data; hstream 203 sound/soc/sof/intel/hda-dai.c struct hdac_bus *bus = hstream->bus; hstream 286 sound/soc/sof/intel/hda-dai.c struct hdac_stream *hstream; hstream 291 sound/soc/sof/intel/hda-dai.c hstream = substream->runtime->private_data; hstream 292 sound/soc/sof/intel/hda-dai.c bus = hstream->bus; hstream 352 sound/soc/sof/intel/hda-dai.c struct hdac_stream *hstream; hstream 357 sound/soc/sof/intel/hda-dai.c hstream = substream->runtime->private_data; hstream 358 sound/soc/sof/intel/hda-dai.c bus = hstream->bus; hstream 286 sound/soc/sof/intel/hda-ipc.c struct hdac_stream *hstream = substream->runtime->private_data; hstream 289 sound/soc/sof/intel/hda-ipc.c hda_stream = container_of(hstream, hstream 291 sound/soc/sof/intel/hda-ipc.c hda_stream.hstream); hstream 294 sound/soc/sof/intel/hda-ipc.c if (hstream) hstream 304 sound/soc/sof/intel/hda-ipc.c struct hdac_stream *hstream = substream->runtime->private_data; hstream 309 sound/soc/sof/intel/hda-ipc.c hda_stream = container_of(hstream, struct sof_intel_hda_stream, hstream 310 sound/soc/sof/intel/hda-ipc.c hda_stream.hstream); hstream 31 sound/soc/sof/intel/hda-loader.c struct hdac_stream *hstream; hstream 46 sound/soc/sof/intel/hda-loader.c hstream = &dsp_stream->hstream; hstream 47 sound/soc/sof/intel/hda-loader.c hstream->substream = NULL; hstream 56 sound/soc/sof/intel/hda-loader.c hstream->period_bytes = 0;/* initialize period_bytes */ hstream 57 sound/soc/sof/intel/hda-loader.c hstream->format_val = format; hstream 58 sound/soc/sof/intel/hda-loader.c hstream->bufsize = size; hstream 68 sound/soc/sof/intel/hda-loader.c return hstream->stream_tag; hstream 71 sound/soc/sof/intel/hda-loader.c hda_dsp_stream_put(sdev, direction, hstream->stream_tag); hstream 165 sound/soc/sof/intel/hda-loader.c struct hdac_stream *hstream = &stream->hstream; hstream 166 sound/soc/sof/intel/hda-loader.c int sd_offset = SOF_STREAM_SD_OFFSET(hstream); hstream 175 sound/soc/sof/intel/hda-loader.c 1 << hstream->index, hstream 176 sound/soc/sof/intel/hda-loader.c 1 << hstream->index); hstream 185 sound/soc/sof/intel/hda-loader.c hstream->running = true; hstream 212 sound/soc/sof/intel/hda-loader.c struct hdac_stream *hstream = &stream->hstream; hstream 213 sound/soc/sof/intel/hda-loader.c int sd_offset = SOF_STREAM_SD_OFFSET(hstream); hstream 219 sound/soc/sof/intel/hda-loader.c hstream->stream_tag); hstream 220 sound/soc/sof/intel/hda-loader.c hstream->running = 0; hstream 221 sound/soc/sof/intel/hda-loader.c hstream->substream = NULL; hstream 232 sound/soc/sof/intel/hda-loader.c hstream->bufsize = 0; hstream 233 sound/soc/sof/intel/hda-loader.c hstream->format_val = 0; hstream 88 sound/soc/sof/intel/hda-pcm.c struct hdac_stream *hstream = substream->runtime->private_data; hstream 89 sound/soc/sof/intel/hda-pcm.c struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream); hstream 99 sound/soc/sof/intel/hda-pcm.c hstream->substream = substream; hstream 103 sound/soc/sof/intel/hda-pcm.c hstream->format_val = rate | bits | (params_channels(params) - 1); hstream 104 sound/soc/sof/intel/hda-pcm.c hstream->bufsize = size; hstream 105 sound/soc/sof/intel/hda-pcm.c hstream->period_bytes = params_period_bytes(params); hstream 106 sound/soc/sof/intel/hda-pcm.c hstream->no_period_wakeup = hstream 123 sound/soc/sof/intel/hda-pcm.c ipc_params->stream_tag = hstream->stream_tag; hstream 131 sound/soc/sof/intel/hda-pcm.c struct hdac_stream *hstream = substream->runtime->private_data; hstream 132 sound/soc/sof/intel/hda-pcm.c struct hdac_ext_stream *stream = stream_to_hdac_ext_stream(hstream); hstream 141 sound/soc/sof/intel/hda-pcm.c struct hdac_stream *hstream = substream->runtime->private_data; hstream 171 sound/soc/sof/intel/hda-pcm.c hstream->index)); hstream 189 sound/soc/sof/intel/hda-pcm.c hstream->index)); hstream 190 sound/soc/sof/intel/hda-pcm.c pos = snd_hdac_stream_get_pos_posbuf(hstream); hstream 193 sound/soc/sof/intel/hda-pcm.c if (pos >= hstream->bufsize) hstream 200 sound/soc/sof/intel/hda-pcm.c hstream->index, substream->stream, pos); hstream 218 sound/soc/sof/intel/hda-pcm.c substream->runtime->private_data = &dsp_stream->hstream; hstream 225 sound/soc/sof/intel/hda-pcm.c struct hdac_stream *hstream = substream->runtime->private_data; hstream 229 sound/soc/sof/intel/hda-pcm.c ret = hda_dsp_stream_put(sdev, direction, hstream->stream_tag); hstream 132 sound/soc/sof/intel/hda-stream.c struct hdac_stream *hstream = &stream->hstream; hstream 140 sound/soc/sof/intel/hda-stream.c mask = (1 << hstream->index); hstream 145 sound/soc/sof/intel/hda-stream.c enable << hstream->index); hstream 249 sound/soc/sof/intel/hda-stream.c struct hdac_stream *hstream = &stream->hstream; hstream 250 sound/soc/sof/intel/hda-stream.c int sd_offset = SOF_STREAM_SD_OFFSET(hstream); hstream 261 sound/soc/sof/intel/hda-stream.c 1 << hstream->index, hstream 262 sound/soc/sof/intel/hda-stream.c 1 << hstream->index); hstream 281 sound/soc/sof/intel/hda-stream.c hstream->running = true; hstream 304 sound/soc/sof/intel/hda-stream.c hstream->running = false; hstream 306 sound/soc/sof/intel/hda-stream.c 1 << hstream->index, 0x0); hstream 326 sound/soc/sof/intel/hda-stream.c struct hdac_stream *hstream = &stream->hstream; hstream 327 sound/soc/sof/intel/hda-stream.c int sd_offset = SOF_STREAM_SD_OFFSET(hstream); hstream 339 sound/soc/sof/intel/hda-stream.c mask = 0x1 << hstream->index; hstream 399 sound/soc/sof/intel/hda-stream.c if (hstream->posbuf) hstream 400 sound/soc/sof/intel/hda-stream.c *hstream->posbuf = 0; hstream 429 sound/soc/sof/intel/hda-stream.c hstream->frags = 0; hstream 431 sound/soc/sof/intel/hda-stream.c ret = hda_dsp_stream_setup_bdl(sdev, dmab, hstream); hstream 440 sound/soc/sof/intel/hda-stream.c hstream->stream_tag << hstream 446 sound/soc/sof/intel/hda-stream.c hstream->bufsize); hstream 467 sound/soc/sof/intel/hda-stream.c 0xffff, hstream->format_val); hstream 476 sound/soc/sof/intel/hda-stream.c 0xffff, (hstream->frags - 1)); hstream 481 sound/soc/sof/intel/hda-stream.c (u32)hstream->bdl.addr); hstream 484 sound/soc/sof/intel/hda-stream.c upper_32_bits(hstream->bdl.addr)); hstream 502 sound/soc/sof/intel/hda-stream.c if (hstream->direction == SNDRV_PCM_STREAM_PLAYBACK) { hstream 503 sound/soc/sof/intel/hda-stream.c hstream->fifo_size = hstream 507 sound/soc/sof/intel/hda-stream.c hstream->fifo_size &= 0xffff; hstream 508 sound/soc/sof/intel/hda-stream.c hstream->fifo_size += 1; hstream 510 sound/soc/sof/intel/hda-stream.c hstream->fifo_size = 0; hstream 522 sound/soc/sof/intel/hda-stream.c hstream); hstream 632 sound/soc/sof/intel/hda-stream.c struct hdac_stream *hstream; hstream 715 sound/soc/sof/intel/hda-stream.c hstream = &stream->hstream; hstream 716 sound/soc/sof/intel/hda-stream.c hstream->bus = bus; hstream 717 sound/soc/sof/intel/hda-stream.c hstream->sd_int_sta_mask = 1 << i; hstream 718 sound/soc/sof/intel/hda-stream.c hstream->index = i; hstream 719 sound/soc/sof/intel/hda-stream.c sd_offset = SOF_STREAM_SD_OFFSET(hstream); hstream 720 sound/soc/sof/intel/hda-stream.c hstream->sd_addr = sdev->bar[HDA_DSP_HDA_BAR] + sd_offset; hstream 721 sound/soc/sof/intel/hda-stream.c hstream->stream_tag = i + 1; hstream 722 sound/soc/sof/intel/hda-stream.c hstream->opened = false; hstream 723 sound/soc/sof/intel/hda-stream.c hstream->running = false; hstream 724 sound/soc/sof/intel/hda-stream.c hstream->direction = SNDRV_PCM_STREAM_CAPTURE; hstream 728 sound/soc/sof/intel/hda-stream.c HDA_DSP_BDL_SIZE, &hstream->bdl); hstream 733 sound/soc/sof/intel/hda-stream.c hstream->posbuf = (__le32 *)(bus->posbuf.area + hstream 734 sound/soc/sof/intel/hda-stream.c (hstream->index) * 8); hstream 736 sound/soc/sof/intel/hda-stream.c list_add_tail(&hstream->list, &bus->stream_list); hstream 771 sound/soc/sof/intel/hda-stream.c hstream = &stream->hstream; hstream 772 sound/soc/sof/intel/hda-stream.c hstream->bus = bus; hstream 773 sound/soc/sof/intel/hda-stream.c hstream->sd_int_sta_mask = 1 << i; hstream 774 sound/soc/sof/intel/hda-stream.c hstream->index = i; hstream 775 sound/soc/sof/intel/hda-stream.c sd_offset = SOF_STREAM_SD_OFFSET(hstream); hstream 776 sound/soc/sof/intel/hda-stream.c hstream->sd_addr = sdev->bar[HDA_DSP_HDA_BAR] + sd_offset; hstream 777 sound/soc/sof/intel/hda-stream.c hstream->stream_tag = i - num_capture + 1; hstream 778 sound/soc/sof/intel/hda-stream.c hstream->opened = false; hstream 779 sound/soc/sof/intel/hda-stream.c hstream->running = false; hstream 780 sound/soc/sof/intel/hda-stream.c hstream->direction = SNDRV_PCM_STREAM_PLAYBACK; hstream 784 sound/soc/sof/intel/hda-stream.c HDA_DSP_BDL_SIZE, &hstream->bdl); hstream 790 sound/soc/sof/intel/hda-stream.c hstream->posbuf = (__le32 *)(bus->posbuf.area + hstream 791 sound/soc/sof/intel/hda-stream.c (hstream->index) * 8); hstream 793 sound/soc/sof/intel/hda-stream.c list_add_tail(&hstream->list, &bus->stream_list); hstream 26 sound/soc/sof/intel/hda-trace.c struct hdac_stream *hstream = &stream->hstream; hstream 30 sound/soc/sof/intel/hda-trace.c hstream->period_bytes = 0;/* initialize period_bytes */ hstream 31 sound/soc/sof/intel/hda-trace.c hstream->bufsize = sdev->dmatb.bytes; hstream 54 sound/soc/sof/intel/hda-trace.c *stream_tag = hda->dtrace_stream->hstream.stream_tag; hstream 74 sound/soc/sof/intel/hda-trace.c struct hdac_stream *hstream; hstream 77 sound/soc/sof/intel/hda-trace.c hstream = &hda->dtrace_stream->hstream; hstream 80 sound/soc/sof/intel/hda-trace.c hstream->stream_tag); hstream 427 sound/soc/sof/intel/hda.h #define hstream_to_sof_hda_stream(hstream) \ hstream 428 sound/soc/sof/intel/hda.h container_of(hstream, struct sof_intel_hda_stream, hda_stream)