Searched refs:FACTOR_SET (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/clk/sunxi/ |
H A D | clk-factors.c | 37 #define FACTOR_SET(bit, len, reg, val) \ macro 153 reg = FACTOR_SET(config->nshift, config->nwidth, reg, req.n); in clk_factors_set_rate() 154 reg = FACTOR_SET(config->kshift, config->kwidth, reg, req.k); in clk_factors_set_rate() 155 reg = FACTOR_SET(config->mshift, config->mwidth, reg, req.m); in clk_factors_set_rate() 156 reg = FACTOR_SET(config->pshift, config->pwidth, reg, req.p); in clk_factors_set_rate()
|