Home
last modified time | relevance | path

Searched defs:v (Results 1 – 25 of 73) sorted by relevance

123

/sound/soc/qcom/
Dlpass-lpaif-reg.h11 #define LPAIF_I2SCTL_REG_ADDR(v, addr, port) \ argument
14 #define LPAIF_I2SCTL_REG(v, port) LPAIF_I2SCTL_REG_ADDR(v, 0x0, (port)) argument
76 #define LPAIF_IRQ_REG_ADDR(v, addr, port) \ argument
81 #define LPAIF_IRQEN_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0x0, (port)) argument
82 #define LPAIF_IRQSTAT_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0x4, (port)) argument
83 #define LPAIF_IRQCLEAR_REG(v, port) LPAIF_IRQ_REG_ADDR(v, 0xC, (port)) 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
[all …]
Dlpass-platform.c60 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_open() local
117 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_close() local
137 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_hw_params() local
230 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_hw_free() local
251 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_prepare() local
303 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_trigger() local
377 struct lpass_variant *v = drvdata->variant; in lpass_platform_pcmops_pointer() local
430 struct lpass_variant *v = drvdata->variant; in lpass_dma_interrupt_handler() local
481 struct lpass_variant *v = drvdata->variant; in lpass_platform_lpaif_irq() local
567 struct lpass_variant *v = drvdata->variant; in asoc_qcom_lpass_platform_register() local
Dlpass-cpu.c284 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_writeable() local
326 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_readable() local
372 struct lpass_variant *v = drvdata->variant; in lpass_cpu_regmap_volatile() local
Dlpass-apq8016.c130 struct lpass_variant *v = drvdata->variant; in apq8016_lpass_alloc_dma_channel() local
/sound/soc/sunxi/
Dsun4i-spdif.c29 #define SUN4I_SPDIF_CTL_MCLKDIV(v) ((v) << 4) /* v even */ argument
38 #define SUN4I_SPDIF_TXCFG_TXRATIO(v) ((v) << 4) argument
61 #define SUN4I_SPDIF_FCTL_TXTL(v) ((v) << 8) argument
63 #define SUN4I_SPDIF_FCTL_RXTL(v) ((v) << 3) argument
66 #define SUN4I_SPDIF_FCTL_RXOM(v) ((v) << 0) argument
73 #define SUN50I_H6_SPDIF_FCTL_TXTL(v) ((v) << 12) argument
75 #define SUN50I_H6_SPDIF_FCTL_RXTL(v) ((v) << 4) argument
78 #define SUN50I_H6_SPDIF_FCTL_RXOM(v) ((v) << 0) argument
116 #define SUN4I_SPDIF_TXCHSTA0_CLK(v) ((v) << 28) argument
117 #define SUN4I_SPDIF_TXCHSTA0_SAMFREQ(v) ((v) << 24) argument
[all …]
/sound/soc/fsl/
Dfsl_micfil.h58 #define MICFIL_CTRL1_DISEL(v) (((v) << MICFIL_CTRL1_DISEL_SHIFT) \ argument
84 #define MICFIL_CTRL2_CICOSR(v) (((v) << MICFIL_CTRL2_CICOSR_SHIFT) \ argument
90 #define MICFIL_CTRL2_CLKDIV(v) (((v) << MICFIL_CTRL2_CLKDIV_SHIFT) \ argument
103 #define MICFIL_STAT_CHXF_SHIFT(v) (v) argument
104 #define MICFIL_STAT_CHXF_MASK(v) BIT(MICFIL_STAT_CHXF_SHIFT(v)) argument
105 #define MICFIL_STAT_CHXF(v) BIT(MICFIL_STAT_CHXF_SHIFT(v)) argument
112 #define MICFIL_FIFO_CTRL_FIFOWMK(v) (((v) << MICFIL_FIFO_CTRL_FIFOWMK_SHIFT) \ argument
116 #define MICFIL_FIFO_STAT_FIFOX_OVER_SHIFT(v) (v) argument
117 #define MICFIL_FIFO_STAT_FIFOX_OVER_MASK(v) BIT(MICFIL_FIFO_STAT_FIFOX_OVER_SHIFT(v)) argument
118 #define MICFIL_FIFO_STAT_FIFOX_UNDER_SHIFT(v) ((v) + 8) argument
[all …]
Dfsl_esai.h120 #define ESAI_xFCR_xWA(v) (((8 - ((v) >> 2)) << ESAI_xFCR_xWA_SHIFT) & ESAI_xFCR_xWA_MASK) argument
124 #define ESAI_xFCR_xFWM(v) ((((v) - 1) << ESAI_xFCR_xFWM_SHIFT) & ESAI_xFCR_xFWM_MASK) argument
300 #define ESAI_xCCR_xFP(v) ((((v) - 1) << ESAI_xCCR_xFP_SHIFT) & ESAI_xCCR_xFP_MASK) argument
304 #define ESAI_xCCR_xDC(v) ((((v) - 1) << ESAI_xCCR_xDC_SHIFT) & ESAI_xCCR_xDC_MASK) argument
312 #define ESAI_xCCR_xPM(v) ((((v) - 1) << ESAI_xCCR_xPM_SHIFT) & ESAI_xCCR_xPM_MASK) argument
318 #define ESAI_xSMA_xS(v) ((v) & ESAI_xSMA_xS_MASK) argument
322 #define ESAI_xSMB_xS(v) (((v) >> ESAI_xSMA_xS_WIDTH) & ESAI_xSMB_xS_MASK) argument
328 #define ESAI_PRRC_PDC(v) ((v) & ESAI_PRRC_PDC_MASK) argument
334 #define ESAI_PCRC_PC(v) ((v) & ESAI_PCRC_PC_MASK) argument
Dfsl_asrc.h124 #define ASRCNCR_ANCi(i, v, b) ((v << ASRCNCR_ANCi_SHIFT(i, b)) & ASRCNCR_ANCi_MASK(i, b)) argument
139 #define ASRCFG_POSTMOD(i, v) ((v) << ASRCFG_POSTMODi_SHIFT(i)) argument
147 #define ASRCFG_PREMOD(i, v) ((v) << ASRCFG_PREMODi_SHIFT(i)) argument
158 #define ASRCSR_AOCS(i, v) ((v) << ASRCSR_AOCSi_SHIFT(i)) argument
161 #define ASRCSR_AICS(i, v) ((v) << ASRCSR_AICSi_SHIFT(i)) argument
167 #define ASRCDRi_AICP(i, v) ((v) << ASRCDRi_AICPi_SHIFT(i)) argument
170 #define ASRCDRi_AICD(i, v) ((v) << ASRCDRi_AICDi_SHIFT(i)) argument
173 #define ASRCDRi_AOCP(i, v) ((v) << ASRCDRi_AOCPi_SHIFT(i)) argument
176 #define ASRCDRi_AOCD(i, v) ((v) << ASRCDRi_AOCDi_SHIFT(i)) argument
236 #define ASRMCRi_OUTFIFO_THRESHOLD(v) (((v) << ASRMCRi_OUTFIFO_THRESHOLD_SHIFT) & ASRMCRi_OUTFIFO_TH… argument
[all …]
/sound/usb/
Dvalidate.c26 const struct usb_desc_validator *v) in validate_uac1_header()
36 const struct usb_desc_validator *v) in validate_mixer_unit()
70 const struct usb_desc_validator *v) in validate_processing_unit()
168 const struct usb_desc_validator *v) in validate_selector_unit()
192 const struct usb_desc_validator *v) in validate_uac1_feature_unit()
203 const struct usb_desc_validator *v) in validate_uac2_feature_unit()
214 const struct usb_desc_validator *v) in validate_uac3_feature_unit()
225 const struct usb_desc_validator *v) in validate_midi_out_jack()
304 const struct usb_desc_validator *v) in validate_desc()
/sound/soc/mxs/
Dmxs-saif.h20 #define BF_SAIF_CTRL_BITCLK_MULT_RATE(v) \ argument
30 #define BF_SAIF_CTRL_DMAWAIT_COUNT(v) \ argument
34 #define BF_SAIF_CTRL_CHANNEL_NUM_SELECT(v) \ argument
44 #define BF_SAIF_CTRL_WORD_LENGTH(v) \ argument
55 #define BF_SAIF_STAT_RSRVD2(v) \ argument
60 #define BF_SAIF_STAT_RSRVD1(v) \ argument
68 #define BF_SAIF_STAT_RSRVD0(v) \ argument
75 #define BF_SAIF_DATA_PCM_RIGHT(v) \ argument
79 #define BF_SAIF_DATA_PCM_LEFT(v) \ argument
85 #define BF_SAIF_VERSION_MAJOR(v) \ argument
[all …]
/sound/soc/ti/
Ddavinci-i2s.c64 #define DAVINCI_MCBSP_SPCR_RINTM(v) ((v) << 4) argument
66 #define DAVINCI_MCBSP_SPCR_XINTM(v) ((v) << 20) argument
71 #define DAVINCI_MCBSP_RCR_RWDLEN1(v) ((v) << 5) argument
72 #define DAVINCI_MCBSP_RCR_RFRLEN1(v) ((v) << 8) argument
73 #define DAVINCI_MCBSP_RCR_RDATDLY(v) ((v) << 16) argument
75 #define DAVINCI_MCBSP_RCR_RWDLEN2(v) ((v) << 21) argument
76 #define DAVINCI_MCBSP_RCR_RFRLEN2(v) ((v) << 24) argument
79 #define DAVINCI_MCBSP_XCR_XWDLEN1(v) ((v) << 5) argument
80 #define DAVINCI_MCBSP_XCR_XFRLEN1(v) ((v) << 8) argument
81 #define DAVINCI_MCBSP_XCR_XDATDLY(v) ((v) << 16) argument
[all …]
/sound/soc/bcm/
Dbcm2835-i2s.c69 #define BCM2835_I2S_RXTHR(v) ((v) << 7) argument
70 #define BCM2835_I2S_TXTHR(v) ((v) << 5) argument
86 #define BCM2835_I2S_FLEN(v) ((v) << 10) argument
87 #define BCM2835_I2S_FSLEN(v) (v) argument
91 #define BCM2835_I2S_CHPOS(v) ((v) << 4) argument
92 #define BCM2835_I2S_CHWID(v) (v) argument
93 #define BCM2835_I2S_CH1(v) ((v) << 16) argument
94 #define BCM2835_I2S_CH2(v) (v) argument
95 #define BCM2835_I2S_CH1_POS(v) BCM2835_I2S_CH1(BCM2835_I2S_CHPOS(v)) argument
96 #define BCM2835_I2S_CH2_POS(v) BCM2835_I2S_CH2(BCM2835_I2S_CHPOS(v)) argument
[all …]
/sound/aoa/codecs/
Donyx.c67 s32 v; in onyx_read_register() local
214 u8 v, n; in onyx_snd_inputgain_put() local
252 s8 v; in onyx_snd_capture_source_get() local
265 s8 v; in onyx_set_capture_source() local
328 u8 v = 0, c = 0; in onyx_snd_mute_put() local
388 u8 v = 0, c = 0; in onyx_snd_single_bit_put() local
490 u8 v; in onyx_spdif_get() local
513 u8 v; in onyx_spdif_put() local
671 u8 v; in onyx_usable() local
696 u8 v; in onyx_prepare() local
[all …]
/sound/pci/asihpi/
Dhpi_version.h27 #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/sparc/
Ddbri.c215 #define CS4215_LO(v) v /* Left Output Attenuation 0x3f: -94.5 dB */ argument
220 #define CS4215_RO(v) v /* Right Output Attenuation 0x3f: -94.5 dB */ argument
225 #define CS4215_LG(v) v /* Left Gain Setting 0xf: 22.5 dB */ argument
232 #define CS4215_RG(v) v /* Right Gain Setting 0xf: 22.5 dB */ argument
233 #define CS4215_MA(v) (v<<4) /* Monitor Path Attenuation 0xf: mute */ argument
380 #define D_PIPE(v) ((v)<<0) /* Pipe No.: 0-15 long, 16-21 short */ argument
396 #define D_SDP_MODE(v) ((v)&(7<<13)) argument
411 #define D_DTS_PRVIN(v) ((v)<<10) /* Previous In Pipe */ argument
412 #define D_DTS_PRVOUT(v) ((v)<<5) /* Previous Out Pipe */ argument
415 #define D_TS_LEN(v) ((v)<<24) /* Number of bits in this time slot */ argument
[all …]
/sound/pci/cs5535audio/
Dcs5535audio_olpc.c71 static int olpc_dc_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_dc_get()
77 static int olpc_dc_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_dc_put()
95 static int olpc_mic_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_mic_get()
106 static int olpc_mic_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_mic_put()
/sound/soc/uniphier/
Daio-core.c111 u32 v; in aio_chip_set_pll() local
334 u32 v; in aio_port_set_rate() local
453 u32 v; in aio_port_set_fmt() local
529 u32 v; in aio_port_set_clk() local
618 u32 v; in aio_port_set_param() local
726 u32 v; in aio_port_get_volume() local
789 u32 memfmt, v; in aio_if_set_param() local
923 u32 v; in aio_src_set_param() local
1002 u32 v; in aio_srcch_set_enable() local
1016 u32 v; in aiodma_ch_set_param() local
/sound/core/
Dpcm.c164 #define FORMAT(v) [SNDRV_PCM_FORMAT_##v] = #v argument
230 #define STATE(v) [SNDRV_PCM_STATE_##v] = #v argument
231 #define STREAM(v) [SNDRV_PCM_STREAM_##v] = #v argument
232 #define READY(v) [SNDRV_PCM_READY_##v] = #v argument
233 #define XRUN(v) [SNDRV_PCM_XRUN_##v] = #v argument
234 #define SILENCE(v) [SNDRV_PCM_SILENCE_##v] = #v argument
235 #define TSTAMP(v) [SNDRV_PCM_TSTAMP_##v] = #v argument
236 #define ACCESS(v) [SNDRV_PCM_ACCESS_##v] = #v argument
237 #define START(v) [SNDRV_PCM_START_##v] = #v argument
238 #define SUBFORMAT(v) [SNDRV_PCM_SUBFORMAT_##v] = #v argument
/sound/oss/dmasound/
Ddmasound_atari.c873 #define TONE_VOXWARE_TO_DB(v) \ argument
875 #define TONE_DB_TO_VOXWARE(v) (((v) * 25 + ((v) > 0 ? 5 : -5)) / 6 + 50) argument
985 #define VOLUME_VOXWARE_TO_DB(v) \ argument
987 #define VOLUME_DB_TO_VOXWARE(v) ((((v) + 40) * 5 + 1) / 2) argument
1001 #define GAIN_VOXWARE_TO_DB(v) \ argument
1003 #define GAIN_DB_TO_VOXWARE(v) ((((v) + 80) * 5 + 1) / 4) argument
1154 #define VOLUME_VOXWARE_TO_ATT(v) \ argument
1156 #define VOLUME_ATT_TO_VOXWARE(v) (100 - (v) * 20 / 3) argument
1339 #define RECLEVEL_VOXWARE_TO_GAIN(v) \ argument
1341 #define RECLEVEL_GAIN_TO_VOXWARE(v) (((v) * 20 + 2) / 3) argument
/sound/pci/au88x0/
Dau88x0_a3d.c475 static void a3dsrc_ZeroStateA3D(a3dsrc_t *a, vortex_t *v) in a3dsrc_ZeroStateA3D()
542 static void vortex_A3dSourceHw_Initialize(vortex_t * v, int source, int slice) in vortex_A3dSourceHw_Initialize()
555 static int Vort3DRend_Initialize(vortex_t * v, unsigned short mode) in Vort3DRend_Initialize()
586 static void vortex_Vort3D_enable(vortex_t *v) in vortex_Vort3D_enable()
599 static void vortex_Vort3D_disable(vortex_t * v) in vortex_Vort3D_disable()
606 static void vortex_Vort3D_connect(vortex_t * v, int en) in vortex_Vort3D_connect()
668 static void vortex_Vort3D_InitializeSource(a3dsrc_t *a, int en, vortex_t *v) in vortex_Vort3D_InitializeSource()
/sound/aoa/core/
Dgpio-feature.c127 #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/hda/
Dhdac_bus.c231 unsigned int v; in snd_hdac_aligned_read() local
244 unsigned int v; in snd_hdac_aligned_write() local
/sound/soc/au1x/
Di2sc.c75 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR()
186 unsigned long v; in au1xi2s_hw_params() local
Dac97c.c77 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR()
126 unsigned short v) in au1xac97c_ac97_write()
/sound/arm/
Daaci.c39 u32 v, maincr = aaci->maincr | MAINCR_SCRA(ac97->num); in aaci_ac97_select_codec() local
71 u32 v; in aaci_ac97_write() local
111 u32 v; in aaci_ac97_read() local

123