Searched refs:runtime (Results 1 - 25 of 570) sorted by relevance

1234567891011>>

/linux-master/include/sound/
H A Dpcm_drm_eld.h5 int snd_pcm_hw_constraint_eld(struct snd_pcm_runtime *runtime, void *eld);
H A Dpcm_iec958.h9 int snd_pcm_fill_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
15 int snd_pcm_create_iec958_consumer(struct snd_pcm_runtime *runtime, u8 *cs,
H A Dcompress_driver.h23 * struct snd_compr_runtime: runtime stream description
39 * @dma_buffer_p: runtime dma buffer pointer
63 * @runtime: pointer to runtime structure
77 struct snd_compr_runtime *runtime; member in struct:snd_compr_stream
193 wake_up(&stream->runtime->sleep);
203 stream->runtime->state = SNDRV_PCM_STATE_RUNNING;
206 stream->runtime->state = SNDRV_PCM_STATE_SETUP;
209 wake_up(&stream->runtime->sleep);
213 * snd_compr_set_runtime_buffer - Set the Compress runtime buffe
224 struct snd_compr_runtime *runtime = stream->runtime; local
[all...]
/linux-master/sound/pci/ctxfi/
H A Dctpcm.c103 static void ct_atc_pcm_free_substream(struct snd_pcm_runtime *runtime) argument
105 struct ct_atc_pcm *apcm = runtime->private_data;
111 runtime->private_data = NULL;
118 struct snd_pcm_runtime *runtime = substream->runtime; local
129 runtime->hw = ct_spdif_passthru_playback_hw;
132 runtime->hw = ct_pcm_playback_hw;
134 runtime->hw.channels_max = 8;
137 err = snd_pcm_hw_constraint_integer(runtime,
142 err = snd_pcm_hw_constraint_minmax(runtime,
202 struct snd_pcm_runtime *runtime = substream->runtime; local
223 struct snd_pcm_runtime *runtime = substream->runtime; local
249 struct snd_pcm_runtime *runtime = substream->runtime; local
264 struct snd_pcm_runtime *runtime = substream->runtime; local
315 struct snd_pcm_runtime *runtime = substream->runtime; local
332 struct snd_pcm_runtime *runtime = substream->runtime; local
355 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/soc/uniphier/
H A Daio-dma.c30 struct snd_pcm_runtime *runtime = sub->substream->runtime; local
31 int bytes = runtime->period_size *
32 runtime->channels * samples_to_bytes(runtime, 1);
36 ret = aiodma_rb_set_threshold(sub, runtime->dma_bytes,
41 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, bytes);
50 struct snd_compr_runtime *runtime = sub->cstream->runtime; local
99 struct snd_pcm_runtime *runtime = substream->runtime; local
110 struct snd_pcm_runtime *runtime = substream->runtime; local
137 struct snd_pcm_runtime *runtime = substream->runtime; local
173 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/core/oss/
H A Dpcm_oss.c533 struct snd_pcm_runtime *runtime = substream->runtime; local
536 plugin = runtime->oss.plugin_first;
542 runtime->oss.plugin_first = runtime->oss.plugin_last = NULL;
548 struct snd_pcm_runtime *runtime = plugin->plug->runtime; local
549 plugin->next = runtime->oss.plugin_first;
551 if (runtime->oss.plugin_first) {
552 runtime
563 struct snd_pcm_runtime *runtime = plugin->plug->runtime; local
579 struct snd_pcm_runtime *runtime = substream->runtime; local
596 struct snd_pcm_runtime *runtime = substream->runtime; local
604 get_hw_ptr_period(struct snd_pcm_runtime *runtime) argument
681 struct snd_pcm_runtime *runtime = substream->runtime; local
818 lock_params(struct snd_pcm_runtime *runtime) argument
829 unlock_params(struct snd_pcm_runtime *runtime) argument
836 struct snd_pcm_runtime *runtime = substream->runtime; local
848 struct snd_pcm_runtime *runtime = substream->runtime; local
1096 struct snd_pcm_runtime *runtime = substream->runtime; local
1141 struct snd_pcm_runtime *runtime = substream->runtime; local
1159 struct snd_pcm_runtime *runtime; local
1182 struct snd_pcm_runtime *runtime; local
1201 struct snd_pcm_runtime *runtime; local
1226 struct snd_pcm_runtime *runtime = substream->runtime; local
1257 struct snd_pcm_runtime *runtime = substream->runtime; local
1301 struct snd_pcm_runtime *runtime = substream->runtime; local
1330 struct snd_pcm_runtime *runtime = substream->runtime; local
1359 struct snd_pcm_runtime *runtime = substream->runtime; local
1394 struct snd_pcm_runtime *runtime = substream->runtime; local
1469 struct snd_pcm_runtime *runtime = substream->runtime; local
1504 struct snd_pcm_runtime *runtime = substream->runtime; local
1565 struct snd_pcm_runtime *runtime; local
1603 struct snd_pcm_runtime *runtime; local
1653 struct snd_pcm_runtime *runtime; local
1751 struct snd_pcm_runtime *runtime; local
1793 struct snd_pcm_runtime *runtime; local
1890 struct snd_pcm_runtime *runtime; local
1920 struct snd_pcm_runtime *runtime; local
1945 struct snd_pcm_runtime *runtime; local
1963 struct snd_pcm_runtime *runtime; local
1988 struct snd_pcm_runtime *runtime; local
2028 struct snd_pcm_runtime *runtime = substream->runtime; local
2052 struct snd_pcm_runtime *runtime = substream->runtime; local
2061 struct snd_pcm_runtime *runtime; local
2159 struct snd_pcm_runtime *runtime; local
2183 struct snd_pcm_runtime *runtime; local
2253 struct snd_pcm_runtime *runtime; local
2359 struct snd_pcm_runtime *runtime; local
2806 struct snd_pcm_runtime *runtime = substream->runtime; local
2817 struct snd_pcm_runtime *runtime = substream->runtime; local
2839 struct snd_pcm_runtime *runtime = psubstream->runtime; local
2849 struct snd_pcm_runtime *runtime = csubstream->runtime; local
2874 struct snd_pcm_runtime *runtime; local
[all...]
/linux-master/sound/core/
H A Dpcm_native.c260 if (!(substream->runtime->hw.info & SNDRV_PCM_INFO_MMAP))
287 &substream->runtime->hw_constraints;
323 &substream->runtime->hw_constraints;
359 &substream->runtime->hw_constraints;
528 params->info = substream->runtime->hw.info;
594 static int period_to_usecs(struct snd_pcm_runtime *runtime) argument
598 if (! runtime->rate)
602 usecs = (750000 / runtime->rate) * runtime->period_size;
603 usecs += ((750000 % runtime
705 snd_pcm_buffer_access_lock(struct snd_pcm_runtime *runtime) argument
714 snd_pcm_buffer_access_unlock(struct snd_pcm_runtime *runtime) argument
729 struct snd_pcm_runtime *runtime; local
894 struct snd_pcm_runtime *runtime; local
928 struct snd_pcm_runtime *runtime; local
1006 struct snd_pcm_runtime *runtime = substream->runtime; local
1153 struct snd_pcm_runtime *runtime; local
1187 struct snd_pcm_runtime *runtime = substream->runtime; local
1413 struct snd_pcm_runtime *runtime = substream->runtime; local
1450 struct snd_pcm_runtime *runtime = substream->runtime; local
1495 struct snd_pcm_runtime *runtime = substream->runtime; local
1516 struct snd_pcm_runtime *runtime = substream->runtime; local
1588 struct snd_pcm_runtime *runtime = substream->runtime; local
1629 struct snd_pcm_runtime *runtime = substream->runtime; local
1671 struct snd_pcm_runtime *runtime = substream->runtime; local
1688 struct snd_pcm_runtime *runtime = substream->runtime; local
1701 struct snd_pcm_runtime *runtime = substream->runtime; local
1777 struct snd_pcm_runtime *runtime = substream->runtime; local
1787 struct snd_pcm_runtime *runtime = substream->runtime; local
1809 struct snd_pcm_runtime *runtime = substream->runtime; local
1844 struct snd_pcm_runtime *runtime = substream->runtime; local
1865 struct snd_pcm_runtime *runtime = substream->runtime; local
1880 struct snd_pcm_runtime *runtime = substream->runtime; local
1896 struct snd_pcm_runtime *runtime = substream->runtime; local
1923 struct snd_pcm_runtime *runtime = substream->runtime; local
1949 struct snd_pcm_runtime *runtime = substream->runtime; local
2001 struct snd_pcm_runtime *runtime = substream->runtime; local
2015 struct snd_pcm_runtime *runtime = substream->runtime; local
2079 struct snd_pcm_runtime *runtime; local
2192 struct snd_pcm_runtime *runtime; local
2475 snd_pcm_hw_constraint_subformats(struct snd_pcm_runtime *runtime, unsigned int cond, u32 *subformats) argument
2486 struct snd_pcm_runtime *runtime = substream->runtime; local
2610 struct snd_pcm_runtime *runtime = substream->runtime; local
2933 struct snd_pcm_runtime *runtime = substream->runtime; local
2953 struct snd_pcm_runtime *runtime = substream->runtime; local
3034 struct snd_pcm_runtime *runtime = substream->runtime; local
3107 recalculate_boundary(struct snd_pcm_runtime *runtime) argument
3122 struct snd_pcm_runtime *runtime = substream->runtime; local
3186 struct snd_pcm_runtime *runtime = substream->runtime; local
3201 struct snd_pcm_runtime *runtime = substream->runtime; local
3223 struct snd_pcm_runtime *runtime = substream->runtime; local
3458 struct snd_pcm_runtime *runtime; local
3483 struct snd_pcm_runtime *runtime; local
3507 struct snd_pcm_runtime *runtime; local
3546 struct snd_pcm_runtime *runtime; local
3584 struct snd_pcm_runtime *runtime; local
3643 struct snd_pcm_runtime *runtime; local
3681 struct snd_pcm_runtime *runtime; local
3770 struct snd_pcm_runtime *runtime; local
3851 struct snd_pcm_runtime *runtime = substream->runtime; local
3865 struct snd_pcm_runtime *runtime; local
3947 struct snd_pcm_runtime *runtime; local
4079 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
H A Drawmidi.c101 static inline bool __snd_rawmidi_ready(struct snd_rawmidi_runtime *runtime) argument
103 return runtime->avail >= runtime->avail_min;
109 return __snd_rawmidi_ready(substream->runtime);
115 struct snd_rawmidi_runtime *runtime = substream->runtime; local
117 return runtime->avail >= runtime->avail_min &&
118 (!substream->append || runtime->avail >= count);
123 struct snd_rawmidi_runtime *runtime local
131 snd_rawmidi_buffer_ref(struct snd_rawmidi_runtime *runtime) argument
136 snd_rawmidi_buffer_unref(struct snd_rawmidi_runtime *runtime) argument
160 struct snd_rawmidi_runtime *runtime; local
188 get_align(struct snd_rawmidi_runtime *runtime) argument
201 struct snd_rawmidi_runtime *runtime = substream->runtime; local
225 __reset_runtime_ptrs(struct snd_rawmidi_runtime *runtime, bool is_input) argument
253 struct snd_rawmidi_runtime *runtime; local
711 struct snd_rawmidi_runtime *runtime = substream->runtime; local
787 struct snd_rawmidi_runtime *runtime = substream->runtime; local
799 struct snd_rawmidi_runtime *runtime = substream->runtime; local
1074 struct snd_rawmidi_runtime *runtime = substream->runtime; local
1143 struct snd_rawmidi_runtime *runtime; local
1218 struct snd_rawmidi_runtime *runtime = substream->runtime; local
1272 struct snd_rawmidi_runtime *runtime; local
1328 struct snd_rawmidi_runtime *runtime; local
1353 struct snd_rawmidi_runtime *runtime = substream->runtime; local
1428 struct snd_rawmidi_runtime *runtime = substream->runtime; local
1499 struct snd_rawmidi_runtime *runtime; local
1520 struct snd_rawmidi_runtime *runtime = substream->runtime; local
1588 struct snd_rawmidi_runtime *runtime; local
1659 struct snd_rawmidi_runtime *runtime; local
1700 struct snd_rawmidi_runtime *runtime; local
[all...]
H A Dpcm_lib.c37 static inline void update_silence_vars(struct snd_pcm_runtime *runtime, argument
47 delta += runtime->boundary;
48 if ((snd_pcm_uframes_t)delta < runtime->silence_filled)
49 runtime->silence_filled -= delta;
51 runtime->silence_filled = 0;
52 runtime->silence_start = new_ptr;
57 * runtime->silence_start: starting pointer to silence area
58 * runtime->silence_filled: size filled with silence
59 * runtime->silence_threshold: threshold from application
60 * runtime
66 struct snd_pcm_runtime *runtime = substream->runtime; local
170 struct snd_pcm_runtime *runtime = substream->runtime; local
206 snd_pcm_update_state(struct snd_pcm_substream *substream, struct snd_pcm_runtime *runtime) argument
237 struct snd_pcm_runtime *runtime = substream->runtime; local
286 struct snd_pcm_runtime *runtime = substream->runtime; local
526 struct snd_pcm_runtime *runtime = substream->runtime; local
1145 snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, int var, snd_pcm_hw_rule_func_t func, void *private, int dep, ...) argument
1199 snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, u_int32_t mask) argument
1221 snd_pcm_hw_constraint_mask64(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, u_int64_t mask) argument
1245 snd_pcm_hw_constraint_integer(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var) argument
1264 snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime *runtime, snd_pcm_hw_param_t var, unsigned int min, unsigned int max) argument
1296 snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_list *l) argument
1327 snd_pcm_hw_constraint_ranges(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_ranges *r) argument
1362 snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_ratnums *r) argument
1396 snd_pcm_hw_constraint_ratdens(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_ratdens *r) argument
1440 snd_pcm_hw_constraint_msbits(struct snd_pcm_runtime *runtime, unsigned int cond, unsigned int width, unsigned int msbits) argument
1469 snd_pcm_hw_constraint_step(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, unsigned long step) argument
1500 snd_pcm_hw_constraint_pow2(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var) argument
1527 snd_pcm_hw_rule_noresample(struct snd_pcm_runtime *runtime, unsigned int base_rate) argument
1746 struct snd_pcm_runtime *runtime = substream->runtime; local
1763 struct snd_pcm_runtime *runtime = substream->runtime; local
1868 struct snd_pcm_runtime *runtime; local
1918 struct snd_pcm_runtime *runtime = substream->runtime; local
2013 get_dma_ptr(struct snd_pcm_runtime *runtime, int channel, unsigned long hwoff) argument
2039 struct snd_pcm_runtime *runtime = substream->runtime; local
2100 struct snd_pcm_runtime *runtime = substream->runtime; local
2121 struct snd_pcm_runtime *runtime = substream->runtime; local
2163 struct snd_pcm_runtime *runtime; local
2174 pcm_accessible_state(struct snd_pcm_runtime *runtime) argument
2196 struct snd_pcm_runtime *runtime = substream->runtime; local
2241 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
H A Dpcm_local.h23 int snd_pcm_hw_constraint_mask(struct snd_pcm_runtime *runtime,
29 struct snd_pcm_runtime *runtime);
39 return snd_pcm_playback_avail(substream->runtime);
41 return snd_pcm_capture_avail(substream->runtime);
48 return snd_pcm_playback_hw_avail(substream->runtime);
50 return snd_pcm_capture_hw_avail(substream->runtime);
68 #define PCM_RUNTIME_CHECK(sub) snd_BUG_ON(!(sub) || !(sub)->runtime)
79 if (substream->runtime->info & SNDRV_PCM_INFO_EXPLICIT_SYNC)
H A Dpcm_timer.c22 struct snd_pcm_runtime *runtime = substream->runtime; local
25 rate = runtime->rate;
31 fsize = runtime->period_size;
45 runtime->rate, runtime->period_size);
46 runtime->timer_resolution = -1;
49 runtime->timer_resolution = (mult * fsize / rate) * post;
57 return substream->runtime ? substream->runtime
[all...]
H A Dcompress_offload.c79 struct snd_compr_runtime *runtime; local
120 runtime = kzalloc(sizeof(*runtime), GFP_KERNEL);
121 if (!runtime) {
126 runtime->state = SNDRV_PCM_STATE_OPEN;
127 init_waitqueue_head(&runtime->sleep);
128 data->stream.runtime = runtime;
133 kfree(runtime);
143 struct snd_compr_runtime *runtime local
252 struct snd_compr_runtime *runtime = stream->runtime; local
499 struct snd_compr_runtime *runtime; local
[all...]
/linux-master/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-pcm.c47 static void snd_bcm2835_playback_free(struct snd_pcm_runtime *runtime) argument
49 kfree(runtime->private_data);
88 struct snd_pcm_runtime *runtime = substream->runtime; local
127 runtime->private_data = alsa_stream;
128 runtime->private_free = snd_bcm2835_playback_free;
130 runtime->hw = snd_bcm2835_playback_spdif_hw;
134 runtime->hw = snd_bcm2835_playback_hw;
137 snd_pcm_hw_constraint_step(runtime,
143 snd_pcm_hw_constraint_minmax(runtime,
170 struct snd_pcm_runtime *runtime; local
198 struct snd_pcm_runtime *runtime = substream->runtime; local
237 struct snd_pcm_runtime *runtime = substream->runtime; local
246 struct snd_pcm_runtime *runtime = substream->runtime; local
257 struct snd_pcm_runtime *runtime = substream->runtime; local
277 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/firewire/fireface/
H A Damdtp-ff.c36 struct snd_pcm_runtime *runtime = pcm->runtime; local
43 pcm_buffer_pointer %= runtime->buffer_size;
45 src = (void *)runtime->dma_area +
46 frames_to_bytes(runtime, pcm_buffer_pointer);
47 remaining_frames = runtime->buffer_size - pcm_buffer_pointer;
56 src = (void *)runtime->dma_area;
66 struct snd_pcm_runtime *runtime = pcm->runtime; local
73 pcm_buffer_pointer %= runtime
103 amdtp_ff_add_pcm_hw_constraints(struct amdtp_stream *s, struct snd_pcm_runtime *runtime) argument
[all...]
/linux-master/sound/soc/bcm/
H A Dbcm63xx-pcm-whistler.c148 struct snd_pcm_runtime *runtime = substream->runtime; local
153 dma_desc->dma_addr = runtime->dma_addr;
154 dma_desc->dma_area = runtime->dma_area;
178 struct bcm63xx_runtime_data *prtd = substream->runtime->private_data;
181 prtd->dma_addr_next = substream->runtime->dma_addr;
183 x = bytes_to_frames(substream->runtime,
184 prtd->dma_addr_next - substream->runtime->dma_addr);
186 return x == substream->runtime->buffer_size ? 0 : x;
193 struct snd_pcm_runtime *runtime local
226 struct snd_pcm_runtime *runtime = substream->runtime; local
238 struct snd_pcm_runtime *runtime; local
[all...]
/linux-master/sound/soc/dwc/
H A Ddwc-pcm.c26 struct snd_pcm_runtime *runtime, unsigned int tx_ptr, \
29 const u##sample_bits (*p)[2] = (void *)runtime->dma_area; \
30 unsigned int period_pos = tx_ptr % runtime->period_size; \
37 if (++tx_ptr >= runtime->buffer_size) \
40 *period_elapsed = period_pos >= runtime->period_size; \
46 struct snd_pcm_runtime *runtime, unsigned int rx_ptr, \
49 u##sample_bits (*p)[2] = (void *)runtime->dma_area; \
50 unsigned int period_pos = rx_ptr % runtime->period_size; \
57 if (++rx_ptr >= runtime->buffer_size) \
60 *period_elapsed = period_pos >= runtime
141 struct snd_pcm_runtime *runtime = substream->runtime; local
163 struct snd_pcm_runtime *runtime = substream->runtime; local
195 struct snd_pcm_runtime *runtime = substream->runtime; local
230 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/drivers/
H A Dpcmtest.c171 static void check_buf_block_i(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) argument
178 current_byte = runtime->dma_area[v_iter->buf_pos];
181 ch_num = (v_iter->total_bytes / v_iter->sample_bytes) % runtime->channels;
183 runtime->channels,
189 inc_buf_pos(v_iter, 1, runtime->dma_bytes);
192 inc_buf_pos(v_iter, v_iter->b_rw - i, runtime->dma_bytes);
195 static void check_buf_block_ni(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) argument
197 unsigned int channels = runtime->channels;
204 current_byte = runtime->dma_area[buf_pos_n(v_iter, channels, ch_num)];
212 inc_buf_pos(v_iter, 1, runtime
222 check_buf_block(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) argument
238 fill_block_pattern_n(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) argument
254 fill_block_pattern_i(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) argument
274 fill_block_pattern(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) argument
282 fill_block_rand_n(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) argument
305 fill_block_rand_i(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) argument
318 fill_block_random(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) argument
326 fill_block(struct pcmtst_buf_iter *v_iter, struct snd_pcm_runtime *runtime) argument
373 struct snd_pcm_runtime *runtime = substream->runtime; local
471 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/pci/emu10k1/
H A Dp16v.c155 struct snd_pcm_runtime *runtime = substream->runtime; local
163 runtime->hw = snd_p16v_playback_hw;
173 err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS);
177 runtime->sync.id32[0] = substream->pcm->card->number;
178 runtime->sync.id32[1] = 'P';
179 runtime->sync.id32[2] = 16;
180 runtime->sync.id32[3] = 'V';
188 struct snd_pcm_runtime *runtime = substream->runtime; local
233 struct snd_pcm_runtime *runtime = substream->runtime; local
300 struct snd_pcm_runtime *runtime = substream->runtime; local
370 struct snd_pcm_runtime *runtime = substream->runtime; local
383 struct snd_pcm_runtime *runtime = substream->runtime; local
400 struct snd_pcm_runtime *runtime; local
452 struct snd_pcm_runtime *runtime = substream->runtime; local
481 struct snd_pcm_runtime *runtime = substream->runtime; local
506 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_display.h20 int (*init)(struct drm_device *, bool resume, bool runtime);
21 void (*fini)(struct drm_device *, bool suspend, bool runtime);
47 int nouveau_display_init(struct drm_device *dev, bool resume, bool runtime);
49 void nouveau_display_fini(struct drm_device *dev, bool suspend, bool runtime);
50 int nouveau_display_suspend(struct drm_device *dev, bool runtime);
51 void nouveau_display_resume(struct drm_device *dev, bool runtime);
/linux-master/drivers/gpu/drm/i915/
H A Dintel_device_info.c90 const struct intel_runtime_info *runtime,
93 if (runtime->graphics.ip.rel)
95 runtime->graphics.ip.ver,
96 runtime->graphics.ip.rel);
99 runtime->graphics.ip.ver);
101 if (runtime->media.ip.rel)
103 runtime->media.ip.ver,
104 runtime->media.ip.rel);
107 runtime->media.ip.ver);
109 drm_printf(p, "graphics stepping: %s\n", intel_step_name(runtime
89 intel_device_info_print(const struct intel_device_info *info, const struct intel_runtime_info *runtime, struct drm_printer *p) argument
308 struct intel_runtime_info *runtime = RUNTIME_INFO(i915); local
364 struct intel_runtime_info *runtime = RUNTIME_INFO(dev_priv); local
388 struct intel_runtime_info *runtime; local
[all...]
/linux-master/sound/soc/sof/intel/
H A Dhda-pcm.c99 struct hdac_stream *hstream = substream->runtime->private_data;
107 dmab = substream->runtime->dma_buffer_p;
150 struct hdac_stream *hstream = substream->runtime->private_data;
151 struct snd_pcm_runtime *runtime = substream->runtime; local
155 appl_pos = frames_to_bytes(runtime, runtime->control->appl_ptr);
156 buf_size = frames_to_bytes(runtime, runtime->buffer_size);
173 struct hdac_stream *hstream = substream->runtime
216 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/soc/sof/amd/
H A Dacp-pcm.c23 struct snd_pcm_runtime *runtime = substream->runtime; local
24 struct acp_dsp_stream *stream = runtime->private_data;
29 size = runtime->dma_bytes;
30 stream->num_pages = PFN_UP(runtime->dma_bytes);
31 stream->dmab = substream->runtime->dma_buffer_p;
65 substream->runtime->private_data = stream;
76 stream = substream->runtime->private_data;
83 substream->runtime->private_data = NULL;
116 pos = bytes_to_frames(substream->runtime, po
[all...]
/linux-master/sound/firewire/tascam/
H A Dtascam-pcm.c13 struct snd_pcm_runtime *runtime = substream->runtime; local
14 struct snd_pcm_hardware *hw = &runtime->hw;
19 runtime->hw.formats = SNDRV_PCM_FMTBIT_S32;
23 runtime->hw.formats = SNDRV_PCM_FMTBIT_S32;
32 runtime->hw.channels_min = runtime->hw.channels_max = pcm_channels;
38 snd_pcm_limit_hw_rates(runtime);
40 return amdtp_tscm_add_pcm_hw_constraints(stream, runtime);
77 substream->runtime
157 struct snd_pcm_runtime *runtime = substream->runtime; local
174 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/sound/isa/gus/
H A Dgus_pcm.c65 struct snd_pcm_runtime *runtime = substream->runtime; local
66 struct gus_pcm_private *pcmp = runtime->private_data;
76 if (snd_pcm_format_unsigned(runtime->format))
78 if (snd_pcm_format_width(runtime->format) == 16)
81 block.buffer = runtime->dma_area + offset;
82 block.buf_addr = runtime->dma_addr + offset;
93 struct snd_pcm_runtime *runtime = substream->runtime; local
94 struct gus_pcm_private *pcmp = runtime
175 struct snd_pcm_runtime *runtime; local
355 struct snd_pcm_runtime *runtime = substream->runtime; local
374 struct snd_pcm_runtime *runtime = substream->runtime; local
391 struct snd_pcm_runtime *runtime = substream->runtime; local
408 struct snd_pcm_runtime *runtime = substream->runtime; local
455 struct snd_pcm_runtime *runtime = substream->runtime; local
475 struct snd_pcm_runtime *runtime = substream->runtime; local
489 struct snd_pcm_runtime *runtime = substream->runtime; local
514 struct snd_pcm_runtime *runtime = substream->runtime; local
566 struct snd_pcm_runtime *runtime = substream->runtime; local
652 snd_gf1_pcm_playback_free(struct snd_pcm_runtime *runtime) argument
661 struct snd_pcm_runtime *runtime = substream->runtime; local
694 struct snd_pcm_runtime *runtime = substream->runtime; local
706 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]
/linux-master/drivers/media/pci/cobalt/
H A Dcobalt-alsa-pcm.c102 struct snd_pcm_runtime *runtime; local
119 runtime = substream->runtime;
120 if (runtime == NULL) {
121 dprintk("runtime was NULL\n");
124 is_s32 = runtime->format == SNDRV_PCM_FORMAT_S32_LE;
126 stride = runtime->frame_bits >> 3;
137 if (runtime->dma_area == NULL) {
143 if (oldptr + length >= runtime->buffer_size) {
144 unsigned int cnt = runtime
208 struct snd_pcm_runtime *runtime = substream->runtime; local
302 struct snd_pcm_runtime *runtime; local
370 struct snd_pcm_runtime *runtime = substream->runtime; local
[all...]

Completed in 419 milliseconds

1234567891011>>