Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_vf_device.c33 u32 oqticks_per_us = (u32)oct->pfvf_hsword.coproc_tics_per_us; in cn23xx_vf_get_oq_ticks() local
36 oqticks_per_us *= 1000; in cn23xx_vf_get_oq_ticks()
39 oqticks_per_us /= 1024; in cn23xx_vf_get_oq_ticks()
44 oqticks_per_us *= time_intr_in_us; in cn23xx_vf_get_oq_ticks()
45 oqticks_per_us /= 1000; in cn23xx_vf_get_oq_ticks()
47 return oqticks_per_us; in cn23xx_vf_get_oq_ticks()
Dcn66xx_device.c134 u32 oqticks_per_us = lio_cn6xxx_coprocessor_clock(oct); in lio_cn6xxx_get_oq_ticks() local
141 oqticks_per_us *= 1000; in lio_cn6xxx_get_oq_ticks()
144 oqticks_per_us /= 1024; in lio_cn6xxx_get_oq_ticks()
149 oqticks_per_us *= time_intr_in_us; in lio_cn6xxx_get_oq_ticks()
150 oqticks_per_us /= 1000; in lio_cn6xxx_get_oq_ticks()
152 return oqticks_per_us; in lio_cn6xxx_get_oq_ticks()
Dcn23xx_pf_device.c282 u32 oqticks_per_us = cn23xx_coprocessor_clock(oct); in cn23xx_pf_get_oq_ticks() local
284 oct->pfvf_hsword.coproc_tics_per_us = oqticks_per_us; in cn23xx_pf_get_oq_ticks()
287 oqticks_per_us *= 1000; in cn23xx_pf_get_oq_ticks()
290 oqticks_per_us /= 1024; in cn23xx_pf_get_oq_ticks()
295 oqticks_per_us *= time_intr_in_us; in cn23xx_pf_get_oq_ticks()
296 oqticks_per_us /= 1000; in cn23xx_pf_get_oq_ticks()
298 return oqticks_per_us; in cn23xx_pf_get_oq_ticks()