/sound/soc/qcom/ |
D | lpass-lpaif-reg.h | 87 #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 …]
|
D | lpass-apq8016.c | 131 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()
|
D | lpass-ipq806x.c | 66 static int ipq806x_lpass_free_dma_channel(struct lpass_data *drvdata, int chan) in ipq806x_lpass_free_dma_channel()
|
D | lpass-platform.c | 427 int chan, u32 interrupts) in lpass_dma_interrupt_handler() 483 int rv, chan; in lpass_platform_lpaif_irq() local
|
/sound/core/seq/ |
D | seq_midi_emul.c | 73 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/ |
D | sprd-mcdt.h | 74 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()
|
D | sprd-mcdt.c | 112 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/ |
D | opl3_midi.c | 47 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 …]
|
D | opl3_drums.c | 122 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/ |
D | emux_synth.c | 46 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 …]
|
D | emux_effect.c | 86 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
|
D | emux_nrpn.c | 40 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()
|
D | emux_oss.c | 327 struct snd_midi_channel *chan; in emuspec_control() local 421 struct snd_midi_channel *chan; in gusspec_control() local
|
/sound/drivers/opl4/ |
D | opl4_synth.c | 312 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/ |
D | soc-generic-dmaengine-pcm.c | 25 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/ |
D | txx9aclc.c | 123 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/ |
D | sgio2audio.c | 443 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/ |
D | img-i2s-out.c | 110 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()
|
D | img-i2s-in.c | 98 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/ |
D | mmp-pcm.c | 61 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/ |
D | spear_pcm.c | 42 bool (*filter)(struct dma_chan *chan, void *slave)) in devm_spear_pcm_platform_register()
|
/sound/soc/fsl/ |
D | imx-pcm-dma.c | 22 static bool filter(struct dma_chan *chan, void *param) in filter()
|
/sound/soc/cirrus/ |
D | ep93xx-pcm.c | 38 static bool ep93xx_pcm_dma_filter(struct dma_chan *chan, void *filter_param) in ep93xx_pcm_dma_filter()
|
/sound/core/ |
D | pcm_dmaengine.c | 148 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/ |
D | pxa2xx-pcm-lib.c | 35 struct dma_chan *chan = snd_dmaengine_pcm_get_chan(substream); in pxa2xx_pcm_hw_params() local
|