Home
last modified time | relevance | path

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

/openbmc/linux/drivers/peci/controller/
H A Dpeci-aspeed.c118 #define ASPEED_PECI_CLK_DIV1(msg_timing) (4 * (msg_timing) + 1) argument
120 #define ASPEED_PECI_CLK_DIV(msg_timing, clk_div_exp) \ 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
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
357 val = FIELD_PREP(ASPEED_PECI_T_NEGO_MSG_MASK, msg_timing); in clk_aspeed_peci_set_rate()
376 int div, msg_timing, addr_timing, clk_div_exp; in clk_aspeed_peci_recalc_rate() local
380 msg_timing = FIELD_GET(ASPEED_PECI_T_NEGO_MSG_MASK, reg); in clk_aspeed_peci_recalc_rate()
383 if (msg_timing != addr_timing) in clk_aspeed_peci_recalc_rate()
[all …]