Searched refs:rawir (Results 1 – 14 of 14) sorted by relevance
/drivers/media/rc/ |
D | streamzap.c | 126 static void sz_push(struct streamzap_ir *sz, struct ir_raw_event rawir) in sz_push() argument 129 (rawir.pulse ? "pulse" : "space"), rawir.duration); in sz_push() 130 ir_raw_event_store_with_filter(sz->rdev, &rawir); in sz_push() 136 DEFINE_IR_RAW_EVENT(rawir); in sz_push_full_pulse() 145 rawir.pulse = false; in sz_push_full_pulse() 148 rawir.duration = IR_MAX_DURATION; in sz_push_full_pulse() 150 rawir.duration = (int)(deltv * 1000000 + in sz_push_full_pulse() 153 rawir.duration -= sz->sum; in sz_push_full_pulse() 154 rawir.duration = US_TO_NS(rawir.duration); in sz_push_full_pulse() 155 rawir.duration &= IR_MAX_DURATION; in sz_push_full_pulse() [all …]
|
D | ttusbir.c | 124 struct ir_raw_event rawir; in ttusbir_process_ir_data() local 128 init_ir_raw_event(&rawir); in ttusbir_process_ir_data() 134 rawir.pulse = false; in ttusbir_process_ir_data() 135 rawir.duration = NS_PER_BYTE; in ttusbir_process_ir_data() 136 if (ir_raw_event_store_with_filter(tt->rc, &rawir)) in ttusbir_process_ir_data() 140 rawir.pulse = true; in ttusbir_process_ir_data() 141 rawir.duration = NS_PER_BYTE; in ttusbir_process_ir_data() 142 if (ir_raw_event_store_with_filter(tt->rc, &rawir)) in ttusbir_process_ir_data() 149 rawir.pulse = true; in ttusbir_process_ir_data() 152 rawir.pulse = false; in ttusbir_process_ir_data() [all …]
|
D | rc-loopback.c | 109 DEFINE_IR_RAW_EVENT(rawir); in loop_tx_ir() 128 rawir.pulse = i % 2 ? false : true; in loop_tx_ir() 129 rawir.duration = txbuf[i] * 1000; in loop_tx_ir() 130 if (rawir.duration) in loop_tx_ir() 131 ir_raw_event_store_with_filter(dev, &rawir); in loop_tx_ir() 135 rawir.pulse = false; in loop_tx_ir() 136 rawir.duration = dev->timeout; in loop_tx_ir() 137 ir_raw_event_store_with_filter(dev, &rawir); in loop_tx_ir()
|
D | redrat3.c | 344 DEFINE_IR_RAW_EVENT(rawir); in redrat3_process_ir_data() 374 rawir.pulse = false; in redrat3_process_ir_data() 376 rawir.pulse = true; in redrat3_process_ir_data() 378 rawir.duration = US_TO_NS(single_len); in redrat3_process_ir_data() 381 trailer = rawir.duration; in redrat3_process_ir_data() 383 rawir.duration &= IR_MAX_DURATION; in redrat3_process_ir_data() 386 rawir.pulse ? "pulse" : "space", rawir.duration, i); in redrat3_process_ir_data() 387 ir_raw_event_store_with_filter(rr3->rc, &rawir); in redrat3_process_ir_data() 392 rawir.pulse = false; in redrat3_process_ir_data() 395 rawir.duration = US_TO_NS(2800); in redrat3_process_ir_data() [all …]
|
D | iguanair.c | 135 DEFINE_IR_RAW_EVENT(rawir); in process_ir_data() 139 init_ir_raw_event(&rawir); in process_ir_data() 143 rawir.pulse = false; in process_ir_data() 144 rawir.duration = US_TO_NS(21845); in process_ir_data() 146 rawir.pulse = (ir->buf_in[i] & 0x80) == 0; in process_ir_data() 147 rawir.duration = ((ir->buf_in[i] & 0x7f) + 1) * in process_ir_data() 151 if (ir_raw_event_store_with_filter(ir->rc, &rawir)) in process_ir_data()
|
D | fintek-cir.c | 295 DEFINE_IR_RAW_EVENT(rawir); in fintek_process_rx_ir_data() 327 init_ir_raw_event(&rawir); in fintek_process_rx_ir_data() 328 rawir.pulse = ((sample & BUF_PULSE_BIT) != 0); in fintek_process_rx_ir_data() 329 rawir.duration = US_TO_NS((sample & BUF_SAMPLE_MASK) in fintek_process_rx_ir_data() 333 rawir.pulse ? "pulse" : "space", in fintek_process_rx_ir_data() 334 rawir.duration); in fintek_process_rx_ir_data() 336 &rawir)) in fintek_process_rx_ir_data()
|
D | sunxi-cir.c | 107 DEFINE_IR_RAW_EVENT(rawir); in sunxi_ir_irq() 125 rawir.pulse = (dt & 0x80) != 0; in sunxi_ir_irq() 126 rawir.duration = ((dt & 0x7f) + 1) * SUNXI_IR_SAMPLE; in sunxi_ir_irq() 127 ir_raw_event_store_with_filter(ir->rc, &rawir); in sunxi_ir_irq()
|
D | nuvoton-cir.c | 618 DEFINE_IR_RAW_EVENT(rawir); in nvt_process_rx_ir_data() 629 init_ir_raw_event(&rawir); in nvt_process_rx_ir_data() 634 rawir.pulse = ((sample & BUF_PULSE_BIT) != 0); in nvt_process_rx_ir_data() 635 rawir.duration = US_TO_NS((sample & BUF_LEN_MASK) in nvt_process_rx_ir_data() 639 rawir.pulse ? "pulse" : "space", rawir.duration); in nvt_process_rx_ir_data() 641 ir_raw_event_store_with_filter(nvt->rdev, &rawir); in nvt_process_rx_ir_data()
|
D | mceusb.c | 984 DEFINE_IR_RAW_EVENT(rawir); in mceusb_process_ir_data() 1007 init_ir_raw_event(&rawir); in mceusb_process_ir_data() 1008 rawir.pulse = ((ir->buf_in[i] & MCE_PULSE_BIT) != 0); in mceusb_process_ir_data() 1009 rawir.duration = (ir->buf_in[i] & MCE_PULSE_MASK) in mceusb_process_ir_data() 1013 rawir.pulse ? "pulse" : "space", in mceusb_process_ir_data() 1014 rawir.duration); in mceusb_process_ir_data() 1016 if (ir_raw_event_store_with_filter(ir->rc, &rawir)) in mceusb_process_ir_data()
|
D | winbond-cir.c | 385 DEFINE_IR_RAW_EVENT(rawir); in wbcir_irq_rx() 396 rawir.pulse = irdata & 0x80 ? false : true; in wbcir_irq_rx() 397 rawir.duration = US_TO_NS(duration); in wbcir_irq_rx() 399 if (rawir.pulse) in wbcir_irq_rx() 402 ir_raw_event_store_with_filter(data->dev, &rawir); in wbcir_irq_rx()
|
D | ite-cir.h | 128 struct ir_raw_event rawir; member
|
D | ite-cir.c | 1517 init_ir_raw_event(&itdev->rawir); in ite_probe()
|
/drivers/media/usb/au0828/ |
D | au0828-input.c | 127 DEFINE_IR_RAW_EVENT(rawir); in au0828_get_key_au8522() 177 init_ir_raw_event(&rawir); in au0828_get_key_au8522() 178 rawir.pulse = true; in au0828_get_key_au8522() 182 rawir.duration = NEC_START_PULSE; in au0828_get_key_au8522() 184 rawir.pulse ? "pulse" : "space", in au0828_get_key_au8522() 185 rawir.duration); in au0828_get_key_au8522() 188 rawir.duration = RC5_START_PULSE; in au0828_get_key_au8522() 190 rawir.pulse ? "pulse" : "space", in au0828_get_key_au8522() 191 rawir.duration); in au0828_get_key_au8522() 193 ir_raw_event_store(ir->rc, &rawir); in au0828_get_key_au8522() [all …]
|
/drivers/hid/ |
D | hid-picolcd_cir.c | 48 DEFINE_IR_RAW_EVENT(rawir); in picolcd_raw_cir() 70 init_ir_raw_event(&rawir); in picolcd_raw_cir() 72 rawir.pulse = !!(w & 0x8000); in picolcd_raw_cir() 73 rawir.duration = US_TO_NS(rawir.pulse ? (65536 - w) : w); in picolcd_raw_cir() 75 if (i == 0 && rawir.duration > 15000000) in picolcd_raw_cir() 76 rawir.duration -= 15000000; in picolcd_raw_cir() 77 ir_raw_event_store(data->rc_dev, &rawir); in picolcd_raw_cir()
|