Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/pci/cx23885/
Dcx23888-ir.c110 #define CX23888_IR_REFCLK_FREQ (CX23888_VIDCLK_FREQ / 2) macro
190 DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ / 1000000 * ns, 1000)); in ns_to_clock_divider()
197 CX23888_IR_REFCLK_FREQ / 1000000); in clock_divider_to_ns()
203 DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ, freq * 16)); in carrier_freq_to_clock_divider()
208 return DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ, (divider + 1) * 16); in clock_divider_to_carrier_freq()
215 DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ, freq * rollovers)); in freq_to_clock_divider()
221 return DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ, in clock_divider_to_freq()
244 DIV_ROUND_CLOSEST(CX23888_IR_REFCLK_FREQ / 1000000 * ns, 1000)); in ns_to_lpf_count()
251 CX23888_IR_REFCLK_FREQ / 1000000); in lpf_count_to_ns()
257 return DIV_ROUND_CLOSEST(count, CX23888_IR_REFCLK_FREQ / 1000000); in lpf_count_to_us()
[all …]