Searched refs:US_TO_NS (Results 1 – 16 of 16) sorted by relevance
149 rawir.duration = US_TO_NS(rawir.duration); in sz_push_full_pulse()163 rawir.duration = US_TO_NS(rawir.duration); in sz_push_full_pulse()184 rawir.duration = US_TO_NS(rawir.duration); in sz_push_full_space()415 sz->rdev->timeout = ((US_TO_NS(SZ_TIMEOUT * SZ_RESOLUTION) & in streamzap_probe()420 sz->min_timeout = US_TO_NS(SZ_TIMEOUT * SZ_RESOLUTION); in streamzap_probe()421 sz->max_timeout = US_TO_NS(SZ_TIMEOUT * SZ_RESOLUTION); in streamzap_probe()
187 ev.duration = US_TO_NS(data_l); in hix5hd2_ir_rx_interrupt()192 ev.duration = US_TO_NS(data_h); in hix5hd2_ir_rx_interrupt()271 rdev->rx_resolution = US_TO_NS(10); in hix5hd2_ir_probe()272 rdev->timeout = US_TO_NS(IR_CFG_SYMBOL_MAXWIDTH * 10); in hix5hd2_ir_probe()
445 dev->rdev->rx_resolution = US_TO_NS(ENE_FW_SAMPLE_PERIOD_FAN); in ene_rx_setup()450 US_TO_NS(ENE_FW_SMPL_BUF_FAN_MSK * in ene_rx_setup()453 dev->rdev->rx_resolution = US_TO_NS(sample_period); in ene_rx_setup()460 dev->rdev->min_timeout = US_TO_NS(127 * sample_period); in ene_rx_setup()461 dev->rdev->max_timeout = US_TO_NS(200000); in ene_rx_setup()465 dev->rdev->tx_resolution = US_TO_NS(sample_period); in ene_rx_setup()811 ev.duration = US_TO_NS(hw_sample); in ene_isr()831 dev->rdev->timeout = US_TO_NS(150000); in ene_setup_default_settings()
142 ev.duration = US_TO_NS(mark); in st_rc_rx_interrupt()147 ev.duration = US_TO_NS(symbol); in st_rc_rx_interrupt()300 rdev->timeout = US_TO_NS(MAX_SYMB_TIME); in st_rc_probe()
93 ns = US_TO_NS(ir_rx51->wbuf[ir_rx51->wbuf_index]); in ir_rx51_timer_cb()138 ns_to_ktime(US_TO_NS(ir_rx51->wbuf[0])), in ir_rx51_tx()
95 rawir.duration = US_TO_NS(duration * MESON_TRATE); in meson_ir_irq()146 ir->rc->rx_resolution = US_TO_NS(MESON_TRATE); in meson_ir_probe()
319 rawir.duration = US_TO_NS((sample & BUF_SAMPLE_MASK) in fintek_process_rx_ir_data()544 rdev->timeout = US_TO_NS(1000); in fintek_probe()546 rdev->rx_resolution = US_TO_NS(CIR_SAMPLE_PERIOD); in fintek_probe()
106 #define CIR_RX_LIMIT_COUNT (IR_DEFAULT_TIMEOUT / US_TO_NS(SAMPLE_PERIOD))
382 rawir.duration = US_TO_NS(single_len); in redrat3_process_ir_data()962 rc->timeout = US_TO_NS(redrat3_get_timeout(rr3)); in redrat3_init_rc_dev()968 rc->rx_resolution = US_TO_NS(2); in redrat3_init_rc_dev()
377 rawir.duration = US_TO_NS(duration); in wbcir_irq_rx()531 data->dev->rx_resolution = US_TO_NS(enable ? 2 : 10); in wbcir_set_carrier_report()1088 data->dev->rx_resolution = US_TO_NS(2); in wbcir_probe()
1000 units = DIV_ROUND_CLOSEST(timeout, US_TO_NS(MCE_TIME_UNIT)); in mceusb_set_timeout()1096 ir->rc->timeout = US_TO_NS((hi << 8 | lo) * MCE_TIME_UNIT); in mceusb_handle_command()1190 rawir.duration *= US_TO_NS(MCE_TIME_UNIT); in mceusb_process_ir_data()1456 rc->min_timeout = US_TO_NS(MCE_TIME_UNIT); in mceusb_init_rc_dev()
117 ev.duration = US_TO_NS(val); in add_read_queue()
755 rawir.duration = US_TO_NS((sample & BUF_LEN_MASK) in nvt_process_rx_ir_data()1037 rdev->rx_resolution = US_TO_NS(CIR_SAMPLE_PERIOD); in nvt_probe()
141 rawir.duration = US_TO_NS(21845); in process_ir_data()
73 rawir.duration = US_TO_NS(rawir.pulse ? (65536 - w) : w); in picolcd_raw_cir()129 rdev->rx_resolution = US_TO_NS(1); in picolcd_init_cir()
329 #define US_TO_NS(usec) ((usec) * 1000) macro