Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 25 of 27) sorted by relevance

12

/sound/isa/gus/
Dgus_mem.c39 nblock->prev = pblock->prev; in snd_gf1_mem_xalloc()
41 pblock->prev = nblock; in snd_gf1_mem_xalloc()
45 nblock->prev->next = nblock; in snd_gf1_mem_xalloc()
53 nblock->prev = NULL; in snd_gf1_mem_xalloc()
56 nblock->prev = alloc->last; in snd_gf1_mem_xalloc()
73 block->next->prev = NULL; in snd_gf1_mem_xfree()
75 block->prev->next = block->next; in snd_gf1_mem_xfree()
77 block->next->prev = block->prev; in snd_gf1_mem_xfree()
80 alloc->last = block->prev; in snd_gf1_mem_xfree()
81 if (block->prev) in snd_gf1_mem_xfree()
[all …]
/sound/core/
Dpcm_param_trace.h29 …am *substream, snd_pcm_hw_param_t type, int index, const struct snd_mask *prev, const struct snd_m…
30 TP_ARGS(substream, type, index, prev, curr),
50 memcpy(__entry->prev_bits, prev->bits, sizeof(__u32) * 8);
69 …substream, snd_pcm_hw_param_t type, int index, const struct snd_interval *prev, const struct snd_i…
70 TP_ARGS(substream, type, index, prev, curr),
100 __entry->prev_min = prev->min;
101 __entry->prev_max = prev->max;
102 __entry->prev_openmin = prev->openmin;
103 __entry->prev_openmax = prev->openmax;
104 __entry->prev_integer = prev->integer;
[all …]
Dpcm_trace.h107 TP_PROTO(struct snd_pcm_substream *substream, snd_pcm_uframes_t prev, snd_pcm_uframes_t curr),
108 TP_ARGS(substream, prev, curr),
114 __field( snd_pcm_uframes_t, prev )
125 __entry->prev = (prev);
136 __entry->prev,
Dpcm.c75 list_add(&newpcm->list, pcm->list.prev); in snd_pcm_add()
641 struct snd_pcm_substream *substream, *prev; in snd_pcm_new_stream() local
665 prev = NULL; in snd_pcm_new_stream()
666 for (idx = 0, prev = NULL; idx < substream_count; idx++) { in snd_pcm_new_stream()
676 if (prev == NULL) in snd_pcm_new_stream()
679 prev->next = substream; in snd_pcm_new_stream()
686 if (prev == NULL) in snd_pcm_new_stream()
689 prev->next = NULL; in snd_pcm_new_stream()
698 prev = substream; in snd_pcm_new_stream()
Dtimer.c1326 int prev; in snd_timer_user_interrupt() local
1330 prev = tu->qtail == 0 ? tu->queue_size - 1 : tu->qtail - 1; in snd_timer_user_interrupt()
1331 r = &tu->queue[prev]; in snd_timer_user_interrupt()
1405 int prev, append = 0; in snd_timer_user_tinterrupt() local
1436 prev = tu->qtail == 0 ? tu->queue_size - 1 : tu->qtail - 1; in snd_timer_user_tinterrupt()
1437 r = &tu->tqueue[prev]; in snd_timer_user_tinterrupt()
/sound/pci/ctxfi/
Dctimap.c42 pre = pos->prev; in input_mapper_add()
44 pre = head->prev; in input_mapper_add()
46 __list_add(&entry->list, pos->prev, pos); in input_mapper_add()
48 pre = head->prev; in input_mapper_add()
75 pre = (entry->list.prev == head) ? head->prev : entry->list.prev; in input_mapper_delete()
Dctvmem.c100 __list_add(&block->list, pos->prev, pos); in put_vm_block()
106 pre = pos->prev; in put_vm_block()
117 pre = pos->prev; in put_vm_block()
/sound/core/seq/
Dseq_prioq.c134 struct snd_seq_event_cell *cur, *prev; in snd_seq_prioq_cell_in() local
164 prev = NULL; /* previous cell */ in snd_seq_prioq_cell_in()
179 prev = cur; in snd_seq_prioq_cell_in()
189 if (prev != NULL) in snd_seq_prioq_cell_in()
190 prev->next = cell; in snd_seq_prioq_cell_in()
279 struct snd_seq_event_cell *prev = NULL; in snd_seq_prioq_leave() local
292 prev->next = cell->next; in snd_seq_prioq_leave()
314 prev = cell; in snd_seq_prioq_leave()
389 struct snd_seq_event_cell *prev = NULL; in snd_seq_prioq_remove_events() local
405 prev->next = cell->next; in snd_seq_prioq_remove_events()
[all …]
/sound/synth/
Dutil_mem.c88 return __snd_util_memblk_new(hdr, units, p->prev); in __snd_util_mem_alloc()
98 struct list_head *prev) in __snd_util_memblk_new() argument
107 if (prev == &hdr->block) in __snd_util_memblk_new()
110 struct snd_util_memblk *p = get_memblk(prev); in __snd_util_memblk_new()
114 list_add(&blk->list, prev); in __snd_util_memblk_new()
/sound/soc/intel/atom/sst/
Dsst_stream.c72 sst_drv_ctx->streams[str_id].prev = STREAM_UN_INIT; in sst_alloc_stream_mrfld()
256 if (str_info->prev == STREAM_UN_INIT) in sst_pause_stream()
264 str_info->prev = str_info->status; in sst_pause_stream()
308 str_info->prev = STREAM_PAUSED; in sst_resume_stream()
319 str_info->prev = STREAM_PAUSED; in sst_resume_stream()
328 if (str_info->prev == STREAM_RUNNING) in sst_resume_stream()
332 str_info->prev = STREAM_PAUSED; in sst_resume_stream()
367 str_info->prev = STREAM_UN_INIT; in sst_drop_stream()
448 str_info->prev = str_info->status; in sst_free_stream()
Dsst_drv_interface.c317 str_info->prev = str_info->status; in sst_cdev_stream_start()
550 str_info->prev = str_info->status; in sst_stream_start()
568 str_info->prev = STREAM_UN_INIT; in sst_stream_drop()
621 stream->prev = stream->status; in sst_stream_init()
Dsst.c445 stream->resume_prev = stream->prev; in intel_sst_suspend()
560 stream->prev = stream->resume_prev; in intel_sst_resume()
Dsst_pvt.c214 stream->prev = STREAM_UN_INIT; in sst_clean_stream()
Dsst.h192 unsigned int prev; member
/sound/pci/au88x0/
Dau88x0_core.c261 int temp, lifeboat = 0, prev; in vortex_mixer_addWTD() local
269 prev = VORTEX_MIXER_CHNBASE + (ch << 2); in vortex_mixer_addWTD()
270 temp = hwread(vortex->mmio, prev); in vortex_mixer_addWTD()
272 prev = VORTEX_MIXER_RTBASE + ((temp & 0xf) << 2); in vortex_mixer_addWTD()
273 temp = hwread(vortex->mmio, prev); in vortex_mixer_addWTD()
282 hwwrite(vortex->mmio, prev, (temp & 0xf) | 0x10); in vortex_mixer_addWTD()
657 int temp, lifeboat = 0, prev; in vortex_src_addWTD() local
666 prev = VORTEX_SRC_CHNBASE + (ch << 2); /*ebp */ in vortex_src_addWTD()
667 temp = hwread(vortex->mmio, prev); in vortex_src_addWTD()
670 prev = VORTEX_SRC_RTBASE + ((temp & 0xf) << 2); /*esp12 */ in vortex_src_addWTD()
[all …]
/sound/pci/emu10k1/
Dmemory.c172 p = blk->mapped_link.prev; in unmap_memblk()
225 …blk = (struct snd_emu10k1_memblk *)__snd_util_memblk_new(emu->memhdr, psize << PAGE_SHIFT, p->prev in search_empty()
462 p = blk->mem.list.prev; in get_single_page_range()
/sound/synth/emux/
Dsoundfont.c483 struct snd_sf_zone *prev, *next, *p; in remove_info() local
486 prev = NULL; in remove_info()
492 if (prev) in remove_info()
493 prev->next = next; in remove_info()
499 prev = p; in remove_info()
/sound/usb/
Dstream.c136 struct audioformat *prev = fp; in have_dup_chmap() local
138 list_for_each_entry_continue_reverse(prev, &subs->fmt_list, list) { in have_dup_chmap()
139 if (prev->chmap && in have_dup_chmap()
140 !memcmp(prev->chmap, fp->chmap, sizeof(*fp->chmap))) in have_dup_chmap()
/sound/core/oss/
Dpcm_plugin.c127 while (plugin->prev) { in snd_pcm_plug_alloc()
132 plugin = plugin->prev; in snd_pcm_plug_alloc()
233 plugin_prev = plugin->prev; in calc_src_frames()
Dpcm_plugin.h59 struct snd_pcm_plugin *prev; member
Dpcm_oss.c558 plugin->prev = NULL; in snd_pcm_plugin_insert()
560 runtime->oss.plugin_first->prev = plugin; in snd_pcm_plugin_insert()
573 plugin->prev = runtime->oss.plugin_last; in snd_pcm_plugin_append()
793 unsigned int rate, prev; in choose_rate() local
817 prev = rate; in choose_rate()
819 if (rate <= prev) in choose_rate()
/sound/pci/trident/
Dtrident_memory.c127 blk = __snd_util_memblk_new(hdr, psize * ALIGN_PAGE_SIZE, p->prev); in search_empty()
/sound/pci/
Dazt3328.c324 u8 prev = inb(reg), new; in snd_azf3328_io_reg_setb() local
326 new = (do_set) ? (prev|mask) : (prev & ~mask); in snd_azf3328_io_reg_setb()
330 if (new != prev) in snd_azf3328_io_reg_setb()
Des1968.c1381 if (buf->list.prev != &chip->buf_list) { in snd_es1968_free_memory()
1382 chunk = list_entry(buf->list.prev, struct esm_memory, list); in snd_es1968_free_memory()
/sound/pci/hda/
Dhda_intel.c929 int prev = power_save; in param_set_xint() local
932 if (ret || prev == power_save) in param_set_xint()

12