Searched refs:mmc_clock (Results 1 – 3 of 3) sorted by relevance
48 struct rockchip_mmc_clock *mmc_clock = to_mmc_clock(hw); in rockchip_mmc_get_phase() local58 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() local138 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() local182 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 …]
46 mmc_clock: mmc_clock@0 { label341 clocks = <&mmc_clock &mmc_clock>;
35 clocks = <&mmc_clock HI3620_SD_CIUCLK>, <&clock HI3620_DDRC_PER_CLK>;