Searched refs:msg_timing (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/peci/controller/ |
D | peci-aspeed.c | 118 #define ASPEED_PECI_CLK_DIV1(msg_timing) (4 * (msg_timing) + 1) argument 120 #define ASPEED_PECI_CLK_DIV(msg_timing, clk_div_exp) \ argument 121 (4 * ASPEED_PECI_CLK_DIV1(msg_timing) * ASPEED_PECI_CLK_DIV2(clk_div_exp)) 313 static void clk_aspeed_peci_find_div_values(unsigned long rate, int *msg_timing, int *clk_div_exp) in clk_aspeed_peci_find_div_values() argument 328 *msg_timing = msg_timing_temp; in clk_aspeed_peci_find_div_values() 335 int msg_timing, clk_div_exp; in clk_aspeed_peci_get_div() local 337 clk_aspeed_peci_find_div_values(this_rate, &msg_timing, &clk_div_exp); in clk_aspeed_peci_get_div() 339 return ASPEED_PECI_CLK_DIV(msg_timing, clk_div_exp); in clk_aspeed_peci_get_div() 348 int clk_div_exp, msg_timing; in clk_aspeed_peci_set_rate() local 351 clk_aspeed_peci_find_div_values(this_rate, &msg_timing, &clk_div_exp); in clk_aspeed_peci_set_rate() [all …]
|