Searched refs:clk_high (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | spear_adc.c | 97 u32 clk_high, clk_low, count; in spear_adc_set_clk() local 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-6.6/drivers/iio/adc/ |
H A D | spear_adc.c | 106 u32 clk_high, clk_low, count; in spear_adc_set_clk() local 111 clk_high = count - clk_low; in spear_adc_set_clk() 114 __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/ |
H A D | i2c-aspeed.c | 819 u32 base_clk_divisor, clk_high_low_max, clk_high, clk_low, tmp; in aspeed_i2c_get_clk_reg_val() local 841 * SCL_high = clk_high + 1 in aspeed_i2c_get_clk_reg_val() 845 * ((1 << base_clk_divisor) * (clk_high + 1 + clk_low + 1)) in aspeed_i2c_get_clk_reg_val() 846 * The documentation recommends clk_high >= clk_high_max / 2 and in aspeed_i2c_get_clk_reg_val() 856 clk_high = clk_high_low_mask; in aspeed_i2c_get_clk_reg_val() 864 clk_high = tmp - clk_low; in aspeed_i2c_get_clk_reg_val() 866 if (clk_high) in aspeed_i2c_get_clk_reg_val() 867 clk_high--; in aspeed_i2c_get_clk_reg_val() 874 return ((clk_high << ASPEED_I2CD_TIME_SCL_HIGH_SHIFT) in aspeed_i2c_get_clk_reg_val() 885 * clk_high an in aspeed_i2c_24xx_get_clk_reg_val() [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-aspeed.c | 828 u32 base_clk_divisor, clk_high_low_max, clk_high, clk_low, tmp; in aspeed_i2c_get_clk_reg_val() local 850 * SCL_high = clk_high + 1 in aspeed_i2c_get_clk_reg_val() 854 * ((1 << base_clk_divisor) * (clk_high + 1 + clk_low + 1)) in aspeed_i2c_get_clk_reg_val() 855 * The documentation recommends clk_high >= clk_high_max / 2 and in aspeed_i2c_get_clk_reg_val() 865 clk_high = clk_high_low_mask; in aspeed_i2c_get_clk_reg_val() 873 clk_high = tmp - clk_low; in aspeed_i2c_get_clk_reg_val() 875 if (clk_high) in aspeed_i2c_get_clk_reg_val() 876 clk_high--; in aspeed_i2c_get_clk_reg_val() 883 return ((clk_high << ASPEED_I2CD_TIME_SCL_HIGH_SHIFT) in aspeed_i2c_get_clk_reg_val() 894 * clk_high an in aspeed_i2c_24xx_get_clk_reg_val() [all...] |
Completed in 5 milliseconds