Home
last modified time | relevance | path

Searched refs:i2c_priv (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/i2c/
Dstm32f7_i2c.c246 static int stm32_i2c_check_device_busy(struct stm32_i2c_priv *i2c_priv) in stm32_i2c_check_device_busy() argument
248 struct stm32_i2c_regs *regs = i2c_priv->regs; in stm32_i2c_check_device_busy()
257 static void stm32_i2c_message_start(struct stm32_i2c_priv *i2c_priv, in stm32_i2c_message_start() argument
260 struct stm32_i2c_regs *regs = i2c_priv->regs; in stm32_i2c_message_start()
301 static void stm32_i2c_handle_reload(struct stm32_i2c_priv *i2c_priv, in stm32_i2c_handle_reload() argument
304 struct stm32_i2c_regs *regs = i2c_priv->regs; in stm32_i2c_handle_reload()
319 static int stm32_i2c_wait_flags(struct stm32_i2c_priv *i2c_priv, in stm32_i2c_wait_flags() argument
322 struct stm32_i2c_regs *regs = i2c_priv->regs; in stm32_i2c_wait_flags()
338 static int stm32_i2c_check_end_of_message(struct stm32_i2c_priv *i2c_priv) in stm32_i2c_check_end_of_message() argument
340 struct stm32_i2c_regs *regs = i2c_priv->regs; in stm32_i2c_check_end_of_message()
[all …]
Di2c-uclass.c645 struct i2c_priv { struct
652 struct i2c_priv *priv = class->priv; in i2c_post_bind() argument
675 struct i2c_priv *priv = class->priv; in i2c_uclass_init()
699 .priv_auto_alloc_size = sizeof(struct i2c_priv),
/external/u-boot/drivers/sound/
Dbroadwell_sound.c25 struct i2s_uc_priv *i2c_priv = dev_get_uclass_priv(uc_priv->i2s); in broadwell_sound_setup() local
30 ret = audio_codec_set_params(uc_priv->codec, i2c_priv->id, in broadwell_sound_setup()
31 i2c_priv->samplingrate, in broadwell_sound_setup()
32 i2c_priv->samplingrate * i2c_priv->rfs, in broadwell_sound_setup()
33 i2c_priv->bitspersample, in broadwell_sound_setup()
34 i2c_priv->channels); in broadwell_sound_setup()
Dtegra_sound.c21 struct i2s_uc_priv *i2c_priv = dev_get_uclass_priv(uc_priv->i2s); in tegra_sound_setup() local
26 ret = audio_codec_set_params(uc_priv->codec, i2c_priv->id, in tegra_sound_setup()
27 i2c_priv->samplingrate, in tegra_sound_setup()
28 i2c_priv->samplingrate * i2c_priv->rfs, in tegra_sound_setup()
29 i2c_priv->bitspersample, in tegra_sound_setup()
30 i2c_priv->channels); in tegra_sound_setup()
Dsamsung_sound.c18 struct i2s_uc_priv *i2c_priv = dev_get_uclass_priv(uc_priv->i2s); in samsung_sound_setup() local
23 ret = audio_codec_set_params(uc_priv->codec, i2c_priv->id, in samsung_sound_setup()
24 i2c_priv->samplingrate, in samsung_sound_setup()
25 i2c_priv->samplingrate * i2c_priv->rfs, in samsung_sound_setup()
26 i2c_priv->bitspersample, in samsung_sound_setup()
27 i2c_priv->channels); in samsung_sound_setup()
Drockchip_sound.c22 struct i2s_uc_priv *i2c_priv = dev_get_uclass_priv(uc_priv->i2s); in rockchip_sound_setup() local
27 ret = audio_codec_set_params(uc_priv->codec, i2c_priv->id, in rockchip_sound_setup()
28 i2c_priv->samplingrate, in rockchip_sound_setup()
29 i2c_priv->samplingrate * i2c_priv->rfs, in rockchip_sound_setup()
30 i2c_priv->bitspersample, in rockchip_sound_setup()
31 i2c_priv->channels); in rockchip_sound_setup()