Home
last modified time | relevance | path

Searched refs:chn (Results 1 – 14 of 14) sorted by relevance

/sound/core/seq/oss/
Dseq_oss_event.c99 return note_off_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); in old_event()
102 return note_on_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); in old_event()
110 q->n.chn, 0, q->n.note, ev); in old_event()
127 return note_off_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); in extended_event()
130 return note_on_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); in extended_event()
134 q->e.chn, 0, q->e.p1, ev); in extended_event()
138 q->e.chn, 0, q->e.p1, ev); in extended_event()
145 q->e.chn, CTL_PAN, val, ev); in extended_event()
154 q->e.chn, 0, val, ev); in extended_event()
159 q->e.chn, 0, val*128/100, ev); in extended_event()
[all …]
Dseq_oss_event.h29 unsigned char chn; member
47 unsigned char chn; member
56 unsigned char chn; member
66 unsigned char chn; member
Dseq_oss_midi.c579 ossev.v.chn = ev->data.note.channel; in send_synth_event()
587 ossev.l.chn = ev->data.control.channel; in send_synth_event()
592 ossev.l.chn = ev->data.control.channel; in send_synth_event()
/sound/core/oss/
Dmixer_oss.c129 int result = 0, chn; in snd_mixer_oss_devmask() local
134 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_devmask()
135 pslot = &mixer->slots[chn]; in snd_mixer_oss_devmask()
137 result |= 1 << chn; in snd_mixer_oss_devmask()
147 int result = 0, chn; in snd_mixer_oss_stereodevs() local
152 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_stereodevs()
153 pslot = &mixer->slots[chn]; in snd_mixer_oss_stereodevs()
155 result |= 1 << chn; in snd_mixer_oss_stereodevs()
173 int chn; in snd_mixer_oss_recmask() local
174 for (chn = 0; chn < 31; chn++) { in snd_mixer_oss_recmask()
[all …]
/sound/pci/ice1712/
Dhoontech.c68 static void snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate) in snd_ice1712_stdsp24_box_channel() argument
79 if (chn == 3) in snd_ice1712_stdsp24_box_channel()
92 if (chn == 3) { in snd_ice1712_stdsp24_box_channel()
96 switch (chn) { in snd_ice1712_stdsp24_box_channel()
158 int box, chn; in hoontech_init() local
237 for (chn = 0; chn < 4; chn++) in hoontech_init()
238 snd_ice1712_stdsp24_box_channel(ice, box, chn, in hoontech_init()
239 (spec->boxconfig[box] & (1 << chn)) ? 1 : 0); in hoontech_init()
Dice1712.c609 u32 period_size, rate, tmp, chn; in snd_ice1712_playback_ds_prepare() local
622 chn = substream->number * 2; in snd_ice1712_playback_ds_prepare()
624 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_ADDR0, runtime->dma_addr); in snd_ice1712_playback_ds_prepare()
625 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT0, period_size); in snd_ice1712_playback_ds_prepare()
626 …snd_ice1712_ds_write(ice, chn, ICE1712_DSC_ADDR1, runtime->dma_addr + (runtime->periods > 1 ? peri… in snd_ice1712_playback_ds_prepare()
627 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_COUNT1, period_size); in snd_ice1712_playback_ds_prepare()
628 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_RATE, rate); in snd_ice1712_playback_ds_prepare()
629 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_VOLUME, 0); in snd_ice1712_playback_ds_prepare()
630 snd_ice1712_ds_write(ice, chn, ICE1712_DSC_CONTROL, tmp); in snd_ice1712_playback_ds_prepare()
632 snd_ice1712_ds_write(ice, chn + 1, ICE1712_DSC_RATE, rate); in snd_ice1712_playback_ds_prepare()
[all …]
/sound/pci/emu10k1/
Dio.c21 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn) in snd_emu10k1_ptr_read() argument
28 regptr = ((reg << 16) & mask) | (chn & PTR_CHANNELNUM_MASK); in snd_emu10k1_ptr_read()
54 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned in… in snd_emu10k1_ptr_write() argument
63 regptr = ((reg << 16) & mask) | (chn & PTR_CHANNELNUM_MASK); in snd_emu10k1_ptr_write()
90 unsigned int chn) in snd_emu10k1_ptr20_read() argument
95 regptr = (reg << 16) | chn; in snd_emu10k1_ptr20_read()
106 unsigned int chn, in snd_emu10k1_ptr20_write() argument
112 regptr = (reg << 16) | chn; in snd_emu10k1_ptr20_write()
Demuproc.c434 unsigned int chn) in snd_ptr_read() argument
439 regptr = (reg << 16) | chn; in snd_ptr_read()
451 unsigned int chn, in snd_ptr_write() argument
457 regptr = (reg << 16) | chn; in snd_ptr_write()
Demu10k1x.c283 unsigned int chn) in snd_emu10k1x_ptr_read() argument
288 regptr = (reg << 16) | chn; in snd_emu10k1x_ptr_read()
299 unsigned int chn, in snd_emu10k1x_ptr_write() argument
305 regptr = (reg << 16) | chn; in snd_emu10k1x_ptr_write()
/sound/usb/line6/
Dplayback.c24 int chn = 0; in change_volume() local
37 int val = (pv * volume[chn & 1]) >> 8; in change_volume()
40 ++chn; in change_volume()
52 val = (val * volume[chn & 1]) >> 8; in change_volume()
57 ++chn; in change_volume()
/sound/pci/rme9652/
Drme9652.c1268 unsigned int chn; in snd_rme9652_put_thru() local
1274 for (chn = 0; chn < rme9652->ss_channels; ++chn) { in snd_rme9652_put_thru()
1275 if (ucontrol->value.integer.value[chn]) in snd_rme9652_put_thru()
1276 thru_bits |= 1 << chn; in snd_rme9652_put_thru()
1282 for (chn = 0; chn < rme9652->ss_channels; ++chn) { in snd_rme9652_put_thru()
1283 if (!(change & (1 << chn))) in snd_rme9652_put_thru()
1285 rme9652_set_thru(rme9652,chn,thru_bits&(1<<chn)); in snd_rme9652_put_thru()
2055 int chn; in snd_rme9652_channel_info() local
2060 chn = rme9652->channel_map[array_index_nospec(info->channel, in snd_rme9652_channel_info()
2062 if (chn < 0) in snd_rme9652_channel_info()
[all …]
/sound/pci/ca0106/
Dca0106.h709 unsigned int chn);
713 unsigned int chn,
Dca0106_main.c334 unsigned int chn) in snd_ca0106_ptr_read() argument
339 regptr = (reg << 16) | chn; in snd_ca0106_ptr_read()
350 unsigned int chn, in snd_ca0106_ptr_write() argument
356 regptr = (reg << 16) | chn; in snd_ca0106_ptr_write()
/sound/soc/pxa/
Dpxa-ssp.c555 int chn = params_channels(params); in pxa_ssp_hw_params() local
561 int bclk = rate * chn * (width / 8); in pxa_ssp_hw_params()
571 ((chn == 2) && (ttsa != 1)) || (width == 32), in pxa_ssp_hw_params()