Lines Matching refs:con
151 uint32_t con = readl(&cru->clksel_con[24]); in rv1108_mac_set_clk() local
155 if ((con >> MAC_PLL_SEL_SHIFT) & MAC_PLL_SEL_GPLL) in rv1108_mac_set_clk()
176 u32 con = readl(&cru->clksel_con[27]); in rv1108_sfc_set_clk() local
180 if ((con >> SFC_PLL_SEL_SHIFT) && SFC_PLL_SEL_GPLL) in rv1108_sfc_set_clk()
421 u32 div, con; in rv1108_i2c_get_clk() local
425 con = readl(&cru->clksel_con[19]); in rv1108_i2c_get_clk()
426 div = bitfield_extract(con, CLK_I2C0_DIV_CON_SHIFT, in rv1108_i2c_get_clk()
430 con = readl(&cru->clksel_con[19]); in rv1108_i2c_get_clk()
431 div = bitfield_extract(con, CLK_I2C1_DIV_CON_SHIFT, in rv1108_i2c_get_clk()
435 con = readl(&cru->clksel_con[20]); in rv1108_i2c_get_clk()
436 div = bitfield_extract(con, CLK_I2C2_DIV_CON_SHIFT, in rv1108_i2c_get_clk()
440 con = readl(&cru->clksel_con[20]); in rv1108_i2c_get_clk()
441 div = bitfield_extract(con, CLK_I2C3_DIV_CON_SHIFT, in rv1108_i2c_get_clk()
495 u32 div, con; in rv1108_mmc_get_clk() local
498 con = readl(&cru->clksel_con[26]); in rv1108_mmc_get_clk()
499 div = bitfield_extract(con, EMMC_CLK_DIV_SHIFT, 8); in rv1108_mmc_get_clk()
501 con = readl(&cru->clksel_con[25]); in rv1108_mmc_get_clk()
503 if ((con & EMMC_PLL_SEL_MASK) >> EMMC_PLL_SEL_SHIFT == EMMC_PLL_SEL_OSC) in rv1108_mmc_get_clk()