Searched refs:FACTOR_SET (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
Completed in 2 milliseconds