Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/freescale/fman/
Dfman.c1375 u32 tmp, intgr, ts_freq, frac; in enable_time_stamp() local
1377 ts_freq = (u32)(1 << fman->state->count1_micro_bit); in enable_time_stamp()
1386 intgr = ts_freq / fm_clk_freq; in enable_time_stamp()
1392 frac = ((ts_freq << 16) - (intgr << 16) * fm_clk_freq) / fm_clk_freq; in enable_time_stamp()
1394 if (((ts_freq << 16) - (intgr << 16) * fm_clk_freq) % fm_clk_freq) in enable_time_stamp()