Searched refs:integer_part (Results 1 – 1 of 1) sorted by relevance
47 static inline void ssp_convert_to_freq(u32 time, int *integer_part, in ssp_convert_to_freq() argument52 *integer_part = 0; in ssp_convert_to_freq()56 *integer_part = SSP_FACTOR_WITH_MS / time; in ssp_convert_to_freq()57 *fractional = *integer_part % SSP_INVERTED_SCALING_FACTOR; in ssp_convert_to_freq()58 *integer_part = *integer_part / SSP_INVERTED_SCALING_FACTOR; in ssp_convert_to_freq()62 static inline int ssp_convert_to_time(int integer_part, int fractional) in ssp_convert_to_time() argument66 value = (u64)integer_part * SSP_INVERTED_SCALING_FACTOR + fractional; in ssp_convert_to_time()