/sound/soc/qcom/ |
D | lpass-lpaif-reg.h | 19 #define LPAIF_I2SCTL_REG_ADDR(v, addr, port) \ argument 22 #define LPAIF_I2SCTL_REG(v, port) LPAIF_I2SCTL_REG_ADDR(v, 0x0, (port)) argument 84 #define LPAIF_IRQ_REG_ADDR(v, addr, port) \ argument 89 #define LPAIF_IRQEN_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0x0, (port)) argument 90 #define LPAIF_IRQSTAT_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0x4, (port)) argument 91 #define LPAIF_IRQCLEAR_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0xC, (port)) argument 103 #define LPAIF_RDMA_REG_ADDR(v, addr, chan) \ argument 108 #define LPAIF_RDMACTL_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x00, (chan)) argument 109 #define LPAIF_RDMABASE_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x04, (chan)) argument 110 #define LPAIF_RDMABUFF_REG(v, chan) LPAIF_RDMA_REG_ADDR(v, 0x08, (chan)) argument [all …]
|
D | lpass-platform.c | 66 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_open() local 121 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_close() local 141 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_hw_params() local 234 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_hw_free() local 255 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_prepare() local 307 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_trigger() local 381 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_pointer() local 434 struct lpass_variant *v = drvdata->variant; in lpass_dma_interrupt_handler() local 485 struct lpass_variant *v = drvdata->variant; in lpass_platform_lpaif_irq() local 569 struct lpass_variant *v = drvdata->variant; in asoc_qcom_lpass_platform_register() local
|
D | lpass-cpu.c | 308 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_writeable() local 350 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_readable() local 396 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_volatile() local
|
D | lpass-apq8016.c | 139 struct lpass_variant *v = drvdata->variant; in apq8016_lpass_alloc_dma_channel() local
|
/sound/soc/sunxi/ |
D | sun4i-spdif.c | 38 #define SUN4I_SPDIF_CTL_MCLKDIV(v) ((v) << 4) /* v even */ argument 47 #define SUN4I_SPDIF_TXCFG_TXRATIO(v) ((v) << 4) argument 70 #define SUN4I_SPDIF_FCTL_TXTL(v) ((v) << 8) argument 72 #define SUN4I_SPDIF_FCTL_RXTL(v) ((v) << 3) argument 75 #define SUN4I_SPDIF_FCTL_RXOM(v) ((v) << 0) argument 113 #define SUN4I_SPDIF_TXCHSTA0_CLK(v) ((v) << 28) argument 114 #define SUN4I_SPDIF_TXCHSTA0_SAMFREQ(v) ((v) << 24) argument 116 #define SUN4I_SPDIF_TXCHSTA0_CHNUM(v) ((v) << 20) argument 118 #define SUN4I_SPDIF_TXCHSTA0_SRCNUM(v) ((v) << 16) argument 119 #define SUN4I_SPDIF_TXCHSTA0_CATACOD(v) ((v) << 8) argument [all …]
|
/sound/soc/mxs/ |
D | mxs-saif.h | 33 #define BF_SAIF_CTRL_BITCLK_MULT_RATE(v) \ argument 43 #define BF_SAIF_CTRL_DMAWAIT_COUNT(v) \ argument 47 #define BF_SAIF_CTRL_CHANNEL_NUM_SELECT(v) \ argument 57 #define BF_SAIF_CTRL_WORD_LENGTH(v) \ argument 68 #define BF_SAIF_STAT_RSRVD2(v) \ argument 73 #define BF_SAIF_STAT_RSRVD1(v) \ argument 81 #define BF_SAIF_STAT_RSRVD0(v) \ argument 88 #define BF_SAIF_DATA_PCM_RIGHT(v) \ argument 92 #define BF_SAIF_DATA_PCM_LEFT(v) \ argument 98 #define BF_SAIF_VERSION_MAJOR(v) \ argument [all …]
|
/sound/soc/davinci/ |
D | davinci-i2s.c | 66 #define DAVINCI_MCBSP_SPCR_RINTM(v) ((v) << 4) argument 68 #define DAVINCI_MCBSP_SPCR_XINTM(v) ((v) << 20) argument 73 #define DAVINCI_MCBSP_RCR_RWDLEN1(v) ((v) << 5) argument 74 #define DAVINCI_MCBSP_RCR_RFRLEN1(v) ((v) << 8) argument 75 #define DAVINCI_MCBSP_RCR_RDATDLY(v) ((v) << 16) argument 77 #define DAVINCI_MCBSP_RCR_RWDLEN2(v) ((v) << 21) argument 78 #define DAVINCI_MCBSP_RCR_RFRLEN2(v) ((v) << 24) argument 81 #define DAVINCI_MCBSP_XCR_XWDLEN1(v) ((v) << 5) argument 82 #define DAVINCI_MCBSP_XCR_XFRLEN1(v) ((v) << 8) argument 83 #define DAVINCI_MCBSP_XCR_XDATDLY(v) ((v) << 16) argument [all …]
|
/sound/soc/bcm/ |
D | bcm2835-i2s.c | 76 #define BCM2835_I2S_RXTHR(v) ((v) << 7) argument 77 #define BCM2835_I2S_TXTHR(v) ((v) << 5) argument 93 #define BCM2835_I2S_FLEN(v) ((v) << 10) argument 94 #define BCM2835_I2S_FSLEN(v) (v) argument 98 #define BCM2835_I2S_CHPOS(v) ((v) << 4) argument 99 #define BCM2835_I2S_CHWID(v) (v) argument 100 #define BCM2835_I2S_CH1(v) ((v) << 16) argument 101 #define BCM2835_I2S_CH2(v) (v) argument 103 #define BCM2835_I2S_TX_PANIC(v) ((v) << 24) argument 104 #define BCM2835_I2S_RX_PANIC(v) ((v) << 16) argument [all …]
|
/sound/pci/asihpi/ |
D | hpi_version.h | 27 #define HPI_VER_MAJOR(v) ((int)(v >> 16)) argument 29 #define HPI_VER_MINOR(v) ((int)((v >> 8) & 0xFF)) argument 31 #define HPI_VER_RELEASE(v) ((int)(v & 0xFF)) argument
|
/sound/aoa/codecs/ |
D | onyx.c | 70 s32 v; in onyx_read_register() local 217 u8 v, n; in onyx_snd_inputgain_put() local 255 s8 v; in onyx_snd_capture_source_get() local 268 s8 v; in onyx_set_capture_source() local 331 u8 v = 0, c = 0; in onyx_snd_mute_put() local 391 u8 v = 0, c = 0; in onyx_snd_single_bit_put() local 493 u8 v; in onyx_spdif_get() local 516 u8 v; in onyx_spdif_put() local 674 u8 v; in onyx_usable() local 699 u8 v; in onyx_prepare() local [all …]
|
/sound/sparc/ |
D | dbri.c | 214 #define CS4215_LO(v) v /* Left Output Attenuation 0x3f: -94.5 dB */ argument 219 #define CS4215_RO(v) v /* Right Output Attenuation 0x3f: -94.5 dB */ argument 224 #define CS4215_LG(v) v /* Left Gain Setting 0xf: 22.5 dB */ argument 231 #define CS4215_RG(v) v /* Right Gain Setting 0xf: 22.5 dB */ argument 232 #define CS4215_MA(v) (v<<4) /* Monitor Path Attenuation 0xf: mute */ argument 379 #define D_PIPE(v) ((v)<<0) /* Pipe No.: 0-15 long, 16-21 short */ argument 395 #define D_SDP_MODE(v) ((v)&(7<<13)) argument 410 #define D_DTS_PRVIN(v) ((v)<<10) /* Previous In Pipe */ argument 411 #define D_DTS_PRVOUT(v) ((v)<<5) /* Previous Out Pipe */ argument 414 #define D_TS_LEN(v) ((v)<<24) /* Number of bits in this time slot */ argument [all …]
|
/sound/pci/cs5535audio/ |
D | cs5535audio_olpc.c | 75 static int olpc_dc_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_dc_get() 81 static int olpc_dc_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_dc_put() 99 static int olpc_mic_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_mic_get() 110 static int olpc_mic_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_mic_put()
|
/sound/core/ |
D | pcm.c | 179 #define FORMAT(v) [SNDRV_PCM_FORMAT_##v] = #v argument 245 #define STATE(v) [SNDRV_PCM_STATE_##v] = #v argument 246 #define STREAM(v) [SNDRV_PCM_STREAM_##v] = #v argument 247 #define READY(v) [SNDRV_PCM_READY_##v] = #v argument 248 #define XRUN(v) [SNDRV_PCM_XRUN_##v] = #v argument 249 #define SILENCE(v) [SNDRV_PCM_SILENCE_##v] = #v argument 250 #define TSTAMP(v) [SNDRV_PCM_TSTAMP_##v] = #v argument 251 #define ACCESS(v) [SNDRV_PCM_ACCESS_##v] = #v argument 252 #define START(v) [SNDRV_PCM_START_##v] = #v argument 253 #define SUBFORMAT(v) [SNDRV_PCM_SUBFORMAT_##v] = #v argument
|
/sound/oss/dmasound/ |
D | dmasound_atari.c | 872 #define TONE_VOXWARE_TO_DB(v) \ argument 874 #define TONE_DB_TO_VOXWARE(v) (((v) * 25 + ((v) > 0 ? 5 : -5)) / 6 + 50) argument 984 #define VOLUME_VOXWARE_TO_DB(v) \ argument 986 #define VOLUME_DB_TO_VOXWARE(v) ((((v) + 40) * 5 + 1) / 2) argument 1000 #define GAIN_VOXWARE_TO_DB(v) \ argument 1002 #define GAIN_DB_TO_VOXWARE(v) ((((v) + 80) * 5 + 1) / 4) argument 1153 #define VOLUME_VOXWARE_TO_ATT(v) \ argument 1155 #define VOLUME_ATT_TO_VOXWARE(v) (100 - (v) * 20 / 3) argument 1338 #define RECLEVEL_VOXWARE_TO_GAIN(v) \ argument 1340 #define RECLEVEL_GAIN_TO_VOXWARE(v) (((v) * 20 + 2) / 3) argument
|
D | dmasound_paula.c | 422 #define VOLUME_VOXWARE_TO_AMI(v) \ argument 424 #define VOLUME_AMI_TO_VOXWARE(v) ((v)*100/64) argument
|
/sound/pci/au88x0/ |
D | au88x0_a3d.c | 487 static void a3dsrc_ZeroStateA3D(a3dsrc_t *a, vortex_t *v) in a3dsrc_ZeroStateA3D() 554 static void vortex_A3dSourceHw_Initialize(vortex_t * v, int source, int slice) in vortex_A3dSourceHw_Initialize() 567 static int Vort3DRend_Initialize(vortex_t * v, unsigned short mode) in Vort3DRend_Initialize() 598 static void vortex_Vort3D_enable(vortex_t *v) in vortex_Vort3D_enable() 611 static void vortex_Vort3D_disable(vortex_t * v) in vortex_Vort3D_disable() 618 static void vortex_Vort3D_connect(vortex_t * v, int en) in vortex_Vort3D_connect() 680 static void vortex_Vort3D_InitializeSource(a3dsrc_t *a, int en, vortex_t *v) in vortex_Vort3D_InitializeSource()
|
/sound/pci/hda/ |
D | hda_tegra.c | 132 u32 v; in hda_tegra_writew() local 144 u32 v; in hda_tegra_readw() local 154 u32 v; in hda_tegra_writeb() local 166 u32 v; in hda_tegra_readb() local 190 u32 v; in hda_tegra_init() local
|
/sound/soc/fsl/ |
D | fsl_esai.h | 123 #define ESAI_xFCR_xWA(v) (((8 - ((v) >> 2)) << ESAI_xFCR_xWA_SHIFT) & ESAI_xFCR_xWA_MASK) argument 127 #define ESAI_xFCR_xFWM(v) ((((v) - 1) << ESAI_xFCR_xFWM_SHIFT) & ESAI_xFCR_xFWM_MASK) argument 303 #define ESAI_xCCR_xFP(v) ((((v) - 1) << ESAI_xCCR_xFP_SHIFT) & ESAI_xCCR_xFP_MASK) argument 307 #define ESAI_xCCR_xDC(v) ((((v) - 1) << ESAI_xCCR_xDC_SHIFT) & ESAI_xCCR_xDC_MASK) argument 315 #define ESAI_xCCR_xPM(v) ((((v) - 1) << ESAI_xCCR_xPM_SHIFT) & ESAI_xCCR_xPM_MASK) argument 321 #define ESAI_xSMA_xS(v) ((v) & ESAI_xSMA_xS_MASK) argument 325 #define ESAI_xSMB_xS(v) (((v) >> ESAI_xSMA_xS_WIDTH) & ESAI_xSMB_xS_MASK) argument 331 #define ESAI_PRRC_PDC(v) ((v) & ESAI_PRRC_PDC_MASK) argument 337 #define ESAI_PCRC_PC(v) ((v) & ESAI_PCRC_PC_MASK) argument
|
D | fsl_asrc.h | 127 #define ASRCNCR_ANCi(i, v, b) ((v << ASRCNCR_ANCi_SHIFT(i, b)) & ASRCNCR_ANCi_MASK(i, b)) argument 142 #define ASRCFG_POSTMOD(i, v) ((v) << ASRCFG_POSTMODi_SHIFT(i)) argument 150 #define ASRCFG_PREMOD(i, v) ((v) << ASRCFG_PREMODi_SHIFT(i)) argument 161 #define ASRCSR_AOCS(i, v) ((v) << ASRCSR_AOCSi_SHIFT(i)) argument 164 #define ASRCSR_AICS(i, v) ((v) << ASRCSR_AICSi_SHIFT(i)) argument 170 #define ASRCDRi_AICP(i, v) ((v) << ASRCDRi_AICPi_SHIFT(i)) argument 173 #define ASRCDRi_AICD(i, v) ((v) << ASRCDRi_AICDi_SHIFT(i)) argument 176 #define ASRCDRi_AOCP(i, v) ((v) << ASRCDRi_AOCPi_SHIFT(i)) argument 179 #define ASRCDRi_AOCD(i, v) ((v) << ASRCDRi_AOCDi_SHIFT(i)) argument 239 #define ASRMCRi_OUTFIFO_THRESHOLD(v) (((v) << ASRMCRi_OUTFIFO_THRESHOLD_SHIFT) & ASRMCRi_OUTFIFO_TH… argument [all …]
|
/sound/aoa/core/ |
D | gpio-feature.c | 127 #define SWITCH_GPIO(name, v, on) \ argument 168 int v; in ftr_gpio_set_hw_reset() local 223 int v; in gpio_enable_dual_edge() local
|
/sound/soc/au1x/ |
D | i2sc.c | 74 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR() 185 unsigned long v; in au1xi2s_hw_params() local
|
D | ac97c.c | 76 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR() 125 unsigned short v) in au1xac97c_ac97_write()
|
/sound/arm/ |
D | aaci.c | 42 u32 v, maincr = aaci->maincr | MAINCR_SCRA(ac97->num); in aaci_ac97_select_codec() local 74 u32 v; in aaci_ac97_write() local 114 u32 v; in aaci_ac97_read() local
|
/sound/isa/sb/ |
D | sb8_main.c | 46 #define SB8_DEN(v) ((SB8_CLOCK + (v) / 2) / (v)) argument 47 #define SB8_RATE(v) (SB8_CLOCK / SB8_DEN(v)) argument
|
/sound/soc/codecs/ |
D | cs42xx8.h | 96 #define CS42XX8_FUNCMOD_DAC_FM(v) ((v) << CS42XX8_FUNCMOD_DAC_FM_SHIFT) argument 100 #define CS42XX8_FUNCMOD_ADC_FM(v) ((v) << CS42XX8_FUNCMOD_ADC_FM_SHIFT) argument 102 #define CS42XX8_FUNCMOD_xC_FM(x, v) ((x) ? CS42XX8_FUNCMOD_DAC_FM(v) : CS42XX8_FUNCMOD_ADC_FM(v)) argument
|