Searched refs:mmcmdiv (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/clk/ |
H A D | clk_boston.c | 32 uint mmcmdiv; in clk_boston_get_rate() local 35 err = regmap_read(state->regmap, BOSTON_PLAT_MMCMDIV, &mmcmdiv); in clk_boston_get_rate() 39 in_rate = ext_field(mmcmdiv, BOSTON_PLAT_MMCMDIV_INPUT); in clk_boston_get_rate() 40 mul = ext_field(mmcmdiv, BOSTON_PLAT_MMCMDIV_MUL); in clk_boston_get_rate() 44 div = ext_field(mmcmdiv, BOSTON_PLAT_MMCMDIV_CLK0DIV); in clk_boston_get_rate() 47 div = ext_field(mmcmdiv, BOSTON_PLAT_MMCMDIV_CLK1DIV); in clk_boston_get_rate()
|
/openbmc/linux/drivers/clk/imgtec/ |
H A D | clk-boston.c | 34 uint mmcmdiv, mul, cpu_div, sys_div; in clk_boston_setup() local 46 err = regmap_read(regmap, BOSTON_PLAT_MMCMDIV, &mmcmdiv); in clk_boston_setup() 52 in_freq = ext_field(mmcmdiv, BOSTON_PLAT_MMCMDIV_INPUT) * 1000000; in clk_boston_setup() 53 mul = ext_field(mmcmdiv, BOSTON_PLAT_MMCMDIV_MUL); in clk_boston_setup() 55 sys_div = ext_field(mmcmdiv, BOSTON_PLAT_MMCMDIV_CLK0DIV); in clk_boston_setup() 58 cpu_div = ext_field(mmcmdiv, BOSTON_PLAT_MMCMDIV_CLK1DIV); in clk_boston_setup()
|