Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/phy/rockchip/
Dphy-rockchip-inno-csidphy.c77 #define HZ_TO_MHZ(freq) div_u64(freq, 1000 * 1000) macro
204 data_rate_mbps = HZ_TO_MHZ(config->hs_clk_rate); in rockchip_inno_csidphy_configure()
226 u64 data_rate_mbps = HZ_TO_MHZ(priv->config.hs_clk_rate); in rockchip_inno_csidphy_power_on()
/Linux-v6.6/drivers/i2c/busses/
Di2c-stm32f4.c94 #define HZ_TO_MHZ 1000000 macro
157 freq = DIV_ROUND_UP(i2c_dev->parent_rate, HZ_TO_MHZ); in stm32f4_i2c_set_periph_clk_freq()
193 u32 freq = DIV_ROUND_UP(i2c_dev->parent_rate, HZ_TO_MHZ); in stm32f4_i2c_set_rise_time()