Searched refs:i2s_uc_priv (Results 1 – 10 of 10) sorted by relevance
/openbmc/u-boot/drivers/sound/ |
H A D | sound-uclass.c | 57 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 D | rockchip_i2s.c | 49 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 D | samsung-i2s.c | 259 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 D | broadwell_i2s.c | 51 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 D | i2s-uclass.c | 24 .per_device_auto_alloc_size = sizeof(struct i2s_uc_priv),
|
H A D | broadwell_sound.c | 25 struct i2s_uc_priv *i2c_priv = dev_get_uclass_priv(uc_priv->i2s); in broadwell_sound_setup()
|
H A D | samsung_sound.c | 18 struct i2s_uc_priv *i2c_priv = dev_get_uclass_priv(uc_priv->i2s); in samsung_sound_setup()
|
H A D | rockchip_sound.c | 22 struct i2s_uc_priv *i2c_priv = dev_get_uclass_priv(uc_priv->i2s); in rockchip_sound_setup()
|
H A D | sandbox.c | 120 struct i2s_uc_priv *uc_priv = dev_get_uclass_priv(dev); in sandbox_i2s_probe()
|
/openbmc/u-boot/include/ |
H A D | i2s.h | 79 struct i2s_uc_priv { struct 123 int i2s_transfer_tx_data(struct i2s_uc_priv *pi2s_tx, void *data,
|