Searched refs:sp (Results 1 – 9 of 9) 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 37 if (snd_BUG_ON(!sp || !hdr)) in snd_emu10k1_sample_new() 40 if (sp->v.size == 0) { in snd_emu10k1_sample_new() 42 "emu: rom font for sample %d\n", sp->v.sample); in snd_emu10k1_sample_new() 47 sp->v.end -= sp->v.start; in snd_emu10k1_sample_new() 48 sp->v.loopstart -= sp->v.start; in snd_emu10k1_sample_new() 49 sp->v.loopend -= sp->v.start; in snd_emu10k1_sample_new() 50 sp->v.start = 0; in snd_emu10k1_sample_new() 53 sampleend = sp->v.end; in snd_emu10k1_sample_new() 54 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); 370 struct snd_sf_sample *sp) in set_sample_counter() argument 372 sp->counter = sflist->sample_counter++; in set_sample_counter() 383 struct snd_sf_sample *sp; in sf_sample_new() local 385 sp = kzalloc(sizeof(*sp), GFP_KERNEL); in sf_sample_new() 386 if (!sp) in sf_sample_new() 389 sp->next = sf->samples; in sf_sample_new() 390 sf->samples = sp; in sf_sample_new() 392 set_sample_counter(sflist, sf, 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/soc/pxa/ |
D | mmp-sspa.c | 41 u32 sp; member 47 unsigned int sspa_sp = sspa->sp; in mmp_sspa_tx_enable() 57 unsigned int sspa_sp = sspa->sp; in mmp_sspa_tx_disable() 67 unsigned int sspa_sp = sspa->sp; in mmp_sspa_rx_enable() 76 unsigned int sspa_sp = sspa->sp; in mmp_sspa_rx_disable() 171 sspa->sp = SSPA_SP_WEN | SSPA_SP_S_RST | SSPA_SP_FFLUSH; in mmp_sspa_set_dai_fmt() 176 sspa->sp |= SSPA_SP_MSL; in mmp_sspa_set_dai_fmt() 186 sspa->sp |= SSPA_SP_FSP; in mmp_sspa_set_dai_fmt() 258 sspa->sp &= ~SSPA_SP_FWID_MASK; in mmp_sspa_hw_params() 259 sspa->sp |= SSPA_SP_FWID(bits - 1); in mmp_sspa_hw_params() [all …]
|
/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()
|