Home
last modified time | relevance | path

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

/drivers/clk/rockchip/
Dclk-mmc-phase.c48 struct rockchip_mmc_clock *mmc_clock = to_mmc_clock(hw); in rockchip_mmc_get_phase() local
58 raw_value = readl(mmc_clock->reg) >> (mmc_clock->shift); in rockchip_mmc_get_phase()
77 struct rockchip_mmc_clock *mmc_clock = to_mmc_clock(hw); in rockchip_mmc_set_phase() local
138 writel(HIWORD_UPDATE(raw_value, 0x07ff, mmc_clock->shift), in rockchip_mmc_set_phase()
139 mmc_clock->reg); in rockchip_mmc_set_phase()
143 mmc_clock->reg, raw_value>>(mmc_clock->shift), in rockchip_mmc_set_phase()
161 struct rockchip_mmc_clock *mmc_clock = to_rockchip_mmc_clock(nb); in rockchip_mmc_clk_rate_notify() local
182 mmc_clock->cached_phase = in rockchip_mmc_clk_rate_notify()
183 rockchip_mmc_get_phase(&mmc_clock->hw); in rockchip_mmc_clk_rate_notify()
184 else if (mmc_clock->cached_phase != -EINVAL && in rockchip_mmc_clk_rate_notify()
[all …]