Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/clk/meson/
Dclk-mpll.c43 static void params_from_rate(unsigned long requested_rate, in params_from_rate() argument
50 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()
/Linux-v6.1/drivers/memory/tegra/
Dtegra20-emc.c219 struct emc_rate_request requested_rate[EMC_RATE_TYPE_MAX]; member
721 emc->requested_rate[i].min_rate = 0; in tegra_emc_rate_requests_init()
722 emc->requested_rate[i].max_rate = ULONG_MAX; in tegra_emc_rate_requests_init()
731 struct emc_rate_request *req = emc->requested_rate; in emc_request_rate()
761 emc->requested_rate[type].min_rate = new_min_rate; in emc_request_rate()
762 emc->requested_rate[type].max_rate = new_max_rate; in emc_request_rate()
770 struct emc_rate_request *req = &emc->requested_rate[type]; in emc_set_min_rate()
783 struct emc_rate_request *req = &emc->requested_rate[type]; in emc_set_max_rate()
Dtegra124-emc.c510 struct emc_rate_request requested_rate[EMC_RATE_TYPE_MAX]; member
1054 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()
Dtegra30-emc.c390 struct emc_rate_request requested_rate[EMC_RATE_TYPE_MAX]; member
1239 emc->requested_rate[i].min_rate = 0; in tegra_emc_rate_requests_init()
1240 emc->requested_rate[i].max_rate = ULONG_MAX; in tegra_emc_rate_requests_init()
1249 struct emc_rate_request *req = emc->requested_rate; in emc_request_rate()
1279 emc->requested_rate[type].min_rate = new_min_rate; in emc_request_rate()
1280 emc->requested_rate[type].max_rate = new_max_rate; in emc_request_rate()
1288 struct emc_rate_request *req = &emc->requested_rate[type]; in emc_set_min_rate()
1301 struct emc_rate_request *req = &emc->requested_rate[type]; in emc_set_max_rate()