Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_entity.h151 u32 cclk_ps; member
Dcxgb4_uld.h442 unsigned int cclk_ps; /* Core clock period in psec */ member
Dcxgb4_debugfs.c907 unsigned int cclk_ps = 1000000000 / adap->params.vpd.cclk; /* in ps */ in clk_show() local
911 unsigned long long tp_tick_us = (cclk_ps << tre) / 1000000; /* in us */ in clk_show()
914 unit_conv(buf, sizeof(buf), cclk_ps, 1000)); in clk_show()
916 unit_conv(buf, sizeof(buf), (cclk_ps << tre), 1000000)); in clk_show()
919 (cclk_ps << TIMESTAMPRESOLUTION_G(res)), 1000000)); in clk_show()
921 unit_conv(buf, sizeof(buf), (cclk_ps << dack_re), 1000000)); in clk_show()
923 ((cclk_ps << dack_re) / 1000000) * in clk_show()
Dcxgb4_uld.c618 lld->cclk_ps = 1000000000 / adap->params.vpd.cclk; in uld_init()
Dcudbg_lib.c1979 clk_info_buff->cclk_ps = 1000000000 / padap->params.vpd.cclk; /* psec */ in cudbg_collect_clk_info()
1983 tp_tick_us = (clk_info_buff->cclk_ps << clk_info_buff->tre) / 1000000; in cudbg_collect_clk_info()
1986 (clk_info_buff->cclk_ps << clk_info_buff->dack_re) / 1000000 * in cudbg_collect_clk_info()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Ddevice.c130 #define ts2ns(ts) div64_u64((ts) * dev->rdev.lldi.cclk_ps, 1000) in wr_log_show()