Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1966 struct cudbg_clk_info *clk_info_buff; in cudbg_collect_clk_info() local
1978 clk_info_buff = (struct cudbg_clk_info *)temp_buff.data; in cudbg_collect_clk_info()
1979 clk_info_buff->cclk_ps = 1000000000 / padap->params.vpd.cclk; /* psec */ in cudbg_collect_clk_info()
1980 clk_info_buff->res = t4_read_reg(padap, TP_TIMER_RESOLUTION_A); in cudbg_collect_clk_info()
1981 clk_info_buff->tre = TIMERRESOLUTION_G(clk_info_buff->res); in cudbg_collect_clk_info()
1982 clk_info_buff->dack_re = DELAYEDACKRESOLUTION_G(clk_info_buff->res); in cudbg_collect_clk_info()
1983 tp_tick_us = (clk_info_buff->cclk_ps << clk_info_buff->tre) / 1000000; in cudbg_collect_clk_info()
1985 clk_info_buff->dack_timer = in cudbg_collect_clk_info()
1986 (clk_info_buff->cclk_ps << clk_info_buff->dack_re) / 1000000 * in cudbg_collect_clk_info()
1988 clk_info_buff->retransmit_min = in cudbg_collect_clk_info()
[all …]