Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/adc/
Dspear_adc.c97 u32 clk_high, clk_low, count; in spear_adc_set_clk() local
101 clk_low = count / 2; in spear_adc_set_clk()
102 clk_high = count - clk_low; in spear_adc_set_clk()
105 __raw_writel(SPEAR_ADC_CLK_LOW(clk_low) | SPEAR_ADC_CLK_HIGH(clk_high), in spear_adc_set_clk()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-aspeed.c799 u32 base_clk_divisor, clk_high_low_max, clk_high, clk_low, tmp; in aspeed_i2c_get_clk_reg_val() local
835 clk_low = clk_high_low_mask; in aspeed_i2c_get_clk_reg_val()
843 clk_low = tmp / 2; in aspeed_i2c_get_clk_reg_val()
844 clk_high = tmp - clk_low; in aspeed_i2c_get_clk_reg_val()
849 if (clk_low) in aspeed_i2c_get_clk_reg_val()
850 clk_low--; in aspeed_i2c_get_clk_reg_val()
856 | ((clk_low << ASPEED_I2CD_TIME_SCL_LOW_SHIFT) in aspeed_i2c_get_clk_reg_val()