Home
last modified time | relevance | path

Searched defs:chan (Results 1 – 25 of 48) sorted by relevance

12

/sound/soc/qcom/
Dlpass-lpaif-reg.h87 #define LPAIF_IRQ_PER(chan) (1 << (LPAIF_IRQ_BITSTRIDE * (chan))) argument
88 #define LPAIF_IRQ_XRUN(chan) (2 << (LPAIF_IRQ_BITSTRIDE * (chan))) argument
89 #define LPAIF_IRQ_ERR(chan) (4 << (LPAIF_IRQ_BITSTRIDE * (chan))) argument
91 #define LPAIF_IRQ_ALL(chan) (7 << (LPAIF_IRQ_BITSTRIDE * (chan))) argument
95 #define LPAIF_RDMA_REG_ADDR(v, addr, chan) \ argument
100 #define LPAIF_RDMACTL_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x00, (chan)) argument
101 #define LPAIF_RDMABASE_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x04, (chan)) argument
102 #define LPAIF_RDMABUFF_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x08, (chan)) argument
103 #define LPAIF_RDMACURR_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x0C, (chan)) argument
104 #define LPAIF_RDMAPER_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x10, (chan)) argument
[all …]
Dlpass-apq8016.c131 int chan = 0; in apq8016_lpass_alloc_dma_channel() local
154 static int apq8016_lpass_free_dma_channel(struct lpass_data *drvdata, int chan) in apq8016_lpass_free_dma_channel()
Dlpass-ipq806x.c66 static int ipq806x_lpass_free_dma_channel(struct lpass_data *drvdata, int chan) in ipq806x_lpass_free_dma_channel()
Dlpass-platform.c427 int chan, u32 interrupts) in lpass_dma_interrupt_handler()
483 int rv, chan; in lpass_platform_lpaif_irq() local
/sound/core/seq/
Dseq_midi_emul.c73 struct snd_midi_channel *chan; in snd_midi_process_event() local
232 note_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in note_off()
255 struct snd_midi_channel *chan, int control, int value) in do_control()
381 struct snd_midi_channel *chan = chset->channels + i; in snd_midi_channel_set_clear() local
405 rpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in rpn()
445 nrpn(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan, in nrpn()
587 all_sounds_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan) in all_sounds_off()
605 all_notes_off(struct snd_midi_op *ops, void *drv, struct snd_midi_channel *chan) in all_notes_off()
643 struct snd_midi_channel *chan; in snd_midi_channel_init_set() local
663 struct snd_midi_channel *chan = chset->channels + ch; in reset_all_channels() local
[all …]
/sound/soc/sprd/
Dsprd-mcdt.h74 void sprd_mcdt_free_chan(struct sprd_mcdt_chan *chan) in sprd_mcdt_free_chan()
77 int sprd_mcdt_chan_write(struct sprd_mcdt_chan *chan, char *tx_buf, u32 size) in sprd_mcdt_chan_write()
82 int sprd_mcdt_chan_read(struct sprd_mcdt_chan *chan, char *rx_buf, u32 size) in sprd_mcdt_chan_read()
87 int sprd_mcdt_chan_int_enable(struct sprd_mcdt_chan *chan, u32 water_mark, in sprd_mcdt_chan_int_enable()
93 void sprd_mcdt_chan_int_disable(struct sprd_mcdt_chan *chan) in sprd_mcdt_chan_int_disable()
96 int sprd_mcdt_chan_dma_enable(struct sprd_mcdt_chan *chan, in sprd_mcdt_chan_dma_enable()
102 void sprd_mcdt_chan_dma_disable(struct sprd_mcdt_chan *chan) in sprd_mcdt_chan_dma_disable()
Dsprd-mcdt.c112 struct sprd_mcdt_chan chan[MCDT_CHANNEL_NUM]; member
531 struct sprd_mcdt_chan *chan = &mcdt->chan[i]; in sprd_mcdt_irq_handler() local
541 struct sprd_mcdt_chan *chan = in sprd_mcdt_irq_handler() local
569 int sprd_mcdt_chan_write(struct sprd_mcdt_chan *chan, char *tx_buf, u32 size) in sprd_mcdt_chan_write()
620 int sprd_mcdt_chan_read(struct sprd_mcdt_chan *chan, char *rx_buf, u32 size) in sprd_mcdt_chan_read()
671 int sprd_mcdt_chan_int_enable(struct sprd_mcdt_chan *chan, u32 water_mark, in sprd_mcdt_chan_int_enable()
725 void sprd_mcdt_chan_int_disable(struct sprd_mcdt_chan *chan) in sprd_mcdt_chan_int_disable()
773 int sprd_mcdt_chan_dma_enable(struct sprd_mcdt_chan *chan, in sprd_mcdt_chan_dma_enable()
827 void sprd_mcdt_chan_dma_disable(struct sprd_mcdt_chan *chan) in sprd_mcdt_chan_dma_disable()
869 struct sprd_mcdt_chan *temp, *chan = NULL; in sprd_mcdt_request_chan() local
[all …]
/sound/drivers/opl3/
Dopl3_midi.c47 struct snd_midi_channel *chan) in snd_opl3_calc_volume()
80 int note, struct snd_midi_channel *chan) in snd_opl3_calc_pitch()
125 struct snd_midi_channel *chan) { in opl3_get_voice()
276 void snd_opl3_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_note_on()
655 struct snd_midi_channel *chan) in snd_opl3_note_off_unsafe()
692 struct snd_midi_channel *chan) in snd_opl3_note_off()
705 void snd_opl3_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_opl3_key_press()
716 void snd_opl3_terminate_note(void *p, int note, struct snd_midi_channel *chan) in snd_opl3_terminate_note()
772 static void snd_opl3_pitch_ctrl(struct snd_opl3 *opl3, struct snd_midi_channel *chan) in snd_opl3_pitch_ctrl()
802 void snd_opl3_control(void *p, int type, struct snd_midi_channel *chan) in snd_opl3_control()
[all …]
Dopl3_drums.c122 int vel, struct snd_midi_channel *chan) in snd_opl3_drum_vol_set()
170 struct snd_midi_channel *chan) in snd_opl3_drum_switch()
/sound/synth/emux/
Demux_synth.c46 snd_emux_note_on(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_on()
145 snd_emux_note_off(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_note_off()
222 snd_emux_key_press(void *p, int note, int vel, struct snd_midi_channel *chan) in snd_emux_key_press()
255 snd_emux_update_channel(struct snd_emux_port *port, struct snd_midi_channel *chan, int update) in snd_emux_update_channel()
311 snd_emux_control(void *p, int type, struct snd_midi_channel *chan) in snd_emux_control()
364 terminate_note1(struct snd_emux *emu, int note, struct snd_midi_channel *chan, int free) in terminate_note1()
385 snd_emux_terminate_note(void *p, int note, struct snd_midi_channel *chan) in snd_emux_terminate_note()
641 struct snd_midi_channel *chan = vp->chan; in calc_pan() local
744 struct snd_midi_channel *chan = vp->chan; in calc_volume() local
813 struct snd_midi_channel *chan = vp->chan; in calc_pitch() local
[all …]
Demux_effect.c86 effect_set_byte(unsigned char *valp, struct snd_midi_channel *chan, int type) in effect_set_byte()
107 effect_set_word(unsigned short *valp, struct snd_midi_channel *chan, int type) in effect_set_word()
124 effect_get_offset(struct snd_midi_channel *chan, int lo, int hi, int mode) in effect_get_offset()
143 struct snd_midi_channel *chan, int type, int val) in snd_emux_send_effect_oss()
163 snd_emux_send_effect(struct snd_emux_port *port, struct snd_midi_channel *chan, in snd_emux_send_effect()
221 struct snd_midi_channel *chan = vp->chan; in snd_emux_setup_effect() local
Demux_nrpn.c40 struct snd_midi_channel *chan, in send_converted_effect()
273 snd_emux_nrpn(void *p, struct snd_midi_channel *chan, in snd_emux_nrpn()
349 snd_emux_xg_control(struct snd_emux_port *port, struct snd_midi_channel *chan, in snd_emux_xg_control()
Demux_oss.c327 struct snd_midi_channel *chan; in emuspec_control() local
421 struct snd_midi_channel *chan; in gusspec_control() local
/sound/drivers/opl4/
Dopl4_synth.c312 static void snd_opl4_do_for_note(struct snd_opl4 *opl4, int note, struct snd_midi_channel *chan, in snd_opl4_do_for_note()
333 struct snd_midi_channel *chan, in snd_opl4_do_for_channel()
422 struct snd_midi_channel *chan = voice->chan; in snd_opl4_update_pitch() local
482 void snd_opl4_note_on(void *private_data, int note, int vel, struct snd_midi_channel *chan) in snd_opl4_note_on()
563 void snd_opl4_note_off(void *private_data, int note, int vel, struct snd_midi_channel *chan) in snd_opl4_note_off()
578 void snd_opl4_terminate_note(void *private_data, int note, struct snd_midi_channel *chan) in snd_opl4_terminate_note()
585 void snd_opl4_control(void *private_data, int type, struct snd_midi_channel *chan) in snd_opl4_control()
/sound/soc/
Dsoc-generic-dmaengine-pcm.c25 struct dma_chan *chan[SNDRV_PCM_STREAM_LAST + 1]; member
85 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in dmaengine_pcm_hw_params() local
119 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_set_runtime_hwparams() local
208 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_open() local
243 struct dma_chan *chan) in dmaengine_pcm_can_report_residue()
413 struct dma_chan *chan; in dmaengine_pcm_request_chan_of() local
/sound/soc/txx9/
Dtxx9aclc.c123 struct dma_chan *chan = dmadata->dma_chan; in txx9aclc_dma_submit() local
150 struct dma_chan *chan = dmadata->dma_chan; in txx9aclc_dma_tasklet() local
267 struct dma_chan *chan = dmadata->dma_chan; in txx9aclc_pcm_close() local
327 static bool filter(struct dma_chan *chan, void *param) in filter()
397 struct dma_chan *chan = dmadata->dma_chan; in txx9aclc_pcm_remove() local
/sound/mips/
Dsgio2audio.c443 struct snd_sgio2audio_chan *chan = substream->runtime->private_data; in snd_sgio2audio_dma_start() local
463 struct snd_sgio2audio_chan *chan = substream->runtime->private_data; in snd_sgio2audio_dma_stop() local
471 struct snd_sgio2audio_chan *chan = dev_id; in snd_sgio2audio_dma_in_isr() local
491 struct snd_sgio2audio_chan *chan = dev_id; in snd_sgio2audio_dma_out_isr() local
510 struct snd_sgio2audio_chan *chan = dev_id; in snd_sgio2audio_error_isr() local
600 struct snd_sgio2audio_chan *chan = substream->runtime->private_data; in snd_sgio2audio_pcm_prepare() local
656 struct snd_sgio2audio_chan *chan = substream->runtime->private_data; in snd_sgio2audio_pcm_pointer() local
/sound/soc/img/
Dimg-i2s-out.c110 u32 chan, u32 val, u32 reg) in img_i2s_out_ch_writel()
115 static inline u32 img_i2s_out_ch_readl(struct img_i2s_out *i2s, u32 chan, in img_i2s_out_ch_readl()
121 static inline void img_i2s_out_ch_disable(struct img_i2s_out *i2s, u32 chan) in img_i2s_out_ch_disable()
130 static inline void img_i2s_out_ch_enable(struct img_i2s_out *i2s, u32 chan) in img_i2s_out_ch_enable()
Dimg-i2s-in.c98 static inline void img_i2s_in_ch_writel(struct img_i2s_in *i2s, u32 chan, in img_i2s_in_ch_writel()
104 static inline u32 img_i2s_in_ch_readl(struct img_i2s_in *i2s, u32 chan, in img_i2s_in_ch_readl()
110 static inline void img_i2s_in_ch_disable(struct img_i2s_in *i2s, u32 chan) in img_i2s_in_ch_disable()
119 static inline void img_i2s_in_ch_enable(struct img_i2s_in *i2s, u32 chan) in img_i2s_in_ch_enable()
/sound/soc/pxa/
Dmmp-pcm.c61 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in mmp_pcm_hw_params() local
80 static bool filter(struct dma_chan *chan, void *param) in filter()
/sound/soc/spear/
Dspear_pcm.c42 bool (*filter)(struct dma_chan *chan, void *slave)) in devm_spear_pcm_platform_register()
/sound/soc/fsl/
Dimx-pcm-dma.c22 static bool filter(struct dma_chan *chan, void *param) in filter()
/sound/soc/cirrus/
Dep93xx-pcm.c38 static bool ep93xx_pcm_dma_filter(struct dma_chan *chan, void *filter_param) in ep93xx_pcm_dma_filter()
/sound/core/
Dpcm_dmaengine.c148 struct dma_chan *chan = prtd->dma_chan; in dmaengine_pcm_prepare_and_submit() local
295 struct dma_chan *chan) in snd_dmaengine_pcm_open()
/sound/arm/
Dpxa2xx-pcm-lib.c35 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in pxa2xx_pcm_hw_params() local

12