Home
last modified time | relevance | path

Searched refs:bitspersample (Results 1 – 12 of 12) sorted by relevance

/u-boot/drivers/sound/
A Drockchip_i2s.c54 u32 bps = priv->bitspersample; in rockchip_i2s_init()
61 switch (priv->bitspersample) { in rockchip_i2s_init()
64 mode |= (priv->bitspersample - 1) << I2S_DATA_WIDTH_SHIFT; in rockchip_i2s_init()
67 log_err("Invalid sample size input %d\n", priv->bitspersample); in rockchip_i2s_init()
76 mode |= (priv->bitspersample * priv->channels - 1) << in rockchip_i2s_init()
128 priv->bitspersample = 16; in rockchip_i2s_probe()
A Dtegra_i2s.c38 u32 audio_bits = (pi2s_tx->bitspersample >> 2) - 1; in i2s_tx_init()
58 writel(pi2s_tx->bitspersample, &regs->timing); in i2s_tx_init()
101 priv->bitspersample = 16; in tegra_i2s_probe()
A Dbroadwell_i2s.c78 if (uc_priv->bitspersample > 16) in init_sscr0()
79 sscr0 = (uc_priv->bitspersample - 16 - 1) << SSP_SSC0_DSS_SHIFT in init_sscr0()
82 sscr0 = (uc_priv->bitspersample - 1) << SSP_SSC0_DSS_SHIFT; in init_sscr0()
264 uc_priv->bitspersample = 16; in broadwell_i2s_probe()
A Dtegra_ahub.c184 uc_priv->bitspersample, fifo_threshold); in tegra_ahub_enable()
188 uc_priv->bitspersample, fifo_threshold); in tegra_ahub_enable()
196 uc_priv->channels, uc_priv->bitspersample, cif_ctrl, in tegra_ahub_enable()
A Dbroadwell_sound.c33 i2c_priv->bitspersample, in broadwell_sound_setup()
A Dsamsung-i2s.c357 ret = i2s_set_samplesize(i2s_reg, pi2s_tx->bitspersample); in i2s_tx_init()
415 &priv->bitspersample)) in samsung_i2s_of_to_plat()
417 debug("bitspersample = %d\n", priv->bitspersample); in samsung_i2s_of_to_plat()
A Dtegra_sound.c30 i2c_priv->bitspersample, in tegra_sound_setup()
A Dsamsung_sound.c27 i2c_priv->bitspersample, in samsung_sound_setup()
A Drockchip_sound.c31 i2c_priv->bitspersample, in rockchip_sound_setup()
A Dsound-uclass.c93 data_size *= (i2s_uc_priv->bitspersample / SOUND_BITS_IN_BYTE); in sound_beep()
A Dsandbox.c137 uc_priv->bitspersample = 16; in sandbox_i2s_probe()
/u-boot/include/
A Di2s.h84 unsigned int bitspersample; /* bits per sample */ member

Completed in 10 milliseconds