Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/rockchip/
H A Dclk-mmc-phase.c52 u32 delay_num = 0; in rockchip_mmc_get_phase() local
67 delay_num = (raw_value & ROCKCHIP_MMC_DELAYNUM_MASK); in rockchip_mmc_get_phase()
68 delay_num >>= ROCKCHIP_MMC_DELAYNUM_OFFSET; in rockchip_mmc_get_phase()
69 degrees += DIV_ROUND_CLOSEST(delay_num * factor, 1000000); in rockchip_mmc_get_phase()
80 u8 delay_num; in rockchip_mmc_set_phase() local
133 delay_num = (u8) min_t(u32, delay, 255); in rockchip_mmc_set_phase()
135 raw_value = delay_num ? ROCKCHIP_MMC_DELAY_SEL : 0; in rockchip_mmc_set_phase()
136 raw_value |= delay_num << ROCKCHIP_MMC_DELAYNUM_OFFSET; in rockchip_mmc_set_phase()
142 clk_hw_get_name(hw), degrees, delay_num, in rockchip_mmc_set_phase()