Searched refs:FACTOR2 (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/clk/mediatek/ |
H A D | clk-mt7629.c | 69 #define FACTOR2(_id, _parent, _mult, _div) \ macro 92 FACTOR2(CLK_TOP_RTC, CLK_XTAL, 1, 1024), 93 FACTOR2(CLK_TOP_PWM_QTR_26M, CLK_XTAL, 1, 1), 94 FACTOR2(CLK_TOP_CPUM_TCK_IN, CLK_XTAL, 1, 1), 95 FACTOR2(CLK_TOP_TO_USB3_DA_TOP, CLK_XTAL, 1, 1), 96 FACTOR2(CLK_TOP_MEMPLL, CLK_XTAL, 32, 1), 132 FACTOR2(CLK_TOP_CLKXTAL_D4, CLK_XTAL, 1, 4),
|
H A D | clk-mt7623.c | 79 #define FACTOR2(_id, _parent, _mult, _div) \ macro 180 FACTOR2(CLK_TOP_CLK26M_D8, CLK_XTAL, 1, 8), 181 FACTOR2(CLK_TOP_32K_INTERNAL, CLK_XTAL, 1, 793),
|
/openbmc/u-boot/drivers/thermal/ |
H A D | imx_thermal.c | 26 #define FACTOR2 4148468 macro 92 temp64 = div_s64_rem(temp64, FACTOR1 * n1 - FACTOR2, &rem); in read_cpu_temperature()
|