Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/media/rc/
Dstreamzap.c154 rawir.duration = US_TO_NS(rawir.duration); in sz_push_full_pulse()
167 rawir.duration = US_TO_NS(rawir.duration); in sz_push_full_pulse()
187 rawir.duration = US_TO_NS(rawir.duration); in sz_push_full_space()
420 sz->rdev->timeout = ((US_TO_NS(SZ_TIMEOUT * SZ_RESOLUTION) & in streamzap_probe()
425 sz->min_timeout = US_TO_NS(SZ_TIMEOUT * SZ_RESOLUTION); in streamzap_probe()
426 sz->max_timeout = US_TO_NS(SZ_TIMEOUT * SZ_RESOLUTION); in streamzap_probe()
Dir-hix5hd2.c169 ev.duration = US_TO_NS(data_l); in hix5hd2_ir_rx_interrupt()
174 ev.duration = US_TO_NS(data_h); in hix5hd2_ir_rx_interrupt()
252 rdev->rx_resolution = US_TO_NS(10); in hix5hd2_ir_probe()
253 rdev->timeout = US_TO_NS(IR_CFG_SYMBOL_MAXWIDTH * 10); in hix5hd2_ir_probe()
Dene_ir.c450 dev->rdev->rx_resolution = US_TO_NS(ENE_FW_SAMPLE_PERIOD_FAN); in ene_rx_setup()
455 US_TO_NS(ENE_FW_SMPL_BUF_FAN_MSK * in ene_rx_setup()
458 dev->rdev->rx_resolution = US_TO_NS(sample_period); in ene_rx_setup()
465 dev->rdev->min_timeout = US_TO_NS(127 * sample_period); in ene_rx_setup()
466 dev->rdev->max_timeout = US_TO_NS(200000); in ene_rx_setup()
470 dev->rdev->tx_resolution = US_TO_NS(sample_period); in ene_rx_setup()
816 ev.duration = US_TO_NS(hw_sample); in ene_isr()
836 dev->rdev->timeout = US_TO_NS(150000); in ene_setup_default_settings()
Dst_rc.c136 ev.duration = US_TO_NS(mark); in st_rc_rx_interrupt()
141 ev.duration = US_TO_NS(symbol); in st_rc_rx_interrupt()
293 rdev->timeout = US_TO_NS(MAX_SYMB_TIME); in st_rc_probe()
Dmeson-ir.c86 rawir.duration = US_TO_NS(duration * MESON_TRATE); in meson_ir_irq()
139 ir->rc->rx_resolution = US_TO_NS(MESON_TRATE); in meson_ir_probe()
Dredrat3.c378 rawir.duration = US_TO_NS(single_len); in redrat3_process_ir_data()
394 if (trailer < US_TO_NS(1000)) in redrat3_process_ir_data()
395 rawir.duration = US_TO_NS(2800); in redrat3_process_ir_data()
882 rc->timeout = US_TO_NS(2750); in redrat3_init_rc_dev()
886 rc->rx_resolution = US_TO_NS(2); in redrat3_init_rc_dev()
Dfintek-cir.c329 rawir.duration = US_TO_NS((sample & BUF_SAMPLE_MASK) in fintek_process_rx_ir_data()
555 rdev->timeout = US_TO_NS(1000); in fintek_probe()
557 rdev->rx_resolution = US_TO_NS(CIR_SAMPLE_PERIOD); in fintek_probe()
Dwinbond-cir.c397 rawir.duration = US_TO_NS(duration); in wbcir_irq_rx()
551 data->dev->rx_resolution = US_TO_NS(enable ? 2 : 10); in wbcir_set_carrier_report()
1084 data->dev->rx_resolution = US_TO_NS(2); in wbcir_probe()
Dnuvoton-cir.c635 rawir.duration = US_TO_NS((sample & BUF_LEN_MASK) in nvt_process_rx_ir_data()
1062 rdev->rx_resolution = US_TO_NS(CIR_SAMPLE_PERIOD); in nvt_probe()
Dmceusb.c956 ir->rc->timeout = US_TO_NS((hi << 8 | lo) * MCE_TIME_UNIT); in mceusb_handle_command()
1010 * US_TO_NS(MCE_TIME_UNIT); in mceusb_process_ir_data()
Diguanair.c144 rawir.duration = US_TO_NS(21845); in process_ir_data()
/linux-4.1.27/drivers/hid/
Dhid-picolcd_cir.c73 rawir.duration = US_TO_NS(rawir.pulse ? (65536 - w) : w); in picolcd_raw_cir()
130 rdev->rx_resolution = US_TO_NS(1); in picolcd_init_cir()
/linux-4.1.27/include/media/
Drc-core.h243 #define US_TO_NS(usec) ((usec) * 1000) macro