Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/adc/
Dspear_adc.c98 u32 clk_high, clk_low, count; in spear_adc_set_clk() local
103 clk_high = count - clk_low; in spear_adc_set_clk()
106 __raw_writel(SPEAR_ADC_CLK_LOW(clk_low) | SPEAR_ADC_CLK_HIGH(clk_high), in spear_adc_set_clk()
/Linux-v4.19/drivers/i2c/busses/
Di2c-aspeed.c689 u32 base_clk, clk_high, clk_low, tmp; in aspeed_i2c_get_clk_reg_val() local
715 clk_high = tmp - clk_low; in aspeed_i2c_get_clk_reg_val()
717 if (clk_high) in aspeed_i2c_get_clk_reg_val()
718 clk_high--; in aspeed_i2c_get_clk_reg_val()
724 return ((clk_high << ASPEED_I2CD_TIME_SCL_HIGH_SHIFT) in aspeed_i2c_get_clk_reg_val()