Searched refs:sp (Results 1 – 8 of 8) sorted by relevance
/sound/pci/emu10k1/ |
D | emu10k1_patch.c | 25 snd_emu10k1_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu10k1_sample_new() argument 36 if (snd_BUG_ON(!sp || !hdr)) in snd_emu10k1_sample_new() 39 if (sp->v.size == 0) { in snd_emu10k1_sample_new() 41 "emu: rom font for sample %d\n", sp->v.sample); in snd_emu10k1_sample_new() 46 sp->v.end -= sp->v.start; in snd_emu10k1_sample_new() 47 sp->v.loopstart -= sp->v.start; in snd_emu10k1_sample_new() 48 sp->v.loopend -= sp->v.start; in snd_emu10k1_sample_new() 49 sp->v.start = 0; in snd_emu10k1_sample_new() 52 sampleend = sp->v.end; in snd_emu10k1_sample_new() 53 if (sampleend > sp->v.size) in snd_emu10k1_sample_new() [all …]
|
D | emu10k1_synth_local.h | 16 struct snd_sf_sample *sp, 20 struct snd_sf_sample *sp,
|
/sound/isa/sb/ |
D | emu8000_patch.c | 136 snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu8000_sample_new() argument 148 if (snd_BUG_ON(!sp)) in snd_emu8000_sample_new() 151 if (sp->v.size == 0) in snd_emu8000_sample_new() 155 if (sp->v.loopstart > sp->v.loopend) in snd_emu8000_sample_new() 156 swap(sp->v.loopstart, sp->v.loopend); in snd_emu8000_sample_new() 159 truesize = sp->v.size; in snd_emu8000_sample_new() 160 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu8000_sample_new() 161 truesize += sp->v.loopend - sp->v.loopstart; in snd_emu8000_sample_new() 162 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu8000_sample_new() 165 sp->block = snd_util_mem_alloc(hdr, truesize * 2); in snd_emu8000_sample_new() [all …]
|
D | emu8000_local.h | 19 int snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, 22 int snd_emu8000_sample_free(struct snd_emux *rec, struct snd_sf_sample *sp,
|
/sound/synth/emux/ |
D | soundfont.c | 35 struct snd_soundfont *sf, struct snd_sf_sample *sp); 39 struct snd_soundfont *sf, struct snd_sf_sample *sp); 369 struct snd_sf_sample *sp) in set_sample_counter() argument 371 sp->counter = sflist->sample_counter++; in set_sample_counter() 382 struct snd_sf_sample *sp; in sf_sample_new() local 384 if ((sp = kzalloc(sizeof(*sp), GFP_KERNEL)) == NULL) in sf_sample_new() 387 sp->next = sf->samples; in sf_sample_new() 388 sf->samples = sp; in sf_sample_new() 390 set_sample_counter(sflist, sf, sp); in sf_sample_new() 391 return sp; in sf_sample_new() [all …]
|
D | emux.c | 54 static int sf_sample_new(void *private_data, struct snd_sf_sample *sp, in sf_sample_new() argument 59 return emu->ops.sample_new(emu, sp, hdr, buf, count); in sf_sample_new() 63 static int sf_sample_free(void *private_data, struct snd_sf_sample *sp, in sf_sample_free() argument 67 return emu->ops.sample_free(emu, sp, hdr); in sf_sample_free()
|
/sound/core/seq/ |
D | seq_ports.h | 108 struct snd_seq_client *s, struct snd_seq_client_port *sp, 114 struct snd_seq_client *s, struct snd_seq_client_port *sp,
|
/sound/soc/meson/ |
D | axg-pdm.c | 183 unsigned int spmax, sp, val; in axg_pdm_set_sample_pointer() local 195 sp = spmax * 3 / 4; in axg_pdm_set_sample_pointer() 198 val |= sp << (PDM_CHAN_CTRL_POINTER_WIDTH * i); in axg_pdm_set_sample_pointer()
|