Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 7 of 7) sorted by relevance

/sound/soc/samsung/
Di2s.c214 u32 mod = readl(i2s->addr + I2SMOD); in set_rfs() local
216 mod &= ~MOD_RCLK_MASK; in set_rfs()
220 mod |= MOD_RCLK_768FS; in set_rfs()
223 mod |= MOD_RCLK_512FS; in set_rfs()
226 mod |= MOD_RCLK_384FS; in set_rfs()
229 mod |= MOD_RCLK_256FS; in set_rfs()
233 writel(mod, i2s->addr + I2SMOD); in set_rfs()
252 u32 mod = readl(i2s->addr + I2SMOD); in set_bfs() local
254 mod &= ~MOD_BCLK_MASK; in set_bfs()
258 mod |= MOD_BCLK_48FS; in set_bfs()
[all …]
Ds3c-i2s-v2.c89 u32 fic, con, mod; in s3c2412_snd_txctrl() local
95 mod = readl(regs + S3C2412_IISMOD); in s3c2412_snd_txctrl()
97 pr_debug("%s: IIS: CON=%x MOD=%x FIC=%x\n", __func__, con, mod, fic); in s3c2412_snd_txctrl()
104 switch (mod & S3C2412_IISMOD_MODE_MASK) { in s3c2412_snd_txctrl()
111 mod &= ~S3C2412_IISMOD_MODE_MASK; in s3c2412_snd_txctrl()
112 mod |= S3C2412_IISMOD_MODE_TXRX; in s3c2412_snd_txctrl()
117 mod & S3C2412_IISMOD_MODE_MASK); in s3c2412_snd_txctrl()
122 writel(mod, regs + S3C2412_IISMOD); in s3c2412_snd_txctrl()
133 switch (mod & S3C2412_IISMOD_MODE_MASK) { in s3c2412_snd_txctrl()
135 mod &= ~S3C2412_IISMOD_MODE_MASK; in s3c2412_snd_txctrl()
[all …]
Didma.c160 u32 mod = readl(idma.regs + I2SMOD); in idma_hw_params() local
164 mod |= MOD_TXS_IDMA; in idma_hw_params()
166 writel(mod, idma.regs + I2SMOD); in idma_hw_params()
/sound/mips/
Dhal2.c81 unsigned short mod; /* MOD value */ member
325 unsigned short mod; in hal2_compute_rate() local
328 mod = 4 * 44100 / rate; in hal2_compute_rate()
331 mod = 4 * 48000 / rate; in hal2_compute_rate()
336 codec->mod = mod; in hal2_compute_rate()
337 rate = 4 * codec->master / mod; in hal2_compute_rate()
346 int mod = hal2->dac.mod; in hal2_set_dac_rate() local
350 ((0xffff & (inc - mod - 1)) << 16) | inc); in hal2_set_dac_rate()
357 int mod = hal2->adc.mod; in hal2_set_adc_rate() local
361 ((0xffff & (inc - mod - 1)) << 16) | inc); in hal2_set_adc_rate()
/sound/aoa/core/
Dalsa.c17 int aoa_alsa_init(char *name, struct module *mod, struct device *dev) in aoa_alsa_init() argument
26 err = snd_card_create(index, name, mod, sizeof(struct aoa_card), in aoa_alsa_init()
Dalsa.h13 extern int aoa_alsa_init(char *name, struct module *mod, struct device *dev);
/sound/core/
Dhwdep.c165 struct module *mod = hw->card->module; in snd_hwdep_release() local
176 module_put(mod); in snd_hwdep_release()