Lines Matching refs:req
89 struct clk_rate_request *req)
100 .rate = req->rate,
107 parent_rate = clk_hw_round_rate(parent, req->rate);
115 if (child_rate <= req->rate && child_rate > best_child_rate) {
125 req->best_parent_hw = best_parent;
126 req->best_parent_rate = best;
127 req->rate = best_child_rate;
135 struct factors_request req = {
144 factors->get_factors(&req);
153 reg = FACTOR_SET(config->nshift, config->nwidth, reg, req.n);
154 reg = FACTOR_SET(config->kshift, config->kwidth, reg, req.k);
155 reg = FACTOR_SET(config->mshift, config->mwidth, reg, req.m);
156 reg = FACTOR_SET(config->pshift, config->pwidth, reg, req.p);