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()
640 struct snd_pcm_substream *substream, *prev; in snd_pcm_new_stream() local
664 prev = NULL; in snd_pcm_new_stream()
665 for (idx = 0, prev = NULL; idx < substream_count; idx++) { in snd_pcm_new_stream()
675 if (prev == NULL) in snd_pcm_new_stream()
678 prev->next = substream; in snd_pcm_new_stream()
685 if (prev == NULL) in snd_pcm_new_stream()
688 prev->next = NULL; in snd_pcm_new_stream()
697 prev = substream; in snd_pcm_new_stream()
Dtimer.c1298 int prev; in snd_timer_user_interrupt() local
1302 prev = tu->qtail == 0 ? tu->queue_size - 1 : tu->qtail - 1; in snd_timer_user_interrupt()
1303 r = &tu->queue[prev]; in snd_timer_user_interrupt()
1376 int prev, append = 0; in snd_timer_user_tinterrupt() local
1406 prev = tu->qtail == 0 ? tu->queue_size - 1 : tu->qtail - 1; in snd_timer_user_tinterrupt()
1407 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.c73 sst_drv_ctx->streams[str_id].prev = STREAM_UN_INIT; in sst_alloc_stream_mrfld()
255 if (str_info->prev == STREAM_UN_INIT) in sst_pause_stream()
263 str_info->prev = str_info->status; in sst_pause_stream()
306 str_info->prev = STREAM_PAUSED; in sst_resume_stream()
317 str_info->prev = STREAM_PAUSED; in sst_resume_stream()
326 if (str_info->prev == STREAM_RUNNING) in sst_resume_stream()
330 str_info->prev = STREAM_PAUSED; in sst_resume_stream()
364 str_info->prev = STREAM_UN_INIT; in sst_drop_stream()
442 str_info->prev = str_info->status; in sst_free_stream()
Dsst_drv_interface.c320 str_info->prev = str_info->status; in sst_cdev_stream_start()
553 str_info->prev = str_info->status; in sst_stream_start()
571 str_info->prev = STREAM_UN_INIT; in sst_stream_drop()
624 stream->prev = stream->status; in sst_stream_init()
Dsst.c447 stream->resume_prev = stream->prev; in intel_sst_suspend()
562 stream->prev = stream->resume_prev; in intel_sst_resume()
Dsst_pvt.c215 stream->prev = STREAM_UN_INIT; in sst_clean_stream()
Dsst.h185 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/core/oss/
Dpcm_plugin.c123 while (plugin->prev) { in snd_pcm_plug_alloc()
128 plugin = plugin->prev; in snd_pcm_plug_alloc()
212 plugin_prev = plugin->prev; in snd_pcm_plug_client_size()
256 plugin_prev = plugin->prev; in snd_pcm_plug_slave_size()
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()
776 unsigned int rate, prev; in choose_rate() local
800 prev = rate; in choose_rate()
802 if (rate <= prev) in choose_rate()
/sound/pci/emu10k1/
Dmemory.c172 if ((p = blk->mapped_link.prev) != &emu->mapped_link_head) { in unmap_memblk()
221 …blk = (struct snd_emu10k1_memblk *)__snd_util_memblk_new(emu->memhdr, psize << PAGE_SHIFT, p->prev in search_empty()
457 if ((p = blk->mem.list.prev) != &hdr->block) { in get_single_page_range()
/sound/synth/emux/
Dsoundfont.c480 struct snd_sf_zone *prev, *next, *p; in remove_info() local
483 prev = NULL; in remove_info()
489 if (prev) in remove_info()
490 prev->next = next; in remove_info()
496 prev = p; in remove_info()
/sound/usb/
Dstream.c140 struct audioformat *prev = fp; in have_dup_chmap() local
142 list_for_each_entry_continue_reverse(prev, &subs->fmt_list, list) { in have_dup_chmap()
143 if (prev->chmap && in have_dup_chmap()
144 !memcmp(prev->chmap, fp->chmap, sizeof(*fp->chmap))) in have_dup_chmap()
/sound/pci/trident/
Dtrident_memory.c144 blk = __snd_util_memblk_new(hdr, psize * ALIGN_PAGE_SIZE, p->prev); in search_empty()
/sound/pci/
Dazt3328.c325 u8 prev = inb(reg), new; in snd_azf3328_io_reg_setb() local
327 new = (do_set) ? (prev|mask) : (prev & ~mask); in snd_azf3328_io_reg_setb()
331 if (new != prev) in snd_azf3328_io_reg_setb()
Des1968.c1385 if (buf->list.prev != &chip->buf_list) { in snd_es1968_free_memory()
1386 chunk = list_entry(buf->list.prev, struct esm_memory, list); in snd_es1968_free_memory()
/sound/pci/hda/
Dhda_intel.c944 int prev = power_save; in param_set_xint() local
947 if (ret || prev == power_save) in param_set_xint()

12