Searched refs:bus_info (Results 1 – 1 of 1) sorted by relevance
102 sedi_i2c_bus_info_t bus_info; member138 static void init_i2c_prescale(sedi_i2c_bus_info_t *bus_info) in init_i2c_prescale() argument140 if (bus_info->std_clk.hcnt == 0) { in init_i2c_prescale()142 bus_info->std_clk.sda_hold = LBW_CLK_MHZ * I2C_SDA_HOLD_DEFAULT / NS_PER_US; in init_i2c_prescale()143 bus_info->fst_clk.sda_hold = LBW_CLK_MHZ * I2C_SDA_HOLD_DEFAULT / NS_PER_US; in init_i2c_prescale()144 bus_info->fsp_clk.sda_hold = LBW_CLK_MHZ * I2C_SDA_HOLD_DEFAULT / NS_PER_US; in init_i2c_prescale()145 bus_info->high_clk.sda_hold = LBW_CLK_MHZ * I2C_SDA_HOLD_DEFAULT / NS_PER_US; 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()[all …]