/* to_div - turn a cycle length into a divisor setting. @cyc_tns: The cycle time in 10ths of nanoseconds. @clk_tns: The clock period in 10ths of nanoseconds.  */
static unsigned int to_div(unsigned int cyc_tns, unsigned int clk_tns)
/* to_div - turn a cycle length into a divisor setting. @cyc_tns: The cycle time in 10ths of nanoseconds. @clk_tns: The clock period in 10ths of nanoseconds.  */
static unsigned int to_div(unsigned int cyc_tns, unsigned int clk_tns)
{
	return cyc_tns ? DIV_ROUND_UP(cyc_tns, clk_tns) : 0;
}