Lines Matching refs:pre
46 uint32_t pre, post; in get_gpt_clock_freq() local
51 CCM_GetRootDivider(CCM, ccmRootGpt3, &pre, &post); in get_gpt_clock_freq()
55 CCM_GetRootDivider(CCM, ccmRootGpt4, &pre, &post); in get_gpt_clock_freq()
72 return hz / (pre + 1) / (post + 1); in get_gpt_clock_freq()
85 uint32_t pre, post; in get_ecspi_clock_freq() local
90 CCM_GetRootDivider(CCM, ccmRootEcspi1, &pre, &post); in get_ecspi_clock_freq()
94 CCM_GetRootDivider(CCM, ccmRootEcspi2, &pre, &post); in get_ecspi_clock_freq()
111 return hz / (pre + 1) / (post + 1); in get_ecspi_clock_freq()
124 uint32_t pre, post; in get_flexcan_clock_freq() local
129 CCM_GetRootDivider(CCM, ccmRootCan1, &pre, &post); in get_flexcan_clock_freq()
133 CCM_GetRootDivider(CCM, ccmRootCan2, &pre, &post); in get_flexcan_clock_freq()
153 return hz / (pre + 1) / (post + 1); in get_flexcan_clock_freq()
166 uint32_t pre, post; in get_i2c_clock_freq() local
171 CCM_GetRootDivider(CCM, ccmRootI2c1, &pre, &post); in get_i2c_clock_freq()
175 CCM_GetRootDivider(CCM, ccmRootI2c2, &pre, &post); in get_i2c_clock_freq()
179 CCM_GetRootDivider(CCM, ccmRootI2c3, &pre, &post); in get_i2c_clock_freq()
183 CCM_GetRootDivider(CCM, ccmRootI2c4, &pre, &post); in get_i2c_clock_freq()
200 return hz / (pre + 1) / (post + 1); in get_i2c_clock_freq()
213 uint32_t pre, post; in get_uart_clock_freq() local
218 CCM_GetRootDivider(CCM, ccmRootUart1, &pre, &post); in get_uart_clock_freq()
222 CCM_GetRootDivider(CCM, ccmRootUart2, &pre, &post); in get_uart_clock_freq()
226 CCM_GetRootDivider(CCM, ccmRootUart3, &pre, &post); in get_uart_clock_freq()
230 CCM_GetRootDivider(CCM, ccmRootUart4, &pre, &post); in get_uart_clock_freq()
234 CCM_GetRootDivider(CCM, ccmRootUart5, &pre, &post); in get_uart_clock_freq()
238 CCM_GetRootDivider(CCM, ccmRootUart6, &pre, &post); in get_uart_clock_freq()
242 CCM_GetRootDivider(CCM, ccmRootUart7, &pre, &post); in get_uart_clock_freq()
262 return hz / (pre + 1) / (post + 1); in get_uart_clock_freq()