Searched refs:intgr (Results 1 – 2 of 2) sorted by relevance
553 uint32_t intgr, tmp; in fman_enable_timestamp() local556 intgr = ts_freq / clock; in fman_enable_timestamp()558 frac = ((uint64_t)ts_freq << 16) - ((uint64_t)intgr << 16) * clock; in fman_enable_timestamp()561 tmp = (intgr << TSC2_TSIV_INT_S) | (uint32_t)frac; in fman_enable_timestamp()
174 uint32_t intgr; in fman_enable_time_stamp() local184 intgr = ts_freq / fm_clk_freq; in fman_enable_time_stamp()189 frac = ((uint64_t)ts_freq << 16) - ((uint64_t)intgr << 16) * fm_clk_freq; in fman_enable_time_stamp()194 tmp = (intgr << FPM_TS_INT_SHIFT) | (uint16_t)frac; in fman_enable_time_stamp()