Lines Matching full:carrier
71 unsigned int carrier; member
81 unsigned int cnt = DIV_ROUND_CLOSEST(ir->clk_rate, ir->carrier); in meson_irtx_set_mod()
86 ir->carrier, NSEC_PER_SEC / ir->clk_rate * cnt, in meson_irtx_set_mod()
97 * output to be high. Set up carrier frequency and duty cycle. Then in meson_irtx_setup()
116 unsigned int tb_us = DIV_ROUND_CLOSEST(USEC_PER_SEC, ir->carrier); in meson_irtx_prepare_pulse()
167 * Pulse timebase equals to carrier period. in meson_irtx_check_buf()
170 max_tb_us = USEC_PER_SEC / ir->carrier; in meson_irtx_check_buf()
215 static int meson_irtx_set_carrier(struct rc_dev *rc, u32 carrier) in meson_irtx_set_carrier() argument
219 if (carrier == 0) in meson_irtx_set_carrier()
222 ir->carrier = carrier; in meson_irtx_set_carrier()
330 ir->carrier = MIRTX_DEFAULT_CARRIER; in meson_irtx_probe()