Home
last modified time | relevance | path

Searched refs:ins (Results 1 – 9 of 9) sorted by relevance

/sound/pci/cs46xx/
Ddsp_spos.c51 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in shadow_and_reallocate_code() local
60 if (ins->code.offset > 0) { in shadow_and_reallocate_code()
80 address += (ins->code.offset / 2) - overlay_begin_address; in shadow_and_reallocate_code()
104 ins->code.data[ins->code.size++] = loval; in shadow_and_reallocate_code()
105 ins->code.data[ins->code.size++] = hival; in shadow_and_reallocate_code()
125 static int find_free_symbol_index (struct dsp_spos_instance * ins) in find_free_symbol_index() argument
127 int index = ins->symbol_table.nsymbols,i; in find_free_symbol_index()
129 for (i = ins->symbol_table.highest_frag_index; i < ins->symbol_table.nsymbols; ++i) { in find_free_symbol_index()
130 if (ins->symbol_table.symbols[i].deleted) { in find_free_symbol_index()
142 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in add_symbols() local
[all …]
Ddsp_spos_scb_lib.c32 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in remove_symbol() local
33 int symbol_index = (int)(symbol - ins->symbol_table.symbols); in remove_symbol()
35 if (snd_BUG_ON(ins->symbol_table.nsymbols <= 0)) in remove_symbol()
38 symbol_index >= ins->symbol_table.nsymbols)) in remove_symbol()
41 ins->symbol_table.symbols[symbol_index].deleted = 1; in remove_symbol()
43 if (symbol_index < ins->symbol_table.highest_frag_index) { in remove_symbol()
44 ins->symbol_table.highest_frag_index = symbol_index; in remove_symbol()
47 if (symbol_index == ins->symbol_table.nsymbols - 1) in remove_symbol()
48 ins->symbol_table.nsymbols --; in remove_symbol()
50 if (ins->symbol_table.highest_frag_index > ins->symbol_table.nsymbols) { in remove_symbol()
[all …]
Dcs46xx_lib.c1329 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in snd_cs46xx_interrupt() local
1354 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt()
1355 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt()
1356 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt()
1357 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt()
1364 if (ins->pcm_channels[i].active && in snd_cs46xx_interrupt()
1365 ins->pcm_channels[i].private_data && in snd_cs46xx_interrupt()
1366 !ins->pcm_channels[i].unlinked) { in snd_cs46xx_interrupt()
1367 cpcm = ins->pcm_channels[i].private_data; in snd_cs46xx_interrupt()
2018 struct dsp_spos_instance * ins = chip->dsp_spos_instance; in snd_cs46xx_adc_capture_get() local
[all …]
/sound/pci/oxygen/
Doxygen_pcm.c679 int outs, ins; in oxygen_pcm_init() local
683 ins = !!(chip->model.device_config & (CAPTURE_0_FROM_I2S_1 | in oxygen_pcm_init()
685 if (outs | ins) { in oxygen_pcm_init()
687 0, outs, ins, &pcm); in oxygen_pcm_init()
707 if (ins) in oxygen_pcm_init()
716 ins = !!(chip->model.device_config & CAPTURE_1_FROM_SPDIF); in oxygen_pcm_init()
717 if (outs | ins) { in oxygen_pcm_init()
718 err = snd_pcm_new(chip->card, "Digital", 1, outs, ins, &pcm); in oxygen_pcm_init()
724 if (ins) in oxygen_pcm_init()
737 ins = !!(chip->model.device_config & CAPTURE_2_FROM_AC97_1); in oxygen_pcm_init()
[all …]
/sound/drivers/
Dserial-u16550.c63 static int ins[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1}; /* 1 to 16 */ variable
83 module_param_array(ins, int, NULL, 0444);
84 MODULE_PARM_DESC(ins, "Number of MIDI inputs.");
833 int outs, int ins, in snd_uart16550_rmidi() argument
840 outs, ins, &rrawmidi); in snd_uart16550_rmidi()
868 ins[dev] = 1; in snd_serial_probe()
873 ins[dev] = 1; in snd_serial_probe()
877 ins[dev] = 1; in snd_serial_probe()
895 if (ins[dev] < 1 || ins[dev] > SNDRV_SERIAL_MAX_INS) { in snd_serial_probe()
898 SNDRV_SERIAL_MAX_INS, ins[dev]); in snd_serial_probe()
[all …]
/sound/soc/amd/vangogh/
Dacp5x-pcm-dma.c323 struct i2s_stream_instance *ins; in acp5x_dma_close() local
328 ins = substream->runtime->private_data; in acp5x_dma_close()
329 if (!ins) in acp5x_dma_close()
332 switch (ins->i2s_instance) { in acp5x_dma_close()
341 switch (ins->i2s_instance) { in acp5x_dma_close()
350 kfree(ins); in acp5x_dma_close()
/sound/soc/amd/raven/
Dacp3x-pcm-dma.c328 struct i2s_stream_instance *ins; in acp3x_dma_close() local
333 ins = substream->runtime->private_data; in acp3x_dma_close()
334 if (!ins) in acp3x_dma_close()
338 switch (ins->i2s_instance) { in acp3x_dma_close()
347 switch (ins->i2s_instance) { in acp3x_dma_close()
/sound/drivers/vx/
Dvx_pcm.c1204 unsigned int outs, ins; in snd_vx_pcm_new() local
1206 ins = chip->audio_ins > i * 2 ? 1 : 0; in snd_vx_pcm_new()
1207 if (! outs && ! ins) in snd_vx_pcm_new()
1210 outs, ins, &pcm); in snd_vx_pcm_new()
1215 if (ins) in snd_vx_pcm_new()
/sound/soc/codecs/
Dmsm8916-wcd-analog.c1047 bool ins = false; in pm8916_mbhc_switch_irq_handler() local
1051 ins = true; in pm8916_mbhc_switch_irq_handler()
1056 (!ins << CDC_A_MBHC_DET_CTL_MECH_DET_TYPE_SHIFT)); in pm8916_mbhc_switch_irq_handler()
1059 if (ins) { /* hs insertion */ in pm8916_mbhc_switch_irq_handler()