Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Ddesignware_i2c.c107 hcnt = (IC_CLK * MIN_HS_SCL_HIGHTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed()
108 lcnt = (IC_CLK * MIN_HS_SCL_LOWTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed()
121 hcnt = (IC_CLK * MIN_SS_SCL_HIGHTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed()
122 lcnt = (IC_CLK * MIN_SS_SCL_LOWTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed()
135 hcnt = (IC_CLK * MIN_FS_SCL_HIGHTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed()
136 lcnt = (IC_CLK * MIN_FS_SCL_LOWTIME) / NANO_TO_MICRO; in __dw_i2c_set_bus_speed()
H A Ddesignware_i2c.h51 #define NANO_TO_MICRO 1000 macro