Home
last modified time | relevance | path

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

/u-boot/drivers/i2c/
A Dkona_i2c.c122 const struct bus_speed_cfg *std_cfg; member
468 writel((dev->std_cfg->prescale << TIM_PRESCALE_SHIFT) | in bcm_kona_i2c_config_timing()
469 (dev->std_cfg->time_p << TIM_P_SHIFT) | in bcm_kona_i2c_config_timing()
470 (dev->std_cfg->no_div << TIM_NO_DIV_SHIFT) | in bcm_kona_i2c_config_timing()
471 (dev->std_cfg->time_div << TIM_DIV_SHIFT), in bcm_kona_i2c_config_timing()
474 writel((dev->std_cfg->time_m << CLKEN_M_SHIFT) | in bcm_kona_i2c_config_timing()
475 (dev->std_cfg->time_n << CLKEN_N_SHIFT) | in bcm_kona_i2c_config_timing()
560 dev->std_cfg = &std_cfg_table[IC_SPEED_MODE_STANDARD]; in bcm_kona_i2c_assign_bus_speed()
563 dev->std_cfg = &std_cfg_table[IC_SPEED_MODE_FAST]; in bcm_kona_i2c_assign_bus_speed()
566 dev->std_cfg = &std_cfg_table[IC_SPEED_MODE_FAST_PLUS]; in bcm_kona_i2c_assign_bus_speed()

Completed in 4 milliseconds