Home
last modified time | relevance | path

Searched refs:i2s_uc_priv (Results 1 – 10 of 10) sorted by relevance

/openbmc/u-boot/drivers/sound/
H A Dsound-uclass.c57 struct i2s_uc_priv *i2s_uc_priv; in sound_beep() local
78 i2s_uc_priv = dev_get_uclass_priv(uc_priv->i2s); in sound_beep()
79 data_size = i2s_uc_priv->samplingrate * i2s_uc_priv->channels; in sound_beep()
80 data_size *= (i2s_uc_priv->bitspersample / SOUND_BITS_IN_BYTE); in sound_beep()
87 sound_create_square_wave(i2s_uc_priv->samplingrate, data, data_size, in sound_beep()
88 frequency_hz, i2s_uc_priv->channels); in sound_beep()
H A Drockchip_i2s.c49 static int rockchip_i2s_init(struct i2s_uc_priv *priv) in rockchip_i2s_init()
106 struct i2s_uc_priv *priv = dev_get_uclass_priv(dev); in rockchip_i2s_tx_data()
114 struct i2s_uc_priv *priv = dev_get_uclass_priv(dev); in rockchip_i2s_probe()
H A Dsamsung-i2s.c259 int i2s_transfer_tx_data(struct i2s_uc_priv *pi2s_tx, void *data, in i2s_transfer_tx_data()
297 static int i2s_tx_init(struct i2s_uc_priv *pi2s_tx) in i2s_tx_init()
375 struct i2s_uc_priv *priv = dev_get_uclass_priv(dev); in samsung_i2s_tx_data()
382 struct i2s_uc_priv *priv = dev_get_uclass_priv(dev); in samsung_i2s_probe()
389 struct i2s_uc_priv *priv = dev_get_uclass_priv(dev); in samsung_i2s_ofdata_to_platdata()
H A Dbroadwell_i2s.c51 static void init_shim_clkctl(struct i2s_uc_priv *uc_priv, in init_shim_clkctl()
69 static void init_sscr0(struct i2s_uc_priv *uc_priv, in init_sscr0()
169 struct i2s_uc_priv *uc_priv = dev_get_uclass_priv(dev); in bdw_i2s_init()
236 struct i2s_uc_priv *uc_priv = dev_get_uclass_priv(dev); in broadwell_i2s_probe()
H A Di2s-uclass.c24 .per_device_auto_alloc_size = sizeof(struct i2s_uc_priv),
H A Dbroadwell_sound.c25 struct i2s_uc_priv *i2c_priv = dev_get_uclass_priv(uc_priv->i2s); in broadwell_sound_setup()
H A Dsamsung_sound.c18 struct i2s_uc_priv *i2c_priv = dev_get_uclass_priv(uc_priv->i2s); in samsung_sound_setup()
H A Drockchip_sound.c22 struct i2s_uc_priv *i2c_priv = dev_get_uclass_priv(uc_priv->i2s); in rockchip_sound_setup()
H A Dsandbox.c120 struct i2s_uc_priv *uc_priv = dev_get_uclass_priv(dev); in sandbox_i2s_probe()
/openbmc/u-boot/include/
H A Di2s.h79 struct i2s_uc_priv { struct
123 int i2s_transfer_tx_data(struct i2s_uc_priv *pi2s_tx, void *data,