Searched refs:hcnt (Results 1 – 2 of 2) sorted by relevance
140 if (bus_info->std_clk.hcnt == 0) { in init_i2c_prescale()147 bus_info->std_clk.hcnt = LBW_CLK_MHZ * I2C_SS_SCL_HIGH / NS_PER_US; in init_i2c_prescale()148 bus_info->fst_clk.hcnt = LBW_CLK_MHZ * I2C_FS_SCL_HIGH / NS_PER_US; in init_i2c_prescale()149 bus_info->fsp_clk.hcnt = LBW_CLK_MHZ * I2C_FSP_SCL_HIGH / NS_PER_US; in init_i2c_prescale()150 bus_info->high_clk.hcnt = LBW_CLK_MHZ * I2C_HS_SCL_HIGH / NS_PER_US; in init_i2c_prescale()233 i2c->ss_scl_hcnt = cfg->hcnt; in dw_i2c_config_speed()238 i2c->fs_scl_hcnt = cfg->hcnt; in dw_i2c_config_speed()242 i2c->hs_scl_hcnt = cfg->hcnt; in dw_i2c_config_speed()
263 uint16_t hcnt; member