/sound/soc/fsl/ |
D | imx-ssi.h | 106 #define SSI_SRCCR_WL(x) ((((x) - 2) >> 1) << 13) argument 107 #define SSI_SRCCR_DC(x) (((x) & 0x1f) << 8) argument 108 #define SSI_SRCCR_PM(x) (((x) & 0xff) << 0) argument 116 #define SSI_STCCR_WL(x) ((((x) - 2) >> 1) << 13) argument 117 #define SSI_STCCR_DC(x) (((x) & 0x1f) << 8) argument 118 #define SSI_STCCR_PM(x) (((x) & 0xff) << 0) argument 124 #define SSI_SFCSR_RFCNT1(x) (((x) & 0xf) << 28) argument 126 #define SSI_SFCSR_TFCNT1(x) (((x) & 0xf) << 24) argument 128 #define SSI_SFCSR_RFWM1(x) (((x) & 0xf) << 20) argument 129 #define SSI_SFCSR_TFWM1(x) (((x) & 0xf) << 16) argument [all …]
|
D | imx-audmux.h | 28 #define IMX_AUDMUX_V1_PCR_INMMASK(x) ((x) & 0xff) argument 32 #define IMX_AUDMUX_V1_PCR_RXDSEL(x) (((x) & 0x7) << 13) argument 33 #define IMX_AUDMUX_V1_PCR_RFCSEL(x) (((x) & 0xf) << 20) argument 36 #define IMX_AUDMUX_V1_PCR_TFCSEL(x) (((x) & 0xf) << 26) argument 42 #define IMX_AUDMUX_V2_PTCR_TFSEL(x) (((x) & 0xf) << 27) argument 44 #define IMX_AUDMUX_V2_PTCR_TCSEL(x) (((x) & 0xf) << 22) argument 46 #define IMX_AUDMUX_V2_PTCR_RFSEL(x) (((x) & 0xf) << 17) argument 48 #define IMX_AUDMUX_V2_PTCR_RCSEL(x) (((x) & 0xf) << 12) argument 51 #define IMX_AUDMUX_V2_PDCR_RXDSEL(x) (((x) & 0x7) << 13) argument 53 #define IMX_AUDMUX_V2_PDCR_MODE(x) (((x) & 0x3) << 8) argument [all …]
|
D | fsl_ssi.h | 132 #define CCSR_SSI_SxCCR_WL(x) \ argument 133 (((((x) / 2) - 1) << CCSR_SSI_SxCCR_WL_SHIFT) & CCSR_SSI_SxCCR_WL_MASK) 136 #define CCSR_SSI_SxCCR_DC(x) \ argument 137 ((((x) - 1) << CCSR_SSI_SxCCR_DC_SHIFT) & CCSR_SSI_SxCCR_DC_MASK) 140 #define CCSR_SSI_SxCCR_PM(x) \ argument 141 ((((x) - 1) << CCSR_SSI_SxCCR_PM_SHIFT) & CCSR_SSI_SxCCR_PM_MASK) 150 #define CCSR_SSI_SFCSR_RFCNT1(x) \ argument 151 (((x) & CCSR_SSI_SFCSR_RFCNT1_MASK) >> CCSR_SSI_SFCSR_RFCNT1_SHIFT) 154 #define CCSR_SSI_SFCSR_TFCNT1(x) \ argument 155 (((x) & CCSR_SSI_SFCSR_TFCNT1_MASK) >> CCSR_SSI_SFCSR_TFCNT1_SHIFT) [all …]
|
/sound/pci/au88x0/ |
D | au8830.h | 104 #define ADB_DMA(x) (x) argument 105 #define ADB_SRCOUT(x) (x + OFFSET_SRCOUT) argument 106 #define ADB_SRCIN(x) (x + OFFSET_SRCIN) argument 107 #define ADB_MIXOUT(x) (x + OFFSET_MIXOUT) argument 108 #define ADB_MIXIN(x) (x + OFFSET_MIXIN) argument 109 #define ADB_CODECIN(x) (x + OFFSET_CODECIN) argument 110 #define ADB_CODECOUT(x) (x + OFFSET_CODECOUT) argument 111 #define ADB_SPORTIN(x) (x + OFFSET_SPORTIN) argument 112 #define ADB_SPORTOUT(x) (x + OFFSET_SPORTOUT) argument 113 #define ADB_SPDIFIN(x) (x + OFFSET_SPDIFIN) argument [all …]
|
D | au8810.h | 83 #define ADB_DMA(x) (x) argument 84 #define ADB_SRCOUT(x) (x + OFFSET_SRCOUT) argument 85 #define ADB_SRCIN(x) (x + OFFSET_SRCIN) argument 86 #define ADB_MIXOUT(x) (x + OFFSET_MIXOUT) argument 87 #define ADB_MIXIN(x) (x + OFFSET_MIXIN) argument 88 #define ADB_CODECIN(x) (x + OFFSET_CODECIN) argument 89 #define ADB_CODECOUT(x) (x + OFFSET_CODECOUT) argument 90 #define ADB_SPORTIN(x) (x + OFFSET_SPORTIN) argument 91 #define ADB_SPORTOUT(x) (x + OFFSET_SPORTOUT) argument 92 #define ADB_SPDIFOUT(x) (x + OFFSET_SPDIFOUT) argument [all …]
|
D | au8820.h | 75 #define ADB_DMA(x) (x + OFFSET_ADBDMA) argument 76 #define ADB_SRCOUT(x) (x + OFFSET_SRCOUT) argument 77 #define ADB_SRCIN(x) (x + OFFSET_SRCIN) argument 78 #define ADB_MIXOUT(x) (x + OFFSET_MIXOUT) argument 79 #define ADB_MIXIN(x) (x + OFFSET_MIXIN) argument 80 #define ADB_CODECIN(x) (x + OFFSET_CODECIN) argument 81 #define ADB_CODECOUT(x) (x + OFFSET_CODECOUT) argument 82 #define ADB_SPORTOUT(x) (x + OFFSET_SPORTOUT) argument 83 #define ADB_SPORTIN(x) (x + OFFSET_SPORTIN) /* */ argument 84 #define ADB_A3DOUT(x) (x + OFFSET_A3DOUT) /* 8 A3D blocks */ argument [all …]
|
D | au88x0_wt.h | 17 #define WT_BAR(x) (((x)&0xffe0)<<0x8) argument 18 #define WT_BANK(x) (x>>5) argument 33 #define WT_PARM(x,y) (((WT_BAR(x))+ 0x80 +(((x)&0x1f)<<2)+(y))<<2) /* 0x0200 */ argument 34 #define WT_DELAY(x,y) (((WT_BAR(x))+ 0x100 +(((x)&0x1f)<<2)+(y))<<2) /* 0x0400 */ argument
|
D | au88x0.h | 40 #define hwread(x,y) readl((x)+(y)) argument 41 #define hwwrite(x,y,z) writel((z),(x)+(y)) argument 51 #define SRC_RATIO(x,y) ((((x<<15)/y) + 1)/2) argument 88 #define VORTEX_IS_QUAD(x) ((x)->isquad) argument 90 #define IS_BAD_CHIP(x) (\ argument 91 (x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_VORTEX_2) || \ 92 (x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_ADVANTAGE)) 103 #define MIX_CAPT(x) (vortex->mixcapt[x]) argument 104 #define MIX_PLAYB(x) (vortex->mixplayb[x]) argument 105 #define MIX_SPDIF(x) (vortex->mixspdif[x]) argument
|
/sound/soc/codecs/ |
D | tlv320dac33.h | 117 #define DAC33_ADJSTEP(x) (x << 0) argument 118 #define DAC33_ADJTHRSHLD(x) (x << 4) argument 121 #define DAC33_REFDIV(x) (x << 4) argument 150 #define DAC33_DATA_DELAY(x) (x << 2) argument 163 #define DAC33_THRREG(x) (((x) & 0x1FFF) << 3) argument 181 #define DAC33_UTM(x) (x << 0) argument 182 #define DAC33_UFM(x) (x << 2) argument 183 #define DAC33_OFM(x) (x << 4) argument 186 #define DAC33_NSM(x) (x << 0) argument 187 #define DAC33_PSM(x) (x << 2) argument [all …]
|
D | cs42l51.h | 39 #define CS42L51_MIC_POWER_CTL_SPEED(x) (((x)&3)<<5) argument 53 #define CS42L51_INTF_CTL_DAC_FORMAT(x) (((x)&7)<<3) argument 69 #define CS42L51_MIC_CTL_MICBIAS_LVL(x) (((x)&3)<<2) argument 84 #define CS42L51_ADC_INPUT_AINB_MUX(x) (((x)&3)<<6) argument 85 #define CS42L51_ADC_INPUT_AINA_MUX(x) (((x)&3)<<4) argument 92 #define CS42L51_DAC_OUT_CTL_HP_GAIN(x) (((x)&7)<<5) argument 100 #define CS42L51_DAC_CTL_DATA_SEL(x) (((x)&3)<<6) argument 104 #define CS42L51_DAC_CTL_DACSZ(x) (((x)&3)<<0) argument 110 #define CS42L51_ALC_PGX_PGX_VOL(x) (((x)&0x1f)<<0) argument 120 #define CS42L51_MIX_VOLUME(x) (((x)&0x7f)<<0) argument [all …]
|
D | ad73311.h | 47 #define REGA_DEVC(x) ((x & 0x7) << 4) argument 53 #define REGB_DIRATE(x) (x & 0x3) argument 54 #define REGB_SCDIV(x) ((x & 0x3) << 2) argument 55 #define REGB_MCDIV(x) ((x & 0x7) << 4) argument 70 #define REGD_IGS(x) (x & 0x7) argument 72 #define REGD_OGS(x) ((x & 0x7) << 4) argument 78 #define REGE_DA(x) (x & 0x1f) argument
|
D | adau1373.c | 39 #define ADAU1373_AINL_CTRL(x) (0x01 + (x) * 2) argument 40 #define ADAU1373_AINR_CTRL(x) (0x02 + (x) * 2) argument 41 #define ADAU1373_LLINE_OUT(x) (0x9 + (x) * 2) argument 42 #define ADAU1373_RLINE_OUT(x) (0xa + (x) * 2) argument 69 #define ADAU1373_DPLL_CTRL(x) (0x28 + (x) * 7) argument 70 #define ADAU1373_PLL_CTRL1(x) (0x29 + (x) * 7) argument 71 #define ADAU1373_PLL_CTRL2(x) (0x2a + (x) * 7) argument 72 #define ADAU1373_PLL_CTRL3(x) (0x2b + (x) * 7) argument 73 #define ADAU1373_PLL_CTRL4(x) (0x2c + (x) * 7) argument 74 #define ADAU1373_PLL_CTRL5(x) (0x2d + (x) * 7) argument [all …]
|
D | ad1836.h | 25 #define AD1836_MUTE_LEFT(x) (((x) * 2) - 2) argument 26 #define AD1836_MUTE_RIGHT(x) (((x) * 2) - 1) argument 28 #define AD1836_DAC_L_VOL(x) ((x) * 2) argument 29 #define AD1836_DAC_R_VOL(x) (1 + ((x) * 2)) argument
|
/sound/soc/au1x/ |
D | psc.h | 30 #define PSC_CTRL(x) ((unsigned long)((x)->mmio) + PSC_CTRL_OFFSET) argument 31 #define PSC_SEL(x) ((unsigned long)((x)->mmio) + PSC_SEL_OFFSET) argument 32 #define I2S_STAT(x) ((unsigned long)((x)->mmio) + PSC_I2SSTAT_OFFSET) argument 33 #define I2S_CFG(x) ((unsigned long)((x)->mmio) + PSC_I2SCFG_OFFSET) argument 34 #define I2S_PCR(x) ((unsigned long)((x)->mmio) + PSC_I2SPCR_OFFSET) argument 35 #define AC97_CFG(x) ((unsigned long)((x)->mmio) + PSC_AC97CFG_OFFSET) argument 36 #define AC97_CDC(x) ((unsigned long)((x)->mmio) + PSC_AC97CDC_OFFSET) argument 37 #define AC97_EVNT(x) ((unsigned long)((x)->mmio) + PSC_AC97EVNT_OFFSET) argument 38 #define AC97_PCR(x) ((unsigned long)((x)->mmio) + PSC_AC97PCR_OFFSET) argument 39 #define AC97_RST(x) ((unsigned long)((x)->mmio) + PSC_AC97RST_OFFSET) argument [all …]
|
/sound/pci/ice1712/ |
D | hoontech.h | 43 #define ICE1712_STDSP24_0_BOX(r, x) r[0] = ((r[0] & ~3) | ((x)&3)) argument 44 #define ICE1712_STDSP24_0_DAREAR(r, x) r[0] = ((r[0] & ~4) | (((x)&1)<<2)) argument 45 #define ICE1712_STDSP24_1_CHN1(r, x) r[1] = ((r[1] & ~1) | ((x)&1)) argument 46 #define ICE1712_STDSP24_1_CHN2(r, x) r[1] = ((r[1] & ~2) | (((x)&1)<<1)) argument 47 #define ICE1712_STDSP24_1_CHN3(r, x) r[1] = ((r[1] & ~4) | (((x)&1)<<2)) argument 48 #define ICE1712_STDSP24_2_CHN4(r, x) r[2] = ((r[2] & ~1) | ((x)&1)) argument 49 #define ICE1712_STDSP24_2_MIDIIN(r, x) r[2] = ((r[2] & ~2) | (((x)&1)<<1)) argument 50 #define ICE1712_STDSP24_2_MIDI1(r, x) r[2] = ((r[2] & ~4) | (((x)&1)<<2)) argument 51 #define ICE1712_STDSP24_3_MIDI2(r, x) r[3] = ((r[3] & ~1) | ((x)&1)) argument 52 #define ICE1712_STDSP24_3_MUTE(r, x) r[3] = ((r[3] & ~2) | (((x)&1)<<1)) argument [all …]
|
/sound/soc/pxa/ |
D | mmp-sspa.h | 52 #define SSPA_CTL_XFRLEN2(x) ((x) << 24) /* Transmit Frame Length in Phase 2 */ argument 54 #define SSPA_CTL_XWDLEN2(x) ((x) << 21) /* Transmit Word Length in Phase 2 */ argument 55 #define SSPA_CTL_XDATDLY(x) ((x) << 19) /* Tansmit Data Delay */ argument 57 #define SSPA_CTL_XSSZ2(x) ((x) << 16) /* Transmit Sample Audio Size */ argument 59 #define SSPA_CTL_XFRLEN1(x) ((x) << 8) /* Transmit Frame Length in Phase 1 */ argument 61 #define SSPA_CTL_XWDLEN1(x) ((x) << 5) /* Transmit Word Length in Phase 1 */ argument 63 #define SSPA_CTL_XSSZ1(x) ((x) << 0) /* XSSZ1 */ argument 80 #define SSPA_SP_FWID(x) ((x) << 20) /* Frame-Sync Width */ argument 81 #define SSPA_TXSP_FPER(x) ((x) << 4) /* Frame-Sync Active */ argument
|
/sound/core/seq/ |
D | seq_queue.h | 128 #define u64_div(x,y,q) do {u32 __tmp; udiv_qrnnd(q, __tmp, (x)>>32, x, y);} while (0) argument 129 #define u64_mod(x,y,r) do {u32 __tmp; udiv_qrnnd(__tmp, q, (x)>>32, x, y);} while (0) argument 130 #define u64_divmod(x,y,q,r) udiv_qrnnd(q, r, (x)>>32, x, y) argument 133 #define u64_div(x,y,q) ((q) = (u32)((u64)(x) / (u64)(y))) argument 134 #define u64_mod(x,y,r) ((r) = (u32)((u64)(x) % (u64)(y))) argument 135 #define u64_divmod(x,y,q,r) (u64_div(x,y,q), u64_mod(x,y,r)) argument
|
/sound/soc/samsung/ |
D | regs-i2s-v2.h | 104 #define S3C64XX_IISFIC_TX2COUNT(x) (((x) >> 24) & 0xf) argument 105 #define S3C64XX_IISFIC_TX1COUNT(x) (((x) >> 16) & 0xf) argument 109 #define S3C2412_IISFIC_TXCOUNT(x) (((x) >> 8) & 0xf) argument 110 #define S3C2412_IISFIC_RXCOUNT(x) (((x) >> 0) & 0xf) argument 113 #define S5PC1XX_IISFICS_TXCOUNT(x) (((x) >> 8) & 0x7f) argument
|
D | i2s-regs.h | 120 #define FIC_TX2COUNT(x) (((x) >> 24) & 0xf) argument 121 #define FIC_TX1COUNT(x) (((x) >> 16) & 0xf) argument 126 #define FIC_TXCOUNT(x) (((x) >> 8) & 0xf) argument 127 #define FIC_RXCOUNT(x) (((x) >> 0) & 0xf) argument 128 #define FICS_TXCOUNT(x) (((x) >> 8) & 0x7f) argument
|
/sound/soc/dwc/ |
D | designware_i2s.c | 36 #define LRBR_LTHR(x) (0x40 * x + 0x020) argument 37 #define RRBR_RTHR(x) (0x40 * x + 0x024) argument 38 #define RER(x) (0x40 * x + 0x028) argument 39 #define TER(x) (0x40 * x + 0x02C) argument 40 #define RCR(x) (0x40 * x + 0x030) argument 41 #define TCR(x) (0x40 * x + 0x034) argument 42 #define ISR(x) (0x40 * x + 0x038) argument 43 #define IMR(x) (0x40 * x + 0x03C) argument 44 #define ROR(x) (0x40 * x + 0x040) argument 45 #define TOR(x) (0x40 * x + 0x044) argument [all …]
|
/sound/soc/omap/ |
D | omap-mcpdm.h | 73 #define MCPDM_PDM_UPLINK_EN(x) (1 << (x - 1)) /* ch1 is at bit 0 */ argument 74 #define MCPDM_PDM_DOWNLINK_EN(x) (1 << (x + 2)) /* ch1 is at bit 3 */ argument 100 #define MCPDM_DNOFST_RX1(x) ((x & 0x1f) << 1) argument 102 #define MCPDM_DNOFST_RX2(x) ((x & 0x1f) << 9) argument
|
/sound/pci/mixart/ |
D | mixart_hwdep.h | 29 #define readl_be(x) be32_to_cpu(__raw_readl(x)) argument 37 #define readl_le(x) le32_to_cpu(__raw_readl(x)) argument 44 #define MIXART_MEM(mgr,x) ((mgr)->mem[0].virt + (x)) argument 45 #define MIXART_REG(mgr,x) ((mgr)->mem[1].virt + (x)) argument
|
/sound/ppc/ |
D | awacs.h | 101 #define GAINRIGHT(x) ((x) & MASK_GAINRIGHT) argument 102 #define GAINLEFT(x) (((x) << 4) & MASK_GAINLEFT) argument 143 #define VOLRIGHT(x) (((~(x)) & MASK_OUTVOLRIGHT)) argument 144 #define VOLLEFT(x) (((~(x)) << 6) & MASK_OUTVOLLEFT) argument
|
/sound/pci/echoaudio/ |
D | echoaudio.h | 300 #define DE_INIT(x) snd_printk x argument 302 #define DE_INIT(x) argument 307 #define DE_HWP(x) snd_printk x argument 309 #define DE_HWP(x) argument 314 #define DE_ACT(x) snd_printk x argument 316 #define DE_ACT(x) argument 321 #define DE_MID(x) snd_printk x argument 323 #define DE_MID(x) argument
|
/sound/core/ |
D | info_oss.c | 44 char *x; in snd_oss_info_register() local 52 if ((x = snd_sndstat_strings[num][dev]) != NULL) { in snd_oss_info_register() 53 kfree(x); in snd_oss_info_register() 54 x = NULL; in snd_oss_info_register() 57 x = kstrdup(string, GFP_KERNEL); in snd_oss_info_register() 58 if (x == NULL) { in snd_oss_info_register() 63 snd_sndstat_strings[num][dev] = x; in snd_oss_info_register()
|