/* Note the largest count value of 0xffff corresponds to: 0xffff * 1000 / 108/2 MHz = 1,213,611.11... ns which fits in 21 bits, so we'll use unsigned int for time arguments.  */
static u16 count_to_lpf_count(unsigned int d)
/* Note the largest count value of 0xffff corresponds to: 0xffff * 1000 / 108/2 MHz = 1,213,611.11... ns which fits in 21 bits, so we'll use unsigned int for time arguments.  */
static u16 count_to_lpf_count(unsigned int d)
{
	if (d > FILTR_LPF)
		d = FILTR_LPF;
	else if (d < 4)
		d = 0;
	return (u16) d;
}