Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/rc/
H A Dsunxi-cir.c260 u32 b_clk_freq = SUNXI_IR_BASE_CLK; in sunxi_ir_probe() local
287 of_property_read_u32(dn, "clock-frequency", &b_clk_freq); in sunxi_ir_probe()
296 ret = clk_set_rate(ir->clk, b_clk_freq); in sunxi_ir_probe()
301 dev_dbg(dev, "set base clock frequency to %d Hz.\n", b_clk_freq); in sunxi_ir_probe()
327 ir->rc->rx_resolution = (USEC_PER_SEC / (b_clk_freq / 64)); in sunxi_ir_probe()
329 ir->rc->min_timeout = sunxi_ithr_to_usec(b_clk_freq, 0); in sunxi_ir_probe()
330 ir->rc->max_timeout = sunxi_ithr_to_usec(b_clk_freq, 255); in sunxi_ir_probe()