Searched refs:requested_rate (Results 1 – 4 of 4) sorted by relevance
43 static void params_from_rate(unsigned long requested_rate, in params_from_rate() argument50 uint64_t frac = do_div(div, requested_rate); in params_from_rate()55 *sdm = DIV_ROUND_CLOSEST_ULL(frac, requested_rate); in params_from_rate()57 *sdm = DIV_ROUND_UP_ULL(frac, requested_rate); in params_from_rate()
198 struct emc_rate_request requested_rate[EMC_RATE_TYPE_MAX]; member550 emc->requested_rate[i].min_rate = 0; in tegra_emc_rate_requests_init()551 emc->requested_rate[i].max_rate = ULONG_MAX; in tegra_emc_rate_requests_init()560 struct emc_rate_request *req = emc->requested_rate; in emc_request_rate()590 emc->requested_rate[type].min_rate = new_min_rate; in emc_request_rate()591 emc->requested_rate[type].max_rate = new_max_rate; in emc_request_rate()599 struct emc_rate_request *req = &emc->requested_rate[type]; in emc_set_min_rate()612 struct emc_rate_request *req = &emc->requested_rate[type]; in emc_set_max_rate()
510 struct emc_rate_request requested_rate[EMC_RATE_TYPE_MAX]; member1054 emc->requested_rate[i].min_rate = 0; in tegra_emc_rate_requests_init()1055 emc->requested_rate[i].max_rate = ULONG_MAX; in tegra_emc_rate_requests_init()1064 struct emc_rate_request *req = emc->requested_rate; in emc_request_rate()1094 emc->requested_rate[type].min_rate = new_min_rate; in emc_request_rate()1095 emc->requested_rate[type].max_rate = new_max_rate; in emc_request_rate()1103 struct emc_rate_request *req = &emc->requested_rate[type]; in emc_set_min_rate()1116 struct emc_rate_request *req = &emc->requested_rate[type]; in emc_set_max_rate()
377 struct emc_rate_request requested_rate[EMC_RATE_TYPE_MAX]; member1128 emc->requested_rate[i].min_rate = 0; in tegra_emc_rate_requests_init()1129 emc->requested_rate[i].max_rate = ULONG_MAX; in tegra_emc_rate_requests_init()1138 struct emc_rate_request *req = emc->requested_rate; in emc_request_rate()1168 emc->requested_rate[type].min_rate = new_min_rate; in emc_request_rate()1169 emc->requested_rate[type].max_rate = new_max_rate; in emc_request_rate()1177 struct emc_rate_request *req = &emc->requested_rate[type]; in emc_set_min_rate()1190 struct emc_rate_request *req = &emc->requested_rate[type]; in emc_set_max_rate()